/* Upleaks Mart — premium hyperlocal marketplace */

:root {
  --primary: #2874f0;
  --primary-deep: #1a5fd0;
  --header-dark: #0c1524;
  --header-mid: #152238;
  --accent: #ffe500;
  --cta: #fb641b;
  --cta-hover: #e85a17;
  --rating: #388e3c;
  --page-bg: #eef1f6;
  --page-bg-accent: #e8edf5;
  --surface: #fff;
  --white: #fff;
  --text: #1a1f2e;
  --text-muted: #6b7285;
  --border: #e2e6ee;
  --border-strong: #cfd5e0;
  --shadow: 0 1px 2px rgba(12, 21, 36, 0.06);
  --shadow-sm: 0 1px 2px rgba(12, 21, 36, 0.05);
  --shadow-md: 0 8px 24px rgba(12, 21, 36, 0.12);
  --shadow-lg: 0 16px 40px rgba(12, 21, 36, 0.16);
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", "DM Sans", sans-serif;
  --header-h: 64px;
  --header-stack-h: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  --announce-h: 32px;
  --bottom-nav-h: 64px;
  --max-w: 1280px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --motion: 0.28s var(--ease-out);
}

*, *::before, *::after { box-sizing: border-box; }

/*
 * Document scroll model (critical):
 * - Only `html` may set a non-visible overflow axis.
 * - Never pair overflow-x: hidden with overflow-y: visible on body —
 *   per CSS Overflow, visible computes to auto, creating a dual scrollport
 *   that breaks touch scrolling on mobile WebKit.
 */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(40, 116, 240, 0.08), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(251, 100, 27, 0.05), transparent 50%),
    var(--page-bg);
  height: auto;
  min-height: 100%;
  min-height: 100dvh;
  position: static;
  /* Leave overflow at visible on BOTH axes — do not set overflow-x here. */
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, a, [role="button"] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

#app {
  min-height: 100dvh;
  min-height: 100svh;
  height: auto;
  max-height: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

/* Sticky on the wrapper (not .site-header) so it spans the full #app scroll height. */
#app-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--accent);
  color: var(--header-dark);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ── Header ── */
.site-header {
  position: relative;
  background: linear-gradient(180deg, var(--header-mid) 0%, var(--header-dark) 100%);
  box-shadow: 0 4px 20px rgba(12, 21, 36, 0.35);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-announcement {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--announce-h);
  padding: 0 16px;
  background: rgba(255, 229, 0, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-announcement__dot { opacity: 0.45; }

.header-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 12px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Logo · Delivery/PIN — always one horizontal line (☰ only ≥600px) */
.header-chrome {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 0 0 auto;
  max-width: 100px;
  min-width: 0;
  overflow: hidden;
  transition: transform var(--motion);
}
.logo:hover { text-decoration: none; transform: translateY(-1px); }

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--header-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255, 229, 0, 0.35);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.pincode-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.15;
  transition: background 0.15s ease, border-color 0.15s ease;
  max-width: 160px;
  /* Buttons default to min-width:auto (content); force shrink for ellipsis */
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
}
.pincode-chip > svg { flex-shrink: 0; }
.pincode-chip:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); }
.pincode-chip__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.pincode-chip__text small {
  display: block;
  max-width: 100%;
  opacity: 0.72;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pincode-chip__text span {
  display: block;
  max-width: 100%;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search-wrap {
  flex: 1 1 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  order: 5;
  position: relative;
}

.cat-menu {
  position: relative;
  display: none;
  flex-shrink: 0;
}

.cat-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 14px;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: #f3f5f9;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: background 0.15s ease;
}
.cat-menu__btn:hover,
.cat-menu.open .cat-menu__btn { background: #e8edf5; }

.cat-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(720px, 92vw);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 16px;
  z-index: 210;
  animation: dropIn 0.22s var(--ease-out);
}
.cat-dropdown[hidden] { display: none !important; }
.cat-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px 18px;
}
.cat-dropdown__parent {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
  text-decoration: none;
}
.cat-dropdown__parent:hover { color: var(--primary); text-decoration: none; }
.cat-dropdown__col ul { list-style: none; margin: 0; padding: 0; }
.cat-dropdown__col li a {
  display: block;
  padding: 3px 0;
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
}
.cat-dropdown__col li a:hover { color: var(--primary); }
.cat-dropdown__all {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.cat-dropdown__all:hover { text-decoration: none; }
.cat-dropdown__empty { color: var(--text-muted); font-size: 13px; padding: 8px; }

.search-bar {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: box-shadow var(--motion);
}
.search-bar:focus-within { box-shadow: 0 4px 20px rgba(40, 116, 240, 0.25); }

.header-search-wrap .cat-menu + .search-bar { border-radius: 0 var(--radius) var(--radius) 0; }

.search-bar input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  min-width: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text);
}
.search-bar input::placeholder { color: #9aa3b5; }
.search-bar input:focus { outline: none; }

.search-bar button[type="submit"] {
  background: transparent;
  border: none;
  padding: 0 14px;
  cursor: pointer;
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: color 0.15s ease, transform 0.15s ease;
}
.search-bar button[type="submit"]:hover { color: var(--primary-deep); transform: scale(1.06); }

.header-spacer { flex: 1; min-width: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-action:hover,
.header-action.active {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: var(--white);
}
.header-action__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}
.header-action__icon .badge {
  position: absolute;
  top: -8px;
  right: -10px;
}
.header-action__label {
  display: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.header-action--cart { background: rgba(251, 100, 27, 0.18); }
.header-action--cart:hover { background: rgba(251, 100, 27, 0.28); }

/* Flipkart-style Sell With Us CTA */
.header-sell-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--header-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(255, 229, 0, 0.35);
  transition: transform 0.15s var(--ease-spring), box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.header-sell-cta:hover,
.header-sell-cta.active {
  background: #ffef4a;
  color: var(--header-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 229, 0, 0.45);
}
.header-sell-cta__full { display: none; }
.header-sell-cta__short { display: inline; }

.header-icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.header-icon-btn:hover { background: rgba(255, 255, 255, 0.16); text-decoration: none; }

.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-height: 380px;
  overflow-y: auto;
  z-index: 200;
  animation: dropIn 0.2s var(--ease-out);
}
.search-suggest[hidden] { display: none !important; }

.suggest-group {
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s ease;
}
.suggest-item:hover { background: #f5f8ff; text-decoration: none; }
.suggest-item img,
.suggest-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #f4f6fa;
  flex-shrink: 0;
}
.suggest-item span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.suggest-item strong {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggest-item small { color: var(--text-muted); font-size: 12px; }
.suggest-all {
  display: block;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.suggest-all:hover { background: #f8fafc; text-decoration: none; }
.suggest-empty { padding: 18px; color: var(--text-muted); text-align: center; }

.header-nav { display: none; gap: 4px; }
.header-link {
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.header-link:hover, .header-link.active { background: rgba(255,255,255,0.12); text-decoration: none; }

/* ── Menu toggle + drawer ── */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--white);
  transition: background 0.15s ease;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s var(--ease-out), opacity 0.22s ease;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.16); }
.menu-toggle.active,
.menu-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.2); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(8, 12, 22, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer-overlay[hidden] { display: none !important; }

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 230;
  width: min(340px, 88vw);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(-104%);
  transition: transform 0.32s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer[hidden] { display: none !important; }
.nav-drawer.open[hidden] { display: flex !important; }

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  background: linear-gradient(135deg, var(--header-mid) 0%, var(--header-dark) 100%);
  color: var(--white);
  flex-shrink: 0;
}
.nav-drawer__brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nav-drawer__close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-drawer__close:hover { background: rgba(255, 255, 255, 0.22); transform: rotate(90deg); }

.nav-drawer__pin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
}
.nav-drawer__pin strong { font-weight: 700; }
.nav-drawer__pin small { color: var(--text-muted); width: 100%; margin-left: 22px; font-size: 11px; }
.nav-drawer__pin:hover { background: #eef3ff; }

.nav-drawer__sell {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 12px 0;
  padding: 14px 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffe500 0%, #ffc400 100%);
  color: var(--header-dark);
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255, 196, 0, 0.35);
  transition: transform 0.18s var(--ease-spring), box-shadow 0.18s ease;
  animation: sellPulseIn 0.45s var(--ease-out) both;
}
.nav-drawer__sell:hover,
.nav-drawer__sell.active {
  text-decoration: none;
  color: var(--header-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 196, 0, 0.45);
}
.nav-drawer__sell svg { flex-shrink: 0; }
.nav-drawer__sell span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-drawer__sell strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.nav-drawer__sell small {
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0.78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes sellPulseIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-drawer__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
}

.nav-drawer__section-label {
  margin: 16px 16px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}

.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 550;
  font-size: 14.5px;
  border-radius: var(--radius);
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}
.nav-drawer__link span:nth-child(2) { flex: 1; }
.nav-drawer__ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.nav-drawer__link:hover {
  background: #f3f7ff;
  text-decoration: none;
  color: var(--primary);
  transform: translateX(2px);
}
.nav-drawer__link:hover .nav-drawer__ico { color: var(--primary); }
.nav-drawer__link.active {
  color: var(--primary);
  background: rgba(40, 116, 240, 0.1);
  font-weight: 700;
}
.nav-drawer__link.active .nav-drawer__ico { color: var(--primary); }
.nav-drawer__link--sub {
  font-size: 13.5px;
  font-weight: 500;
  padding-left: 16px;
}
.drawer-muted {
  margin: 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ── Main ── */
.app-main {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 14px 12px 8px;
}

.app-main:has(.categories-page) {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.page { animation: fadeUp 0.35s var(--ease-out); }

.page h1 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section { margin-bottom: 28px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head a { font-weight: 600; font-size: 13px; }

/* ── Hero / Banners ── */
.hero-banner {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}

/* Mobile homepage: banner edge-to-edge (no left/right gap) */
@media (max-width: 899px) {
  .app-main:has(.home-page) {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .home-page > .hero-banner {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 12px;
    box-shadow: none;
  }

  .home-page > .hero-banner .banner-slider__viewport {
    border-radius: 0;
  }

  .home-page > #vendor-review-alert,
  .home-page > .trust-strip,
  .home-page > .category-chips,
  .home-page > .section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-page > .trust-strip {
    margin-left: 12px;
    margin-right: 12px;
    padding-left: 0;
    padding-right: 0;
  }
}

.hero-banner--default {
  background:
    radial-gradient(600px 220px at 90% 10%, rgba(255, 229, 0, 0.18), transparent 55%),
    linear-gradient(125deg, #2874f0 0%, #1a5fd0 42%, #0c1524 100%);
  color: var(--white);
  padding: 36px 24px;
  position: relative;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.hero-default h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--white);
}

.hero-default p { opacity: 0.9; margin: 0 0 20px; max-width: 42ch; line-height: 1.55; }

/* Homepage offer slider — smooth horizontal track */
.banner-slider { position: relative; }
.banner-slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}
.banner-slider__track {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.banner-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-height: 0;
}
.banner-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: #f3f5f8;
}
@media (prefers-reduced-motion: reduce) {
  .banner-slider__track { transition: none; }
}
.banner-slide--text {
  min-height: clamp(168px, 38vw, 240px);
  padding: 28px 24px 32px;
  background:
    radial-gradient(600px 220px at 90% 10%, rgba(255, 229, 0, 0.18), transparent 55%),
    linear-gradient(125deg, #2874f0 0%, #1a5fd0 42%, #0c1524 100%);
  color: var(--white);
  box-sizing: border-box;
}
.banner-slide--text .banner-caption {
  position: static;
  background: none;
  padding: 0;
  max-width: 36rem;
}
/* Image banners: caption sits under the full image (does not cover header/footer of art) */
.banner-slide:not(.banner-slide--text) .banner-caption {
  position: static;
  background: linear-gradient(180deg, #0c1524 0%, #152238 100%);
  padding: 12px 14px 14px;
}
.banner-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 16px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: var(--white);
}
.banner-caption h2 {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}
.banner-caption p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.92;
  max-width: 42ch;
}
.banner-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--header-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
}
.banner-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  z-index: 4;
  transition: background 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}
.banner-slider__nav:hover { background: #fff; }
.banner-slider__nav:active { transform: translateY(-50%) scale(0.96); }
.banner-slider__nav--prev { left: 8px; }
.banner-slider__nav--next { right: 8px; }
.banner-slider__dots {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 6;
  pointer-events: none;
  padding: 10px 12px 4px;
  background: transparent;
}
.banner-slider--multi .banner-slider__dots {
  bottom: auto;
}
.banner-slider__dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #c5cad3;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}
.banner-slider__dot.is-active {
  background: var(--primary, #2874f0);
  width: 22px;
  border-radius: 999px;
  transform: none;
}
@media (max-width: 899px) {
  .banner-slider__dot {
    width: 9px;
    height: 9px;
  }
  .banner-slider__dot.is-active {
    width: 24px;
  }
  .banner-slider--multi .banner-slider__nav {
    width: 40px;
    height: 40px;
    opacity: 1;
  }
}
@keyframes bannerSlideIn {
  from { opacity: 0.55; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-slide { animation: none; }
}
@media (min-width: 768px) {
  .banner-slide--text { min-height: 240px; padding: 40px 36px; }
  .banner-slide:not(.banner-slide--text) .banner-caption { padding: 14px 20px 16px; }
  .banner-slider__nav--prev { left: 14px; }
  .banner-slider__nav--next { right: 14px; }
}

/* ── Category chips ── */
.category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-chips::-webkit-scrollbar { display: none; }

.cat-chip {
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.cat-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 230, 238, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--motion), transform var(--motion), border-color 0.15s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(40, 116, 240, 0.25);
}

.product-card__link { flex: 1; color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.product-card__link:hover { text-decoration: none; }

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #fafafa;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.product-card__img-wrap > img,
.product-card__img-wrap > .img-placeholder {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.product-card__img-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}

/* Card multi-image gallery (API images[]) — smooth horizontal slide */
.card-gallery {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: auto;
  height: auto;
  touch-action: pan-y;
  user-select: none;
  /* Let image taps reach .product-card__img-hit; arrows keep pointer-events */
  pointer-events: none;
}
.card-gallery__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.card-gallery__track {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.card-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 8px;
  box-sizing: border-box;
  pointer-events: none;
}
.card-gallery__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .card-gallery__track {
    transition: none;
  }
}
.card-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 6px rgba(12, 21, 36, 0.18);
  opacity: 0.92;
  transition: opacity 0.15s ease, background 0.15s ease, transform 0.15s ease;
  padding: 0;
  pointer-events: auto;
}
.card-gallery__nav:active { transform: translateY(-50%) scale(0.94); }
.card-gallery__nav--prev { left: 4px; }
.card-gallery__nav--next { right: 4px; }
.product-card:hover .card-gallery__nav,
.card-gallery:focus-within .card-gallery__nav {
  opacity: 1;
}
.card-gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}
.card-gallery__dot {
  pointer-events: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(12, 21, 36, 0.18);
  cursor: pointer;
}
.card-gallery__dot.is-active { background: var(--primary, #2874f0); }
.card-gallery--compact .card-gallery__nav {
  width: 22px;
  height: 22px;
  font-size: 14px;
}
.card-gallery--compact .card-gallery__slide { padding: 4px; }

@media (max-width: 899px) {
  .card-gallery__nav {
    opacity: 0.95;
    width: 30px;
    height: 30px;
  }
}

.img-placeholder {
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}

.img-placeholder.lg { min-height: 240px; display: grid; place-items: center; }
.img-placeholder.sm { width: 72px; height: 72px; }

.product-card__body { padding: 8px 10px 4px; flex: 1; }

.product-card__title {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 2.7em;
}

.product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
}

.product-card__price strong {
  font-size: 15px;
  font-weight: 700;
}

.product-card__price s {
  color: var(--text-muted);
  font-size: 12px;
}

.product-card__shop {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 10px 6px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.product-card__shop:hover {
  color: var(--primary);
  text-decoration: underline;
}

.discount-tag {
  font-size: 11px;
  color: var(--rating);
  font-weight: 600;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  margin-bottom: 2px;
}

.rating-badge small { color: var(--text-muted); }

.rating-badge--overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 4;
  margin: 0;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(12, 21, 36, 0.14);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.rating-badge--overlay .rating-badge__star {
  color: var(--rating);
  font-size: 11px;
  line-height: 1;
}

.stars { color: #ddd; letter-spacing: -1px; }
.star.filled, .star.half { color: var(--rating); }

.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 10px rgba(12, 21, 36, 0.14);
  cursor: pointer;
  font-size: 18px;
  color: #ccc;
  display: grid;
  place-items: center;
  transition: color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.wishlist-btn.active { color: #e53935; }
.wishlist-btn:hover { transform: scale(1.08); box-shadow: 0 4px 14px rgba(12, 21, 36, 0.18); }

/* Product cards: compact heart (especially mobile grid) */
.product-card > .wishlist-btn {
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  font-size: 13px;
  box-shadow: 0 1px 6px rgba(12, 21, 36, 0.12);
}

@media (max-width: 599px) {
  .product-card > .wishlist-btn {
    top: 5px;
    right: 5px;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    font-size: 12px;
  }
}

.avail-chip {
  position: absolute;
  bottom: 8px;
  right: 8px;
  left: auto;
  z-index: 4;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 6px rgba(12, 21, 36, 0.1);
}

.product-card__img-wrap:not(:has(.rating-badge--overlay)) .avail-chip {
  left: 8px;
  right: auto;
}

.avail-ready { color: var(--rating); background: #e8f5e9; }
.avail-soon { color: #e65100; background: #fff3e0; }
.avail-oos { color: #c62828; background: #ffebee; }

.add-cart-btn {
  position: relative;
  z-index: 2;
  margin: 0 8px 8px;
  width: calc(100% - 16px);
  pointer-events: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(40, 116, 240, 0.28);
}
.btn-primary:hover { background: var(--primary-deep); text-decoration: none; color: var(--white); }

.btn-cta {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(251, 100, 27, 0.28);
}
.btn-cta:hover { background: var(--cta-hover); text-decoration: none; color: var(--white); }

.btn-accent-dark {
  background: var(--accent);
  color: var(--header-dark);
  box-shadow: 0 4px 14px rgba(255, 229, 0, 0.3);
}
.btn-accent-dark:hover {
  background: #ffef4a;
  color: var(--header-dark);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-sm { padding: 6px 10px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: none; color: var(--primary); cursor: pointer; padding: 0; font-size: 13px; }

.badge {
  background: var(--cta);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
}

@keyframes badge-bounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  60% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.badge--bounce {
  animation: badge-bounce 0.45s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

/* ── Bottom nav ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.bottom-nav__item.active { color: var(--primary); }
.bottom-nav__icon { font-size: 20px; position: relative; }
.bottom-nav__icon .badge {
  position: absolute;
  top: -6px;
  right: -10px;
}
.bottom-nav__label {
  max-width: 100%;
  padding: 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.1;
}

.mobile-only { display: flex; }
.desktop-only { display: none; }

/* ── Categories page ── */
.categories-page {
  display: block;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.categories-page .catalog-main {
  padding: 10px 12px 0;
}

.categories-page .catalog-head {
  display: block;
  margin: 0 0 8px;
}

.categories-page .catalog-head h1,
.categories-page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.categories-page .catalog-pin {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-muted);
}

/* Sticky native-style filter toolbar — sits flush under measured site chrome */
.catalog-toolbar {
  position: sticky;
  top: var(--header-stack-h);
  z-index: 50;
  margin: 0 -12px 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.cat-tree {
  background: var(--surface);
}

.cat-tree-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding: 8px 12px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
}

.cat-tree-scroll::-webkit-scrollbar { display: none; }

.cat-tree-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  margin: 0;
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  scroll-snap-align: start;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.cat-tree-item:hover,
.cat-tree-item:focus-visible {
  text-decoration: none;
  border-color: var(--primary);
  color: var(--primary);
}

.cat-tree-item:active {
  transform: scale(0.97);
}

.cat-tree-item.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  font-weight: 600;
}

.catalog-toolbar__row {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #f0f0f0;
  background: var(--surface);
}

.catalog-toolbar__row .sort-chips {
  flex: 1;
  min-width: 0;
  border-top: none;
}

.catalog-filter-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  min-width: 44px;
  margin: 0;
  padding: 0 12px;
  border: none;
  border-left: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.catalog-filter-btn:hover,
.catalog-filter-btn:focus-visible {
  color: var(--primary);
  background: rgba(40, 116, 240, 0.04);
}

.catalog-filter-btn:active {
  transform: scale(0.98);
}

.catalog-filter-btn[data-count] {
  color: var(--primary);
}

.catalog-filter-btn .filter-count {
  background: var(--primary);
  color: var(--white);
}

.sort-chips {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding: 0 4px;
  border-top: 1px solid #f0f0f0;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.sort-chips::-webkit-scrollbar { display: none; }

.sort-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  margin: 0;
  border: none;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: color 0.12s ease, border-color 0.12s ease;
}

.sort-chip:hover,
.sort-chip:focus-visible {
  text-decoration: none;
  color: var(--text);
}

.sort-chip:active {
  background: rgba(40, 116, 240, 0.04);
}

.sort-chip.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
  background: transparent;
}

/* Legacy floating Filters FAB: never overlay product cards / Add to Cart */
.filter-dock {
  position: static !important;
  inset: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 1 !important;
  display: none !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--header-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  overscroll-behavior: contain;
}
.sheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.sheet-overlay[hidden] { display: none !important; }

.sheet {
  width: 100%;
  max-width: 520px;
  max-height: min(88dvh, 640px);
  background: var(--white);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}
.sheet-overlay.open .sheet { transform: translateY(0); }

.sheet__handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #cfd4dc;
  margin: 8px auto 0;
  flex-shrink: 0;
}

.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 4px 8px 4px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sheet__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.sheet__head .modal__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}

.sheet__body {
  padding: 12px 16px 8px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.sheet__actions {
  display: flex;
  gap: 8px;
  margin: 4px -16px -8px;
  position: sticky;
  bottom: 0;
  background: var(--white);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #f0f0f0;
}
.sheet__actions .btn {
  flex: 1;
  min-height: 44px;
  font-size: 14px;
}

.filter-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.filter-form input,
.filter-form select {
  width: 100%;
  margin-top: 4px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  background: var(--page-bg);
}

.filter-form .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.filter-form .checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* ── Product detail (PDP) ── */
.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

.pdp {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  align-items: start;
}

.pdp__gallery,
.pdp__buybox {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 230, 238, 0.8);
}

.pdp__gallery {
  padding: 0;
  overflow: hidden;
  background: #fafafa;
}

.pdp__media {
  position: relative;
}

.pdp__wishlist {
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.pdp__media-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.pdp__media-actions .wishlist-btn,
.pdp__media-actions .share-btn {
  position: static;
  top: auto;
  right: auto;
}

.share-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(12, 21, 36, 0.14);
  cursor: pointer;
  color: var(--text);
  display: grid;
  place-items: center;
  transition: color 0.15s, transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.share-btn:hover {
  color: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(12, 21, 36, 0.18);
}
.share-btn:active { transform: scale(0.96); }

.pdp__rating-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(12, 21, 36, 0.16);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.pdp__rating-star {
  color: var(--rating);
  font-size: 13px;
  line-height: 1;
}
.pdp__rating-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.pdp__buybox {
  padding: 14px 14px 12px;
}

/* Trust cluster under price */
.pdp-trust {
  list-style: none;
  margin: 0 0 12px;
  padding: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  border-top: 1px solid var(--border);
}
.pdp-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--text);
  line-height: 1.2;
}
.pdp-trust__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef8ef;
  color: var(--rating);
  flex-shrink: 0;
}
.pdp-trust__item:nth-child(1) .pdp-trust__icon {
  background: #f3f5f9;
  color: var(--header-mid);
}
.pdp-trust__item:nth-child(2) .pdp-trust__icon {
  background: #fff4ec;
  color: var(--cta);
}

/* Inline delivery ETA + pincode (above-the-fold) */
.pdp-delivery-inline {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f3f7ff 0%, #f8fafc 100%);
  border: 1px solid rgba(40, 116, 240, 0.14);
}
.pdp-delivery-inline__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.pdp-delivery-inline__eta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rating);
  font-size: 13px;
}
.pdp-delivery-inline__eta strong {
  font-weight: 750;
  color: var(--text);
}
.pdp-delivery-inline__fee {
  font-size: 12px;
  font-weight: 750;
  color: var(--text);
}
.pdp-delivery-inline__free { color: var(--rating); }
.pdp-delivery-inline__pin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.pdp-delivery-inline__pin > svg { color: var(--primary); flex-shrink: 0; }
.pdp-delivery-inline__pin strong { color: var(--text); font-weight: 700; }
.pdp-delivery-inline__change {
  min-height: 32px;
  padding: 4px 6px;
  font-weight: 700;
}
.pdp-delivery-inline__stock {
  margin-left: auto;
  font-size: 11px;
  font-weight: 650;
  color: var(--text-muted);
}
.pdp-delivery-inline__stock.is-oos { color: #c62828; }
.pdp-delivery-inline__loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  min-height: 36px;
}

/* Below-fold accordions */
.pdp-accordions {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}
.pdp-acc {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 230, 238, 0.9);
  overflow: hidden;
}
.pdp-acc__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  user-select: none;
}
.pdp-acc__summary::-webkit-details-marker { display: none; }
.pdp-acc__chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.pdp-acc[open] .pdp-acc__chevron { transform: rotate(180deg); }
.pdp-acc__body {
  padding: 0 14px 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.pdp-acc .review-form { margin-top: 12px; }

.pdp__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 8px;
  min-height: 0;
}
.pdp-topline .sold-by,
.pdp-topline .rating-row {
  margin: 0;
}

.pdp__save-note {
  margin: -4px 0 8px;
  font-size: 12px;
  color: var(--rating);
  font-weight: 600;
}

/* Compact single-row secondary chips (Flipkart meta strip) */
.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}
.pdp-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  background: #f3f5f9;
  color: var(--text-muted);
  border: 1px solid transparent;
}
.pdp-chip svg { flex-shrink: 0; }
.pdp-chip--muted { background: #f5f7fb; color: var(--text-muted); }
.pdp-chip--avail.avail-ready {
  background: #e8f5e9;
  color: var(--rating);
  border-color: rgba(56, 142, 60, 0.18);
}
.pdp-chip--avail.avail-soon {
  background: #fff3e0;
  color: #e65100;
  border-color: rgba(230, 81, 0, 0.16);
}
.pdp-chip--avail.avail-oos,
.pdp-chip.is-oos {
  background: #ffebee;
  color: #c62828;
  border-color: rgba(198, 40, 40, 0.16);
}

/* Graphical assurance strip — Meesho/Flipkart services row */
.pdp-assurances {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.pdp-assurance {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 6px 2px;
  min-width: 0;
}
.pdp-assurance__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f0f5ff 0%, #e8eef8 100%);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(40, 116, 240, 0.1);
}
.pdp-assurance:nth-child(2) .pdp-assurance__icon {
  background: linear-gradient(160deg, #fff4ec 0%, #ffece0 100%);
  color: var(--cta);
  box-shadow: inset 0 0 0 1px rgba(251, 100, 27, 0.12);
}
.pdp-assurance:nth-child(3) .pdp-assurance__icon {
  background: linear-gradient(160deg, #eef8ef 0%, #e4f3e6 100%);
  color: var(--rating);
  box-shadow: inset 0 0 0 1px rgba(56, 142, 60, 0.14);
}
.pdp-assurance:nth-child(4) .pdp-assurance__icon {
  background: linear-gradient(160deg, #f3f5f9 0%, #e9edf4 100%);
  color: var(--header-mid);
  box-shadow: inset 0 0 0 1px rgba(12, 21, 36, 0.08);
}
.pdp-assurance__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp__sidebar {
  display: grid;
  gap: 8px;
}

.pdp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 230, 238, 0.9);
  overflow: hidden;
  animation: fadeUp 0.4s var(--ease-out) both;
}
.pdp-card:nth-child(2) { animation-delay: 0.04s; }
.pdp-card:nth-child(3) { animation-delay: 0.08s; }
.pdp-card:nth-child(4) { animation-delay: 0.12s; }

.pdp-card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.pdp-card__head--compact {
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
}
.pdp-card__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pdp-card__head--compact h2 { font-size: 0.88rem; }
.pdp-card__sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}
.pdp-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(40, 116, 240, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}
.pdp-card__head--compact .pdp-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.pdp-card--delivery .pdp-card__icon { background: rgba(56, 142, 60, 0.12); color: var(--rating); }
.pdp-card--warranty .pdp-card__icon { background: rgba(251, 100, 27, 0.12); color: var(--cta); }
.pdp-card--specs .pdp-card__icon { background: rgba(12, 21, 36, 0.06); color: var(--header-mid); }

.pdp-card__body { padding: 12px 14px 14px; }
.pdp-card__body--compact { padding: 10px 12px 12px; }

.pdp-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pdp-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
}
.pdp-card__list li > span { color: var(--text-muted); }
.pdp-card__list li > strong { font-weight: 650; text-align: right; }

/* Single-row secondary metrics inside sidebar cards */
.pdp-card__list--inline {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fafbfd;
}
.pdp-card__list--inline li {
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 10px;
  font-size: 11px;
  border-right: 1px solid var(--border);
}
.pdp-card__list--inline li:last-child { border-right: 0; }
.pdp-card__list--inline li > strong {
  font-size: 12px;
  text-align: left;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp-card__hint-row {
  display: block !important;
}
.pdp-card__hint-row span {
  width: 100%;
  font-size: 11px;
  color: var(--text-muted);
  text-align: left !important;
}
.pdp-card__green { color: var(--rating); }
.pdp-card__footnote {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-muted);
}
.pdp-card__footnote--tight {
  margin: 8px 0 0;
  font-size: 10px;
}
.pdp-card__loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  min-height: 40px;
}

.pdp-delivery__pin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: #f3f7ff;
  border: 1px solid rgba(40, 116, 240, 0.14);
}
.pdp-delivery__pin > svg { color: var(--primary); flex-shrink: 0; }
.pdp-delivery__pin > div { flex: 1; min-width: 0; }
.pdp-delivery__pin strong { display: block; font-size: 13px; }
.pdp-delivery__pin small { color: var(--text-muted); font-size: 11px; }
.pdp-delivery__pin .btn { flex-shrink: 0; padding: 5px 10px; }

.pdp-delivery__pin--row {
  padding: 6px 8px 6px 10px;
  margin-bottom: 8px;
  gap: 6px;
  font-size: 12px;
  flex-wrap: nowrap;
}
.pdp-delivery__pin--row strong {
  display: inline;
  font-size: 12px;
  font-weight: 700;
}
.pdp-delivery__sep { color: var(--text-muted); }
.pdp-delivery__pin--row > span:not(.pdp-delivery__sep) {
  color: var(--text-muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.pdp-delivery__pin--row .btn {
  margin-left: auto;
  padding: 3px 8px;
  font-size: 11px;
  min-height: 28px;
}

.pdp-seller__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pdp-seller__identity--row {
  margin-bottom: 8px;
  gap: 8px;
}
.pdp-seller__avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(40, 116, 240, 0.28);
}
.pdp-seller__avatar--sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(40, 116, 240, 0.22);
}
.pdp-seller__identity strong { display: block; font-size: 14px; margin-bottom: 4px; }
.pdp-seller__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.pdp-seller__copy strong {
  margin: 0;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pdp-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
}
.pdp-badge--ok {
  background: #e8f5e9;
  color: var(--rating);
}

.pdp-warranty__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pdp-warranty__list li {
  padding-left: 14px;
  border-left: 3px solid rgba(40, 116, 240, 0.35);
}
.pdp-warranty__list strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.pdp-warranty__list span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Compact services icon row (sidebar) */
.pdp-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.pdp-services__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 8px;
  background: #f7f9fc;
  border: 1px solid rgba(226, 230, 238, 0.9);
}
.pdp-services__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.pdp-services__item:nth-child(2) .pdp-services__icon { color: var(--cta); }
.pdp-services__item:nth-child(3) .pdp-services__icon { color: var(--rating); }
.pdp-services__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp-specs { margin: 0; }
.pdp-specs__row {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.pdp-specs__row:last-child { border-bottom: 0; padding-bottom: 0; }
.pdp-specs__row:first-child { padding-top: 0; }
.pdp-specs__row dt { color: var(--text-muted); font-weight: 500; }
.pdp-specs__row dd { margin: 0; font-weight: 650; text-align: right; }
.pdp-specs--compact .pdp-specs__row {
  padding: 5px 0;
  font-size: 12px;
  grid-template-columns: 34% 1fr;
}

.product-main-img { max-height: 320px; object-fit: contain; margin: 0 auto; }

.carousel { width: 100%; }
.carousel__viewport {
  position: relative;
  aspect-ratio: 1;
  background: #f5f5f5;
  overflow: hidden;
}
.carousel__track { width: 100%; height: 100%; }
.carousel__slide {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 16px;
}
.carousel__slide.is-active { display: grid; }
.carousel__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  z-index: 2;
}
.carousel__nav--prev { left: 8px; }
.carousel__nav--next { right: 8px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 4px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cfd4dc;
  padding: 0;
  cursor: pointer;
}
.carousel__dot.is-active { background: var(--primary); }

/* Product gallery thumbnails — sourced from product.images (backend) */
.carousel__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.carousel__thumbs::-webkit-scrollbar {
  height: 4px;
}
.carousel__thumbs::-webkit-scrollbar-thumb {
  background: rgba(12, 21, 36, 0.22);
  border-radius: 999px;
}
.carousel__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  opacity: 0.55;
  transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  box-shadow: 0 1px 4px rgba(12, 21, 36, 0.08);
}
.carousel__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.carousel__thumb:hover {
  opacity: 0.85;
}
.carousel__thumb.is-active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb, 37, 99, 235), 0.25);
  transform: translateY(-1px);
}
.carousel__thumb:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  opacity: 1;
}

.product-video {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.product-video h2 { margin: 0 0 12px; font-size: 1.1rem; font-family: var(--font-display); }

/* Product showcase (lifestyle images from vendor panel) */
.product-showcase {
  margin-bottom: 20px;
}
.product-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.product-showcase__item {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f5f7fb;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.product-showcase__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 600px) {
  .product-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.showcase-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 12, 20, 0.92);
  display: grid;
  place-items: center;
  padding: 48px 16px 24px;
}
.showcase-lightbox__figure {
  margin: 0;
  max-width: min(960px, 100%);
  max-height: 100%;
  text-align: center;
}
.showcase-lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 8px;
}
.showcase-lightbox__figure figcaption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  font-size: 13px;
}
.showcase-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.showcase-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.showcase-lightbox__nav--prev { left: 10px; }
.showcase-lightbox__nav--next { right: 10px; }
@media (max-width: 899px) {
  .product-page .product-showcase {
    padding-left: 12px;
    padding-right: 12px;
  }
}
.product-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.product-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.product-video__frame--file {
  background: #0f172a;
}
.product-video__frame--file video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f172a;
}
.product-video__frame + .product-video__frame {
  margin-top: 12px;
}

.sold-by { color: var(--text-muted); margin: 0; font-size: 12px; }
.sold-by a { font-weight: 700; color: var(--primary); }
.rating-row { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 12px; }

.availability-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 14px;
  background: #e8f5e9;
  color: var(--rating);
}

.availability-banner.avail-ready { background: #e8f5e9; color: var(--rating); }
.availability-banner.avail-soon { background: #fff3e0; color: #e65100; }
.availability-banner.avail-oos { background: #ffebee; color: #c62828; }
.avail-pin { font-size: 12px; opacity: 0.85; font-weight: 500; }

.account-review-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  margin: 0 0 14px;
  border-radius: var(--radius);
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #92400e;
  font-size: 14px;
  line-height: 1.45;
}
.account-review-banner strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}
.account-review-banner span {
  display: block;
  font-size: 13px;
  opacity: 0.92;
}
.account-review-banner a {
  flex-shrink: 0;
  align-self: center;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.account-review-banner--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.pdp__unit-note {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-main.is-tiered {
  color: var(--rating);
  transition: color var(--motion);
}

/* Volume / tiered pricing — compact PDP callout */
.pdp-volume {
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-volume__banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(56, 142, 60, 0.08), rgba(40, 116, 240, 0.06));
  border: 1px solid rgba(56, 142, 60, 0.18);
  animation: pdpVolumeIn 0.35s var(--ease-out);
}

@keyframes pdpVolumeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.pdp-volume__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  color: var(--rating);
  box-shadow: var(--shadow-sm);
}

.pdp-volume__copy {
  flex: 1;
  min-width: 0;
}

.pdp-volume__title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--rating);
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

.pdp-volume__nudge {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text);
  font-weight: 500;
}

.pdp-volume__link {
  flex-shrink: 0;
  align-self: center;
  border: none;
  background: none;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdp-volume__link:hover { color: var(--primary-deep); }

.pdp-volume__ladder {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.pdp-volume__pill {
  flex: 1 0 auto;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #f7f9fc;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s var(--ease-out);
}

.pdp-volume__pill:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.pdp-volume__pill.is-active {
  border-color: rgba(56, 142, 60, 0.45);
  background: #e8f5e9;
  box-shadow: inset 0 0 0 1px rgba(56, 142, 60, 0.12);
}

.pdp-volume__pill-qty {
  font-size: 10px;
  font-weight: 650;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.pdp-volume__pill.is-active .pdp-volume__pill-qty { color: var(--rating); }

.pdp-volume__pill-price {
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.02em;
}

.pdp-volume__pill.is-active .pdp-volume__pill-price { color: var(--rating); }

.pdp-tiers__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pdp-tiers__table th,
.pdp-tiers__table td {
  padding: 10px 12px;
  text-align: left;
}

.pdp-tiers__table th {
  font-size: 11px;
  font-weight: 650;
  color: var(--text-muted);
  background: #f7f9fc;
  border-bottom: 1px solid var(--border);
}

.pdp-tiers__table tbody tr {
  border-bottom: 1px solid #eef2f6;
  transition: background 0.15s ease;
}

.pdp-tiers__table tbody tr.is-active {
  background: #e8f5e9;
  font-weight: 650;
}

.pdp-tiers__table tbody tr.is-active td:nth-child(2) {
  color: var(--rating);
}

.pdp-tiers__per {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.pdp-tiers__save {
  font-size: 12px;
  font-weight: 650;
  color: var(--text-muted);
  text-align: right;
}

.pdp-tiers__save.is-save { color: var(--rating); }

.pdp-tiers__footnote {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.modal--tiers {
  max-width: 420px;
}

.modal--tiers .pdp-tiers__table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.modal--tiers .sheet__actions {
  margin-top: 16px;
  padding: 0;
  border: 0;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.price-main {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  line-height: 1.1;
}

.moq-note, .stock-note { font-size: 13px; color: var(--text-muted); margin: 4px 0; }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 8px;
  align-items: center;
}

.product-actions__atc.is-go-cart,
.pdp-sticky-cta .btn.is-go-cart {
  background: var(--rating);
  box-shadow: 0 4px 14px rgba(56, 142, 60, 0.28);
}

.qty-row { display: flex; align-items: center; gap: 6px; }
.qty-row label { font-size: 12px; font-weight: 650; color: var(--text-muted); }
.qty-row input {
  width: 56px;
  padding: 7px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 650;
}

.short-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc, .reviews {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.related-products {
  margin-top: 4px;
  margin-bottom: 8px;
  padding-top: 4px;
}

.fbt {
  margin-top: 1.25rem;
  margin-bottom: 8px;
}
.fbt .section-head {
  margin-bottom: 12px;
}
.fbt .section-head h2 {
  font-size: 1.15rem;
  margin: 0;
  position: relative;
  padding-left: 12px;
}
.fbt .section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  border-radius: 2px;
  background: var(--primary, #2874f0);
}
.fbt__box {
  border: 1px solid #e5e8ef;
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px 16px;
}
.fbt__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fbt__item {
  position: relative;
  display: flex;
  flex-direction: column;
}
.fbt__check {
  display: grid;
  grid-template-columns: auto 64px 1fr;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}
.fbt__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary, #2874f0);
  margin: 0;
}
.fbt__thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f5f9;
  display: block;
}
.fbt__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fbt__thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9aa3b2;
  font-size: 0.85rem;
}
.fbt__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fbt__name {
  font-size: 0.92rem;
  line-height: 1.35;
  color: #1a1f2c;
}
.fbt__name em {
  font-style: normal;
  color: #6b7280;
  font-weight: 500;
}
.fbt__price {
  font-weight: 700;
  color: #111827;
  font-size: 0.95rem;
}
.fbt__options {
  font-size: 0.8rem;
  color: var(--primary, #2874f0);
  text-decoration: none;
  margin-top: 2px;
}
.fbt__options:hover { text-decoration: underline; }
.fbt__item--locked .fbt__check { cursor: default; opacity: 0.92; }
.fbt__plus { display: none; }
.fbt__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #eef1f6;
}
.fbt__total {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fbt__total span {
  font-size: 0.8rem;
  color: #6b7280;
}
.fbt__total strong {
  font-size: 1.15rem;
  color: #111827;
}
#fbt-add-selected {
  min-width: 180px;
}
@media (min-width: 700px) {
  .fbt__list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
  }
  .fbt__item {
    flex: 1 1 180px;
    max-width: 260px;
  }
  .fbt__check {
    grid-template-columns: auto 1fr;
  }
  .fbt__check input {
    align-self: start;
    margin-top: 4px;
  }
  .fbt__thumb {
    width: 100%;
    height: 120px;
    grid-column: 2;
  }
  .fbt__meta {
    grid-column: 2;
  }
}

.related-products .section-head {
  margin-bottom: 16px;
  gap: 10px;
}

.related-products .section-head h2 {
  position: relative;
  padding-left: 12px;
}

.related-products .section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--cta));
}

.related-products__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.related-products__pager {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.related-products__pager[hidden] {
  display: none !important;
}

.related-products__page-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface, var(--white));
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.related-products__page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.related-products__page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.related-products__page-status {
  min-width: 3.25em;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.related-products[hidden] {
  display: none !important;
}

.related-products__grid {
  gap: 12px;
  align-items: stretch;
}

.related-products__grid .product-card {
  min-width: 0;
  height: 100%;
}

.related-products__grid .product-card__title {
  min-height: 2.7em;
}

.related-products__grid .product-card__img-wrap {
  padding: 6px;
}

.related-products__grid .add-cart-btn {
  margin-top: auto;
}

/* Sticky PDP purchase bar (mobile) */
.pdp-sticky-cta {
  display: none;
}

.desc-body { font-size: 14px; line-height: 1.6; }

.review-card {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.review-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; font-size: 13px; }
.review-head time { color: var(--text-muted); }

.review-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.review-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 13px;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Cart ── */
.cart-layout {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 8px;
}

.cart-item__img img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius); }
.cart-item__info h3 { margin: 0 0 4px; font-size: 14px; }
.cart-item__price { font-weight: 600; margin: 4px 0; }
.cart-item__per { font-weight: 500; color: var(--text-muted); font-size: 12px; }
.cart-item__bulk {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #e8f5e9;
  color: var(--rating, #2e7d32);
  font-size: 11px;
  font-weight: 700;
}
.line-error { color: #c62828; font-size: 12px; margin: 4px 0; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.qty-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}

.qty-control input {
  width: 52px;
  min-height: 48px;
  text-align: center;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.qty-control--pdp {
  margin-top: 0;
  gap: 6px;
}
.qty-control__moq {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
}

.summary-dl .summary-save {
  color: var(--rating);
  font-weight: 700;
  font-size: 13px;
  padding-top: 6px;
}

.cart-summary {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  height: fit-content;
}

.summary-dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 12px 0;
  font-size: 14px;
}

.summary-dl dt.total, .summary-dl dd.total {
  font-weight: 700;
  font-size: 16px;
  border-top: 1px dashed var(--border);
  padding-top: 8px;
}

.summary-dl .green { color: var(--rating); }

.promo-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.promo-form input {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.promo-form .btn { white-space: nowrap; }

.promo-applied {
  font-size: 13px;
  color: var(--rating);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-applied__meta { margin: 0; flex: 1; min-width: 0; }

.promo-error {
  font-size: 13px;
  color: var(--danger, #b91c1c);
  margin: 0 0 10px;
  line-height: 1.35;
}

.promo-hint {
  font-size: 12px;
  color: var(--muted, #64748b);
  margin: -4px 0 12px;
}

/* ── Checkout ── */
.checkout-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.checkout-steps .step {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.checkout-steps .step.active { border-color: var(--primary); color: var(--primary); }
.checkout-steps .step.current { background: var(--primary); color: var(--white); border-color: var(--primary); }

.checkout-form {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.checkout-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 13px;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.map-pin-picker {
  margin: 8px 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f9fc;
}

.map-pin-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
}

.map-pin-picker__search {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
}

.map-pin-picker__search input {
  flex: 1;
  min-width: 0;
}

.map-pin-picker__canvas {
  width: 100%;
  height: 220px;
  background: #dfe6f1;
}

.map-pin-fallback {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 6px;
  padding: 16px;
  color: #445;
  font-size: 13px;
}

.map-pin-picker__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 8px 12px 4px;
  font-size: 12px;
  color: #556;
}

.map-pin-picker__address {
  flex: 1 1 12rem;
  font-family: inherit;
  color: #334;
}

.map-pin-picker__hint {
  padding: 0 12px 12px;
  margin: 0;
}

.payment-options { border: none; padding: 0; margin-bottom: 16px; }
.radio-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
}

.checkout-nav {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.review-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.review-lines li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.order-success {
  text-align: center;
  background: var(--white);
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--rating);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin: 0 auto 16px;
}

/* ── Account ── */
.account-grid {
  display: grid;
  gap: 12px;
}

.account-card {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.account-card h2 { margin: 0 0 12px; font-size: 1rem; }
.account-links { list-style: none; padding: 0; margin: 0; }
.account-links li { margin-bottom: 8px; }
.account-links a { font-weight: 500; color: var(--text); text-decoration: none; }
.account-links a:hover { color: var(--primary); }

.lookup-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 13px;
}

.lookup-form input {
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  background: #fafafa;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e3f2fd;
  color: var(--primary);
  text-transform: capitalize;
}

.order-detail { font-size: 14px; }
.order-detail__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.order-detail__top h3 { margin: 0; }
.order-detail__total { margin: 0; font-weight: 600; }
.order-detail__items { margin-top: 16px; }
.order-detail__items h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: #556; }
.order-detail__items ul { margin: 0; padding-left: 1.1rem; }
.order-detail__ship-to { margin-top: 12px; font-size: 13px; color: #445; }
.order-detail__ship-to .label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: #778; margin-bottom: 2px; }

/* Flipkart-style order tracker */
.order-tracker {
  margin: 8px 0 4px;
  padding: 14px 12px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfcfe;
}
.order-tracker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.order-tracker__headline {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.order-tracker__ship {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: -4px 0 12px;
  font-size: 12px;
  color: #556;
}
.order-tracker__ship a { color: var(--primary); }
.order-tracker__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.order-tracker__step {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  min-height: 44px;
}
.order-tracker__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.order-tracker__line {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 2px;
  height: 22px;
  transform: translateX(-50%);
  background: #d5dbe5;
}
.order-tracker__step--done .order-tracker__line,
.order-tracker__step--current .order-tracker__line {
  background: #26a541;
}
.order-tracker__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  border: 2px solid #c5ccd8;
  background: #fff;
  z-index: 1;
  box-sizing: border-box;
}
.order-tracker__step--done .order-tracker__dot {
  border-color: #26a541;
  background: #26a541;
}
.order-tracker__step--current .order-tracker__dot {
  border-color: #26a541;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(38, 165, 65, 0.2);
}
.order-tracker__body {
  padding-bottom: 14px;
}
.order-tracker__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #889;
}
.order-tracker__step--done .order-tracker__label,
.order-tracker__step--current .order-tracker__label {
  color: #1a1a1a;
}
.order-tracker__time {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #6a7380;
}
.order-tracker__history {
  margin-top: 4px;
  font-size: 12px;
  color: #556;
}
.order-tracker__history summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}
.order-tracker__history-list {
  margin: 8px 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 8px;
}
.order-tracker__history-list li {
  display: grid;
  gap: 2px;
}
.order-tracker__history-list time {
  color: #778;
  font-size: 11px;
}
.order-tracker__note { color: #667; }
.order-tracker--cancelled,
.order-tracker--refunded {
  border-color: #f0c7c7;
  background: #fff7f7;
}

.special-note { background: #fff8e1; padding: 8px; border-radius: var(--radius); margin: 8px 0; }

/* ── Sell With Us / vendor-signup ── */
.sell-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 12px 48px;
}

.sell-hero {
  display: grid;
  gap: 20px;
  margin: 12px 0 28px;
  padding: 28px 20px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(255, 229, 0, 0.22), transparent 55%),
    radial-gradient(700px 380px at 100% 20%, rgba(40, 116, 240, 0.35), transparent 50%),
    linear-gradient(145deg, #12233d 0%, #0c1524 55%, #152238 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
  animation: fadeUp 0.45s var(--ease-out);
}
.sell-hero__copy { position: relative; z-index: 1; max-width: 34rem; }
.sell-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.sell-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}
.sell-hero__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}
.sell-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sell-hero__panel {
  position: relative;
  z-index: 1;
  display: none;
}
.sell-hero__glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 0, 0.35), transparent 70%);
  pointer-events: none;
}
.sell-hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.sell-hero__stats li {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  animation: fadeUp 0.5s var(--ease-out) both;
}
.sell-hero__stats li:nth-child(2) { animation-delay: 0.08s; }
.sell-hero__stats li:nth-child(3) { animation-delay: 0.16s; }
.sell-hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.sell-hero__stats span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

.sell-benefits {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.sell-benefit {
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--motion), box-shadow var(--motion);
}
.sell-benefit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.sell-benefit__icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(40, 116, 240, 0.12);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
}
.sell-benefit h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sell-benefit p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.sell-form-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.sell-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
}
.sell-form-card__intro {
  padding: 22px 20px 8px;
  background:
    linear-gradient(180deg, rgba(40, 116, 240, 0.06), transparent 70%);
}
.sell-form-card__intro h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sell-form-card__intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  max-width: 48ch;
}
.sell-form {
  display: grid;
  gap: 14px;
  padding: 16px 20px 24px;
}
.sell-field {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.sell-field input,
.sell-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fafbfd;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.sell-field input:focus,
.sell-field select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.15);
}
.sell-form__actions { margin-top: 4px; }
.sell-form__alt {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.sell-form__alt a { font-weight: 700; }
.sell-success {
  padding: 28px 20px 32px;
  text-align: center;
  animation: fadeUp 0.35s var(--ease-out);
}
.sell-success h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}
.sell-success p {
  margin: 0 0 18px;
  color: var(--text-muted);
}
.sell-success .sell-hero__cta { justify-content: center; }

/* ── Vendor ── */
.vendor-login-card {
  max-width: 400px;
  margin: 24px auto;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.vendor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.vendor-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.vendor-tabs .tab {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}

.vendor-tabs .tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.vendor-table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.vendor-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vendor-table th, .vendor-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.vendor-table th { background: #fafafa; font-weight: 600; }

.vendor-order-card {
  background: var(--white);
  padding: 14px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
  border-left: 4px solid transparent;
}

.vendor-order-card.has-instructions { border-left-color: var(--cta); }

.special-instructions {
  background: #fff3e0;
  padding: 10px;
  border-radius: var(--radius);
  margin: 8px 0;
  font-size: 13px;
}

.special-instructions.highlight {
  background: #ffe0b2;
  border: 1px solid #ffb74d;
}

.vendor-order-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.modal-overlay.open {
  display: flex;
  pointer-events: auto;
}
.modal-overlay[hidden] { display: none !important; }

.modal {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px;
  animation: slideUp 0.25s ease;
}

.modal--wide { max-width: 640px; }

@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.modal__head h2 { margin: 0; font-size: 1.1rem; }
.modal__close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
.modal__sub { color: var(--text-muted); margin: 0 0 16px; font-size: 13px; }

.pin-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pin-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pin-list { display: flex; flex-direction: column; gap: 6px; }

.pin-option {
  text-align: left;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.pin-option.active { border-color: var(--primary); background: #f0f6ff; }

/* ── Login / Signup auth modal ── */
.modal--auth {
  max-width: 420px;
}

.auth-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  background: linear-gradient(90deg, #f5f8ff, #fff8f0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.auth-trust__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c5cdd8;
}

.auth-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.auth-phone-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 8px;
}

.auth-phone-row:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.15);
}

.auth-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f7f9fc;
  border-right: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.auth-phone-row input,
.auth-otp-input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 16px;
  letter-spacing: 0.04em;
  outline: none;
  width: 100%;
  background: transparent;
}

.auth-otp-input {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  letter-spacing: 0.28em;
  font-weight: 600;
  text-align: center;
}

.auth-otp-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.15);
}

.auth-hint {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.auth-hint--center { text-align: center; }

.auth-otp-meta {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  padding: 0;
  font-size: 13px;
}

.auth-debug {
  margin: 0 0 10px;
  padding: 8px 10px;
  background: #fff8e1;
  border: 1px dashed #f0c36d;
  border-radius: var(--radius);
  font-size: 12px;
  color: #7a5b00;
  font-family: ui-monospace, monospace;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-google-slot {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auth-google-btn-host {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-legal {
  margin: 16px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

.account-auth-card__name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.account-auth-card__meta {
  margin: 0 0 2px;
  font-size: 13px;
  color: var(--text-muted);
}

.account-auth-card .btn {
  margin-top: 12px;
}

/* ── Pagination ── */
.pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.page-btn {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.page-btn.active, .page-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  text-decoration: none;
}

/* ── Empty / Loading ── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.empty-state__icon { font-size: 48px; margin-bottom: 12px; }
.empty-state h2 { margin: 0 0 8px; font-size: 1.1rem; }
.empty-state p { color: var(--text-muted); margin: 0 0 16px; }
.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.suggest-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.spinner-wrap, .page-loading { display: grid; place-items: center; padding: 40px; }

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.spinner--sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hint { color: var(--text-muted); font-size: 13px; }

/* ── Skeleton ── */
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer { to { background-position: -200% 0; } }

.skeleton-card { pointer-events: none; }
.skeleton-img { aspect-ratio: 1; margin-bottom: 8px; }
.skeleton-text { height: 14px; margin-bottom: 6px; }
.skeleton-text.short { width: 60%; }
.skeleton-price { height: 18px; width: 40%; }
.skeleton-chip { width: 80px; height: 36px; flex-shrink: 0; }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #323232;
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  max-width: calc(100% - 32px);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast--error { background: #c62828; }
.toast--success { background: #2e7d32; }
.toast--action { padding: 10px 12px 10px 16px; text-align: left; }
.toast__msg { flex: 1; min-width: 0; }
.toast__action {
  flex-shrink: 0;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  min-height: 36px;
  border-radius: 8px;
  cursor: pointer;
}
.toast__action:hover { background: rgba(255, 255, 255, 0.28); }

body:has(.product-page) .toast {
  bottom: calc(var(--pdp-sticky-h, 64px) + env(safe-area-inset-bottom, 0px) + 16px);
}

/* ── Desktop ── */
@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .app-main { padding: 18px 16px 12px; }

  .pincode-chip { display: inline-flex; }
}

@media (min-width: 900px) {
  .mobile-only { display: none !important; }
  .desktop-only { display: flex; }

  .app-main {
    padding-bottom: 24px;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .toast {
    bottom: 24px;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .related-products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .categories-page {
    display: block;
  }

  .app-main:has(.categories-page) {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 16px;
  }

  .categories-page .catalog-main {
    padding: 0;
  }

  .catalog-toolbar {
    margin: 0 0 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
  }

  /* PDP: gallery + buy box side-by-side; details accordions full-width below */
  .pdp {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 14px;
  }

  .pdp-accordions {
    grid-column: 1 / -1;
  }

  .pdp__gallery .carousel__viewport {
    aspect-ratio: 1;
    min-height: 360px;
  }

  .pdp__title { font-size: 1.35rem; -webkit-line-clamp: 3; }

  .pdp__buybox {
    padding: 16px 16px 14px;
  }

  .price-main { font-size: 1.75rem; }

  .pdp-assurance__label { font-size: 11px; }

  .cart-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }

  .cart-summary { position: sticky; top: calc(var(--header-h) + 12px); }

  .account-grid {
    grid-template-columns: 1fr 1fr;
  }

  .account-card--wide {
    grid-column: 1 / -1;
  }

  .modal-overlay {
    align-items: center;
    padding: 16px;
  }

  .modal {
    border-radius: var(--radius-lg);
  }

  .header-top {
    flex-wrap: nowrap;
    min-height: var(--header-h);
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .related-products__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  /* PDP desktop: gallery | buy box */
  .pdp {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 16px;
  }

  .pdp-accordions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pdp__buybox {
    padding: 18px 18px 16px;
  }

  .pdp__gallery .carousel__viewport {
    min-height: 420px;
  }

  .product-actions .btn-cta,
  .product-actions .btn-primary {
    min-width: 140px;
  }
}

@media (max-width: 899px) {
  /* PDP: edge-to-edge gallery + sticky purchase bar */
  .app-main:has(.product-page) {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .product-page {
    --pdp-sticky-h: 72px;
    padding-bottom: calc(var(--pdp-sticky-h) + env(safe-area-inset-bottom, 0px) + 12px);
  }

  body:has(.product-page) .bottom-nav {
    display: none !important;
  }

  body:has(.product-page) .site-footer {
    padding-bottom: calc(20px + var(--pdp-sticky-h) + env(safe-area-inset-bottom, 0px));
  }

  .product-page > .breadcrumb,
  .product-page > .product-video,
  .product-page > .related-products,
  .product-page > .fbt,
  .product-page > .product-showcase {
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-page > .pdp > .pdp__buybox,
  .product-page .pdp-info-stack {
    margin-left: 0;
    margin-right: 0;
  }

  .product-page > .breadcrumb {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .product-page .pdp {
    gap: 0;
    margin-bottom: 12px;
  }

  .product-page .pdp__gallery {
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
  }

  .product-page .pdp__buybox {
    border-radius: 0;
    margin-top: 0;
    padding: 12px 12px 10px;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .product-page .pdp__title {
    font-size: 1.12rem;
    margin-bottom: 4px;
  }

  .product-page .price-main {
    font-size: 1.5rem;
  }

  .product-page .pdp-meta-row {
    margin-bottom: 8px;
  }

  .product-page .pdp-trust {
    margin-bottom: 10px;
    padding-top: 8px;
    gap: 6px 10px;
  }

  .product-page .pdp-delivery-inline {
    margin-bottom: 10px;
  }

  .product-page .carousel__viewport {
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }

  .product-page .carousel__slide {
    padding: 0;
  }

  .product-page .carousel__slide img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    background: #fff;
  }

  .product-page .carousel__dots {
    display: none;
  }

  .product-page .carousel__viewport {
    position: relative;
  }

  .product-page .pdp__media .carousel {
    position: relative;
  }

  /* Mobile: thumbnails overlay main image with low opacity */
  .product-page .carousel--multi .carousel__thumbs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    gap: 8px;
    padding: 28px 12px 12px;
    margin: 0;
    background: linear-gradient(to top, rgba(12, 21, 36, 0.42) 0%, rgba(12, 21, 36, 0.12) 55%, transparent 100%);
    scrollbar-width: none;
  }

  .product-page .carousel--multi .carousel__thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-page .carousel--multi .carousel__thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.35);
    opacity: 0.45;
    box-shadow: 0 2px 8px rgba(12, 21, 36, 0.18);
    backdrop-filter: blur(2px);
  }

  .product-page .carousel--multi .carousel__thumb img {
    opacity: 0.85;
  }

  .product-page .carousel--multi .carousel__thumb.is-active {
    opacity: 1;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(12, 21, 36, 0.28);
  }

  .product-page .carousel--multi .carousel__thumb.is-active img {
    opacity: 1;
  }

  .product-page .pdp__rating-badge {
    bottom: 12px;
    left: 12px;
  }

  .product-page .pdp__media:has(.carousel--multi) .pdp__rating-badge {
    bottom: 78px;
  }

  .product-page .rating-row--detail {
    display: none;
  }

  .product-page .product-actions__atc,
  .product-page .product-actions__buy {
    display: none;
  }

  .product-page .product-actions {
    margin-bottom: 4px;
  }

  .pdp-sticky-cta {
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(226, 230, 238, 0.95);
    box-shadow: 0 -8px 28px rgba(12, 21, 36, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .pdp-sticky-cta__price {
    flex: 0 0 auto;
    min-width: 64px;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .pdp-sticky-cta__price strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
  }
  .pdp-sticky-cta__price small {
    font-size: 11px;
    font-weight: 700;
    color: var(--rating);
  }

  .pdp-sticky-cta .btn {
    flex: 1;
    min-height: 48px;
    border-radius: 10px;
    font-size: 14px;
  }

  .related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .related-products .section-head {
    margin-bottom: 12px;
    flex-wrap: wrap;
  }

  .related-products__page-btn {
    width: 40px;
    height: 40px;
  }
}

/* Wishlist rows */
.wishlist-list { display: flex; flex-direction: column; gap: 10px; }
.wishlist-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.06));
}
.wishlist-row__img {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
}
.wishlist-row__img img { width: 100%; height: 100%; object-fit: cover; }
.wishlist-row__info h3 {
  font-size: 14px;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wishlist-row__info .price { font-weight: 700; color: var(--text); margin: 0 0 6px; }
.wishlist-row__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cart-item .avail-chip,
.wishlist-row .avail-chip {
  position: static;
  display: inline-block;
  margin-bottom: 4px;
}

.meta, .catalog-pin {
  color: var(--text-muted);
  font-size: 13px;
  margin: -8px 0 12px;
}

.categories-page .meta.catalog-pin {
  margin: 2px 0 0;
  font-size: 11px;
}

.search-page-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.search-page-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  min-width: 0;
}
.search-page-head h1 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.25rem; }

.product-loading { display: grid; place-items: center; min-height: 240px; }

.wishlist-btn-inline {
  position: static;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: none;
  background: transparent;
  color: var(--text-muted);
  font-size: inherit;
  padding: 10px 16px;
  border: 1px solid var(--border);
}
.wishlist-btn-inline.active { color: #e53935; background: #fff5f5; border-color: #ffcdd2; }

.line-error { color: #c62828; font-size: 12px; margin: 4px 0; }
.special-note, .special-instructions {
  background: #fff8e1;
  border-left: 3px solid var(--accent);
  padding: 10px 12px;
  margin: 10px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.special-instructions.highlight { background: #fff3e0; border-left-color: var(--cta); }

@supports (padding: max(0px)) {
  .bottom-nav {
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (max-width: 899px) {
  .bottom-nav__item {
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
  }

  .categories-page .product-grid {
    gap: 6px;
  }

  .logo-text { display: none; }
  .header-action { min-width: 40px; padding: 6px; }
  .header-top { gap: 6px; }
  .header-chrome { gap: 6px; }
}

@media (max-width: 359px) {
  .bottom-nav__item { font-size: 10px; }
}

/* Mobile: ☰ · Logo · Delivery/PIN on row 1; search on row 2 */
@media (max-width: 599px) {
  :root {
    --header-h: 56px;
    --header-logo-max: 72px;
  }

  .header-top {
    padding: 6px 8px 8px;
    gap: 6px;
    row-gap: 6px;
    min-height: 0;
    flex-wrap: wrap;
    align-items: center;
  }

  .header-chrome {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 8px;
    overflow: hidden;
  }

  .header-chrome > .menu-toggle {
    display: flex;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .header-chrome > .logo {
    flex: 0 1 auto;
    width: auto;
    max-width: var(--header-logo-max, 72px);
    min-width: 0;
    overflow: hidden;
  }
  .header-chrome .logo-mark {
    width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 8px;
  }
  .header-chrome .logo-img {
    width: 100%;
    height: 28px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .header-chrome > .pincode-chip {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    max-width: min(160px, calc(100% - 132px));
    overflow: hidden;
    min-height: 36px;
    padding: 4px 10px;
    gap: 5px;
    margin-left: auto;
  }
  .header-chrome .pincode-chip__text { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .header-chrome .pincode-chip__text small { font-size: 8px; }
  .header-chrome .pincode-chip__text span { font-size: 12px; }

  /* Account / wishlist / cart live in bottom nav; Sell is in the drawer */
  .header-actions { display: none !important; }

  .header-search-wrap {
    flex: 1 1 100%;
    order: 5;
    width: 100%;
  }

  .search-bar input { padding: 10px 12px; }
  .search-bar button[type="submit"] { padding: 0 12px; }

  :root {
    --header-stack-h: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 46px);
  }
}



/* ── Premium chrome additions ── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.trust-strip--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trust-item {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 14px 13px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.2s ease;
  animation: trustItemIn 0.5s var(--ease-out) both;
}
.trust-strip--duo .trust-item:nth-child(1) { animation-delay: 0.05s; }
.trust-strip--duo .trust-item:nth-child(2) { animation-delay: 0.14s; }
.trust-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), rgba(40, 116, 240, 0.35));
  opacity: 0.9;
}
.trust-item--local::before {
  background: linear-gradient(180deg, var(--cta), rgba(251, 100, 27, 0.4));
}
.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(40, 116, 240, 0.22);
}
.trust-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #eef4ff;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(40, 116, 240, 0.08);
  transition: transform 0.35s var(--ease-spring);
}
.trust-item--local .trust-item__icon {
  background: #fff3eb;
  color: var(--cta);
  box-shadow: inset 0 0 0 1px rgba(251, 100, 27, 0.1);
}
.trust-item:hover .trust-item__icon {
  transform: scale(1.06) rotate(-4deg);
}
.trust-item__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.trust-item__copy > span {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}
@keyframes trustItemIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trust-item,
  .trust-item:hover .trust-item__icon {
    animation: none;
    transition: none;
  }
  .trust-item:hover { transform: none; }
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-ghost--on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.btn-ghost--on-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  text-decoration: none;
}

.discount-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  background: var(--cta);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(251, 100, 27, 0.35);
}

.section--reveal { animation: fadeUp 0.45s var(--ease-out) both; }
.section--reveal:nth-of-type(3) { animation-delay: 0.05s; }
.section--reveal:nth-of-type(4) { animation-delay: 0.1s; }

/* Footer — Flipkart-inspired marketplace layout */
.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #172337 0%, #0f1a2a 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 40px 16px 20px;
  padding-bottom: calc(20px + var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}
.site-footer__brand .logo-text { font-size: 1.25rem; }
.site-footer__tagline {
  margin: 12px 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.62);
}
.site-footer__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.site-footer__social--muted .social-btn { opacity: 0.38; pointer-events: none; }
.social-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease, filter 0.18s ease;
}
.social-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  filter: brightness(1.08);
  color: var(--white);
}
.social-btn--facebook { background: #1877f2; border-color: transparent; }
.social-btn--instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
  border-color: transparent;
}
.social-btn--twitter { background: #0f1419; border-color: rgba(255,255,255,0.18); }
.social-btn--youtube { background: #ff0000; border-color: transparent; }
.social-btn--whatsapp { background: #25d366; border-color: transparent; }

/* ── WhatsApp Chat FAB ── */
.whatsapp-chat-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom, 0px));
  z-index: 350;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px 0 14px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.35),
    0 2px 8px rgba(12, 21, 36, 0.12);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-chat-fab:hover,
.whatsapp-chat-fab:focus-visible {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(37, 211, 102, 0.42),
    0 4px 12px rgba(12, 21, 36, 0.14);
  filter: brightness(1.05);
  outline: none;
}
.whatsapp-chat-fab:focus-visible {
  box-shadow:
    0 12px 32px rgba(37, 211, 102, 0.42),
    0 0 0 3px rgba(37, 211, 102, 0.35);
}
.whatsapp-chat-fab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whatsapp-chat-fab__label {
  line-height: 1;
  white-space: nowrap;
}
@media (min-width: 769px) {
  .whatsapp-chat-fab {
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 480px) {
  .whatsapp-chat-fab {
    right: max(12px, env(safe-area-inset-right, 0px));
    padding: 0 16px 0 12px;
    min-height: 44px;
    font-size: 13px;
  }
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.site-footer__col h3,
.site-footer__mailblock h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #878787;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__col li a { font-size: 13.5px; }
.site-footer__pay { margin-top: 8px; }
.site-footer__pay h3 { margin-top: 4px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.site-footer__mailrow {
  max-width: var(--max-w);
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
.site-footer__address,
.site-footer__muted {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  white-space: pre-line;
}
.site-footer__muted { color: rgba(255, 255, 255, 0.45); }
.site-footer__tax {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono, ui-monospace, monospace);
}
.site-footer__trust {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}
.site-footer__bottom {
  max-width: var(--max-w);
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.site-footer__bottom p { margin: 0; }

/* Legal pages */
.legal-page { max-width: 760px; margin: 0 auto; }
.legal-hero {
  background: linear-gradient(135deg, var(--header-mid) 0%, var(--header-dark) 60%, #1a3a6e 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.4s var(--ease-out);
}
.legal-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 229, 0, 0.12);
  pointer-events: none;
}
.legal-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.legal-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}
.legal-lead {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
}
.legal-meta {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.4s var(--ease-out) both;
}
.legal-section:nth-child(1) { animation-delay: 0.04s; }
.legal-section:nth-child(2) { animation-delay: 0.08s; }
.legal-section:nth-child(3) { animation-delay: 0.12s; }
.legal-section h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.legal-section p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 8px;
}
.legal-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(40, 116, 240, 0.06);
  text-decoration: none;
}

/* Dynamic CMS page body (admin HTML) */
.cms-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.4s var(--ease-out) both;
}
.cms-body h1,
.cms-body h2,
.cms-body h3,
.cms-body h4 {
  margin: 1.15rem 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.3;
}
.cms-body h1:first-child,
.cms-body h2:first-child,
.cms-body h3:first-child {
  margin-top: 0;
}
.cms-body h2 { font-size: 1.08rem; }
.cms-body h3 { font-size: 1rem; }
.cms-body p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.cms-body ul,
.cms-body ol {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.cms-body li { margin-bottom: 0.35rem; }
.cms-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cms-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md, 8px);
  margin: 0.5rem 0;
}
.cms-body blockquote {
  margin: 0.75rem 0;
  padding: 0.65rem 0.9rem;
  border-left: 3px solid var(--primary);
  background: rgba(40, 116, 240, 0.05);
  color: var(--text-muted);
  font-size: 14px;
}
.cms-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 13px;
}
.cms-body th,
.cms-body td {
  border: 1px solid var(--border);
  padding: 0.45rem 0.6rem;
  text-align: left;
}

/* Desktop chrome — pairs with mobile max-width: 599px lock below */
@media (min-width: 600px) {
  .trust-strip,
  .trust-strip--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
  .header-top { flex-wrap: nowrap; }
  .header-chrome { flex: 0 0 auto; max-width: none; }
  .logo { max-width: none; }
  .logo-img { max-width: 140px; }
  .header-search-wrap { flex: 1 1 auto; order: 0; }
  .pincode-chip { max-width: none; flex: 0 1 auto; padding: 6px 12px; }
  .pincode-chip__text small { display: block; }
  .pincode-chip__text span { font-size: 13px; }
  .header-sell-cta { padding: 0 14px; min-height: 40px; font-size: 13px; }
  .header-sell-cta__full { display: inline; }
  .header-sell-cta__short { display: none; }
  .sell-benefits { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .sell-form { grid-template-columns: 1fr 1fr; }
  .sell-field--other,
  .sell-form__actions { grid-column: 1 / -1; }
  .site-footer__inner {
    grid-template-columns: repeat(4, 1fr);
  }
  .site-footer__mailrow {
    grid-template-columns: 1fr 1.4fr;
  }
}

@media (min-width: 900px) {
  :root {
    --header-stack-h: calc(var(--announce-h) + var(--header-h) + env(safe-area-inset-top, 0px));
  }

  .header-announcement { display: flex; }
  .cat-menu { display: block; }
  .header-action__label { display: block; }
  .header-actions { gap: 6px; }
  .header-action { min-width: 64px; padding: 6px 10px; }
  .header-sell-cta { margin-right: 4px; padding: 0 16px; }
  .nav-drawer { width: min(380px, 40vw); }
  .sell-hero {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: center;
    padding: 40px 44px;
    gap: 32px;
  }
  .sell-hero__panel { display: block; }
  .sell-page { padding: 0 24px 64px; }
  .sell-form-card {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }
  .sell-form-card__intro {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
  }
  .sell-form { padding: 28px; }
  .site-footer {
    padding: 48px 24px 28px;
    padding-bottom: 28px;
  }
  .site-footer__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
  .site-footer__bottom {
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-banner--default { padding: 48px 40px; }
  .hero-default h1 { font-size: 2.1rem; letter-spacing: -0.03em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Product variations (PDP) ── */
.pdp-variants {
  margin: 8px 0 2px;
  display: grid;
  gap: 10px;
  animation: pdp-var-in 0.35s ease both;
}
@keyframes pdp-var-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.pdp-variant-group__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--text);
}
.pdp-variant-group__label strong {
  font-weight: 600;
  color: var(--text-muted);
}
.pdp-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pdp-option-btn {
  min-width: 48px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.pdp-option-btn:hover:not(.is-unavailable) {
  border-color: var(--primary);
}
.pdp-option-btn.is-selected {
  border-color: var(--primary);
  background: rgba(26, 86, 219, 0.06);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.pdp-option-btn.is-unavailable {
  opacity: 0.38;
  text-decoration: line-through;
  cursor: not-allowed;
}
.pdp-swatch {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px #c5cdd8;
  background: var(--swatch, #ccc);
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pdp-swatch:hover:not(.is-unavailable) {
  transform: scale(1.08);
}
.pdp-swatch.is-selected {
  box-shadow: 0 0 0 2px var(--primary);
  transform: scale(1.06);
}
.pdp-swatch.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  position: relative;
}
.pdp-swatch.is-unavailable::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 46%, #666 48%, #666 52%, transparent 54%);
  border-radius: inherit;
}
.pdp-swatch--light {
  box-shadow: 0 0 0 1.5px #b0b8c4;
}
.pdp-variant-status {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
  min-height: 0;
}
.pdp-variant-status:empty { display: none; }
.variant-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: #c62828;
  font-weight: 600;
}
.stock-note.is-oos { color: #c62828; }
.cart-item__variant {
  margin: 2px 0 4px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 899px) {
  .product-page .pdp-variants {
    margin-left: 0;
    margin-right: 0;
  }
  .pdp-option-btn {
    min-width: 48px;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 13px;
  }
  .pdp-swatch {
    width: 48px;
    height: 48px;
  }
}

/* ── Seller storefront (Meesho-style shop) ── */
.shop-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 12px 88px;
}

.shop-hero {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(226, 230, 238, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 12px;
  animation: shop-hero-in 0.45s var(--ease-out) both;
}
.shop-hero--loading {
  min-height: 160px;
  display: grid;
  place-items: center;
}
.shop-hero__banner {
  height: 72px;
  background:
    linear-gradient(120deg, rgba(40, 116, 240, 0.18), rgba(251, 100, 27, 0.12) 55%, rgba(255, 229, 0, 0.2)),
    linear-gradient(180deg, #152238, #0c1524);
}
.shop-hero__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 14px;
  margin-top: -28px;
}
.shop-hero__identity {
  display: flex;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.shop-hero__logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--white);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.shop-hero__logo--fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary);
  background: linear-gradient(160deg, #eef4ff, #fff);
}
.shop-hero__copy { min-width: 0; padding-top: 30px; }
.shop-hero__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-hero__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1;
}
.shop-badge--verified {
  color: var(--rating);
  background: #e8f5e9;
}
.shop-hero__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 12px;
}
.shop-hero__rating--empty { color: var(--text-muted); margin: 6px 0 0; }
.shop-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--rating);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.3;
}
.shop-rating-pill span { font-size: 10px; }
.shop-hero__reviews { color: var(--text-muted); }
.shop-hero__meta {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.shop-hero__dot { opacity: 0.5; }
.shop-hero__address {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.shop-hero__actions {
  padding-top: 34px;
  flex-shrink: 0;
}
.shop-share-btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
  gap: 8px;
  animation: shop-share-pulse 2.4s var(--ease-out) 0.6s 2;
}
.shop-hero__desc {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.shop-catalog {
  background: transparent;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.shop-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 12px;
  min-height: 42px;
  box-shadow: var(--shadow-sm);
}
.shop-search svg { color: var(--text-muted); flex-shrink: 0; }
.shop-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  font-size: 14px;
}
.shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.view-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.view-toggle__btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  text-decoration: none;
}
.view-toggle__btn.active {
  color: var(--primary);
  background: rgba(40, 116, 240, 0.08);
}
.view-toggle__btn:hover { text-decoration: none; color: var(--primary); }
.shop-filter-btn {
  min-height: 38px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 650;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  box-shadow: none;
}
.shop-filter-btn[data-count] { color: var(--primary); border-color: rgba(40, 116, 240, 0.35); }
.shop-filter-btn .filter-count {
  background: var(--primary);
  color: var(--white);
}
.shop-sort { margin-bottom: 10px; }
.shop-results-meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.shop-result-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.shop-result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  text-decoration: none;
  color: var(--text);
}
.shop-result-card:hover { border-color: rgba(40, 116, 240, 0.35); text-decoration: none; }
.shop-result-card img,
.shop-result-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #f4f6fa;
  flex-shrink: 0;
}
.shop-result-card span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shop-result-card strong { font-size: 14px; }
.shop-result-card small { color: var(--text-muted); font-size: 12px; }

.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-list-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(226, 230, 238, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  animation: shop-card-in 0.35s var(--ease-out) both;
}
.product-list-card__link {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.product-list-card__link:hover { text-decoration: none; }
.product-list-card__img {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f7fb;
}
.product-list-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-list-card__img .card-gallery {
  width: 100%;
  height: 100%;
}
.product-list-card__img .card-gallery__slide {
  padding: 2px;
}
.product-list-card__img .card-gallery__nav {
  width: 20px;
  height: 20px;
  font-size: 13px;
  opacity: 0.9;
}
.product-list-card__img .card-gallery__dots {
  bottom: 3px;
  gap: 3px;
}
.product-list-card__img .card-gallery__dot {
  width: 4px;
  height: 4px;
}
.product-list-card__body {
  min-width: 0;
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-list-card__body:hover { text-decoration: none; }
.product-list-card__body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-list-card__desc {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-list-card .add-cart-btn {
  margin: 0;
  width: auto;
  white-space: nowrap;
}

.pdp-seller__avatar--img {
  object-fit: cover;
  padding: 0;
}
.pdp-seller__name-link {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  margin-bottom: 4px;
}
.pdp-seller__name-link:hover {
  color: var(--primary);
  text-decoration: underline;
}
.pdp-seller__shop-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.pdp-seller__shop-link:hover { text-decoration: underline; }

@keyframes shop-hero-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shop-card-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shop-share-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(40, 116, 240, 0.28); }
  50% { box-shadow: 0 4px 18px rgba(40, 116, 240, 0.45); }
}

@media (max-width: 599px) {
  .shop-page { padding: 8px 8px calc(88px + env(safe-area-inset-bottom, 0px)); }
  .shop-hero__banner { height: 56px; }
  .shop-hero__body {
    flex-direction: column;
    margin-top: -24px;
    padding: 0 12px 12px;
  }
  .shop-hero__logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }
  .shop-hero__copy { padding-top: 28px; }
  .shop-hero__name { font-size: 1.12rem; }
  .shop-hero__actions {
    padding-top: 0;
    width: 100%;
  }
  .shop-share-btn { width: 100%; }
  .shop-toolbar { flex-wrap: wrap; }
  .shop-toolbar__right { width: 100%; justify-content: space-between; }
  .product-list-card {
    grid-template-columns: 1fr;
  }
  .product-list-card .add-cart-btn {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .shop-page { padding: 16px 16px 40px; }
  .shop-hero__name { font-size: 1.45rem; }
  .shop-hero__banner { height: 96px; }
  .shop-hero__body { margin-top: -36px; padding: 0 20px 18px; }
  .shop-hero__logo { width: 88px; height: 88px; }
  .shop-hero__copy { padding-top: 40px; }
  .shop-hero__actions { padding-top: 44px; }
  .shop-hero__desc { padding: 0 20px 18px; padding-top: 14px; }
}

/*
 * LOCKED mobile header chrome (cascade last).
 * Inspect budget @ 320px: pad 16 + menu 40 + gaps 16 + logo ≤72 → PIN room ≥176px.
 * !important beats earlier media queries / button UA min-width.
 */
@media (max-width: 599px) {
  .site-header .header-chrome {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
    overflow: hidden !important;
  }
  .site-header .header-chrome > .menu-toggle {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .site-header .header-chrome > .logo {
    flex: 0 1 auto !important;
    max-width: var(--header-logo-max, 72px) !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .site-header .header-chrome > .logo .logo-img {
    display: block !important;
    width: 100% !important;
    height: 28px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  .site-header .header-chrome > .pincode-chip {
    display: flex !important;
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: min(160px, calc(100% - 132px)) !important;
    margin-left: auto !important;
    overflow: hidden !important;
  }
  .site-header .header-chrome .pincode-chip__text,
  .site-header .header-chrome .pincode-chip__text small,
  .site-header .header-chrome .pincode-chip__text span {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .site-header .header-chrome .pincode-chip__text {
    display: flex !important;
    flex-direction: column !important;
    white-space: normal !important;
  }
}

/*
 * Document scroll lock (cascade last).
 * html is the only vertical scroller. Body must keep overflow:visible on
 * BOTH axes — overflow-x:hidden + overflow-y:visible still computes to
 * overflow-y:auto (CSS Overflow), which reintroduces the dual-scroll trap.
 * Scroll locks apply to html (the real scrollport), not only body.
 * Closed fixed overlays must not capture input (see pointer-events above).
 */
html {
  height: auto !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
  position: static !important;
}
body {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
}
/* Fallback when overflow-x:clip is unsupported — still only on html. */
@supports not (overflow-x: clip) {
  html {
    overflow-x: hidden !important;
  }
}
html.nav-drawer-open,
html.modal-scroll-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.nav-drawer-open,
body.modal-scroll-lock {
  overflow: visible !important; /* body is never the scrollport */
}
#app,
.app-main {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* ═══════════════════════════════════════════════════════════════
   Storefront — premium UI pass (ui06)
   Dark high-contrast labels, descriptive placeholders, pro polish
   ═══════════════════════════════════════════════════════════════ */
:root {
  --text: #0f1419;
  --text-muted: #5c6578;
  --text-label: #1a1f2e;
  --border: #d8dee8;
  --border-strong: #c2cad6;
}

/* Global form typography */
label,
.auth-label,
.checkout-form label,
.review-form label,
.lookup-form label,
.filter-form label,
.account-card label,
.vendor-form label {
  color: var(--text-label);
  font-weight: 650;
  letter-spacing: -0.01em;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
  color: var(--text);
  font-weight: 500;
}
input::placeholder,
textarea::placeholder {
  color: #8b95a8;
  font-weight: 400;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.12);
  outline: none;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.review-form input,
.review-form textarea,
.review-form select,
.lookup-form input,
.filter-form input,
.filter-form select {
  border-color: var(--border);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-form h2,
.account-card h2,
.page-hero h1,
.section-head h2 {
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.025em;
}

/* Buttons — clearer affordance */
.btn {
  font-weight: 650;
  letter-spacing: -0.01em;
  gap: 6px;
}
.btn svg {
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-primary {
  box-shadow: 0 2px 8px rgba(40, 116, 240, 0.22);
}
.btn-primary:hover {
  box-shadow: 0 4px 14px rgba(40, 116, 240, 0.3);
}
.btn-cta {
  box-shadow: 0 2px 8px rgba(251, 100, 27, 0.25);
}
.btn-cta:hover {
  box-shadow: 0 4px 14px rgba(251, 100, 27, 0.32);
}

/* Cards & surfaces */
.product-card,
.cart-item,
.checkout-form,
.account-card,
.vendor-signup-card,
.shop-hero,
.pdp-panel {
  border-color: var(--border);
}

/* Bottom nav active state */
.bottom-nav__item.active .bottom-nav__label {
  color: var(--primary);
  font-weight: 700;
}

/* Search bar polish */
.search-bar input {
  color: var(--text);
  font-weight: 500;
}
.search-bar input::placeholder {
  color: #8b95a8;
}

/* Empty states */
.empty-state h2,
.empty-state p {
  color: var(--text);
}
.empty-state p:last-child {
  color: var(--text-muted);
}

/* Promo & cart summary */
.promo-form input {
  color: var(--text);
  font-weight: 500;
}

/* Auth modal */
.auth-phone-row input,
.auth-otp-input {
  color: var(--text);
  font-weight: 600;
}
.auth-otp-input::placeholder {
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* Section page titles */
.page-hero,
.shop-toolbar,
.checkout-steps {
  color: var(--text);
}

@media (max-width: 767px) {
  .checkout-form,
  .account-card {
    border-radius: var(--radius-lg);
  }
}

/* ── PWA install ── */
.pwa-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom, 0px) + 12px);
  z-index: 1200;
  pointer-events: none;
}
.pwa-install-banner__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0c1524 0%, #1a2740 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(12, 21, 36, 0.35);
}
.pwa-install-banner__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pwa-install-banner__copy strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.pwa-install-banner__copy span {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.35;
}
.pwa-install-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.pwa-install-banner__actions .btn-ghost {
  color: rgba(255, 255, 255, 0.85);
}
.pwa-ios-tip {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 1201;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--text, #1a1a1a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pwa-ios-tip p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.site-footer__text-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer__text-btn:hover {
  color: var(--accent, #ffe500);
}
.nav-drawer__link[data-pwa-install] {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
html.is-pwa-standalone .pwa-install-banner,
html.is-pwa-standalone [data-pwa-install] {
  display: none !important;
}


/* ── Notifications panel ── */
.header-action--btn {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.notif-panel {
  position: fixed;
  top: calc(var(--header-h, 72px) + 8px);
  right: 12px;
  width: min(360px, calc(100vw - 24px));
  max-height: min(70vh, 480px);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text, #1a1a1a);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(12, 21, 36, 0.22);
  overflow: hidden;
}
.notif-panel[hidden] { display: none !important; }
.notif-panel__head,
.notif-panel__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #e8edf3;
}
.notif-panel__list {
  overflow: auto;
  padding: 8px;
}
.notif-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 4px;
}
.notif-item:hover { background: #f3f6fa; text-decoration: none; }
.notif-item.is-unread { background: #eef8ff; }
.notif-item strong { font-size: 0.9rem; }
.notif-item span { font-size: 0.8rem; color: var(--text-muted, #64748b); line-height: 1.35; }
.notif-item time { font-size: 0.7rem; color: #94a3b8; }

/* ── Account pro + multi-address book ── */
.account-page--pro { font-size: 0.875rem; }
.account-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 1rem; padding: 0.9rem 1rem;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(14, 107, 138, 0.18), transparent 55%),
    linear-gradient(135deg, #f4f7fb 0%, #e8eef6 100%);
  border: 1px solid #d9e3ef;
}
.account-hero__eyebrow {
  margin: 0; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #64748b; font-weight: 600;
}
.account-hero h1 { margin: 0.15rem 0 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.account-hero__sub { margin: 0.25rem 0 0; font-size: 0.78rem; color: #475569; }
.account-form-compact label { font-size: 0.78rem; }
.account-form-compact input { font-size: 0.85rem; }

.addr-book__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.addr-book__head h2 { margin: 0; font-size: 0.95rem; }
.addr-book__head .hint { margin: 0.2rem 0 0; font-size: 0.75rem; }
.addr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}
.addr-card {
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  font-size: 0.78rem;
  line-height: 1.35;
}
.addr-card.is-default {
  border-color: #38bdf8;
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 48%);
}
.addr-card__top { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.35rem; }
.addr-card__label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #0369a1; background: #e0f2fe; padding: 0.12rem 0.4rem; border-radius: 4px;
}
.addr-card__default {
  font-size: 0.62rem; color: #166534; background: #dcfce7;
  padding: 0.1rem 0.35rem; border-radius: 4px; font-weight: 600;
}
.addr-card__name { margin: 0; font-weight: 650; font-size: 0.84rem; }
.addr-card__phone { margin: 0.1rem 0 0; color: #64748b; font-size: 0.74rem; }
.addr-card__lines { margin: 0.35rem 0; color: #334155; }
.addr-card__pin { color: #64748b; font-size: 0.72rem; margin-bottom: 0.45rem; }
.addr-card__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; border-top: 1px solid #eef2f7; padding-top: 0.45rem; }
.addr-link {
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer;
  color: #0369a1; font-size: 0.72rem; font-weight: 600;
}
.addr-link--danger { color: #b91c1c; }
.addr-empty {
  grid-column: 1 / -1; text-align: center; padding: 1.25rem 0.75rem;
  border: 1px dashed #cbd5e1; border-radius: 12px; background: #f8fafc;
}
.addr-empty__ico { font-size: 1.5rem; margin-bottom: 0.25rem; }
.addr-empty p { margin: 0 0 0.65rem; font-size: 0.8rem; color: #64748b; }

.addr-form-host {
  margin-top: 0.85rem; padding: 0.85rem;
  border-radius: 12px; border: 1px solid #cfe3f5;
  background: #f8fbff;
}
.addr-form__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.65rem; font-size: 0.85rem;
}
.addr-form__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 0.65rem;
}
.addr-form__grid label { font-size: 0.72rem; color: #475569; display: flex; flex-direction: column; gap: 0.25rem; }
.addr-form__grid input,
.addr-form__grid select {
  font-size: 0.82rem; padding: 0.45rem 0.55rem; border-radius: 8px;
  border: 1px solid #cbd5e1; background: #fff;
}
.addr-form__grid .span-2 { grid-column: 1 / -1; }
.addr-check {
  flex-direction: row !important; align-items: center; gap: 0.4rem !important;
  font-size: 0.74rem !important; margin-top: 1.35rem;
}
.addr-form__foot { margin-top: 0.75rem; }
@media (max-width: 560px) {
  .addr-form__grid { grid-template-columns: 1fr; }
  .addr-check { margin-top: 0; }
  .account-hero { flex-direction: column; align-items: stretch; }
}

/* Checkout saved address picker */
.cko-addr { margin-bottom: 0.85rem; }
.cko-addr__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem;
  margin-bottom: 0.45rem; font-size: 0.82rem;
}
.cko-addr__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.45rem;
}
.cko-addr__item {
  text-align: left; appearance: none; cursor: pointer;
  border: 1px solid #dbe4ef; border-radius: 10px; padding: 0.55rem 0.6rem;
  background: #fff; display: flex; flex-direction: column; gap: 0.12rem;
}
.cko-addr__item.is-default { border-color: #7dd3fc; }
.cko-addr__item.is-picked, .cko-addr__item:hover {
  border-color: #0284c7; background: #f0f9ff;
}
.cko-addr__lab {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #0369a1;
}
.cko-addr__name { font-size: 0.78rem; font-weight: 650; }
.cko-addr__snip { font-size: 0.7rem; color: #64748b; line-height: 1.3; }

/* Push enable banner */
.push-enable-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 1400;
  max-width: 420px;
  margin: 0 auto;
}
.push-enable-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: #0c1524;
  color: #f8fafc;
  box-shadow: 0 14px 36px rgba(12, 21, 36, 0.35);
  font-size: 0.8rem;
}
.push-enable-banner__inner strong { display: block; font-size: 0.88rem; margin-bottom: 0.15rem; }
.push-enable-banner__inner span { opacity: 0.88; line-height: 1.35; }
.push-enable-banner__actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
@media (min-width: 720px) {
  .push-enable-banner { left: auto; right: 16px; bottom: 16px; margin: 0; }
}

/* ── Account hub UI (compact mobile + desktop) ── */
.account-page--hub {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.acc-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(40, 116, 240, 0.22), transparent 55%),
    linear-gradient(135deg, #0c1524 0%, #152238 58%, #1a3a5c 100%);
  color: #f8fafc;
  box-shadow: 0 10px 28px rgba(12, 21, 36, 0.22);
}
.acc-hero__main { display: flex; align-items: center; gap: 0.65rem; min-width: 0; flex: 1; }
.acc-avatar {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #2874f0, #1a5fd0);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  overflow: hidden; border: 2px solid rgba(255,255,255,0.2);
}
.acc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acc-hero__eyebrow {
  margin: 0; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(248,250,252,0.65); font-weight: 700;
}
.acc-hero__name {
  margin: 0.05rem 0 0.25rem; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acc-hero__meta { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; }
.acc-chip {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.68rem; font-weight: 600; padding: 0.15rem 0.45rem;
  border-radius: 999px; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acc-chip svg { width: 11px; height: 11px; flex-shrink: 0; }
.acc-chip--ghost { background: rgba(255,255,255,0.1); color: rgba(248,250,252,0.88); }
.acc-chip--wa { background: rgba(37, 211, 102, 0.18); color: #86efac; }
.acc-chip--warn { background: rgba(251, 100, 27, 0.22); color: #fdba74; }
.acc-hero__actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.acc-pin-btn {
  appearance: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.55rem; border-radius: 12px;
  background: rgba(255,255,255,0.1); color: #fff;
  text-align: left; line-height: 1.1;
}
.acc-pin-btn__ico { display: grid; place-items: center; color: #ffe500; }
.acc-pin-btn__ico svg { width: 16px; height: 16px; }
.acc-pin-btn small { display: block; font-size: 0.58rem; opacity: 0.7; font-weight: 600; }
.acc-pin-btn strong { font-size: 0.78rem; font-weight: 750; }
.acc-icon-btn {
  width: 36px; height: 36px; border-radius: 11px; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.1); color: #fff;
}
.acc-icon-btn svg { width: 16px; height: 16px; }
.acc-icon-btn:hover, .acc-pin-btn:hover { background: rgba(255,255,255,0.18); }

.acc-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
.acc-tile {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.55rem 0.55rem 0.5rem;
  border-radius: 14px; border: 1px solid var(--border);
  background: var(--white); color: inherit; text-decoration: none;
  box-shadow: var(--shadow); min-height: 58px;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s ease, border-color 0.15s ease;
  appearance: none; cursor: pointer; text-align: left; width: 100%;
  font: inherit;
}
.acc-tile:hover { border-color: #c7d7f5; box-shadow: var(--shadow-md); text-decoration: none; color: inherit; }
.acc-tile:active { transform: scale(0.985); }
.acc-tile__ico {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
}
.acc-tile__ico svg { width: 17px; height: 17px; }
.acc-tile--rose .acc-tile__ico { background: #ffe4e6; color: #e11d48; }
.acc-tile--amber .acc-tile__ico { background: #ffedd5; color: #c2410c; }
.acc-tile--blue .acc-tile__ico { background: #dbeafe; color: #1d4ed8; }
.acc-tile--teal .acc-tile__ico { background: #ccfbf1; color: #0f766e; }
.acc-tile--violet .acc-tile__ico { background: #ede9fe; color: #6d28d9; }
.acc-tile--slate .acc-tile__ico { background: #e2e8f0; color: #334155; }
.acc-tile__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.05rem; }
.acc-tile__txt strong {
  font-size: 0.8rem; font-weight: 750; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acc-tile__txt small { font-size: 0.65rem; color: var(--text-muted); line-height: 1.2; }
.acc-tile__go { color: #94a3b8; flex-shrink: 0; display: grid; place-items: center; }
.acc-tile__go svg { width: 14px; height: 14px; }
.acc-tile:disabled { opacity: 0.65; pointer-events: none; }

.acc-panel,
.account-page--hub .account-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}
.acc-panel__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.acc-panel__title { display: flex; align-items: flex-start; gap: 0.5rem; min-width: 0; }
.acc-panel__title h2 {
  margin: 0; font-size: 0.9rem; font-family: var(--font-display); font-weight: 750; letter-spacing: -0.01em;
}
.acc-panel__title p,
.acc-panel__title .hint {
  margin: 0.1rem 0 0; font-size: 0.7rem; color: var(--text-muted); line-height: 1.3;
}
.acc-panel__ico {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
}
.acc-panel__ico svg { width: 16px; height: 16px; }
.acc-panel__ico--wa { background: #dcfce7; color: #16a34a; }
.acc-panel__ico--box { background: #dbeafe; color: #2563eb; }
.acc-panel__ico--pin { background: #ffedd5; color: #c2410c; font-size: 0.95rem; }
.acc-badge {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem; border-radius: 999px;
  background: #f1f5f9; color: #475569; white-space: nowrap;
}
.acc-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.acc-field { display: flex; flex-direction: column; gap: 0.28rem; margin: 0; font-size: 0.72rem; color: #475569; font-weight: 600; }
.acc-field em { font-style: normal; font-weight: 500; color: #94a3b8; }
.acc-field input {
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  padding: 0.55rem 0.65rem; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #fff;
}
.acc-field input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.15);
}
.acc-phone { margin-top: 0; }
.acc-save { width: 100%; justify-content: center; font-weight: 700; }
.acc-guest {
  display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 0.65rem; align-items: center;
}
.acc-guest__ico {
  width: 40px; height: 40px; border-radius: 12px; grid-row: span 2;
  display: grid; place-items: center; background: #e8f0fe; color: var(--primary);
}
.acc-guest__ico svg { width: 20px; height: 20px; }
.acc-guest h2 { margin: 0; font-size: 0.9rem; font-family: var(--font-display); }
.acc-guest p { margin: 0.15rem 0 0; font-size: 0.72rem; color: var(--text-muted); grid-column: 2; }
.acc-guest .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }

.account-page--hub .addr-book__head { margin-bottom: 0.55rem; }
.account-page--hub .addr-grid { gap: 0.5rem; grid-template-columns: 1fr; }
.account-page--hub .addr-card { padding: 0.6rem 0.65rem; }
.acc-orders-result { margin-top: 0.55rem; }
.acc-order-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.45rem; align-items: center;
  padding: 0.55rem 0.15rem; border-bottom: 1px solid #eef2f7;
}
.acc-order-row__main { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.acc-order-row__main strong { font-size: 0.8rem; }
.acc-order-row__status { font-size: 0.68rem; color: var(--text-muted); }
.acc-order-row__price { font-size: 0.8rem; font-weight: 750; }

@media (min-width: 640px) {
  .account-page--hub { gap: 0.85rem; padding-bottom: 1.75rem; }
  .acc-hero { padding: 0.95rem 1rem; border-radius: 18px; }
  .acc-avatar { width: 56px; height: 56px; font-size: 1.05rem; border-radius: 16px; }
  .acc-hero__name { font-size: 1.35rem; }
  .acc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
  .acc-tile { min-height: 68px; padding: 0.7rem; }
  .acc-tile__ico { width: 40px; height: 40px; border-radius: 12px; }
  .acc-tile__ico svg { width: 19px; height: 19px; }
  .acc-tile__txt strong { font-size: 0.88rem; }
  .acc-tile__txt small { font-size: 0.72rem; }
  .acc-panel, .account-page--hub .account-card { padding: 1rem; border-radius: 18px; }
  .acc-form--orders {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: end;
  }
  .acc-form--orders .acc-save { width: auto; min-width: 120px; }
  .account-page--hub .addr-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .acc-guest { grid-template-columns: auto 1fr auto; }
  .acc-guest .btn { grid-column: auto; width: auto; }
  .acc-guest p { grid-column: auto; }
}

@media (min-width: 900px) {
  .acc-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .acc-tile { flex-direction: column; align-items: flex-start; gap: 0.55rem; min-height: 108px; }
  .acc-tile__go { display: none; }
}

/* ── PDP reviews FAB + sheet + slim seller + icon accordions ── */
.pdp__reviews-fab {
  width: 48px;
  min-width: 48px;
  height: auto;
  min-height: 48px;
  border-radius: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(12, 21, 36, 0.14);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 6px 4px;
  color: var(--text);
  line-height: 1.05;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pdp__reviews-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(12, 21, 36, 0.18);
}
.pdp__reviews-fab:active { transform: scale(0.96); }
.pdp__reviews-fab__score {
  font-size: 0.78rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.pdp__reviews-fab__star {
  color: #f59e0b;
  font-size: 0.7rem;
  margin-top: -1px;
}
.pdp__reviews-fab__count {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 1px;
}

.pdp-acc__lead {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.pdp-acc__ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pdp-acc__ico svg { width: 15px; height: 15px; }
.pdp-acc__ico--truck { background: #dbeafe; color: #1d4ed8; }
.pdp-acc__ico--shield { background: #dcfce7; color: #15803d; }
.pdp-acc__ico--store { background: #ffedd5; color: #c2410c; }
.pdp-acc__ico--doc { background: #e2e8f0; color: #334155; }
.pdp-acc__title { font-size: 0.92rem; }
.pdp-acc__summary { padding: 10px 12px; min-height: 46px; }
.pdp-acc__body { padding: 0 12px 12px; padding-top: 10px; }

.pdp-seller__slim {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.15rem 0;
}
.pdp-seller__name-link,
.pdp-seller__name-plain {
  font-size: 0.95rem;
  font-weight: 750;
  font-family: var(--font-display);
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.pdp-seller__name-link:hover { color: var(--primary); }
.pdp-seller__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.pdp-seller__rating .stars { font-size: 0.85rem; letter-spacing: 0.02em; }
.pdp-seller__rating-score {
  font-size: 0.78rem;
  font-weight: 750;
  color: #334155;
}
.pdp-seller__rating--empty .hint { margin: 0; font-size: 0.75rem; }

.pdp-reviews-modal {
  align-items: flex-end;
  padding: 0;
  background: rgba(12, 21, 36, 0.45);
}
.pdp-reviews-modal.open {
  display: flex !important;
  pointer-events: auto;
}
.pdp-reviews-sheet {
  width: 100%;
  max-width: 560px;
  max-height: min(88vh, 720px);
  margin: 0 auto;
  padding: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -8px 32px rgba(12, 21, 36, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.22s ease;
}
.pdp-reviews-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(40, 116, 240, 0.1), transparent 55%),
    #fff;
}
.pdp-reviews-sheet__eyebrow {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
}
.pdp-reviews-sheet__head h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp-reviews-sheet__score {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
}
.pdp-reviews-sheet__score strong { font-size: 1.05rem; font-family: var(--font-display); }
.pdp-reviews-sheet__score span { color: #f59e0b; }
.pdp-reviews-sheet__score small { color: #64748b; margin-left: 0.15rem; }
.pdp-reviews-sheet__close {
  width: 36px; height: 36px; border-radius: 10px; border: 0;
  background: #f1f5f9; color: #334155; font-size: 1.35rem; line-height: 1;
  cursor: pointer; flex-shrink: 0;
}
.pdp-reviews-sheet__body {
  overflow: auto;
  padding: 0.75rem 1rem 1.1rem;
  -webkit-overflow-scrolling: touch;
}
.pdp-reviews-empty {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  margin-bottom: 0.75rem;
}
.pdp-reviews-empty__ico { font-size: 1.4rem; color: #f59e0b; margin-bottom: 0.2rem; }
.pdp-reviews-empty p { margin: 0; font-weight: 700; font-size: 0.88rem; }
.pdp-reviews-empty span { font-size: 0.75rem; color: #64748b; }
.pdp-reviews-form {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.pdp-reviews-form h3 { margin: 0 0 0.55rem; font-size: 0.9rem; }
.pdp-reviews-form label {
  display: block; font-size: 0.75rem; font-weight: 600; color: #475569; margin-bottom: 0.5rem;
}
.pdp-reviews-form input,
.pdp-reviews-form select,
.pdp-reviews-form textarea {
  display: block; width: 100%; margin-top: 0.25rem;
  border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 0.5rem 0.65rem; font: inherit; font-size: 0.88rem;
}

@media (min-width: 720px) {
  .pdp-reviews-modal { align-items: center; padding: 16px; }
  .pdp-reviews-sheet {
    border-radius: 18px;
    max-height: min(80vh, 680px);
  }
  .pdp__media-actions { gap: 10px; }
}


/* ── PDP flat info stack (below Buy Now) + action row + perf ── */
.pdp__media-actions .wishlist-btn,
.pdp__media-actions .share-btn,
.pdp__media-actions .pdp__reviews-fab {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 12px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 6px rgba(12, 21, 36, 0.12);
  transition: transform 0.12s ease;
}
.pdp__media-actions .pdp__reviews-fab {
  width: auto;
  min-width: 42px;
  padding: 4px 8px;
  flex-direction: row;
  gap: 2px;
  align-items: center;
}
.pdp__media-actions .pdp__reviews-fab__score { font-size: 0.72rem; }
.pdp__media-actions .pdp__reviews-fab__star { font-size: 0.68rem; margin: 0; }
.pdp__media-actions .pdp__reviews-fab__count { font-size: 0.58rem; margin: 0 0 0 1px; }

.pdp-info-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.pdp-info {
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: #fbfcfe;
  padding: 10px 12px;
  contain: content;
}
.pdp-info__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 8px;
}
.pdp-info__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 750;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text);
}
.pdp-info__body { font-size: 0.84rem; color: var(--text); }
.pdp-info__body .desc-body {
  line-height: 1.55;
  color: #334155;
  font-size: 0.84rem;
  max-height: none;
}
.pdp-info .pdp-services { gap: 6px; }
.pdp-info .pdp-services__item { padding: 6px 0; }
.pdp-info .pdp-seller__slim { gap: 0.25rem; }

@media (max-width: 719px) {
  .product-page .pdp__media-actions {
    top: 10px;
    right: 10px;
    gap: 6px;
  }
  .product-page .pdp-info-stack {
    margin-top: 12px;
    gap: 8px;
  }
  .product-page .pdp-info {
    border-radius: 12px;
    padding: 9px 10px;
  }
  /* lighter paint on mobile PDP */
  .product-page .pdp__gallery,
  .product-page .pdp__buybox {
    box-shadow: none;
  }
  .product-page .carousel__slide img {
    content-visibility: auto;
  }
}

@media (min-width: 720px) {
  .pdp-accordions { display: none; }
  .pdp-info-stack { margin-top: 16px; }
}


/* Services: icons only + horizontal scroll (mobile) */
.pdp-info--services {
  border: 0;
  background: transparent;
  padding: 2px 0 4px;
  contain: none;
}
.pdp-info--services .pdp-info__head { display: none; }
.pdp-services--icons {
  list-style: none;
  margin: 0;
  padding: 2px 0 4px;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.pdp-services--icons::-webkit-scrollbar { display: none; }
.pdp-services--icons .pdp-services__item {
  flex: 0 0 auto;
  width: 52px;
  min-width: 52px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  gap: 0;
}
.pdp-services--icons .pdp-services__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  box-shadow: none;
}
.pdp-services--icons .pdp-services__label { display: none; }
.pdp-services__note { margin: 0 0 6px; font-size: 0.75rem; }
.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;
}

@media (min-width: 900px) {
  .pdp-services--icons {
    flex-wrap: wrap;
    overflow: visible;
  }
}


/* Alert bell — always visible in header chrome (incl. mobile) */
.header-action--notif {
  flex: 0 0 auto;
  margin-left: 0;
  min-width: 40px;
  min-height: 40px;
  padding: 6px;
  color: rgba(255, 255, 255, 0.95);
}
.header-action--notif .header-action__icon {
  width: 24px;
  height: 24px;
}
.header-action--notif .header-action__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.header-action--notif .header-action__label {
  display: none;
}
.header-chrome > .header-action--notif {
  order: 4;
}
.header-chrome > .pincode-chip {
  order: 3;
}

@media (max-width: 599px) {
  .header-chrome > .header-action--notif {
    display: flex !important;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
  }
  .header-chrome > .pincode-chip {
    max-width: min(140px, calc(100% - 168px));
  }
}

@media (min-width: 600px) {
  .header-action--notif .header-action__label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    opacity: 0.9;
  }
  .header-action--notif {
    min-width: 52px;
  }
}


/* Compact nested delivery panel */
.pdp-info--delivery.pdp-info--compact {
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 70%);
  border-color: #dbe7f5;
}
.pdp-info--delivery .pdp-info__head {
  margin-bottom: 6px;
  gap: 0.4rem;
}
.pdp-info--delivery .pdp-info__title {
  font-size: 0.78rem;
  font-weight: 750;
}
.pdp-info--delivery .pdp-acc__ico,
.pdp-info--delivery .pdp-info__ico {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.pdp-info--delivery .pdp-acc__ico svg,
.pdp-info--delivery .pdp-info__ico svg {
  width: 12px;
  height: 12px;
}
.pdp-info--delivery .pdp-info__body { font-size: 0.75rem; }

.pdp-del {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pdp-del__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 7px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e5edf7;
}
.pdp-del__loc-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #e8f1ff;
  color: #1d4ed8;
  flex-shrink: 0;
}
.pdp-del__loc-ico svg { width: 12px; height: 12px; }
.pdp-del__loc-text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  line-height: 1.2;
}
.pdp-del__loc-text strong {
  font-size: 0.78rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.pdp-del__loc-text span {
  font-size: 0.68rem;
  color: #64748b;
}
.pdp-del__loc-text span::before {
  content: "·";
  margin-right: 0.35rem;
  color: #94a3b8;
}
.pdp-del__change {
  appearance: none;
  border: 0;
  background: #eff6ff;
  color: #1d4ed8;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}
.pdp-del__change:hover { background: #dbeafe; }

.pdp-del__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.pdp-del__metric {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 5px 6px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e8eef6;
}
.pdp-del__metric-ico {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  color: #475569;
  flex-shrink: 0;
}
.pdp-del__metric-ico svg { width: 11px; height: 11px; }
.pdp-del__metric-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
}
.pdp-del__metric-copy small {
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.pdp-del__metric-copy strong {
  font-size: 0.68rem;
  font-weight: 750;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-del__metric.is-free .pdp-del__metric-ico {
  background: #dcfce7;
  color: #15803d;
}
.pdp-del__metric.is-free .pdp-del__metric-copy strong { color: #15803d; }
.pdp-del__note {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.3;
  color: #64748b;
  padding: 0 2px;
}

@media (max-width: 419px) {
  .pdp-del__metrics { gap: 4px; }
  .pdp-del__metric { padding: 5px 5px; gap: 4px; }
  .pdp-del__metric-copy strong { font-size: 0.64rem; }
  .pdp-del__loc-text strong { font-size: 0.74rem; }
}

@media (min-width: 720px) {
  .pdp-info--delivery.pdp-info--compact { padding: 9px 11px; }
  .pdp-del__metric-copy strong { font-size: 0.72rem; }
  .pdp-del__loc-text strong { font-size: 0.8rem; }
}


/* ── Scoped search (Products / Shops) ── */
.search-bar--scoped {
  align-items: stretch;
  overflow: hidden;
  border-radius: 12px;
}
.search-scope {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 0 0 0 10px;
  background: #f3f6fb;
  border-right: 1px solid #e2e8f0;
  min-width: 0;
}
.search-scope__ico {
  display: grid;
  place-items: center;
  color: #475569;
  pointer-events: none;
}
.search-scope__ico svg { width: 14px; height: 14px; }
.search-scope select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  padding: 10px 22px 10px 2px;
  cursor: pointer;
  max-width: 96px;
  line-height: 1.2;
}
.search-scope select:focus { outline: none; }
.search-scope::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #64748b;
  border-bottom: 1.5px solid #64748b;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}
.search-bar--scoped input[type="search"] {
  border-radius: 0;
  padding-left: 12px;
}
.search-bar--scoped button[type="submit"] {
  border-radius: 0;
  background: #eff6ff;
  color: #1d4ed8;
  min-width: 46px;
}
.search-bar--scoped:focus-within .search-scope {
  background: #e8f0fe;
}

.suggest-thumb--shop {
  display: grid;
  place-items: center;
  background: #fff7ed;
  font-size: 1rem;
}

.search-page-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.search-page-form--scoped {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.search-type-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: #f1f5f9;
  width: fit-content;
  max-width: 100%;
}
.search-type-tab {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.search-type-tab.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.search-page-form__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.search-page-form__row input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border-strong, #c2cad6);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
}
.search-page-form__row .btn { flex-shrink: 0; }
.shop-result-card {
  position: relative;
  padding-right: 2rem;
}
.shop-result-card__go {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-weight: 700;
}
.shop-results--compact { margin-bottom: 1rem; }
.search-page-hint { margin: 0.5rem 0 1rem; }

@media (max-width: 599px) {
  .search-scope select { max-width: 84px; font-size: 0.72rem; padding-right: 18px; }
  .search-page-form__row { flex-direction: column; }
  .search-page-form__row .btn { width: 100%; justify-content: center; }
  .search-type-tabs { width: 100%; }
  .search-type-tab { flex: 1; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════════════
   PDP hub — account-style compact buybox (20260910)
   ═══════════════════════════════════════════════════════════════ */
.pdp-hub {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.pdp-hub__hero {
  padding: 0.85rem 0.9rem 0.8rem;
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(40, 116, 240, 0.22), transparent 55%),
    linear-gradient(135deg, #0c1524 0%, #152238 58%, #1a3a5c 100%);
  color: #f8fafc;
  box-shadow: 0 10px 28px rgba(12, 21, 36, 0.22);
}
.pdp-hub__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.65);
}
.pdp-hub__title {
  margin: 0 0 0.45rem !important;
  color: #fff !important;
  font-size: 1.15rem !important;
  line-height: 1.25 !important;
  -webkit-line-clamp: 3;
}
.pdp-hub__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin: 0;
}
.pdp-hub__price .price-main {
  color: #fff !important;
  font-size: 1.55rem !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pdp-hub__price s {
  color: rgba(232, 238, 248, 0.55) !important;
  font-size: 0.88rem;
}
.pdp-hub__price .discount-tag {
  background: rgba(251, 100, 27, 0.95);
  color: #fff;
  border: 0;
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem;
}
.pdp-hub__save {
  margin: 0.35rem 0 0 !important;
  color: #86efac !important;
  font-size: 0.75rem !important;
  font-weight: 650;
}
.pdp-hub__hero .pdp-volume,
.pdp-hub__hero .pdp-tiers {
  margin-top: 0.55rem;
}

.pdp-hub__chips {
  list-style: none;
  margin: 0;
  padding: 0.15rem 2px;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pdp-hub__chips::-webkit-scrollbar { display: none; }
.pdp-hub__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5eaf2;
  font-size: 0.68rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(12, 21, 36, 0.04);
}
.pdp-hub__chip-ico {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pdp-hub__chip-ico svg { width: 11px; height: 11px; }
.pdp-hub__chip--green .pdp-hub__chip-ico { background: #dcfce7; color: #15803d; }
.pdp-hub__chip--blue .pdp-hub__chip-ico { background: #dbeafe; color: #1d4ed8; }
.pdp-hub__chip--amber .pdp-hub__chip-ico { background: #ffedd5; color: #c2410c; }
.pdp-hub__chip--teal .pdp-hub__chip-ico { background: #ccfbf1; color: #0f766e; }
.pdp-hub__chip--violet .pdp-hub__chip-ico { background: #ede9fe; color: #6d28d9; }
.pdp-hub__chip--slate .pdp-hub__chip-ico { background: #e2e8f0; color: #475569; }

.pdp-hub__panel {
  background: var(--white, #fff);
  border: 1px solid var(--border, #e5eaf2);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: var(--shadow, 0 1px 2px rgba(12, 21, 36, 0.04));
}
.pdp-hub__panel-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}
.pdp-hub__panel-head h2 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 750;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  flex: 1;
}
.pdp-hub__panel-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #dbeafe;
  color: #1d4ed8;
  flex-shrink: 0;
}
.pdp-hub__panel-ico svg { width: 13px; height: 13px; }
.pdp-hub__panel-ico--doc { background: #e2e8f0; color: #334155; }
.pdp-hub__stock {
  font-size: 0.65rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}
.pdp-hub__stock.is-oos {
  color: #b91c1c;
  background: #fee2e2;
}
.pdp-hub__panel--delivery .pdp-del { gap: 5px; }
.pdp-hub__panel--delivery [data-delivery-accordion].is-loading {
  opacity: 0.65;
}
.pdp-hub__panel--desc .desc-body {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #334155;
  max-height: 7.5rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.pdp-hub__actions {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: stretch;
  margin: 0 !important;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(12, 21, 36, 0.04);
}
.pdp-hub__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  min-width: 0;
}
.pdp-hub__cta .btn {
  min-height: 42px;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 0.5rem 0.4rem;
  justify-content: center;
}
.pdp-hub .qty-control--pdp {
  margin: 0;
  align-self: center;
}

.pdp-hub__tiles {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pdp-hub__tile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5eaf2;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(12, 21, 36, 0.04);
  transition: border-color 0.15s ease, transform 0.12s ease;
}
a.pdp-hub__tile:hover {
  border-color: #c7d7f5;
  text-decoration: none;
  color: inherit;
}
a.pdp-hub__tile:active { transform: scale(0.99); }
.pdp-hub__tile-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffedd5;
  color: #c2410c;
  flex-shrink: 0;
}
.pdp-hub__tile-ico svg { width: 18px; height: 18px; }
.pdp-hub__tile-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.pdp-hub__tile-txt small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}
.pdp-hub__tile-txt strong {
  font-size: 0.88rem;
  font-weight: 750;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-hub__tile-txt em {
  font-style: normal;
  font-size: 0.72rem;
  color: #64748b;
}
.pdp-hub__tile-go {
  color: #94a3b8;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .product-page .pdp__buybox.pdp-hub {
    margin: 8px 0 0 !important;
    padding: 0 12px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .product-page .pdp-hub__hero {
    border-radius: 14px;
  }
  .product-page .pdp-hub__title {
    font-size: 1.08rem !important;
  }
  .product-page .pdp-hub__price .price-main {
    font-size: 1.4rem !important;
  }
  .product-page .pdp-hub__actions {
    grid-template-columns: 1fr;
  }
  .product-page .pdp-hub__actions .qty-control--pdp {
    justify-self: start;
  }
}

@media (min-width: 900px) {
  .pdp-hub {
    gap: 0.75rem;
  }
  .pdp-hub__hero {
    padding: 1.1rem 1.15rem 1rem;
    border-radius: 18px;
  }
  .pdp-hub__title {
    font-size: 1.35rem !important;
  }
  .pdp-hub__chips {
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (max-width: 899px) {
  .product-page .pdp-hub__cta .btn {
    min-height: 44px;
  }
  .product-page .pdp-hub .qty-control--pdp {
    width: 100%;
    justify-content: space-between;
  }
}



/* ── Customer orders page (20260910) ── */
.price-main,
.price-block,
.pdp-hub__price,
.ord-card__price,
[data-pdp-price],
[data-sticky-price] {
  font-family: "DM Sans", "Noto Sans", "Segoe UI", system-ui, sans-serif !important;
  font-variant-numeric: tabular-nums;
}

.orders-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ord-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(40, 116, 240, 0.22), transparent 55%),
    linear-gradient(135deg, #0c1524 0%, #152238 58%, #1a3a5c 100%);
  color: #f8fafc;
  box-shadow: 0 10px 28px rgba(12, 21, 36, 0.2);
}
.ord-hero__eyebrow {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,250,252,0.65);
  font-weight: 700;
}
.ord-hero__title {
  margin: 0.15rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.ord-hero__sub {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(248,250,252,0.72);
}
.ord-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}
.ord-panel--guest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  justify-content: space-between;
}
.ord-panel--guest p { margin: 0; flex: 1; min-width: 12rem; font-size: 0.82rem; color: var(--text-muted); }
.ord-panel__head h2 { margin: 0; font-size: 0.9rem; font-family: var(--font-display); }
.ord-panel__head p { margin: 0.15rem 0 0.55rem; font-size: 0.72rem; color: var(--text-muted); }
.ord-form { display: grid; gap: 0.5rem; }
.ord-field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.72rem; font-weight: 600; color: #475569; }
.ord-field em { font-style: normal; font-weight: 500; color: #94a3b8; }
.ord-field input {
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  padding: 0.55rem 0.65rem; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #fff;
}
.ord-list { display: flex; flex-direction: column; gap: 0.5rem; }
.ord-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ord-card__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.ord-card__meta { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.ord-card__id { font-size: 0.82rem; font-weight: 750; letter-spacing: -0.01em; }
.ord-card__meta small { font-size: 0.68rem; color: var(--text-muted); }
.ord-card__right { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.ord-card__price { font-size: 0.85rem; font-weight: 750; }
.ord-card__chev { color: #94a3b8; transition: transform 0.15s ease; }
.ord-card.is-open .ord-card__chev { transform: rotate(180deg); }
.ord-chip {
  font-size: 0.62rem; font-weight: 700; padding: 0.18rem 0.45rem;
  border-radius: 999px; white-space: nowrap;
}
.ord-chip--green { background: #dcfce7; color: #15803d; }
.ord-chip--blue { background: #dbeafe; color: #1d4ed8; }
.ord-chip--amber { background: #ffedd5; color: #c2410c; }
.ord-chip--red { background: #fee2e2; color: #b91c1c; }
.ord-card__body { padding: 0 0.75rem 0.75rem; border-top: 1px solid #eef2f7; }
.ord-card__loading {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 0; font-size: 0.78rem; color: var(--text-muted);
}
.ord-detail { display: flex; flex-direction: column; gap: 0.65rem; padding-top: 0.65rem; }
.ord-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.ord-items__row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.45rem;
  font-size: 0.78rem; padding: 0.4rem 0; border-bottom: 1px dashed #e8eef6;
}
.ord-items__name { font-weight: 650; }
.ord-items__qty { color: var(--text-muted); }
.ord-items__price { font-weight: 700; }
.ord-facts {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem;
  font-size: 0.75rem;
}
.ord-facts div { background: #f8fafc; border-radius: 10px; padding: 0.45rem 0.55rem; }
.ord-facts--full { grid-column: 1 / -1; }
.ord-facts dt { margin: 0; color: var(--text-muted); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.ord-facts dd { margin: 0.15rem 0 0; font-weight: 650; }
.ord-hint { margin: 0.35rem 0 0; font-size: 0.75rem; }
.btn-link {
  appearance: none; border: 0; background: none; color: var(--primary);
  font: inherit; font-weight: 700; cursor: pointer; padding: 0;
}

@media (max-width: 899px) {
  .orders-page { padding: 0 12px 1.25rem; }
}
