/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #f7f4ef;
  --black: #0d0d0d;
  --gold: #b8933f;
  --gray: #888;
  --light-gray: #e8e4de;
  --white: #fff;
  --font: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --nav-h: 60px;
  --bottom-h: 64px;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--black);
  min-height: 100vh;
  padding-bottom: var(--bottom-h);
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }
input, select, textarea { font-family: var(--font-sans); }

/* ── TOP NAV ── */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  background: var(--cream);
  border-bottom: 1px solid var(--light-gray);
}
.top-nav.transparent {
  background: transparent;
  border-bottom: none;
  position: absolute;
}
.top-nav.transparent .logo, .top-nav.transparent .nav-icon { color: white; }
.logo {
  font-family: var(--font);
  font-size: 22px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
}
.logo span { display: block; font-size: 9px; letter-spacing: 5px; font-family: var(--font-sans); font-weight: 400; text-align: center; opacity: .7; }
.nav-icons { display: flex; gap: 18px; align-items: center; }
.nav-icon { font-size: 20px; position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--black); color: white;
  font-size: 9px; border-radius: 50%;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
}

/* ── BOTTOM NAV ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  height: var(--bottom-h);
  background: #000;
  border-top: none;
  display: flex; align-items: center; justify-content: space-around;
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.5); font-weight: 600;
  padding: 8px 16px;
}
.bottom-nav a.active { color: #fff; }
.bottom-nav a .icon { font-size: 22px; }
.bottom-nav a.active .icon { opacity: 1; }

/* ── PAGE WRAPPER ── */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }
.page-content { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 40px 24px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.65) 100%);
  z-index: 1;
}
.hero-img {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #1a0a00 0%, #3d1f00 40%, #0d0d0d 100%);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero-content { position: relative; z-index: 2; color: white; }
.hero-sub { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; opacity: .8; margin-bottom: 12px; font-family: var(--font-sans); }
.hero-title { font-family: var(--font); font-size: 48px; font-weight: 700; line-height: 1.05; margin-bottom: 16px; }
.hero-desc { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; margin-bottom: 32px; }
.hero-badges { display: flex; gap: 20px; margin-bottom: 32px; }
.hero-badge { font-size: 10px; text-align: center; opacity: .8; }
.hero-badge .icon { font-size: 20px; margin-bottom: 4px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--black);
  padding: 14px 28px; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
  border-radius: 2px;
}

/* ── SECTION TITLES ── */
.section { padding: 32px 16px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-title { font-family: var(--font); font-size: 26px; font-weight: 600; }
.section-link { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); border-bottom: 1px solid var(--gray); padding-bottom: 1px; }

/* ── PRODUCT CARD ── */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-card { background: white; border-radius: 4px; overflow: hidden; position: relative; cursor: pointer; }
.product-card:active { opacity: .9; }
.product-img-wrap { aspect-ratio: 1; overflow: hidden; background: #ffffff; position: relative; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .3s; image-rendering: auto; }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-fav {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: white; display: flex; align-items: center; justify-content: center;
  font-size: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.product-fav.active { color: #e74c3c; }
.product-info { padding: 10px; }
.product-brand { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.product-name { font-family: var(--font); font-size: 15px; line-height: 1.2; margin-bottom: 6px; }
.product-stars { color: var(--gold); font-size: 11px; margin-bottom: 6px; }
.product-price { font-weight: 700; font-size: 15px; }
.product-compare { font-size: 11px; color: var(--gray); text-decoration: line-through; margin-left: 6px; }

/* ── CATEGORIES ── */
.cats-grid { display: flex; flex-direction: column; gap: 10px; }
.cat-card {
  position: relative; height: 110px; border-radius: 4px; overflow: hidden;
  display: flex; align-items: center; padding: 0 20px; cursor: pointer;
  background: var(--black);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cat-info { position: relative; z-index: 1; color: white; }
.cat-name { font-family: var(--font); font-size: 24px; font-weight: 600; }
.cat-link { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: .8; }

/* ── BRAND LOGOS ── */
.brands-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.brands-row::-webkit-scrollbar { display: none; }
.brand-chip {
  flex-shrink: 0; padding: 8px 16px;
  border: 1px solid var(--light-gray); border-radius: 20px;
  font-size: 11px; letter-spacing: 1px; cursor: pointer;
  background: white; transition: all .2s;
}
.brand-chip.active { background: var(--black); color: white; border-color: var(--black); }

/* ── BRAND CARDS ── */
.brands-cards-row {
  display: flex; gap: 18px; overflow-x: auto; padding: 4px 0 12px;
  scrollbar-width: none;
}
.brands-cards-row::-webkit-scrollbar { display: none; }
.brand-card {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  gap: 8px; cursor: pointer; width: 76px;
}
.brand-card-circle {
  width: 72px; height: 72px; border-radius: 50%;
  overflow: hidden; background: white;
  border: 1.5px solid var(--light-gray);
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
  display: flex; align-items: center; justify-content: center;
}
.brand-card:active .brand-card-circle,
.brand-card:hover .brand-card-circle {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.brand-card-circle img {
  width: 100%; height: 100%; object-fit: cover;
}
.brand-card-logo {
  font-size: 8.5px; letter-spacing: 1.5px; text-transform: uppercase;
  text-align: center; color: var(--black); font-family: var(--font-sans);
  font-weight: 600; line-height: 1.2; max-width: 76px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-card.all-brand .brand-card-circle {
  background: var(--black);
}
.brand-card.all-brand .brand-card-logo { color: var(--gray); }

/* ── ARAB BANNER ── */
.arab-banner { margin: 0; }
.arab-banner img { width: 100%; height: 200px; object-fit: cover; object-position: left center; display: block; }

/* ── REVIEWS ── */
.reviews-section { background: var(--black); margin: 0; padding: 28px 16px 24px; }
.reviews-section .section-title { color: white; }
.reviews-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.reviews-row::-webkit-scrollbar { display: none; }
.review-card {
  flex-shrink: 0; width: 220px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.review-header { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: white;
  font-family: var(--font-sans);
}
.review-meta { flex: 1; min-width: 0; }
.review-name { font-size: 12px; font-weight: 600; color: white; font-family: var(--font-sans); }
.review-product { font-size: 10px; color: rgba(255,255,255,.45); letter-spacing: .5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-stars { color: var(--gold); font-size: 11px; letter-spacing: 1px; }
.review-text { font-size: 12.5px; color: rgba(255,255,255,.8); line-height: 1.55; font-family: var(--font-sans); }
.review-verified { font-size: 9.5px; color: rgba(255,255,255,.35); letter-spacing: .5px; display: flex; align-items: center; gap: 4px; }
.reviews-overall {
  display: flex; align-items: center; gap: 14px;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.reviews-score { font-size: 44px; font-weight: 700; color: white; font-family: var(--font); line-height: 1; }
.reviews-stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.reviews-count { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .5px; margin-top: 4px; font-family: var(--font-sans); }

/* ── FAQ ── */
.faq-section { border-top: 1px solid var(--light-gray); }
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-question {
  width: 100%; text-align: left; padding: 16px 0;
  font-size: 13.5px; font-weight: 600; color: var(--black);
  font-family: var(--font-sans); display: flex; justify-content: space-between;
  align-items: center; gap: 12px; cursor: pointer;
}
.faq-icon { font-size: 18px; font-weight: 300; color: var(--gray); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--black); }
.faq-answer {
  font-size: 13px; color: #555; line-height: 1.65;
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
  font-family: var(--font-sans);
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 16px; }

/* ── FILTER TABS ── */
.filter-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex-shrink: 0; padding: 6px 14px;
  border: 1px solid var(--light-gray); border-radius: 20px;
  font-size: 11px; background: white; cursor: pointer;
}
.filter-tab.active { background: var(--black); color: white; border-color: var(--black); }

/* ── SEARCH ── */
.search-bar-wrap { padding: 12px 16px; }
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: white; border: 1px solid var(--light-gray); border-radius: 24px;
  padding: 10px 16px;
}
.search-bar input { flex: 1; border: none; outline: none; font-size: 14px; background: transparent; }
.search-bar .icon { color: var(--gray); font-size: 16px; }

/* ── PRODUCT DETAIL ── */
.detail-imgs { position: relative; }
.detail-main-img { aspect-ratio: 1; background: #ffffff; overflow: hidden; }
.detail-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; image-rendering: auto; }
.detail-back {
  position: absolute; top: 12px; left: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: white; display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; z-index: 2;
}
.detail-share {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: white; display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; z-index: 2;
}
.detail-info { padding: 20px 16px; }
.detail-brand { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.detail-name { font-family: var(--font); font-size: 28px; font-weight: 600; margin-bottom: 4px; line-height: 1.2; }
.detail-type { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.detail-stars { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.detail-stars .stars { color: var(--gold); font-size: 13px; }
.detail-stars .count { font-size: 12px; color: var(--gray); }
.detail-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.detail-price { font-size: 28px; font-weight: 700; }
.detail-compare { font-size: 16px; color: var(--gray); text-decoration: line-through; }
.detail-badges { display: flex; gap: 12px; margin-bottom: 20px; }
.detail-badge { text-align: center; font-size: 10px; color: var(--gray); flex: 1; }
.detail-badge .icon { font-size: 22px; color: var(--black); margin-bottom: 4px; }
.detail-section-title { font-size: 13px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.detail-desc { font-size: 14px; color: #444; line-height: 1.6; margin-bottom: 20px; }
.btn-add {
  width: 100%; padding: 16px;
  background: var(--black); color: white;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; border-radius: 2px; margin-bottom: 12px;
}
.btn-add:active { opacity: .85; }
.accordion { border-top: 1px solid var(--light-gray); margin-top: 8px; }
.accordion-item { border-bottom: 1px solid var(--light-gray); }
.accordion-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; cursor: pointer; font-size: 13px; font-weight: 600;
}
.accordion-body { font-size: 13px; color: #555; line-height: 1.6; padding-bottom: 14px; display: none; }
.accordion-body.open { display: block; }

/* ── CART ── */
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--light-gray); }
.cart-title { font-family: var(--font); font-size: 24px; font-weight: 600; }
.cart-clear { font-size: 12px; color: var(--gray); }
.cart-items { padding: 0 16px; }
.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--light-gray); }
.cart-item-img { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; background: #f0ede8; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-brand { font-size: 9px; letter-spacing: 2px; color: var(--gray); text-transform: uppercase; }
.cart-item-name { font-family: var(--font); font-size: 16px; margin: 2px 0 8px; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; }
.qty-control { display: flex; align-items: center; gap: 14px; }
.qty-btn { width: 28px; height: 28px; border: 1px solid var(--light-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.qty-num { font-size: 15px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-price { font-weight: 700; font-size: 15px; }
.cart-item-fav { font-size: 16px; color: var(--gray); cursor: pointer; }
.cart-remove { font-size: 18px; color: var(--gray); cursor: pointer; }
.discount-row { padding: 16px; display: flex; gap: 8px; }
.discount-input { flex: 1; border: 1px solid var(--light-gray); border-radius: 4px; padding: 12px; font-size: 14px; outline: none; }
.btn-apply { padding: 12px 20px; background: var(--black); color: white; border-radius: 4px; font-size: 12px; letter-spacing: 1px; font-weight: 700; }
.cart-summary { padding: 0 16px 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { font-weight: 700; font-size: 16px; border-top: 1px solid var(--light-gray); padding-top: 12px; margin-top: 4px; }
.btn-checkout { width: 100%; padding: 16px; background: var(--black); color: white; font-size: 12px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; border-radius: 2px; margin: 0 16px 16px; width: calc(100% - 32px); }
.related-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 8px; scrollbar-width: none; }
.related-scroll::-webkit-scrollbar { display: none; }
.related-card { flex-shrink: 0; width: 130px; cursor: pointer; }
.related-card .product-img-wrap { border-radius: 4px; }
.related-name { font-family: var(--font); font-size: 13px; margin-top: 6px; line-height: 1.2; }
.related-price { font-size: 12px; font-weight: 700; margin-top: 2px; }

/* ── CHECKOUT ── */
.checkout-steps { display: flex; justify-content: center; gap: 0; padding: 16px; }
.step-item { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.step-num { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--light-gray); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--gray); }
.step-num.active { border-color: var(--black); background: var(--black); color: white; }
.step-num.done { border-color: var(--black); background: var(--black); color: white; }
.step-label { color: var(--gray); }
.step-label.active { color: var(--black); font-weight: 700; }
.step-sep { width: 32px; height: 2px; background: var(--light-gray); margin: 0 4px; }
.step-sep.done { background: var(--black); }
.checkout-section { padding: 20px 16px; }
.checkout-section-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.form-group { margin-bottom: 12px; }
.form-label { font-size: 11px; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; display: block; }
.form-input { width: 100%; border: 1px solid var(--light-gray); border-radius: 4px; padding: 13px; font-size: 14px; outline: none; background: white; }
.form-input:focus { border-color: var(--black); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shipping-opts { display: flex; flex-direction: column; gap: 10px; }
.shipping-opt {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--light-gray); border-radius: 4px; padding: 14px;
  cursor: pointer; background: white;
}
.shipping-opt.selected { border-color: var(--black); }
.shipping-opt-left { display: flex; align-items: center; gap: 10px; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--light-gray); position: relative; flex-shrink: 0; }
.radio.checked::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--black); }
.shipping-name { font-size: 14px; font-weight: 600; }
.shipping-desc { font-size: 11px; color: var(--gray); }
.shipping-price { font-size: 14px; font-weight: 700; }
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-method {
  border: 1px solid var(--light-gray); border-radius: 4px; overflow: hidden; cursor: pointer; background: white;
}
.payment-method.selected { border-color: var(--black); }
.payment-header { display: flex; align-items: center; gap: 12px; padding: 14px; }
.payment-icons { display: flex; gap: 6px; }
.payment-icon-img { height: 22px; width: auto; }
.payment-body { padding: 0 14px 14px; display: none; }
.payment-body.open { display: block; }
.card-logos { display: flex; gap: 8px; margin-bottom: 12px; }
.btn-pay { width: 100%; padding: 16px; background: var(--black); color: white; font-size: 12px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; border-radius: 2px; margin: 16px 0; }
.success-screen { display: flex; flex-direction: column; align-items: center; padding: 60px 24px 40px; text-align: center; }
.success-check { width: 70px; height: 70px; border-radius: 50%; background: var(--black); color: white; font-size: 32px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.success-title { font-family: var(--font); font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.success-sub { font-size: 14px; color: var(--gray); line-height: 1.5; margin-bottom: 32px; }
.btn-track { width: 100%; padding: 14px; border: 2px solid var(--black); border-radius: 2px; font-size: 12px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; cursor:pointer; background:var(--black); color:#fff; }
.btn-keep { width: 100%; padding: 14px; border: 1px solid var(--light-gray); border-radius: 2px; font-size: 12px; letter-spacing: 2px; color: var(--gray); cursor:pointer; background:transparent; }
.success-info-box { width:100%; background:#f8f6f2; border-radius:10px; padding:16px; margin-bottom:24px; text-align:left; }
.success-info-row { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid #e8e4dd; }
.success-info-row:last-child { border-bottom:none; }
.success-info-label { font-size:11px; color:var(--gray); letter-spacing:.5px; }
.success-info-val { font-size:13px; font-weight:700; color:var(--black); font-family:monospace; }
.btn-continue { width: 100%; padding: 16px; background: var(--black); color: white; font-size: 12px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; border-radius: 2px; }

/* ── ACCOUNT ── */
.account-header { padding: 20px 16px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--light-gray); }
.account-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: white; display: flex; align-items: center; justify-content: center; font-size: 22px; font-family: var(--font); font-weight: 600; }
.account-name { font-family: var(--font); font-size: 22px; font-weight: 600; }
.account-email { font-size: 12px; color: var(--gray); }
.account-menu { padding: 0 16px; }
.account-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--light-gray); cursor: pointer; }
.account-item-left { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.account-item-icon { font-size: 20px; }
.account-item-arrow { color: var(--gray); font-size: 16px; }
.account-logout { color: #e74c3c; }

/* ── AUTH FORMS ── */
.auth-tabs { display: flex; border-bottom: 2px solid var(--light-gray); margin: 0 16px; }
.auth-tab { flex: 1; padding: 14px 0; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--gray); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s; }
.auth-tab.active { color: var(--black); border-bottom-color: var(--black); }
.auth-form { padding: 24px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); }
.auth-field input { border: 1.5px solid var(--light-gray); border-radius: 10px; padding: 13px 14px; font-size: 14px; font-family: var(--font-sans); background: #fafafa; transition: border-color .2s; outline: none; }
.auth-field input:focus { border-color: var(--black); background: white; }
.auth-submit { background: var(--black); color: white; border: none; border-radius: 12px; padding: 15px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; margin-top: 4px; transition: opacity .2s; }
.auth-submit:active { opacity: .8; }
.auth-forgot { text-align: center; font-size: 12px; color: var(--gray); cursor: pointer; text-decoration: underline; margin: 0; }
.auth-tracking-cta { display: flex; align-items: center; gap: 14px; margin: 28px 16px 0; padding: 16px; background: #f5f5f5; border-radius: 14px; cursor: pointer; }
.auth-tracking-cta span:first-child { font-size: 28px; flex-shrink: 0; }
.auth-tracking-title { font-size: 14px; font-weight: 700; color: var(--black); }
.auth-tracking-sub { font-size: 11px; color: var(--gray); margin-top: 2px; }

/* ── TRACKING PAGE ── */
.tracking-input-wrap { display: flex; gap: 10px; }
.tracking-input { flex: 1; border: 1.5px solid var(--light-gray); border-radius: 10px; padding: 13px 14px; font-size: 14px; font-family: var(--font-sans); background: #fafafa; outline: none; }
.tracking-input:focus { border-color: var(--black); }
.tracking-btn { background: var(--black); color: white; border: none; border-radius: 10px; padding: 0 20px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.tracking-timeline { margin-top: 28px; }
.tracking-order-info { background: #f5f5f5; border-radius: 14px; padding: 16px; margin-bottom: 24px; }
.tracking-order-num { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.tracking-order-name { font-size: 15px; font-weight: 700; color: var(--black); }
.tracking-step { display: flex; gap: 14px; padding-bottom: 20px; position: relative; }
.tracking-step:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--light-gray); }
.tracking-step.done::before { background: var(--black); }
.tracking-dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; background: var(--light-gray); }
.tracking-step.done .tracking-dot { background: var(--black); }
.tracking-step.current .tracking-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.2); }
.tracking-step-info { padding-top: 4px; }
.tracking-step-label { font-size: 14px; font-weight: 600; color: var(--black); }
.tracking-step.pending-step .tracking-step-label { color: var(--gray); font-weight: 400; }
.tracking-step-date { font-size: 11px; color: var(--gray); margin-top: 2px; }
.tracking-not-found { text-align: center; padding: 40px 0; }
.tracking-not-found .big-icon { font-size: 48px; margin-bottom: 12px; }
.tracking-not-found p { font-size: 14px; color: var(--gray); }

/* ── ORDERS ── */
.order-card { border: 1.5px solid var(--light-gray); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.order-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.order-num { font-size: 13px; font-weight: 700; color: var(--black); }
.order-date { font-size: 11px; color: var(--gray); margin-top: 2px; }
.order-badge { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.order-badge-delivered { background: #e8f5e9; color: #2e7d32; }
.order-badge-transit { background: #fff8e1; color: #f57f17; }
.order-badge-pending { background: #f5f5f5; color: #555; }
.order-item-row { font-size: 13px; color: #444; padding: 3px 0; border-bottom: 1px solid var(--light-gray); display: flex; justify-content: space-between; }
.order-item-row:last-child { border-bottom: none; }
.order-item-row span { color: var(--gray); }
.order-total { font-size: 13px; color: var(--gray); margin-top: 10px; text-align: right; }

/* ── ADDRESSES ── */
.addr-card { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--light-gray); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.addr-name { font-size: 14px; font-weight: 700; color: var(--black); }
.addr-detail { font-size: 12px; color: var(--gray); margin-top: 3px; }
.addr-delete { background: none; border: none; color: var(--gray); font-size: 16px; cursor: pointer; padding: 4px 8px; }
.addr-add-btn { width: 100%; padding: 14px; border: 1.5px dashed var(--light-gray); border-radius: 12px; background: none; font-size: 13px; font-weight: 600; color: var(--gray); cursor: pointer; margin-top: 4px; }

/* ── EMPTY CART ── */
.empty-cart { display: flex; flex-direction: column; align-items: center; padding: 80px 24px; text-align: center; }
.empty-icon { font-size: 60px; margin-bottom: 20px; opacity: .3; }
.empty-title { font-family: var(--font); font-size: 26px; margin-bottom: 8px; }
.empty-sub { font-size: 13px; color: var(--gray); margin-bottom: 32px; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: calc(var(--bottom-h) + 12px); left: 50%; transform: translateX(-50%);
  background: var(--black); color: white; padding: 10px 20px; border-radius: 20px;
  font-size: 12px; letter-spacing: 1px; z-index: 200;
  opacity: 0; transition: opacity .3s; pointer-events: none;
  white-space: nowrap;
}
.toast.show { opacity: 1; }

/* ── MODAL / OVERLAY ── */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 150; display: none; }
.overlay.open { display: block; }
.modal {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 151;
  background: white; border-radius: 16px 16px 0 0;
  padding: 24px 16px 40px; transform: translateY(100%);
  transition: transform .3s;
}
.modal.open { transform: translateY(0); }
.modal-handle { width: 40px; height: 4px; background: var(--light-gray); border-radius: 2px; margin: 0 auto 20px; }

/* ── UTILITIES ── */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.text-gray { color: var(--gray); }
.text-sm { font-size: 12px; }
.bold { font-weight: 700; }
.hidden { display: none !important; }

/* ── BESTSELLERS SLIDER ── */
.bestsellers-slider {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 8px; -webkit-overflow-scrolling: touch;
}
.bestsellers-slider::-webkit-scrollbar { display: none; }
.bestsellers-slider .product-card {
  flex-shrink: 0; width: 185px; scroll-snap-align: start;
}
.bestsellers-slider .product-img-wrap { aspect-ratio: 1; }
.btn-add-card {
  width: 100%; padding: 9px;
  background: var(--black); color: white;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 700; border-radius: 2px; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-add-card:active { opacity: .8; }

/* ── LOADING PLACEHOLDER ── */
.skeleton { background: linear-gradient(90deg, #e8e4de 25%, #f0ede8 50%, #e8e4de 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
