* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  background: #f7f7f8;
  color: #111827;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
}

/* Navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: #e11d48;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #111827;
  font-weight: 500;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #111827;
  color: #fff;
  margin-top: 40px;
}

/* ===== Shop ===== */
.page-title{
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}
.page-subtitle{
  margin: 6px 0 0;
  color: #6b7280;
}

.shop-head{
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip{
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: #111827;
  font-weight: 500;
  font-size: 14px;
}
.chip.active{
  border-color: #e11d48;
  color: #e11d48;
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 960px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .product-grid{ grid-template-columns: 1fr; }
}

.product-card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.product-media{
  position: relative;
  display: block;
  height: 220px;
  background: #f3f4f6;
}
.product-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #111827;
  color: #fff;
}
.badge.out{ background: #6b7280; }
.badge.in{ background: #e11d48; }

.product-body{
  padding: 14px 14px 16px;
}

.product-meta{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #6b7280;
  font-size: 12px;
}

.product-title{
  margin: 8px 0 10px;
  font-size: 16px;
  line-height: 1.25;
}
.product-title a{
  text-decoration: none;
  color: #111827;
}

.product-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price{
  font-weight: 700;
  color: #111827;
}

.btn{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: #e11d48;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.btn:hover{ opacity: 0.92; }

.empty-state{
  grid-column: 1 / -1;
  padding: 18px;
  background: #fff;
  border: 1px dashed #e5e7eb;
  border-radius: 16px;
}

.product-media {
  margin-bottom: 6px;
}

.product-title {
  margin-top: 10px;
}

.badge {
  z-index: 2;
}

/* ===== Detail Page ===== */
.detail-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px){
  .detail-grid{ grid-template-columns: 1fr; }
}

.detail-img{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.detail-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.crumb{
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 10px;
}
.crumb a{ color: #6b7280; text-decoration: none; }
.crumb span{ margin: 0 6px; }

.detail-title{
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.detail-price{
  margin: 10px 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.detail-row{
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
}
.detail-row .label{ color: #6b7280; }

.ok{ color: #059669; font-weight: 700; }
.bad{ color: #dc2626; font-weight: 700; }

.detail-desc{
  margin: 14px 0 0;
  color: #374151;
  line-height: 1.6;
}

.buybox{
  margin-top: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.buy-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 520px){
  .buy-row{ grid-template-columns: 1fr; }
}

.field label{
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.field select,
.field input{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
  background: #fff;
}

.btn.wide{
  width: 100%;
  border: 0;
  cursor: pointer;
}

.btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

.alert{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}
.alert.error{
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.alert.success{
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.alert a{
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.muted{ color: #6b7280; }
.muted.small{ font-size: 12px; margin-top: 10px; }

/* ===== Auth ===== */
.auth{
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 30px 0;
}
.auth-card{
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.auth-title{
  margin: 0;
  font-size: 24px;
}
.auth-form{
  margin-top: 12px;
}
.auth-form label{
  display:block;
  margin: 10px 0 6px;
  font-size: 13px;
  color: #6b7280;
}
.auth-form input{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
}

/* ===== Cart ===== */
.cart-grid{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  margin-top: 16px;
}
@media (max-width: 900px){
  .cart-grid{ grid-template-columns: 1fr; }
}

.cart-item{
  display: grid;
  grid-template-columns: 90px 1fr 260px;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
}
@media (max-width: 900px){
  .cart-item{ grid-template-columns: 80px 1fr; }
  .cart-actions{ grid-column: 1 / -1; }
}

.cart-thumb{
  width: 90px;
  height: 90px;
  border-radius: 14px;
  object-fit: cover;
  background: #f3f4f6;
}

.cart-name{ font-weight: 700; }
.cart-price{ margin-top: 6px; font-weight: 700; }

.cart-actions{
  display: grid;
  justify-items: end;
  gap: 10px;
}
.qty-form{
  display: flex;
  gap: 8px;
  align-items: center;
}
.qty-form input{
  width: 80px;
  padding: 10px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.btn.small{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}
.btn.ghost{
  background: transparent;
  color: #111827;
  border: 1px solid #e5e7eb;
}
.cart-subtotal{
  font-weight: 800;
}

.cart-summary{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  height: fit-content;
}
.sum-row{
  display:flex;
  justify-content: space-between;
  padding: 10px 0 14px;
  border-top: 1px solid #e5e7eb;
  margin-top: 10px;
}

/* ===== Checkout ===== */
.checkout-grid{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  margin-top: 16px;
}
@media (max-width: 900px){
  .checkout-grid{ grid-template-columns: 1fr; }
}

.checkout-form, .checkout-summary{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
}

.checkout-form h3, .checkout-summary h3{
  margin-top: 0;
}

.checkout-form label{
  display:block;
  margin: 10px 0 6px;
  font-size: 13px;
  color: #6b7280;
}

.checkout-form input,
.checkout-form textarea{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
}

.sum-item{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}
.sum-name{ font-weight: 700; }

.sum-total{
  display:flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  margin-top: 12px;
  font-size: 16px;
}

/* ===== Home (Index) ===== */
main.container{ padding-top: 28px; }

.hero{
  margin-top: 10px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}

.hero-text{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.hero-badge{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.hero-text h1{
  font-size: 44px;
  margin: 12px 0 10px;
  line-height: 1.05;
}
.hero-text p{
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.6;
}

.hero-actions{
  display:flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hero-stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 520px){
  .hero-stats{ grid-template-columns: 1fr; }
}
.stat{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(225,29,72,.08), rgba(225,29,72,0));
}
.stat b{ display:block; }
.stat span{ display:block; margin-top: 4px; }

.hero-card{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(1200px 300px at 20% 0%, rgba(225,29,72,.20), transparent 60%),
              radial-gradient(800px 240px at 90% 30%, rgba(17,24,39,.18), transparent 55%),
              var(--card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.hero-card-inner{ padding: 18px; height: 100%; display:flex; flex-direction: column; gap: 14px; }

.hero-card-top{
  display:flex;
  justify-content: space-between;
  align-items:center;
}
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(225,29,72,.12);
  border: 1px solid rgba(225,29,72,.25);
  font-weight: 800;
  font-size: 12px;
}
.pill.outline{
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.hero-product{
  display:flex;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,.65);
}
:root[data-theme="dark"] .hero-product{ background: rgba(15,23,42,.65); }

.hero-product-img{
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(225,29,72,.25), rgba(17,24,39,.12));
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.hero-product-info h3{
  margin: 0;
  font-size: 16px;
}
.hero-product-info p{ margin: 6px 0 0; color: var(--muted); }

.hero-product-bottom{
  margin-top: 10px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
}
.price-big{
  font-weight: 900;
  color: var(--text);
}

.home-sections{
  margin-top: 18px;
}
.section-head h2{
  margin: 0;
  font-size: 22px;
}
.section-head p{ margin: 6px 0 0; }

.cat-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 900px){
  .cat-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .cat-grid{ grid-template-columns: 1fr; }
}
.cat-card{
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cat-card:hover{
  transform: translateY(-2px);
  border-color: rgba(225,29,72,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}
.cat-icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(225,29,72,.12);
  border: 1px solid rgba(225,29,72,.25);
  font-size: 20px;
}

.cta{
  margin: 18px 0 10px;
}
.cta-box{
  background: linear-gradient(135deg, rgba(225,29,72,.14), rgba(17,24,39,.10));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-box h2{ margin: 0; font-size: 22px; }
.cta-box p{ margin: 6px 0 0; max-width: 60ch; }

/* ===== HEADER / NAVBAR ===== */
.navbar{
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

/* Logo */
.logo{
  font-size: 20px;
  font-weight: 800;
  color: #e11d48;
  text-decoration: none;
}

/* Center menu */
.nav-center{
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-center a{
  text-decoration: none;
  font-weight: 500;
  color: #111827;
  position: relative;
}

.nav-center a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #e11d48;
  transition: width .2s ease;
}

.nav-center a:hover::after{
  width: 100%;
}

/* Right actions */
.nav-right{
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn{
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.cart-btn{
  position: relative;
  text-decoration: none;
  font-size: 18px;
}

.cart-badge{
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
}

.user-name{
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}

/* Buttons */
.btn{
  background: #e11d48;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn.small{
  padding: 7px 12px;
  font-size: 14px;
}

.btn.ghost{
  background: transparent;
  color: #111827;
  border: 1px solid #e5e7eb;
}

/* ===== About ===== */
.about{ margin-top: 10px; }

.about-hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px){
  .about-hero{ grid-template-columns: 1fr; }
}

.about-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.about-card-inner{ padding: 18px; }

.about-list{ margin-top: 12px; display:grid; gap: 10px; }
.about-item{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(225,29,72,.08), rgba(225,29,72,0));
}
.about-item b{ display:block; }
.about-item p{ margin: 6px 0 0; }

.about-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; }
}

.about-box{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.about-box h2{ margin: 0 0 8px; font-size: 18px; }

.about-ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.about-ul li{ margin: 6px 0; }

/* ===== Contact ===== */
.contact{ margin-top: 10px; }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1 fr; }
}

.contact-card, .info-box{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.contact-form label{
  display:block;
  margin: 10px 0 6px;
  font-size: 13px;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--card);
  color: var(--text);
}
.contact-form textarea{ resize: vertical; }

.info-row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.info-row .label{ color: var(--muted); }
.info-row .value{ font-weight: 700; }

.faq{ margin-top: 12px; }
.faq p{ margin: 6px 0 0; }

/* ===== UI POLISH PACK (ArShoes) ===== */
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --soft:#f8fafc;
  --brand:#e11d48;
  --brand2:#fb7185;
  --shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

body{ color:var(--text); background:var(--bg); }
.container{ max-width:1100px; margin:0 auto; padding: 0 18px; }

/* Navbar */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,0.7);
}
.nav-container{
  max-width:1100px;
  margin:0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.logo{
  font-weight: 900;
  letter-spacing: .2px;
  text-decoration:none;
  color: var(--brand);
  font-size: 20px;
}
.nav-center{
  display:flex;
  gap: 22px;
  align-items:center;
}
.nav-center a{
  text-decoration:none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  opacity: .85;
}
.nav-center a:hover{ opacity: 1; color: var(--brand); }

.nav-right{ display:flex; align-items:center; gap:10px; }

/* Mobile menu button */
.menu-btn{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
  font-weight: 800;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 8px 22px rgba(225, 29, 72, .22);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px) scale(.99); }
.btn.ghost{
  background:#fff;
  color: var(--brand);
  border-color: var(--border);
  box-shadow:none;
}
.btn.small{ padding: 8px 12px; font-size: 13px; }
.btn.wide{ width:100%; }

/* Cart button & badge */
.cart-btn{
  position:relative;
  text-decoration:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius: 999px;
  padding: 8px 12px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  color: var(--text);
}
.cart-badge{
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight: 900;
  padding: 0 6px;
}

/* User name chip */
.user-name{
  padding: 8px 12px;
  border:1px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background:#fff;
}

/* Cards */
.card, .auth-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Toast */
.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display:none;
  background:#0f172a;
  color:#fff;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 320px;
  font-weight: 700;
  font-size: 13px;
}
.toast.show{ display:block; animation: pop .2s ease; }
@keyframes pop { from{ transform: translateY(8px); opacity:0 } to{ transform: translateY(0); opacity:1 } }

/* Sticky shadow on scroll (JS adds .scrolled) */
.navbar.scrolled{
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

/* Mobile layout */
@media (max-width: 860px){
  .menu-btn{ display:inline-flex; }
  .nav-center{
    display:none;
    position:absolute;
    left: 18px;
    right: 18px;
    top: 62px;
    background:#fff;
    border:1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 10px;
    align-items:flex-start;
  }
  .nav-center.open{ display:flex; }
  .nav-center a{ width:100%; padding: 10px 12px; border-radius: 12px; }
  .nav-center a:hover{ background: var(--soft); }
}

/* ===== FONT SYSTEM (ArShoes Elegant) ===== */
body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Headings pakai Playfair */
h1, h2, h3, h4, h5, h6,
.logo{
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
}

/* Hero title lebih berasa */
.hero h1,
.hero-title{
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Button & nav tetap modern */
.nav-center a,
.btn,
.user-name{
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

/* Muted text lebih soft */
.muted{
  font-weight: 500;
  color: #64748b;
}

/* ===== FORCE FONT RESET (KILL ARIAL) ===== */

/* Semua teks default */
html, body {
  font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Semua paragraf & teks umum */
p, span, li, a, label, input, textarea, button, small {
  font-family: 'Nunito Sans', sans-serif !important;
}

/* Heading & logo tetap elegan */
h1, h2, h3, h4, h5, h6,
.logo {
  font-family: 'Playfair Display', serif !important;
  letter-spacing: -0.02em;
}

/* Hero description lebih halus */
.hero p,
.hero-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
}

/* Button & nav clean */
.btn,
.nav-center a,
.user-name {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700;
}

/* ===== STICKY FOOTER FIX (ArShoes) ===== */
html, body { height: 100%; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* main harus ngambil sisa tinggi biar footer terdorong ke bawah */
main.container{
  flex: 1 0 auto;
}

/* footer selalu di bawah */
.site-footer{
  margin-top: auto;
}

/* ===== FORCE NUNITO SANS FOR ADMIN DASHBOARD ===== */

/* Semua elemen di halaman admin */
body,
.admin * {
  font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Judul & heading admin */
.admin h1,
.admin h2,
.admin h3,
.admin h4,
.admin h5,
.admin h6,
.page-title,
.dashboard-title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Card title & section title admin */
.card h3,
.card-title,
.section-title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 600;
}

/* Table admin */
.admin table,
.admin th,
.admin td {
  font-family: 'Nunito Sans', sans-serif !important;
}

/* ===== ABSOLUTE FONT OVERRIDE FOR ADMIN (FINAL) ===== */

/* Semua teks admin tanpa kompromi */
body.admin,
body.admin * {
  font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Judul halaman admin */
body.admin h1,
body.admin h2,
body.admin h3,
body.admin h4,
body.admin h5,
body.admin h6 {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

/* Page title & subtitle (yang bandel Arial) */
body.admin .page-title,
body.admin .page-subtitle,
body.admin .dashboard-title,
body.admin .section-title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 600 !important;
}

/* Card title */
body.admin .card h3,
body.admin .card h4 {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 600 !important;
}

/* Table header & content */
body.admin table,
body.admin th,
body.admin td {
  font-family: 'Nunito Sans', sans-serif !important;
}

/* Paksa judul halaman pakai Playfair */
.page-title,
.page-title * {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
}

h1 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
}

/* ===== CONTACT PAGE BORDER STYLE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.contact-card,
.info-box {
  background: #fff;
  border: 1px solid #e5e7eb; /* GARIS HALUS */
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.03);
}

.contact-card h3,
.info-box h3 {
  margin-bottom: 16px;
}

/* Input & textarea biar konsisten */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  margin-bottom: 14px;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e11d48;
}

/* FAQ box */
.info-box .faq {
  padding-top: 12px;
  border-top: 1px dashed #e5e7eb;
  margin-top: 12px;
}

/* ===== CHECKOUT BORDER STYLE ===== */
.checkout-card,
.checkout-summary {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.03);
}

/* BESARKAN JUDUL CONTACT */
.section-head h2 {
  font-size: 28px;      /* default biasanya 28–32px */
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card,
.info-box {
  padding: 20px;
  border-radius: 16px;
}

.contact-grid {
  gap: 25px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .contact-card,
  .info-box {
    padding: 18px;
  }

  .contact-card {
    max-width: 100%;
  }
}

/* ============== LOGIN PAGE POLISH ============== */
/* Target aman: body class "auth" / "login" kalau ada, tapi tetap jalan meski tidak ada */
.auth-wrap, .login-wrap, .page-auth {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.auth-card, .login-card, .card-auth, .form-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
  padding: 26px 26px;
}

.auth-card h1, .login-card h1, .card-auth h1, .form-card h1,
.auth-card h2, .login-card h2, .card-auth h2, .form-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.auth-card p, .login-card p, .card-auth p, .form-card p {
  margin: 0 0 18px;
  color: #6b7280;
  line-height: 1.5;
}

/* form spacing */
.auth-card form, .login-card form, .card-auth form, .form-card form {
  display: grid;
  gap: 14px;
}

.auth-card label, .login-card label, .card-auth label, .form-card label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.auth-card .field, .login-card .field, .card-auth .field, .form-card .field,
.auth-card .form-group, .login-card .form-group, .card-auth .form-group, .form-card .form-group {
  margin: 0;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="password"],
.login-card input[type="text"],
.card-auth input[type="email"],
.card-auth input[type="password"],
.card-auth input[type="text"],
.form-card input[type="email"],
.form-card input[type="password"],
.form-card input[type="text"]{
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
  background: #fff;
}

.auth-card input:focus,
.login-card input:focus,
.card-auth input:focus,
.form-card input:focus{
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .12);
}

/* button spacing + nicer */
.auth-card button,
.login-card button,
.card-auth button,
.form-card button,
.auth-card .btn,
.login-card .btn,
.card-auth .btn,
.form-card .btn{
  height: 44px;
  border-radius: 999px;
  font-weight: 700;
}

/* links bottom area, biar ga dempet */
.auth-links, .login-links, .help-links {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.auth-links a, .login-links a, .help-links a {
  color: #e11d48;
  text-decoration: none;
  font-weight: 700;
}
.auth-links a:hover, .login-links a:hover, .help-links a:hover {
  text-decoration: underline;
}

/* make sure small text doesn't hug the button */
.auth-card .muted, .login-card .muted, .card-auth .muted, .form-card .muted {
  margin-top: 6px;
}

/* mobile padding */
@media (max-width: 480px){
  .auth-card, .login-card, .card-auth, .form-card { padding: 20px; }
}

/* ===== Modern JS Effects (ADD-ONLY) ===== */

header.is-scrolled,
.topbar.is-scrolled,
.navbar.is-scrolled{
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

/* reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: all .55s ease;
}
.reveal.reveal-in{
  opacity: 1;
  transform: translateY(0);
}

/* ripple effect */
.btn-ripple-effect{
  position:absolute;
  width:10px;
  height:10px;
  background: currentColor;
  border-radius:50%;
  transform: translate(-50%, -50%) scale(1);
  opacity:.35;
  animation: ripple .5s ease-out forwards;
  pointer-events:none;
}

@keyframes ripple{
  to{
    transform: translate(-50%, -50%) scale(18);
    opacity:0;
  }
}

/* ===== Home Products (ADD-ONLY) ===== */
.home-products{ margin-top: 26px; }

.home-products .product-media{
  display:block;
  border-radius:18px;
  overflow:hidden;
  position:relative;
}
.home-products .product-media img{
  width:100%;
  height:190px;
  display:block;
  object-fit:cover;
}
@media (max-width:520px){
  .home-products .product-media img{ height:160px; }
}

/* ===== FIX: card home products kepotong (ADD-ONLY override) ===== */

/* pastikan card boleh tinggi mengikuti konten */
.product-card{
  height: auto !important;
  min-height: 0 !important;
}

/* jangan sampai ada wrapper yang nge-clip konten */
.product-card,
.product-media{
  overflow: hidden; /* tetap buat rounded */
}

/* gambar: jangan “ketarik” aneh, bikin proporsional */
.product-media img{
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;   /* stabil, ga kepotong random */
  object-fit: cover;
  display: block;
}

/* kalau ada body yang dipaksa tinggi atau di-clip */
.product-body{
  height: auto !important;
  overflow: visible !important;
}

/* kalau grid nya terlalu rapat sampai kelihatan kepotong */
.product-grid{
  align-items: stretch;
}

/* =========================================================
   DASHBOARD FORM SPACING (LEBAR TETEP, TULISAN GA MEPET)
   ADD-ONLY
   ========================================================= */

.admin .card h3{
  margin: 0 0 8px !important;
  line-height: 1.25 !important;
}

.admin .card .muted{
  margin: 0 0 14px !important;
  line-height: 1.5 !important;
}

/* jarak antar label dan input */
.admin .card form label{
  display: block;
  margin: 14px 0 8px !important;   /* ini yang bikin ga mepet */
  line-height: 1.35 !important;
  font-weight: 700;
}

/* input/select/textarea biar ada napas */
.admin .card form .input,
.admin .card form select,
.admin .card form .textarea{
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

/* row kategori + harga jangan dempet */
.admin .card form .row{
  margin-top: 10px !important;
  gap: 14px !important;
}

/* stok & deskripsi kasih jarak */
.admin .card form .textarea{
  margin-top: 2px !important;
}

/* bagian checkbox "Aktifkan produk" jangan nempel ke atas */
.admin .card form input[type="checkbox"]{
  transform: translateY(1px);
}

.admin .card form .muted{
  line-height: 1.5 !important;
}

/* jarak sebelum tombol */
.admin .card form .btn.wide{
  margin-top: 16px !important;
}

/* =========================================================
   FIX: Dashboard jangan ketarik ke tengah/ngecil
   + Spacing form tetap enak
   Tempel paling bawah style.css (ADD-ONLY)
   ========================================================= */

/* pastikan container admin tetap lebar */
.admin .wrap{
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 24px !important;
}

/* grid dashboard tetap 2 kolom & lebar */
.admin .grid{
  display: grid !important;
  grid-template-columns: 1 fr 1 fr !important;
  gap: 14px !important;
  align-items: start !important;
}

/* kalau layar kecil baru jadi 1 kolom */
@media (max-width: 900px){
  .admin .grid{
    grid-template-columns: 1 fr !important;
  }
}

/* form spacing (yang kamu minta) */
.admin .card h3{
  margin: 0 0 8px !important;
  line-height: 1.25 !important;
}

.admin .card .muted{
  margin: 0 0 14px !important;
  line-height: 1.5 !important;
}

/* label kasih napas */
.admin .card form label{
  display: block !important;
  margin: 14px 0 8px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

/* row kategori + harga jangan mepet */
.admin .card form .row{
  margin-top: 10px !important;
  gap: 14px !important;
}

/* input/select/textarea biar tidak dempet antar elemen */
.admin .card form .input,
.admin .card form select,
.admin .card form .textarea{
  margin-bottom: 6px !important;
}

/* checkbox "aktifkan produk" kasih jarak */
.admin .card form input[type="checkbox"]{
  transform: translateY(1px);
}

.admin .card form .btn.wide{
  margin-top: 16px !important;
}

/* =========================================================
   ADMIN UI FINAL ALIGNMENT FIX
   - Lebar tetap
   - Jarak antar elemen konsisten
   - Rapi & enak dilihat
   ========================================================= */

.admin .wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
}

/* ===== Page title & subtitle ===== */
.admin h1{
  margin: 0 0 6px;
  line-height: 1.25;
}

.admin .sub{
  margin: 0 0 20px;
  line-height: 1.5;
}

/* ===== Top action pills ===== */
.admin .actions{
  margin: 12px 0 22px;
  gap: 10px;
}

/* ===== Stats cards ===== */
.admin .stats{
  margin-bottom: 22px;
}

/* ===== Main grid ===== */
.admin .grid{
  display: grid;
  grid-template-columns: 1 fr 1 fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 900px){
  .admin .grid{
    grid-template-columns: 1fr;
  }
}

/* ===== Card base ===== */
.admin .card{
  padding: 18px 18px 20px;
}

/* Card title */
.admin .card h3{
  margin: 0 0 6px;
  line-height: 1.3;
}

/* Card subtitle */
.admin .card .muted{
  margin: 0 0 16px;
  line-height: 1.55;
}

/* ===== FORM RHYTHM ===== */
.admin .card form{
  margin-top: 6px;
}

.admin .card form label{
  display: block;
  margin: 16px 0 8px;
  font-weight: 700;
  line-height: 1.3;
}

/* input/select/textarea spacing */
.admin .card form .input,
.admin .card form select,
.admin .card form .textarea{
  margin-bottom: 4px;
}

/* two column row (kategori + harga) */
.admin .card form .row{
  margin-top: 4px;
  gap: 14px;
}

/* checkbox row */
.admin .card form input[type="checkbox"]{
  margin-right: 6px;
}

/* submit button */
.admin .card form .btn.wide{
  margin-top: 18px;
}

/* ===== TABLE ALIGNMENT ===== */
.admin table{
  margin-top: 14px;
}

.admin table th{
  padding-top: 12px;
  padding-bottom: 12px;
}

.admin table td{
  padding-top: 12px;
  padding-bottom: 12px;
  vertical-align: middle;
}

/* ===== ORDERS / USERS empty state ===== */
.admin .card p.muted{
  margin-top: 8px;
}

/* =====================================================
   FORCE FONT NUNITO — ADMIN PRODUCTS PAGE
   ===================================================== */

.admin,
.admin *{
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* khusus halaman Products biar pasti */
.admin.products,
.admin.products *{
  font-family: 'Nunito', system-ui, sans-serif !important;
}

/* heading lebih bersih */
.admin h1,
.admin h2,
.admin h3{
  font-weight: 800;
  letter-spacing: -0.2px;
}

/* tabel lebih enak dibaca */
.admin table th{
  font-weight: 700;
}

.admin table td{
  font-weight: 500;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

.hero {
  position: relative;
  background: linear-gradient(135deg, #fff5f7, #ffffff);
  border-radius: 28px;
  padding: 56px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,77,109,.25), transparent 60%);
  top: -120px;
  right: -120px;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #fff5f7, #ffffff);
  border-radius: 28px;
  padding: 56px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,77,109,.25), transparent 60%);
  top: -120px;
  right: -120px;
}

.badge {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 600;
}

.badge.in {
  background: #ecfdf3;
  color: #027a48;
}

.badge.out {
  background: #fef3f2;
  color: #b42318;
}

.badge.best {
  background: #fff1f3;
  color: #be123c;
}

.btn {
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:active {
  transform: scale(.96);
}

.btn {
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:active {
  transform: scale(.96);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    120deg,
    #fff1f3,
    #ffffff,
    #ffe4e6
  );
  animation: bgMove 12s ease infinite;
  z-index: -1;
}

@keyframes bgMove {
  0% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(10deg); }
  100% { filter: hue-rotate(0deg); }
}

/* ===== HORIZONTAL CATEGORY SCROLL ===== */
.cat-scroll-wrapper {
  overflow-x: auto;
  padding-bottom: 12px;
  margin: 0 -8px;
}

.cat-scroll {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  padding: 8px;
  min-width: max-content;
}

/* Card size konsisten */
.cat-card {
  min-width: 220px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.15);
}

/* Scrollbar cantik */
.cat-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.cat-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.cat-scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(225, 29, 72, 0.35);
  border-radius: 10px;
}

.product-card {
  transition: transform .25s ease, opacity .25s ease;
}

.product-card[style*="display: none"] {
  opacity: 0;
  transform: scale(.95);
}

/* =========================
   SHOP PAGE – ELEGANT STYLE
========================= */

/* Header shop */
.shop-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
}

.page-subtitle {
  color: #777;
  max-width: 420px;
}

/* Filter chips */
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: #fff;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: all .25s ease;
}

.chip:hover {
  background: #f6f6f6;
}

.chip.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

/* Product card */
.product-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,.10);
}

/* Image */
.product-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .6s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

/* Badge */
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.badge.in {
  background: rgba(0, 180, 90, .15);
  color: #0a7a3f;
}

.badge.out {
  background: rgba(255, 80, 80, .15);
  color: #b30000;
}

/* Body */
.product-body {
  padding: 18px 20px 22px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.product-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-title a {
  text-decoration: none;
  color: #111;
}

/* Bottom */
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 18px;
  font-weight: 700;
}

/* =========================
   PRODUCT DETAIL – REAL ELEGANT
========================= */

.detail {
  background: #fff6f7;
  padding: 60px 0 100px;
}

.detail-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: start;
}

/* IMAGE SIDE */
.detail-media {
  position: sticky;
  top: 120px;
}

.detail-img img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0,0,0,.2);
  transition: transform .6s ease;
}

.detail-img img:hover {
  transform: scale(1.05);
}

/* INFO SIDE */
.detail-info {
  background: #fff;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,.12);
}

/* breadcrumb */
.crumb {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #aaa;
  margin-bottom: 12px;
}

.crumb a {
  text-decoration: none;
  color: #999;
}

/* title */
.detail-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* price */
.detail-price {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 26px;
}

/* meta rows */
.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.detail-row .label {
  color: #888;
}

.detail-row .ok {
  color: #0a8a4a;
  font-weight: 600;
}

.detail-row .bad {
  color: #c40000;
  font-weight: 600;
}

/* description */
.detail-desc {
  margin: 26px 0;
  color: #555;
  line-height: 1.7;
}

/* BUY BOX */
.buybox {
  background: #fafafa;
  border-radius: 22px;
  padding: 24px;
  margin-top: 20px;
}

.buy-row {
  display: grid;
  grid-template-columns: 1 fr 1 fr;
  gap: 16px;
}

.field label {
  font-size: 13px;
  color: #666;
}

.field select,
.field input {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #ddd;
  margin-top: 6px;
}

/* BUTTONS */
.btn.wide {
  flex: 1;
  padding: 14px;
  border-radius: 999px;
  font-weight: 600;
}

.btn.ghost {
  background: transparent;
  border: 1px solid #ddd;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* alerts */
.alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin: 16px 0;
}

.alert.error {
  background: #ffe5e5;
  color: #b30000;
}

.alert.success {
  background: #e7f7ef;
  color: #0a7a44;
}

/* MOBILE */
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1 fr;
    gap: 30px;
  }

  .detail-media {
    position: static;
  }
}

/* ===== PRODUCT GALLERY ===== */

.detail-img img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,.18);
  transition: transform .4s ease;
}

/* thumbnails */
.thumbs {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  opacity: .5;
  transition: all .3s ease;
  border: 2px solid transparent;
}

.thumbs img:hover {
  opacity: .8;
}

.thumbs img.active {
  opacity: 1;
  border-color: #111;
  transform: scale(1.05);
}

/* === PRODUCT GALLERY VERTICAL LEFT === */
.detail-media {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* thumbnail kiri */
.thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbs img:hover {
  opacity: 1;
}

.thumbs img.active {
  opacity: 1;
  border-color: #e11d48;
}

/* gambar utama */
.detail-img img {
  width: 420px;
  max-width: 100%;
  border-radius: 16px;
  transition: opacity 0.35s ease;
}

