/* OceanBazar Lite — aligned with full storefront brand tokens, CSS-only */

/* App download top banner */
.app-dl-banner {
  background: #020617;
  color: #fff;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
}
.app-dl-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px var(--pad-x);
}
.app-dl-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #22d3ee;
  color: #04121f;
  flex: 0 0 auto;
  position: relative;
}
.app-dl-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 20h14v-2H5v2zm7-18L5.33 12h3.84v4h5.66v-4h3.84L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 20h14v-2H5v2zm7-18L5.33 12h3.84v4h5.66v-4h3.84L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.app-dl-icon[data-platform="android"]::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48A5.84 5.84 0 0 0 12 1c-.88 0-1.71.2-2.46.54L8.07.07c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.3 1.3C7.14 3.04 6 4.86 6 7h12c0-2.14-1.14-3.96-2.47-4.84z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48A5.84 5.84 0 0 0 12 1c-.88 0-1.71.2-2.46.54L8.07.07c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.3 1.3C7.14 3.04 6 4.86 6 7h12c0-2.14-1.14-3.96-2.47-4.84z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.app-dl-icon[data-platform="ios"]::after,
.app-dl-icon[data-platform="mac"]::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.22-2 1.08-3.15-1.05.05-2.32.72-3.07 1.61-.66.78-1.24 2.03-1.08 3.22 1.14.09 2.31-.6 3.07-1.68'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.22-2 1.08-3.15-1.05.05-2.32.72-3.07 1.61-.66.78-1.24 2.03-1.08 3.22 1.14.09 2.31-.6 3.07-1.68'/%3E%3C/svg%3E") center / contain no-repeat;
}
.app-dl-icon[data-platform="windows"]::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 12V6.5l7-1V12H3zm0 1h7v6.5l-7-1V13zm8-7.4 10-1.4V12H11V5.6zm0 7.4h10v7.4l-10-1.4V13z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 12V6.5l7-1V12H3zm0 1h7v6.5l-7-1V13zm8-7.4 10-1.4V12H11V5.6zm0 7.4h10v7.4l-10-1.4V13z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.app-dl-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.app-dl-copy strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-dl-copy span { font-size: 11px; color: rgba(191, 219, 254, 0.8); text-transform: capitalize; }
.app-dl-cta {
  border: 0;
  border-radius: 999px;
  background: #22d3ee;
  color: #04121f;
  font-weight: 800;
  font-size: 12px;
  padding: 7px 12px;
  cursor: pointer;
}
.app-dl-x {
  border: 0;
  background: transparent;
  color: rgba(191, 219, 254, 0.85);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}

/* Storefront popups */
.ob-popup-root {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.ob-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.ob-popup-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 1.5rem);
  max-width: 32rem;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.ob-popup-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.ob-popup-image { display: block; width: 100%; height: auto; }
.ob-popup-body { padding: 16px 18px 18px; text-align: center; }
.ob-popup-title { margin: 0 0 6px; font-size: 1.2rem; }
.ob-popup-text { margin: 0 0 14px; color: var(--muted); font-size: 14px; white-space: pre-wrap; }
.ob-popup-cta { display: inline-flex !important; width: 100%; justify-content: center; }

/* Popup / hero animation utilities */
.popup-anim-fade, .app-anim-fade { animation: obFade 0.35s ease; }
.popup-anim-zoom-in, .app-anim-zoom-in { animation: obZoomIn 0.35s ease; }
.popup-anim-slide-up, .app-anim-slide-up { animation: obSlideUp 0.35s ease; }
.popup-anim-slide-down, .app-anim-slide-down, .app-anim-slide-down { animation: obSlideDown 0.35s ease; }
.popup-anim-bounce { animation: obBounce 0.5s ease; }
.popup-anim-fade-up { animation: obFadeUp 0.4s ease; }
.popup-anim-fade-down { animation: obFadeDown 0.4s ease; }
.popup-anim-slide-left { animation: obSlideLeft 0.35s ease; }
.popup-anim-slide-right { animation: obSlideRight 0.35s ease; }
.popup-anim-blur-in { animation: obBlurIn 0.45s ease; }
.popup-anim-scale-spring { animation: obZoomIn 0.5s cubic-bezier(.2,1.4,.3,1); }
.popup-anim-rotate-in { animation: obRotateIn 0.4s ease; }
.popup-anim-ken-burns .ob-popup-image, .hero-anim-ken-burns.is-active img {
  animation: obKenBurns 8s ease-in-out infinite alternate;
}
.hero-anim-fade.is-active { animation: obFade 0.55s ease; }
.hero-anim-zoom-in.is-active,
.hero-anim-zoom-out.is-active,
.hero-anim-scale-spring.is-active { animation: obHeroZoom 0.55s ease; }
.hero-anim-slide-up.is-active,
.hero-anim-fade-up.is-active { animation: obHeroUp 0.55s ease; }
.hero-anim-slide-down.is-active,
.hero-anim-fade-down.is-active { animation: obHeroDown 0.55s ease; }
.hero-anim-bounce.is-active { animation: obHeroBounce 0.6s ease; }
.hero-anim-blur-in.is-active { animation: obBlurIn 0.55s ease; }
@keyframes obHeroZoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes obHeroUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes obHeroDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes obHeroBounce { 0% { opacity: 0; transform: scale(0.92); } 60% { transform: scale(1.02); } 100% { opacity: 1; transform: scale(1); } }

@keyframes obFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes obZoomIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes obSlideUp { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes obSlideDown { from { opacity: 0; transform: translate(-50%, -60%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes obFadeUp { from { opacity: 0; transform: translate(-50%, -45%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes obFadeDown { from { opacity: 0; transform: translate(-50%, -55%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes obSlideLeft { from { opacity: 0; transform: translate(-40%, -50%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes obSlideRight { from { opacity: 0; transform: translate(-60%, -50%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes obBounce { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); } 60% { transform: translate(-50%, -50%) scale(1.03); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes obBlurIn { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }
@keyframes obRotateIn { from { opacity: 0; transform: translate(-50%, -50%) rotate(-4deg) scale(0.96); } to { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); } }
@keyframes obKenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Low-end / reduced motion: skip GPU-heavy blur & Ken Burns */
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .popup-anim-blur-in,
  .hero-anim-blur-in.is-active,
  .popup-anim-ken-burns .ob-popup-image,
  .hero-anim-ken-burns.is-active img,
  .popup-anim-rotate-in,
  .popup-anim-bounce,
  .hero-anim-bounce.is-active,
  .popup-anim-scale-spring,
  .hero-anim-scale-spring.is-active {
    animation: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .popup-anim-ken-burns .ob-popup-image,
  .hero-anim-ken-burns.is-active img {
    animation: none !important;
  }
}

:root {
  /* Match full storefront tokens: primary hsl(217 91% 50%) ≈ #0B63F3, accent = logo orange */
  --bg: hsl(0 0% 99%);
  --fg: hsl(222.2 84% 4.9%);
  --card: #fff;
  --muted: hsl(215.4 16.3% 46.9%);
  --muted-bg: hsl(210 40% 96.1%);
  --border: hsl(214.3 31.8% 91.4%);
  --primary: #0B63F3;
  --primary-fg: #fff;
  --primary-soft: rgba(11, 99, 243, 0.1);
  --primary-deep: #0847b0;
  --accent: #F06414;
  --accent-soft: rgba(240, 100, 20, 0.14);
  --accent-deep: #d4550f;
  --cyan: #0891b2;
  --cyan-soft: rgba(8, 145, 178, 0.1);
  --danger: hsl(0 84.2% 60.2%);
  --success: hsl(142 76% 36%);
  --warning: hsl(38 92% 50%);
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.08);
  --font: "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: auto;
  /* Full-bleed desktop — content uses fluid padding, not a narrow card column */
  --max: 100%;
  --pad-x: clamp(12px, 2.5vw, 40px);
  --bottom-nav-h: 58px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background:
    radial-gradient(1400px 520px at 8% -12%, rgba(11, 99, 243, 0.09), transparent 55%),
    radial-gradient(1000px 440px at 96% 0%, rgba(240, 100, 20, 0.07), transparent 52%),
    radial-gradient(800px 360px at 50% 100%, rgba(8, 145, 178, 0.05), transparent 55%),
    var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.25; }

/* ── Top strip ── */
.lite-note {
  background: linear-gradient(90deg, hsl(222 47% 11%), hsl(217 91% 28%));
  color: hsl(210 40% 96%);
  font-size: 12px;
  padding: 7px 14px;
  text-align: center;
}
.lite-note a {
  color: hsl(199 89% 70%);
  margin-left: 8px;
  font-weight: 600;
  text-decoration: underline;
}

/* ── Header (mirrors full storefront mobile layout) ── */
.site-header {
  /* Solid header — no backdrop-filter (costly / buggy on old WebKit) */
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px var(--pad-x) 6px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
}
.logo-link img {
  width: 124px;
  height: 58px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .logo-link img { width: 152px; height: 72px; }
}
.bar-spacer { flex: 1; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  color: var(--fg);
  cursor: pointer;
}
.icon-btn:hover { background: var(--muted-bg); border-color: var(--border); }
.icon-btn-avatar {
  padding: 0;
  overflow: hidden;
}
.header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}
.header-avatar--drawer {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
.header-avatar-fallback {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--primary, #0b5) 16%, transparent);
  color: var(--primary, #0b5);
  font-size: 12px;
  font-weight: 700;
}
.header-avatar-fallback--drawer {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  font-size: 11px;
}
.nav-link-account {
  display: flex;
  align-items: center;
}
.icon-btn.text-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px;
  min-width: auto;
  white-space: nowrap;
}
.cart-link { position: relative; font-size: 12px; font-weight: 600; color: var(--fg); }
.chip.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}
.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}
.search {
  display: flex;
  gap: 0;
  padding: 0 var(--pad-x) 10px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 40;
}
.search-field {
  flex: 1;
  position: relative;
  min-width: 0;
}
.search input {
  width: 100%;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  padding: 10px 36px 10px 12px;
  background: #fff;
  min-width: 0;
}
.search input:focus {
  outline: 2px solid hsl(217 91% 50% / 0.25);
  outline-offset: -1px;
  z-index: 1;
  position: relative;
}
.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
  z-index: 2;
}
.search button[type="submit"] {
  border: 0;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 0 10px 10px 0;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  max-height: min(70vh, 420px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.search-panel[hidden] { display: none !important; }
.search-panel-section {
  padding: 10px 12px 6px;
  border-bottom: 1px solid var(--border);
}
.search-panel-section:last-child { border-bottom: 0; }
.search-panel-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.search-suggest {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--fg);
}
.search-suggest:hover,
.search-suggest.is-active {
  background: #f3f7ff;
}
.search-suggest-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
  flex-shrink: 0;
}
.search-suggest-meta { min-width: 0; flex: 1; }
.search-suggest-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.search-panel-footer {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid var(--border);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-text {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.chip-text.active,
.chip-text:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f3f7ff;
}
.search-discover { margin-bottom: 14px; }
.search-discover-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.search-discover-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.search-discover-head .search-discover-label { margin: 0; }
.link-muted {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.search-refine { align-items: flex-end; }
.search-refine-field {
  flex: 1;
  display: grid !important;
  gap: 6px;
  min-width: 160px;
}
.search-refine-field input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  width: 100%;
}
.muted.small { font-size: 12px; color: var(--muted); margin: 0; }
.flash-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  /* Solid OceanBazar logo orange — not red */
  background: linear-gradient(90deg, #d4550f 0%, #F06414 40%, #ff8a3d 100%);
  color: #fff;
  padding: 10px var(--pad-x);
  font-size: 13px;
  font-weight: 800;
  max-width: none;
  width: 100%;
  border-bottom: 2px solid #ffb06b;
  box-shadow: 0 2px 10px rgba(240, 100, 20, 0.35);
  position: relative;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.flash-bar::after {
  content: none;
}
.flash-bar span:last-child {
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.22);
  padding: 3px 10px;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

/* Premium slide-over nav — CSS-only motion, no backdrop-filter */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(2, 6, 23, 0.45);
}
.nav-backdrop[hidden] { display: none !important; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  width: min(86vw, 340px);
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  -webkit-overflow-scrolling: touch;
}
.nav-drawer[hidden] { display: none !important; }
.nav-drawer.is-open { display: flex !important; }
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, hsl(214 32% 98%) 100%);
}
.nav-drawer-brand { display: flex; align-items: center; }
.nav-drawer-brand img {
  width: 118px;
  height: 56px;
  object-fit: contain;
}
.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px 28px;
}
.nav-section-label {
  margin: 14px 8px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-list { display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
}
.nav-link:hover,
.nav-link:focus {
  background: var(--primary-soft);
  color: var(--primary);
  outline: none;
}
.nav-link.is-active {
  background: hsl(217 91% 50% / 0.12);
  color: var(--primary);
}
.nav-link-muted { color: var(--muted); font-weight: 500; }
.nav-link-danger { color: var(--danger); }
body.nav-open { overflow: hidden; }
/* legacy class kept for print hide rules */
.drawer { display: none; }

.banner { padding: 10px 14px; font-size: 14px; text-align: center; }
.banner.ok { background: hsl(142 76% 36% / 0.12); color: var(--success); }
.banner.err { background: hsl(0 84% 60% / 0.12); color: var(--danger); }

.main {
  padding: 14px var(--pad-x) calc(28px + var(--bottom-nav-h));
  max-width: var(--max);
  margin: 0 auto;
  min-height: 55vh;
  width: 100%;
}
@media (min-width: 768px) {
  .main { padding-bottom: 36px; }
}

/* Mobile bottom nav — mirrors full MobileBottomNav (CSS-only, no blur) */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-top: 1px solid hsl(214.3 31.8% 91.4% / 0.9);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
}
.bottom-nav-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
  min-height: var(--bottom-nav-h);
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item span { line-height: 1.2; }
.bottom-nav-item.is-active {
  color: var(--primary);
  font-weight: 700;
}
.bottom-nav-item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}
@media (min-width: 768px) {
  .bottom-nav { display: none; }
}
@media print {
  .bottom-nav { display: none !important; }
}

/* ── Hero carousel (CSS fade — no heavy JS libs) ── */
.hero {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2540, #0B63F3);
  box-shadow: none;
  margin: -14px calc(-1 * var(--pad-x)) 18px;
  border: 0;
  border-bottom: 1px solid var(--border);
  width: calc(100% + 2 * var(--pad-x));
}
@media (min-width: 768px) {
  .hero {
    border-radius: calc(var(--radius) + 4px);
    margin: 0 0 20px;
    width: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(11, 99, 243, 0.15);
  }
}
.hero-track { position: relative; }
.hero-slide {
  display: block;
  color: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.hero-slide:not(.is-active) {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: var(--muted-bg);
}
.hero-caption {
  display: block;
  padding: 12px 14px 14px;
  font-weight: 700;
  font-size: 1.05rem;
  background: #fff;
}
.hero-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.hero-prev { left: 8px; }
.hero-next { right: 8px; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.hero-dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  padding: 0;
}
.hero-dot.is-active { background: var(--primary); width: 18px; }
.hero.plain {
  padding: 28px 18px;
  background:
    linear-gradient(135deg, hsl(217 91% 50% / 0.1), transparent 60%),
    var(--card);
}
.hero.plain h1 { margin: 0 0 6px; font-size: 1.55rem; color: hsl(222 47% 11%); }
.hero.plain p { margin: 0; color: var(--muted); max-width: 36ch; }
.radio-card.disabled { opacity: 0.55; }
.warn-text { color: hsl(38 92% 35%); font-size: 12px; }
.tier-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tier-list li {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--muted-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ── Trust strip ── */
.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
@media (min-width: 720px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
.trust-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.trust-item span { font-size: 11px; color: var(--muted); }

/* ── Testimonials (premium) ── */
.testimonials-premium {
  margin: 8px 0 26px;
  padding: 28px 14px 22px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(14, 116, 144, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.03), transparent);
  border-radius: calc(var(--radius) + 6px);
}
.testimonials-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0e7490;
}
.testimonials-title {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg, #0f172a);
}
.testimonials-card {
  margin: 0 auto;
  max-width: 520px;
  padding: 22px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px -36px rgba(15, 23, 42, 0.45);
}
.testimonials-track { position: relative; min-height: 140px; }
.testimonial-slide {
  display: none;
  margin: 0;
}
.testimonial-slide.is-active { display: block; }
.testimonial-stars {
  margin: 0 0 10px;
  color: #d97706;
  letter-spacing: 2px;
  font-size: 14px;
}
.testimonial-quote {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--fg, #0f172a);
}
.testimonial-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e7490, #0f172a);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.testimonial-meta strong { color: var(--fg, #0f172a); }
.testimonial-verified { color: #059669; font-weight: 600; }
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.testimonials-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--border);
  cursor: pointer;
}
.testimonials-dot.is-active { width: 22px; background: #0e7490; }

.pdp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}
.pdp-trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

/* Product-linked trust badges */
.trust-product .trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 720px) {
  .trust-product .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.trust-link:hover { border-color: rgba(14, 116, 144, 0.45); transform: translateY(-1px); }
.trust-count {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #0e7490;
}

/* ── Sections ── */
.section {
  margin-bottom: 26px;
  animation: obSectionIn 0.45s ease both;
}
.section:nth-of-type(2) { animation-delay: 0.04s; }
.section:nth-of-type(3) { animation-delay: 0.08s; }
.section:nth-of-type(4) { animation-delay: 0.12s; }
@keyframes obSectionIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .section { animation: none !important; }
}
@media (pointer: coarse) {
  /* Prefer cheaper paint on phones — skip stagger delay stacking */
  .section { animation-duration: 0.28s; }
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head h1, .section-head h2 {
  margin: 0;
  font-size: 1.2rem;
  position: relative;
  padding-left: 10px;
}
.section-head h1::before, .section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
}
.section-head a {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 720px) {
  .chips { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #fff, var(--primary-soft));
  border: 1px solid rgba(11, 99, 243, 0.18);
  border-radius: var(--radius);
  padding: 12px 8px;
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.chip:hover { border-color: hsl(217 91% 50% / 0.45); transform: translateY(-1px); }
.chip-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.chip-icon.chip-emoji {
  font-size: 22px;
  font-weight: 400;
  background: transparent;
  color: inherit;
}
.chip img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1400px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Home sections: 5 cols × 2 rows = 10 products (desktop); 2 cols on phones */
.grid-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 560px) {
  .grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 768px) {
  .grid-home { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
}
.section-more-tiny { margin-top: 10px; }
.btn-show-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  background: var(--muted-bg);
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.btn-show-more:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(11, 99, 243, 0.35);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-media {
  background: linear-gradient(180deg, var(--muted-bg), #fff);
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
}
.card-body { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-title {
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.price { color: var(--fg); font-size: 14px; font-weight: 700; }
.price s { color: var(--muted); margin-left: 6px; font-size: 12px; font-weight: 500; }
.price.lg { font-size: 1.4rem; margin: 8px 0 14px; }
.price .save {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: hsl(142 76% 36% / 0.12);
  padding: 2px 6px;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--primary-soft); }
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
  box-shadow: 0 2px 8px hsl(217 91% 50% / 0.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-sm { padding: 7px 10px; font-size: 12px; width: 100%; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.link-danger { background: none; border: 0; color: var(--danger); padding: 0; cursor: pointer; font-weight: 600; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filters label { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.filters select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  background: #fff;
  color: var(--fg);
}
.empty {
  color: var(--muted);
  padding: 36px 16px;
  text-align: center;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 10px;
  padding: 10px 0;
}
.pager a {
  font-weight: 700;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--fg);
}

/* ── PDP ── */
.pdp { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .pdp { grid-template-columns: 1.05fr 1fr; align-items: start; gap: 24px; }
}
.gallery-main {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-main img,
.gallery-main video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.92);
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15,23,42,0.12);
}
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.thumb {
  border: 2px solid var(--border);
  padding: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  cursor: pointer;
}
.thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px hsl(217 91% 50% / 0.2); }
.thumb img { width: 68px; height: 68px; object-fit: cover; }

.pdp-info h1 { margin: 0 0 4px; font-size: 1.35rem; }
.pdp-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.buy-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 14px;
  box-shadow: var(--shadow);
}
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.field.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.field.qty > span { width: 100%; }
.field.qty input { width: 68px; text-align: center; }
.qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.desc, .reviews, .qa {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.desc h2, .reviews h2, .qa h2 { margin: 0 0 10px; font-size: 1.05rem; }
.review, .qa-item { border-top: 1px solid var(--border); padding: 10px 0; }
.review-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.review-title { font-weight: 600; }
.review-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.review-photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.review-form, .qa-form { margin-top: 14px; max-width: 520px; }
.pdp-rating { font-size: 13px; margin: 0 0 8px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pdp-rating .stars, .stars { color: #b45309; letter-spacing: 1px; }
.rating-chart { display: grid; gap: 12px; margin-bottom: 14px; }
@media (min-width: 640px) {
  .rating-chart { grid-template-columns: auto 1fr; align-items: center; }
}
.rating-chart-summary { display: flex; flex-direction: column; gap: 2px; }
.rating-bars { display: grid; gap: 6px; }
.rating-bar-row { display: grid; grid-template-columns: 28px 1fr 28px; gap: 8px; align-items: center; font-size: 12px; }
.rating-bar { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.rating-bar > span { display: block; height: 100%; background: #d97706; }
.review-avatar { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }
.review-avatar-fallback {
  width: 36px; height: 36px; border-radius: 999px; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.qa-reply { margin-top: 8px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--primary-soft, #f0f9ff); }
.qa-reply-from { font-size: 12px; font-weight: 700; color: var(--primary); margin: 0 0 4px; }
.survey-banner { margin: 12px 0; padding: 14px; border: 1px solid #86efac; background: #f0fdf4; border-radius: 10px; }
.survey-modal[open] { border: none; border-radius: 14px; padding: 0; max-width: 520px; width: calc(100% - 24px); }
.survey-modal::backdrop { background: rgba(0,0,0,.45); }
.survey-modal-body { padding: 16px; }
.card-rating { font-size: 12px; margin: 0 0 4px; color: var(--fg); }
.card-rating .muted { color: var(--muted); }
.account-avatar-img { object-fit: cover; padding: 0; background: var(--border); }
.account-photo-form { margin-bottom: 16px; max-width: 420px; }
.prose { font-size: 14px; color: hsl(222 22% 28%); }
.badge-stock.out { color: var(--danger); font-weight: 700; }
.assurance {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.assurance span::before { content: "✓ "; color: var(--success); font-weight: 700; }

.is-hidden { display: none !important; }
.qty-hint { font-size: 12px; color: var(--muted); }
.qty-cap { margin: -4px 0 12px; font-size: 12px; }

.pricing-panel {
  border: 1px solid hsl(217 91% 50% / 0.28);
  background: hsl(214 100% 97%);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pricing-panel.is-wholesale {
  border-color: hsl(38 92% 50% / 0.45);
  background: hsl(38 92% 96%);
}
.pricing-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mode-pill, .tier-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
}
.mode-pill {
  background: hsl(217 91% 50% / 0.15);
  color: hsl(217 91% 35%);
}
.pricing-panel.is-wholesale .mode-pill {
  background: hsl(38 92% 50% / 0.2);
  color: hsl(30 80% 30%);
}
.tier-pill {
  background: hsl(142 76% 94%);
  color: hsl(142 72% 26%);
}
.pricing-panel .price.lg { margin: 0 0 10px; }
.line-total-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid hsl(217 91% 50% / 0.2);
  background: linear-gradient(90deg, hsl(217 91% 50% / 0.08), #fff);
  margin-bottom: 10px;
}
.line-total-box strong { font-size: 1.15rem; }
.tier-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.tier-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tier-table th, .tier-table td { padding: 7px 10px; text-align: left; }
.tier-table th { background: var(--muted-bg); color: var(--muted); font-weight: 600; }
.tier-table td:last-child { text-align: right; font-weight: 700; }
.tier-table tr { border-top: 1px solid var(--border); }
.tier-table tr.is-active { background: hsl(217 91% 50% / 0.1); font-weight: 700; }
.tier-disc { color: var(--success); font-weight: 700; }
.moq-met {
  margin: 8px 0 0;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: hsl(30 80% 30%);
  background: hsl(38 92% 50% / 0.15);
  border: 1px solid hsl(38 92% 50% / 0.35);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ── Cart / checkout ── */
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 12px;
  box-shadow: var(--shadow);
}
.cart-item img { border-radius: 10px; object-fit: cover; width: 80px; height: 80px; }
.cart-meta { display: grid; gap: 5px; }
.cart-meta a { color: var(--fg); font-weight: 700; font-size: 14px; }
.cart-side {
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 14px;
  box-shadow: var(--shadow);
}
.inline { display: flex; gap: 6px; margin-bottom: 8px; }
.inline input { flex: 1; border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; }
.totals { margin: 12px 0; }
.totals > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.totals .grand {
  font-weight: 800;
  font-size: 1.05rem;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 10px;
}
.totals dt, .totals dd { margin: 0; }

.checkout-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 800px) {
  .checkout-grid { grid-template-columns: 1.4fr 1fr; gap: 22px; }
}
.stack { display: grid; gap: 8px; margin-bottom: 16px; }
.radio-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.radio-card:hover { border-color: rgba(46, 124, 246, 0.35); }
.radio-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 1px rgba(46, 124, 246, 0.18);
}
.radio-card input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}
.mini-list { list-style: none; padding: 0; margin: 0 0 10px; }
.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.narrow { max-width: 440px; margin: 0 auto; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--fg);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Auth (premium card, logo-centered) ── */
.auth-shell {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px calc(48px + var(--bottom-nav-h));
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(11, 99, 243, 0.12), transparent 55%),
    radial-gradient(640px 320px at 100% 100%, rgba(240, 100, 20, 0.08), transparent 50%);
}
@media (min-width: 768px) {
  .auth-shell { padding-bottom: 48px; }
}
.auth-otp-hint { margin: 0 0 4px; font-size: 13px; }
.auth-otp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.inline-form { display: inline; margin: 0; }
.link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-md), 0 12px 40px rgba(15, 23, 42, 0.06);
}
.auth-brand {
  text-align: center;
  margin-bottom: 22px;
}
.auth-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-logo-link img {
  width: auto;
  height: 56px;
  max-width: 182px;
  object-fit: contain;
}
.auth-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.auth-tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--muted-bg);
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.auth-tab:hover { background: rgba(255, 255, 255, 0.7); color: var(--fg); }
.auth-tab.is-active {
  background: var(--primary);
  color: #fff;
}
.auth-form.stack { gap: 12px; margin-bottom: 0; }
.auth-form .field { margin-bottom: 0; }
.auth-form .field input,
.auth-card .field input,
.auth-card .field textarea {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-form .field input:focus,
.auth-card .field input:focus,
.auth-card .field textarea:focus,
.checkout-page .field input:focus,
.checkout-page .field textarea:focus {
  outline: none;
  border-color: rgba(11, 99, 243, 0.55);
  box-shadow: 0 0 0 3px rgba(11, 99, 243, 0.18);
}
.auth-otp-input {
  text-align: center !important;
  font-size: 1.35rem !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  letter-spacing: 0.35em !important;
}
.auth-submit {
  width: 100%;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 15px;
  margin-top: 4px;
}
.auth-footer {
  text-align: center;
  margin: 18px 0 0;
  font-size: 13px;
}
.auth-footer a {
  color: var(--primary);
  font-weight: 700;
}
.auth-footer a:hover { text-decoration: underline; }

/* ── Checkout (two-column premium) ── */
.checkout-page { padding-bottom: 88px; }
@media (min-width: 800px) {
  .checkout-page { padding-bottom: 24px; }
}
.checkout-head { margin-bottom: 18px; }
.checkout-head h1 { margin: 0 0 4px; }
.checkout-head .muted { margin: 0; }
.checkout-main { display: grid; gap: 14px; min-width: 0; }
.checkout-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.checkout-panel--notes { padding-bottom: 10px; }
.checkout-panel-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
}
.checkout-empty-hint { margin: 0; }
.checkout-addr-list {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  min-width: 0;
}
.checkout-addr-card { align-items: flex-start; }
.checkout-addr-body {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.checkout-addr-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.checkout-addr-phone {
  font-size: 13px;
  color: var(--muted);
}
.checkout-addr-line {
  font-size: 13px;
  color: var(--fg);
  line-height: 1.4;
}
.checkout-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 8px;
}
.checkout-pay-grid {
  display: grid;
  gap: 10px;
}
@media (min-width: 560px) {
  .checkout-pay-grid { grid-template-columns: 1fr 1fr; }
}
.checkout-pay-card {
  min-height: 76px;
  gap: 12px;
}
.checkout-pay-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.checkout-pay-icon--ssl {
  background: rgba(46, 124, 246, 0.12);
  color: var(--primary);
}
.checkout-pay-icon--cod {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.checkout-pay-body {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.checkout-pay-body strong { font-size: 14px; }
.checkout-pay-body .muted { font-size: 12px; line-height: 1.35; }
.checkout-pay-body .warn-text { margin-top: 4px; display: block; }

.checkout-summary {
  margin-top: 0;
  border-radius: 14px;
  padding: 16px;
  position: sticky;
  top: 12px;
}
.checkout-mini-list { margin: 0 0 4px; }
.checkout-line {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  justify-content: flex-start !important;
  padding: 10px 0 !important;
}
.checkout-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--muted-bg);
  flex: 0 0 auto;
}
.checkout-line-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.checkout-line-name {
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-line-price {
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  margin-left: auto;
}
.checkout-summary .totals .grand dt,
.checkout-summary .totals .grand dd {
  color: var(--fg);
  font-weight: 800;
}

.checkout-add-card {
  background: var(--card);
  border: 1px dashed rgba(46, 124, 246, 0.35);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.checkout-add-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 14px;
  color: var(--primary);
  user-select: none;
}
.checkout-add-summary::-webkit-details-marker { display: none; }
.checkout-add-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}
.checkout-add-card[open] .checkout-add-chevron {
  transform: rotate(-135deg);
}
.checkout-add-form {
  padding: 0 16px 16px;
  margin-bottom: 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.checkout-add-row {
  display: grid;
  gap: 10px;
}
@media (min-width: 480px) {
  .checkout-add-row { grid-template-columns: 1fr 1fr; }
}
.checkout-add-row .field { margin-bottom: 0; }

.checkout-place-desktop { margin-top: 4px; }
.checkout-place-mobile {
  display: none;
}
@media (max-width: 799px) {
  .checkout-place-desktop { display: none; }
  .checkout-place-mobile {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92) 28%, #fff);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }
  .checkout-place-mobile-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .checkout-place-mobile-total {
    display: grid;
    gap: 0;
    min-width: 0;
  }
  .checkout-place-mobile-total .muted { font-size: 11px; line-height: 1.2; }
  .checkout-place-mobile-total strong { font-size: 1.05rem; color: var(--fg); }
  .checkout-place-mobile .btn { flex: 1; border-radius: 12px; padding: 12px 14px; }
  .checkout-summary { position: static; }
}
.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;
}
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
}
.menu-list a { color: var(--fg); font-weight: 700; }
.track-box {
  background: hsl(222 47% 11%);
  color: hsl(210 40% 96%);
  padding: 14px;
  border-radius: 10px;
  overflow: auto;
  font-size: 12px;
}
.muted { color: var(--muted); font-size: 13px; }

/* ── Footer (dark like full storefront) ── */
.site-footer {
  margin-top: 36px;
  padding: 28px var(--pad-x) calc(32px + var(--bottom-nav-h));
  background:
    linear-gradient(180deg, hsl(222 47% 11% / 0.96), hsl(224 71% 6%)),
    hsl(224 71% 6%);
  color: hsl(213 31% 91%);
  border-top: 3px solid var(--primary);
}
@media (min-width: 768px) {
  .site-footer { padding-bottom: 32px; }
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 22px;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
}
@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
}
.footer-brand img {
  width: 160px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}
.footer-brand p { margin: 0; font-size: 13px; color: hsl(214 20% 75%); max-width: 36ch; }
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(199 89% 70%);
}
.footer-col a {
  display: block;
  color: hsl(214 20% 82%);
  font-size: 13px;
  padding: 5px 0;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max);
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid hsla(0,0%,100%,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 12px;
  color: hsl(215 20% 65%);
}
.footer-bottom a { color: hsl(199 89% 70%); font-weight: 600; }

/* ── Footer social buttons ── */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: hsl(199 89% 60%);
  color: #04121f;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.social-btn:hover { background: #fff; transform: translateY(-2px); }

/* ── Footer newsletter ── */
.footer-newsletter {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  background: hsla(0, 0%, 100%, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}
.footer-newsletter-copy { flex: 1 1 180px; }
.footer-newsletter-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.footer-newsletter-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: hsl(214 20% 78%);
}
.footer-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 260px;
  max-width: 420px;
}
.footer-newsletter-field {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  background: hsla(0, 0%, 0%, 0.2);
  color: hsl(214 20% 78%);
}
.footer-newsletter-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.footer-newsletter-field input::placeholder { color: hsl(214 20% 65%); }
.footer-newsletter-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: hsl(187 92% 45%);
  color: hsl(222 47% 8%);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.footer-newsletter-btn:hover { background: hsl(187 92% 55%); }
.footer-newsletter-msg {
  flex: 1 1 100%;
  margin: 0;
  font-size: 12px;
}
.footer-newsletter-msg.ok { color: #6ee7b7; }
.footer-newsletter-msg.err { color: #fda4af; }

/* ── Info / policy / bridge pages ── */
.info-page { max-width: var(--max); margin: 0 auto; padding: 8px 0 32px; width: 100%; }
.info-page h1 { margin: 0 0 10px; font-size: 1.6rem; line-height: 1.25; }
.info-page h2 { margin: 0 0 8px; font-size: 1.2rem; }
.info-page h3 { margin: 16px 0 8px; font-size: 1.05rem; }
.info-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #2e7cf6);
}
.info-intro { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 62ch; }
.info-meta { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.info-hero {
  margin-bottom: 28px;
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, hsl(214 90% 48%), hsl(222 55% 28%));
  color: #fff;
}
.info-hero .info-intro { color: hsla(0, 0%, 100%, 0.9); }
.info-hero .info-eyebrow { color: hsla(0, 0%, 100%, 0.75); }
.info-block { margin: 28px 0; }
.info-card-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
@media (min-width: 640px) {
  .info-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .info-card-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card, #fff);
  color: inherit;
  text-decoration: none;
}
a.info-card:hover { border-color: var(--primary, #2e7cf6); }
.info-card strong { font-size: 14px; }
.info-card span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.vision-block {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--primary-soft, #e8f1ff), var(--card, #fff) 55%);
}
.leadership-title {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary, #2e7cf6);
}
.leadership-grid { margin-top: 14px; }
.info-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.info-cta-block {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--muted-bg, #f5f7fb);
}
.info-highlight {
  padding: 10px 12px;
  border-radius: 10px;
  background: hsl(199 89% 94%);
  color: hsl(199 80% 22%);
  font-size: 14px;
}
.info-section { margin: 22px 0; }
.info-section ul { margin: 8px 0 0; padding-left: 1.2em; }
.info-section li { margin: 4px 0; font-size: 14px; line-height: 1.5; }
.info-policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.info-policy-nav a {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.info-policy-nav a.active,
.info-policy-nav a:hover {
  border-color: var(--primary, #2e7cf6);
  color: var(--primary, #2e7cf6);
  font-weight: 600;
}
.info-two-col {
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .info-two-col { grid-template-columns: 1fr 1fr; }
}
.info-steps { margin: 10px 0 0; padding-left: 1.2em; }
.info-steps li { margin: 8px 0; font-size: 14px; line-height: 1.45; }
.info-table-wrap { overflow-x: auto; margin-top: 12px; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.info-table th,
.info-table td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}
.info-table th { background: var(--muted-bg, #f5f7fb); }
.info-faq {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 8px 0;
  background: var(--card, #fff);
}
.info-faq summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.info-faq p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.bridge-page { display: flex; justify-content: center; }
.bridge-card {
  max-width: 420px;
  width: 100%;
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card, #fff);
  text-align: center;
}
.bridge-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.bridge-card .btn { margin-top: 8px; }

/* ── Button outline variant ── */
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn-outline:hover { background: var(--muted-bg); }

/* ── Status pills ── */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--muted-bg);
  color: var(--muted);
  border: 1px solid var(--border);
}
.pill-ok { background: hsl(142 76% 94%); color: hsl(142 72% 26%); border-color: hsl(142 60% 80%); }
.pill-warn { background: hsl(38 92% 92%); color: hsl(30 80% 34%); border-color: hsl(38 80% 78%); }

/* ── Hero overlays / CTA buttons ── */
.hero-overlays { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-overlays .hero-cta,
.hero-overlays .hero-ovtext { position: absolute; transform: translateY(-10%); max-width: 84%; }
.hero-ovtext {
  font-weight: 800;
  font-size: clamp(1rem, 3.6vw, 1.6rem);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}
.hero-cta {
  pointer-events: auto;
  display: inline-block;
  background: #fff;
  color: hsl(217 91% 40%);
  font-weight: 700;
  font-size: clamp(0.8rem, 2.6vw, 1rem);
  padding: 9px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  text-decoration: none;
}
.hero-cta:hover { filter: brightness(1.03); }
a.hero-caption { text-decoration: none; color: inherit; }

/* ── Flash section (homepage) — logo orange, not red ── */
.flash-section {
  background:
    linear-gradient(135deg, rgba(240, 100, 20, 0.16), rgba(255, 255, 255, 0.95)),
    var(--card);
  border: 1px solid rgba(240, 100, 20, 0.4);
  border-radius: calc(var(--radius) + 2px);
  padding: 16px;
  box-shadow: 0 4px 20px rgba(240, 100, 20, 0.12);
}
.flash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.flash-head-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flash-tag {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
}
.flash-name { font-size: 13px; color: var(--muted); font-weight: 600; }
.flash-countdown {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
}
.section-more { margin-top: 12px; text-align: center; }
.section-more .btn { display: inline-block; width: auto; padding: 8px 22px; }

/* ── Account dashboard ── */
.account-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--primary-soft), var(--card));
  margin-bottom: 16px;
}
.account-avatar {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}
.account-hero-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.account-hello { font-size: 12px; color: var(--muted); }
.account-name { font-size: 1.1rem; }
.account-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.account-logout { flex: 0 0 auto; width: auto; }

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--fg);
}
.stat-card.link { text-decoration: none; }
.stat-value { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 12px; color: var(--muted); }

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.account-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.account-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile-title { font-weight: 700; }
.tile-desc { font-size: 12px; color: var(--muted); }

/* ── Order list / cards ── */
.order-list { display: grid; gap: 10px; }
.order-card {
  display: block;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}
.order-card:hover { box-shadow: var(--shadow-md); }
.order-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.order-card-meta .dot { opacity: 0.5; }
.order-status { text-transform: capitalize; }
.order-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.order-total { font-weight: 800; }
.order-view { font-size: 12px; color: var(--primary); font-weight: 700; }
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
}
.order-row-main { display: flex; flex-direction: column; gap: 2px; }
.order-row-meta { display: flex; align-items: center; gap: 10px; }
.empty-state { text-align: center; padding: 30px 0; display: grid; gap: 14px; justify-items: center; }

/* ── Order detail ── */
.order-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.order-detail-head h1 { margin: 0; }
.order-detail-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.order-detail-actions { margin-bottom: 16px; }
.order-detail-actions .btn { width: auto; display: inline-block; }
.card-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  margin-bottom: 14px;
}
.card-block h2 { margin: 0 0 12px; font-size: 1rem; }
.line-items { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.line-item { display: flex; align-items: center; gap: 10px; }
.line-thumb { border-radius: 8px; object-fit: cover; border: 1px solid var(--border); flex: 0 0 auto; }
.line-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-name { font-weight: 600; }
.line-qty { font-size: 12px; color: var(--muted); }
.line-total { font-weight: 700; white-space: nowrap; }
.totals { margin: 0; border-top: 1px dashed var(--border); padding-top: 12px; display: grid; gap: 6px; }
.totals > div { display: flex; align-items: center; justify-content: space-between; }
.totals dt, .totals dd { margin: 0; font-size: 14px; color: var(--muted); }
.totals-save dt, .totals-save dd { color: var(--success); }
.totals-grand { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.totals-grand dt, .totals-grand dd { color: var(--fg); font-weight: 800; font-size: 1.05rem; }
.order-detail-cols { display: grid; gap: 14px; }
@media (min-width: 640px) {
  .order-detail-cols { grid-template-columns: 1fr 1fr; }
}
.crumb a { color: var(--muted); text-decoration: none; font-weight: 600; }

/* ── Lite service pages (chat / tickets / returns / points) ── */
.svc-page { width: 100%; }
.svc-hero {
  border-radius: calc(var(--radius) + 4px);
  padding: 20px 18px;
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary) 55%, #38bdf8);
  box-shadow: var(--shadow-md);
}
.svc-hero h1 { margin: 0 0 6px; color: #fff; }
.svc-hero .info-eyebrow { color: rgba(255,255,255,0.75); margin: 0 0 4px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }
.svc-hero .info-intro { color: rgba(255,255,255,0.92); margin: 0; }
.svc-hero-chat { background: linear-gradient(135deg, #0e7490, var(--primary) 60%, #38bdf8); }
.svc-hero-tickets { background: linear-gradient(135deg, #1d4ed8, #0B63F3 55%, #60a5fa); }
.svc-hero-returns { background: linear-gradient(135deg, #c2410c, #F06414 55%, #fb923c); }
.svc-hero-points { background: linear-gradient(135deg, #854d0e, #F06414 40%, #0B63F3); }
.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.svc-card h2 { margin: 0 0 12px; font-size: 1.05rem; }
.svc-grid-2 {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .svc-grid-2 { grid-template-columns: 1fr 1fr; align-items: start; }
}
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-list a, .svc-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--muted-bg);
  color: inherit;
  text-decoration: none;
}
.svc-list a:hover { border-color: rgba(11, 99, 243, 0.4); background: var(--primary-soft); }
.svc-alt-links { margin-top: 8px; text-align: center; }
.svc-alt-links a { font-weight: 700; }

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--muted-bg);
  color: var(--fg);
  text-transform: capitalize;
}
.pill-info { background: var(--primary-soft); color: var(--primary-deep); }
.pill-ok { background: hsl(142 76% 94%); color: hsl(142 72% 26%); }
.pill-warn { background: var(--accent-soft); color: var(--accent-deep); }
.pill-accent { background: var(--accent); color: #fff; }
.text-success { color: var(--success); }

.chat-shell { display: flex; flex-direction: column; gap: 10px; }
.chat-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chat-thread {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, var(--primary-soft), var(--muted-bg));
  border-radius: 12px;
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.chat-bubble {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.chat-bubble p { margin: 2px 0 0; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.chat-who { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.chat-user { align-self: flex-end; background: var(--primary); color: #fff; border-color: transparent; }
.chat-user .chat-who { color: rgba(255,255,255,0.8); }
.chat-agent, .chat-bot, .chat-system { align-self: flex-start; }
.chat-bot { border-color: rgba(8, 145, 178, 0.35); background: #ecfeff; }
.chat-compose { display: flex; gap: 8px; }
.chat-compose input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 0;
}
.chat-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.chat-poll-note { font-size: 12px; margin: 0; }
.chat-time { font-size: 11px; display: block; margin-top: 4px; }

.points-balance {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-soft), var(--primary-soft));
  border-color: rgba(240, 100, 20, 0.3);
}
.points-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-deep);
  line-height: 1.1;
}
.points-tier { flex: 1; min-width: 160px; }

/* Colored section bands (home) */
.section-head h2 { color: var(--fg); }
.trust-section, .trust-product {
  background: linear-gradient(135deg, var(--cyan-soft), #fff);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: calc(var(--radius) + 2px);
  padding: 14px;
}
.info-hero {
  background: linear-gradient(135deg, var(--primary-soft), #fff 60%, var(--accent-soft));
  border: 1px solid rgba(11, 99, 243, 0.15);
  border-radius: calc(var(--radius) + 4px);
  padding: 18px;
  margin-bottom: 18px;
}
a.info-card {
  background: linear-gradient(180deg, #fff, var(--muted-bg));
  border-color: rgba(11, 99, 243, 0.14);
}
a.info-card:nth-child(3n) { background: linear-gradient(180deg, #fff, var(--accent-soft)); }
a.info-card:nth-child(3n+1) { background: linear-gradient(180deg, #fff, var(--primary-soft)); }
a.info-card:nth-child(3n+2) { background: linear-gradient(180deg, #fff, var(--cyan-soft)); }

.account-hero {
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft), var(--card)) !important;
}

/* ── Print (clean invoice / order) ── */
@media print {
  .site-header, .drawer, .nav-drawer, .nav-backdrop, .site-footer, .flash-bar, .no-print, #menuBtn, .bottom-nav { display: none !important; }
  html, body { background: #fff !important; height: auto !important; min-height: 0 !important; }
  .section, .order-detail { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
  .card-block { border: none !important; padding: 0 0 14px !important; margin: 0 0 10px !important; break-inside: avoid; }
}

/* ── Order tracking timeline (lite / low-end) ── */
.track-panel { margin-top: 4px; }
.track-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.track-steps { list-style: none; margin: 0; padding: 0; }
.track-step { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.track-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--border, #e5e7eb);
}
.track-step.is-done:not(:last-child)::before { background: #2E7CF6; }
.track-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border, #d1d5db);
  background: #fff; flex-shrink: 0; margin-top: 2px;
}
.track-step.is-done .track-dot { border-color: #2E7CF6; background: #2E7CF6; }
.track-step.is-current .track-dot { box-shadow: 0 0 0 3px rgba(46,124,246,.2); }
.track-step-label { font-weight: 600; font-size: 14px; }
.track-step-now { display: inline-block; margin-left: 6px; font-size: 11px; color: #2E7CF6; font-weight: 600; }
.track-shipments { margin-top: 14px; }
.track-ship-row { padding: 8px 0; border-top: 1px solid var(--border, #eee); }
.track-events { list-style: none; margin: 12px 0 0; padding: 0; }
.track-events li { padding: 6px 0; border-top: 1px solid var(--border, #f3f4f6); font-size: 13px; display: flex; flex-direction: column; gap: 2px; }

/* ── Auth social ── */
.auth-social { margin-top: 18px; }
.auth-or { position: relative; text-align: center; margin: 0 0 12px; }
.auth-or span { background: var(--bg, #fff); padding: 0 10px; position: relative; z-index: 1; }
.auth-or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--border, #e5e7eb); }
.auth-google { width: 100%; text-align: center; }

/* ── Chat quick actions + rich cards (lite / low-end) ── */
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 4px; }
.chip-btn {
  display: inline-block;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a !important;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.chip-btn:hover { border-color: #2E7CF6; color: #2E7CF6 !important; }
.chip-btn-primary { background: #2E7CF6; border-color: #2E7CF6; color: #fff !important; }
.chip-btn-primary:hover { filter: brightness(1.05); color: #fff !important; }
.chat-inline-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-type-tag { font-size: 11px; margin-top: 2px; }
.chat-products { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chat-product {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}
.chat-product-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
  background: #e2e8f0;
}
.chat-product-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.chat-product-name { font-weight: 700; font-size: 13px; color: #0f172a; }
.chat-product-price { font-weight: 700; color: #2E7CF6; font-size: 13px; }
.chat-product-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chat-order { margin-top: 8px; padding: 8px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; }
.chat-order-timeline { margin: 8px 0 0; padding-left: 18px; font-size: 12px; }
.chat-order-timeline .is-done { font-weight: 600; color: #15803d; }
.chat-system-action { margin-top: 8px; }
