/* ============================================
   DoorShop.pk - Storefront Stylesheet
   Lighter. No borders. Best contrast.
   Pakistani-inspired palette
   ============================================ */

:root {
  /* === Palette: lighter, no borders, high contrast === */
  --bg: #FBFAF6;                  /* warm off-white, lighter than pure white */
  --bg-soft: #F4F1EA;             /* slightly deeper beige for sections */
  --bg-elevated: #FFFFFF;         /* card surface, pure white for max contrast */
  --bg-tint: #FFFCF5;             /* warm tint */

  --ink: #0A0A0A;                 /* near-black for text - max contrast */
  --ink-2: #1A1A1A;
  --ink-3: #3D3D3D;               /* secondary text */
  --ink-4: #6B6B6B;               /* tertiary text */
  --ink-5: #9A9A9A;               /* muted */

  /* Brand - "Emerald × Saffron" — inspired by Pakistan flag */
  --brand: #0D4F3C;               /* deep emerald - primary */
  --brand-2: #0F6B52;             /* hover */
  --brand-soft: #E6F1EC;          /* mint background */
  --brand-tint: #F2F9F6;

  --accent: #D97706;              /* saffron / amber accent */
  --accent-2: #F59E0B;
  --accent-soft: #FEF3C7;

  --danger: #C53030;
  --warning: #B45309;
  --success: #15803D;
  --info: #1D4ED8;

  /* === No border. Use shadow only. === */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);

  /* Type */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --header-h: 72px;
  --announce-h: 36px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-2); }

button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.025em; }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 20px; }

/* ========== HEADER ========== */
.announce-bar {
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 0;
  text-align: center;
}
.announce-bar em { color: var(--accent-2); font-style: normal; font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  overflow: visible;
}
.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  width: 100%;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; letter-spacing: -0.03em;
  color: var(--ink); flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  border-radius: var(--r-md);
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 12px rgba(13, 79, 60, 0.25);
}
.brand-text small { display: block; font-size: 9px; color: var(--ink-4); font-weight: 500; letter-spacing: 0.1em; }

.search-wrap {
  width: 100%;
  min-width: 0;
  max-width: 720px;
  justify-self: stretch;
  position: relative;
}
.search-input {
  width: 100%; height: 44px;
  padding: 0 16px 0 46px;
  background: var(--bg-elevated);
  border-radius: var(--r-pill);
  font-family: inherit; font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  outline: none;
  transition: box-shadow .2s;
}
.search-input:focus { box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-card); }
.search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink-4);
}
.search-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: none; z-index: 100;
}
.search-suggest.active { display: block; }
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); }
.search-suggest a:hover { background: var(--bg-soft); }
.search-suggest a img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--r-sm); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  justify-self: end;
}
.header-text-link {
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.header-text-link:hover,
.header-text-link.active { background: var(--brand-soft); color: var(--brand); }
.header-text-link.hot { color: var(--accent); }
.header-text-link.hot:hover { background: rgba(230, 57, 70, 0.1); color: var(--accent); }
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  color: var(--ink);
  position: relative;
  transition: background .15s;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn .count {
  position: absolute; top: 6px; right: 6px;
  min-width: 18px; height: 18px;
  background: var(--brand);
  color: #fff; font-size: 10px; font-weight: 700;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
@media (max-width: 700px) {
  .header-text-link { padding: 8px 8px; font-size: 12.5px; }
}

.nav-bar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--bg-soft);
  border-bottom: 1px solid var(--bg-soft);
  position: relative;
  z-index: 90;
  overflow: visible;
}
.nav-bar > .container { overflow: visible; }
.nav-bar-inner {
  display: flex; align-items: center; gap: 4px;
  min-height: 48px;
  /* overflow-x:auto also clips overflow-y — that hid the dropdown */
  overflow: visible;
  flex-wrap: nowrap;
}
.nav-all-cats {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 16px !important;
  background: linear-gradient(135deg, #C2410C 0%, #EA580C 55%, #F59E0B 100%);
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.32);
}
.nav-all-cats:hover,
.nav-all-cats.active {
  background: linear-gradient(135deg, #9A3412 0%, #C2410C 50%, #EA580C 100%) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.nav-all-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}
.nav-bar-inner::-webkit-scrollbar { display: none; }
.nav-bar a, .nav-item > a {
  padding: 8px 14px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background .15s, color .15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-bar a:hover, .nav-bar a.active,
.nav-item > a:hover, .nav-item > a.active,
.nav-item.open > a { background: var(--brand-soft); color: var(--brand); }
.nav-bar a.hot { color: var(--accent); font-weight: 600; }
.nav-item { position: relative; flex-shrink: 0; }
.nav-caret { font-size: 10px; opacity: 0.7; }
.nav-mega {
  display: none;
  position: absolute;
  left: 0; top: calc(100% + 4px);
  min-width: 220px;
  max-width: 320px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--bg-soft);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
  z-index: 120;
}
.nav-item.has-mega:hover > .nav-mega,
.nav-item.has-mega:focus-within > .nav-mega,
.nav-item.has-mega.open > .nav-mega { display: block; }
.nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
}
.nav-mega-grid a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 8px;
  color: var(--ink-2);
  white-space: normal;
}
.nav-mega-grid a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-mega-all {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  border-top: 1px solid var(--bg-soft);
}

.categories-directory { display: grid; gap: 28px; }
.cat-dir-block { padding-bottom: 20px; border-bottom: 1px solid var(--bg-soft); }
.cat-dir-root {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-size: 20px; margin: 0 0 12px;
}
.cat-dir-root a { color: var(--ink); }
.cat-dir-icon { margin-right: 4px; }
.cat-dir-children {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px 20px;
}
.cat-dir-child a { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.cat-dir-child a:hover { color: var(--brand); }
.cat-dir-grand {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 6px; padding-left: 8px;
}
.cat-dir-grand a { font-weight: 400; font-size: 13px; color: var(--ink-3, #666); }

/* Mobile: horizontal scroll + click-to-open (.open via JS) */
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .search-wrap { max-width: none; }
  .nav-bar-inner {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
}

/* ========== HERO SLIDER ========== */
.hero {
  color: #fff;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  margin-bottom: 32px;
  overflow: hidden;
  position: relative;
  min-height: clamp(380px, 52vw, 520px);
  background: #0A3D2E;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 32, 24, 0.92) 0%, rgba(8, 45, 34, 0.78) 42%, rgba(10, 55, 42, 0.35) 68%, rgba(10, 55, 42, 0.15) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 30%, rgba(0,0,0,0.25) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 64px 40px 72px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  min-height: inherit;
}
.hero-copy {
  max-width: 560px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 14px;
}
.hero h1 em { color: #FBBF24; font-style: normal; }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  max-width: 460px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.8);
}
.hero-trust strong {
  color: #fff; font-size: 22px; display: block;
  font-family: var(--font-display); font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: width .2s, background .2s;
}
.hero-dot.is-active {
  width: 22px;
  background: #fff;
}
@media (max-width: 768px) {
  .hero { min-height: 420px; }
  .hero-inner { padding: 40px 24px 56px; }
  .hero-slide { background-position: 70% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 32, 24, 0.78) 0%, rgba(6, 32, 24, 0.88) 55%, rgba(6, 32, 24, 0.92) 100%);
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-family: inherit; font-weight: 600; font-size: 14px;
  border-radius: var(--r-pill);
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-light { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,0.25); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--bg); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ========== SECTIONS ========== */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }

.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 28px; gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .lead { color: var(--ink-4); margin: 4px 0 0; font-size: 14px; }
.section-head .see-all { color: var(--brand); font-weight: 600; font-size: 14px; }

/* ========== CATEGORY GRID ========== */
.cat-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
}
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 800px)  { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 500px)  { .cat-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-tile {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  padding: 18px 12px;
  text-align: center;
  transition: all .25s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: var(--shadow-card);
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-tile .ico {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  border-radius: var(--r-md); font-size: 24px;
}
.cat-tile .label { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ========== CAROUSEL ========== */
.carousel {
  position: relative;
}
.carousel-track {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--bg-elevated);
  color: var(--ink);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 5;
  opacity: 0; transition: opacity .2s;
}
.carousel:hover .carousel-nav { opacity: 1; }
.carousel-nav.prev { left: -8px; }
.carousel-nav.next { right: -8px; }

/* ========== PRODUCT CARD ========== */
.product-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.product-card {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .25s;
  position: relative;
  box-shadow: var(--shadow-card);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card .img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--bg-soft);
  overflow: hidden;
}
.product-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.badge {
  display: inline-block; padding: 4px 10px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: var(--r-pill);
  color: #fff;
}
.badge-new { background: var(--brand); }
.badge-sale { background: var(--accent); }
.badge-out { background: var(--ink-4); }
.badge-hot { background: #DC2626; }

.product-card .wishlist-btn {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  z-index: 2;
  transition: all .15s;
}
.product-card .wishlist-btn:hover { color: #DC2626; transform: scale(1.08); }
.product-card .wishlist-btn.active { color: #DC2626; }

.product-card .info { padding: 14px; }
.product-card .brand { font-size: 11px; color: var(--ink-4); font-weight: 500; margin-bottom: 2px; }
.product-card .title {
  font-size: 14px; font-weight: 500; color: var(--ink);
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.8em;
  margin-bottom: 8px;
}
.product-card .price-row {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.product-card .price { font-size: 15px; font-weight: 700; color: var(--ink); }
.product-card .compare { font-size: 12px; color: var(--ink-5); text-decoration: line-through; }
.product-card .price-off {
  font-size: 11px; color: var(--success); font-weight: 600;
}
.product-card .add-btn {
  position: absolute; bottom: 12px; right: 12px;
  width: 36px; height: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px);
  transition: all .2s;
  z-index: 2;
}
.product-card:hover .add-btn { opacity: 1; transform: translateY(0); }
.product-card .add-btn:hover { background: var(--brand); }

/* ========== BANNER ========== */
.banner-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 18px;
}
@media (max-width: 800px) { .banner-grid { grid-template-columns: 1fr; } }

.banner {
  border-radius: var(--r-lg);
  padding: 40px;
  position: relative; overflow: hidden;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: end;
  background: var(--brand);
  color: #fff;
}
.banner h3 { color: #fff; font-size: 28px; }
.banner p { color: rgba(255,255,255,0.85); margin: 6px 0 18px; }
.banner .deco {
  position: absolute; top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.banner .deco-2 {
  position: absolute; bottom: -60px; right: 80px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.banner.alt { background: var(--accent); }
.banner.dark { background: var(--ink); }
.banner.tint { background: var(--brand-soft); color: var(--ink); }
.banner.tint h3 { color: var(--ink); }
.banner.tint p { color: var(--ink-3); }

/* ========== FEATURES STRIP ========== */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 32px 0;
}
@media (max-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature {
  display: flex; align-items: center; gap: 14px;
  padding: 20px;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.feature .ico {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  border-radius: var(--r-sm); flex-shrink: 0;
  font-size: 22px;
}
.feature .label { font-weight: 600; font-size: 14px; }
.feature .sub { font-size: 12px; color: var(--ink-4); margin-top: 2px; }

/* ========== PLP / LISTING ========== */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-4);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-4); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--ink-5); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

.plp-head { margin-bottom: 24px; }
.plp-head h1 { font-size: 32px; margin-bottom: 6px; }
.plp-head p { color: var(--ink-4); font-size: 14px; }
.plp-head .count { color: var(--ink-4); font-size: 13px; margin-left: 8px; }

.plp-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 28px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .plp-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: -100%; width: 90%; max-width: 360px; height: 100vh; background: #fff; z-index: 100; padding: 20px; transition: left .25s; overflow-y: auto; }
  .filters.open { left: 0; }
  .filter-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 99; display: none; }
  .filter-overlay.open { display: block; }
}

.filters {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.filter-block { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--bg-soft); }
.filter-block:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.filter-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin: 0 0 12px; font-weight: 700; }
.filter-list { display: flex; flex-direction: column; gap: 6px; }
.filter-list label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; padding: 4px 0; }
.filter-list input[type=checkbox], .filter-list input[type=radio] { accent-color: var(--brand); width: 16px; height: 16px; }
.filter-list .count { color: var(--ink-5); font-size: 12px; margin-left: auto; }

.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input {
  width: 100%; padding: 8px 10px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  font-family: inherit; font-size: 13px;
  outline: none;
  border: 0;
  color: var(--ink);
}
.price-range input:focus { box-shadow: inset 0 0 0 2px var(--brand); }

.size-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.size-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px; font-weight: 500;
  background: var(--bg-soft); color: var(--ink-2);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.size-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.size-pill:hover, .size-pill.active { background: var(--ink); color: #fff; }

.color-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.color-pill {
  width: 28px; height: 28px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.12);
  cursor: pointer;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.color-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.color-pill.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand);
}
.color-pill.active::after {
  content: '✓';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
  text-shadow: 0 1px 1px rgba(0,0,0,0.45);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.plp-seo-line { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }

.inspire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .inspire-grid { grid-template-columns: 1fr; }
}
.inspire-grid-sm { grid-template-columns: repeat(3, 1fr); }
.inspire-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease;
  color: inherit;
}
.inspire-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.inspire-card h2, .inspire-card h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0;
}
.inspire-card p {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
}
.inspire-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-4);
}
.inspire-tag {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.inspire-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.inspire-article { max-width: 760px; }
.inspire-article-head { margin-bottom: 28px; }
.inspire-article-head .lead { color: var(--ink-3); font-size: 16px; margin-top: 10px; }
.inspire-article-body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2, var(--ink));
  margin: 0 0 16px;
}
.inspire-article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 40px;
}
.inspire-related h2 { font-size: 22px; margin-bottom: 16px; }

.plp-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  background: var(--bg-elevated);
  padding: 12px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.plp-toolbar .left, .plp-toolbar .right { display: flex; align-items: center; gap: 12px; }
.plp-toolbar select {
  padding: 8px 14px;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  font-family: inherit; font-size: 13px;
  outline: none; border: 0;
  color: var(--ink);
}
.filter-toggle { display: none; }
@media (max-width: 900px) { .filter-toggle { display: inline-flex; } }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-4);
}
.empty-state h3 { color: var(--ink-2); margin-bottom: 8px; }
.empty-state .ico { font-size: 60px; margin-bottom: 16px; opacity: 0.5; }

/* ========== PDP ========== */
.pdp-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .pdp-layout { grid-template-columns: 1fr; gap: 24px; } }

.gallery { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
/* Gallery scrolls with page on tablet & mobile (sticky only on desktop) */
@media (max-width: 1024px) {
  .pdp-layout .gallery {
    position: static;
    top: auto;
    align-self: stretch;
  }
}
.gallery-main {
  aspect-ratio: 1/1;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
  position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs {
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs .thumb {
  flex: 0 0 80px; aspect-ratio: 1/1;
  border: none;
  padding: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0.6; transition: opacity .15s;
}
.gallery-thumbs .thumb.active, .gallery-thumbs .thumb:hover { opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info .pdp-breadcrumb { font-size: 12px; color: var(--ink-4); margin-bottom: 8px; }
.pdp-info .pdp-breadcrumb a { color: var(--ink-4); }
.pdp-info h1 { font-size: 26px; line-height: 1.25; margin-bottom: 8px; }
.pdp-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; font-size: 13px; color: var(--ink-4); }
.pdp-meta .rating { color: var(--accent); }
.pdp-meta .sku { color: var(--ink-5); font-family: monospace; font-size: 12px; }

.pdp-price-block {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 16px 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--bg-soft);
  border-bottom: 1px solid var(--bg-soft);
}
.pdp-price { font-size: 28px; font-weight: 800; color: var(--ink); }
.pdp-compare { font-size: 16px; color: var(--ink-5); text-decoration: line-through; }
.pdp-save { color: var(--success); font-weight: 600; font-size: 13px; }
.pdp-stock { font-size: 13px; color: var(--success); font-weight: 600; }
.pdp-stock.out { color: var(--danger); }

.variant-block { margin-bottom: 18px; }
.variant-label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; display: flex; justify-content: space-between; }
.variant-label .selected { color: var(--ink); }

.option-row { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill {
  padding: 8px 16px;
  font-size: 13px; font-weight: 500;
  background: var(--bg-elevated); color: var(--ink);
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.5px var(--bg-soft);
  cursor: pointer; transition: all .15s;
}
.option-pill:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.option-pill.active { background: var(--ink); color: #fff; box-shadow: none; }

.qty-row { display: flex; align-items: center; gap: 16px; margin: 18px 0; }
.qty-stepper { display: flex; align-items: center; background: var(--bg-elevated); border-radius: var(--r-pill); box-shadow: var(--shadow-card); overflow: hidden; }
.qty-stepper button { width: 38px; height: 42px; font-size: 18px; color: var(--ink); }
.qty-stepper button:hover { background: var(--bg-soft); }
.qty-stepper input { width: 50px; text-align: center; border: 0; font-weight: 600; font-size: 15px; background: transparent; outline: none; }

.pdp-actions { display: flex; gap: 12px; margin: 24px 0; }
.pdp-actions .btn { flex: 1; padding: 16px 24px; font-size: 15px; }

.trust-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.trust-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--brand-soft); color: var(--brand);
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 500;
}

.pdp-seo-intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 8px 0 14px;
}
.pdp-seo-intro a { color: var(--brand); font-weight: 600; }

.pdp-description .pdp-desc-lead,
.pdp-description .pdp-desc-close {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.pdp-description .pdp-desc-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2, var(--ink-3));
  margin: 0 0 10px;
}
.pdp-description .pdp-desc-body p:last-child { margin-bottom: 10px; }
.pdp-description .pdp-desc-close {
  margin-bottom: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line, rgba(0,0,0,.06));
  padding-top: 12px;
}

.pdp-section {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  padding: 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.pdp-section h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 15px; }
.pdp-section .ico { width: 32px; height: 32px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; border-radius: var(--r-pill); flex-shrink: 0; }
.pdp-section p { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.pdp-section ul { padding-left: 20px; margin: 0; }
.pdp-section ul li { font-size: 13.5px; color: var(--ink-3); margin-bottom: 4px; }

.pdp-faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.pdp-faq-item {
  border: 1px solid var(--line, rgba(0,0,0,.08));
  border-radius: var(--r-sm, 10px);
  padding: 10px 12px;
  background: var(--bg-soft, #f7f7f8);
}
.pdp-faq-item summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.pdp-faq-item summary::-webkit-details-marker { display: none; }
.pdp-faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 1.1em;
  color: var(--brand);
  font-weight: 700;
}
.pdp-faq-item[open] summary::before { content: '−'; }
.pdp-faq-item p { margin-top: 8px; }
.pdp-faq-links a { color: var(--brand); }

.supplier-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.supplier-avatar {
  width: 60px; height: 60px;
  background: var(--brand-soft); color: var(--brand);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  flex-shrink: 0;
}
.supplier-info { flex: 1; }
.supplier-info h4 { font-size: 15px; margin: 0 0 2px; }
.supplier-info .loc { font-size: 12px; color: var(--ink-4); }
.supplier-stats { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--ink-4); }
.supplier-stats strong { color: var(--ink); display: block; font-size: 15px; font-weight: 700; }

/* ========== CART ========== */
.cart-layout {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px;
  margin: 24px 0 60px;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-items { background: var(--bg-elevated); border-radius: var(--r-md); padding: 8px; box-shadow: var(--shadow-card); }
.cart-row {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 16px;
  padding: 16px;
  align-items: center;
  border-bottom: 1px solid var(--bg-soft);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row .img { width: 100px; height: 100px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-soft); }
.cart-row .img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .title { font-size: 14px; font-weight: 500; line-height: 1.35; }
.cart-row .variants { font-size: 12px; color: var(--ink-4); margin-top: 4px; }
.cart-row .actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cart-row .remove { color: var(--ink-4); font-size: 12px; padding: 0; }
.cart-row .remove:hover { color: var(--danger); }
.cart-row .price-col { text-align: right; }
.cart-row .line-total { font-weight: 700; font-size: 15px; }
.cart-row .unit-price { color: var(--ink-4); font-size: 12px; }

.summary {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.summary h3 { margin: 0 0 18px; font-size: 17px; }
.summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--ink-3); }
.summary .row.total { font-size: 17px; font-weight: 700; color: var(--ink); padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--bg-soft); }

/* ========== CHECKOUT ========== */
.checkout-page h1 { margin-bottom: 16px; }
.checkout-notice { margin-bottom: 12px; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
  margin: 0 0 60px;
}
.checkout-main { min-width: 0; }
.checkout-aside { min-width: 0; }
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-aside .summary { position: static; }
}

.checkout-step {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.checkout-step h3 { font-size: 17px; display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.checkout-step .step-num { width: 28px; height: 28px; background: var(--brand); color: #fff; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.checkout-step .step-num.done { background: var(--success); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .form-row, .form-row.cols-3 { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 4px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 0;
  border-radius: var(--r-sm);
  font-family: inherit; font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { box-shadow: inset 0 0 0 2px var(--brand); }
.form-field .err { color: var(--danger); font-size: 12px; margin-top: 4px; }
.form-field .hint { color: var(--ink-5); font-size: 12px; margin-top: 4px; }
.form-field .field-error { color: var(--danger); font-size: 12px; margin-top: 4px; }
.form-field input.input-invalid, .form-field select.input-invalid {
  box-shadow: inset 0 0 0 2px var(--danger);
}
.phone-pk-wrap {
  display: flex; align-items: stretch;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.phone-pk-prefix {
  display: flex; align-items: center;
  padding: 0 12px;
  font-weight: 600; font-size: 14px;
  color: var(--ink-3);
  background: var(--bg-muted, #eee);
  flex-shrink: 0;
}
.phone-pk-wrap input {
  flex: 1;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.phone-pk-wrap:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }

/* Pakistan city / area combobox (Markaz-style) */
.checkout-address-details {
  border: 1px solid var(--line, #EAECF0);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-address-heading {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #02704D;
}
.pk-combobox { position: relative; margin-bottom: 0; }
.pk-combobox-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3, #475467);
  margin-bottom: 4px;
}
.pk-combobox-wrap { position: relative; width: 100%; }
.pk-combobox-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #D0D5DD;
  border-radius: 16px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.pk-combobox-trigger:hover:not(:disabled) { border-color: rgba(7, 10, 86, 0.4); }
.pk-combobox-trigger:focus { outline: none; border-color: #02BC87; box-shadow: 0 0 0 2px rgba(2, 188, 135, 0.15); }
.pk-combobox-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
.pk-combobox-trigger.open .pk-combobox-chevron { transform: rotate(180deg); }
.pk-combobox-value.placeholder { color: #98A2B3; }
.pk-combobox-chevron { flex-shrink: 0; color: #475467; transition: transform 0.15s; }
.pk-combobox-panel {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #EAECF0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  overflow: hidden;
}
.pk-combobox-search-wrap {
  padding: 8px;
  border-bottom: 1px solid #EAECF0;
  background: #fff;
}
.pk-combobox-search {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border: 1px solid #D0D5DD;
  border-radius: 999px;
  font-size: 13px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 10px center;
}
.pk-combobox-search:focus { outline: none; border-color: #02BC87; box-shadow: 0 0 0 2px rgba(2, 188, 135, 0.15); }
.pk-combobox-list { max-height: 240px; overflow-y: auto; }
.pk-combobox-option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 13.5px;
  color: #1D2939;
  cursor: pointer;
}
.pk-combobox-option:hover,
.pk-combobox-option.selected { background: #FAF6F0; }
.pk-combobox-empty,
.pk-combobox-more { padding: 10px 14px; font-size: 13px; }
.pk-combobox.pk-invalid .pk-combobox-trigger { border-color: var(--danger, #d92d20); }

.payment-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--bg-soft);
  transition: all .15s;
}
.payment-option:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.payment-option.selected { box-shadow: inset 0 0 0 2px var(--brand); background: var(--brand-tint); }
.payment-option .ico { width: 44px; height: 44px; background: var(--brand-soft); color: var(--brand); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.payment-option .info { flex: 1; }
.payment-option .info h4 { font-size: 14px; margin: 0; }
.payment-option .info p { font-size: 12px; color: var(--ink-4); margin: 2px 0 0; }

/* ========== AUTH ========== */
.auth-card {
  max-width: 440px; margin: 60px auto;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.auth-card h1 { font-size: 28px; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--ink-4); font-size: 14px; margin-bottom: 28px; }
.auth-card .switch { text-align: center; margin-top: 18px; font-size: 13px; color: var(--ink-4); }
.auth-card .switch a { color: var(--brand); font-weight: 600; }

/* ========== ACCOUNT ========== */
.account-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 28px;
  margin: 24px 0 60px;
}
@media (max-width: 800px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav { background: var(--bg-elevated); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-card); align-self: start; }
.account-nav a { display: block; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--ink-2); margin-bottom: 2px; }
.account-nav a:hover, .account-nav a.active { background: var(--bg-soft); color: var(--ink); }
.account-content { background: var(--bg-elevated); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-card); }

.order-card {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.order-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.order-head .num { font-weight: 700; font-size: 15px; }
.order-head .date { color: var(--ink-4); font-size: 13px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: var(--r-pill);
}
.status-pending { background: #FEF3C7; color: #92400E; }
.status-confirmed { background: #DBEAFE; color: #1E40AF; }
.status-processing { background: #E0E7FF; color: #3730A3; }
.status-shipped { background: #DDD6FE; color: #5B21B6; }
.status-delivered { background: #DCFCE7; color: #166534; }
.status-completed { background: #DCFCE7; color: #166534; }
.status-cancelled { background: #FEE2E2; color: #991B1B; }

.order-items-mini { display: flex; gap: 8px; flex-wrap: wrap; }
.order-items-mini img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; }

/* ========== TOAST ========== */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--ink); color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  max-width: 360px;
  animation: slideIn .25s ease-out;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--info); }
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ========== MINICART DRAWER ========== */
.mini-cart {
  position: fixed; top: 0; right: -440px; width: 420px; max-width: 95vw; height: 100vh;
  background: var(--bg-elevated);
  z-index: 200;
  transition: right .3s;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.mini-cart.open { right: 0; }
.mini-cart-head { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--bg-soft); }
.mini-cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.mini-cart-foot { padding: 20px; border-top: 1px solid var(--bg-soft); }
.mini-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 199; opacity: 0; pointer-events: none; transition: opacity .25s; }
.mini-cart-overlay.open { opacity: 1; pointer-events: auto; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ink); color: #B5B5B5;
  margin-top: auto;
  padding: 56px 0 24px;
}
.site-footer h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer a { color: #B5B5B5; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.footer-about { font-size: 14px; line-height: 1.65; }
.footer-about .brand { color: #fff; margin-bottom: 12px; }
.footer-about .brand-mark { background: var(--brand); }
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list a { display: block; padding: 2px 0; }
.newsletter-input {
  display: flex; gap: 8px; margin-top: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-pill);
  padding: 4px;
}
.newsletter-input input {
  flex: 1;
  background: transparent; border: 0; outline: none;
  color: #fff;
  padding: 10px 14px;
  font-family: inherit; font-size: 13.5px;
}
.newsletter-input input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input button { background: var(--brand); color: #fff; padding: 8px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 13px; }
.newsletter-input button:hover { background: var(--brand-2); }

.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-pill);
}
.footer-social a:hover { background: var(--brand); color: #fff; }

/* ========== FLASH ========== */
.flash {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 150;
  padding: 12px 20px; padding-right: 40px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 500;
  animation: slideIn .25s;
}
.flash-success { background: var(--success); color: #fff; }
.flash-error { background: var(--danger); color: #fff; }
.flash-info { background: var(--info); color: #fff; }
.flash-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.8); font-size: 18px; padding: 4px 8px; }
.flash-close:hover { color: #fff; }

/* ========== STATUS TIMELINE ========== */
.status-timeline { display: flex; gap: 0; align-items: flex-start; padding: 12px 0; }
.status-step { flex: 1; text-align: center; position: relative; }
.status-step .dot { width: 16px; height: 16px; background: var(--bg-soft); border-radius: 50%; margin: 0 auto 6px; position: relative; z-index: 1; }
.status-step.done .dot { background: var(--success); }
.status-step:not(:last-child)::after { content: ''; position: absolute; top: 7px; left: 50%; right: -50%; height: 2px; background: var(--bg-soft); z-index: 0; }
.status-step.done:not(:last-child)::after { background: var(--success); }
.status-step .label { font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.04em; }
.status-step.done .label { color: var(--ink); font-weight: 600; }

.status-history-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--bg-soft); font-size: 13px; }
.status-history-row:last-child { border-bottom: 0; }

/* ========== UTIL ========== */
.text-center { text-align: center; }
.muted { color: var(--ink-4); }
.row-flex { display: flex; align-items: center; gap: 10px; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.hide-mobile { }
@media (max-width: 600px) { .hide-mobile { display: none !important; } }
.show-mobile { display: none; }
@media (max-width: 600px) { .show-mobile { display: block; } }
