/* ==========================================================
   PUMIVA – Brand Stylesheet
   Color tokens derived from the reference packaging:
   - Deep navy band at bottom: #1A3560  (primary brand anchor)
   - Mid blue section: #2A5BA8          (accent)
   - Top white + wordmark navy #0F2748 retained for text
   ========================================================== */
:root {
  --c-navy:        #0F2748;   /* Dark navy wordmark */
  --c-navy-deep:   #1A3560;   /* Deep navy — packaging bottom band */
  --c-blue:        #2A5BA8;   /* Mid blue — packaging main section */
  --c-blue-mid:    #3A6FC4;   /* Slightly lighter mid-blue */
  --c-blue-soft:   #EDF2FA;   /* Pale blue background */
  --c-blue-line:   #C5D4EE;   /* Soft blue border */
  --c-white:       #FFFFFF;
  --c-gray-50:     #F5F7FB;
  --c-gray-100:    #EEF2F8;
  --c-gray-300:    #CBD5E1;
  --c-gray-500:    #64748B;
  --c-gray-700:    #334155;
  --c-text:        #0F2748;
  --c-text-soft:   #3A4D6B;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 39, 72, 0.06);
  --shadow:    0 6px 20px rgba(15, 39, 72, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 39, 72, 0.12);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

/* The `hidden` attribute must win over the layout rules below.
   Overlays such as .cart-overlay set an explicit position/display and
   would otherwise stay in the layout (invisible, but still intercepting
   clicks) instead of being removed by the user-agent
   `[hidden] { display: none }` rule. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-navy-deep);   /* Whole site uses the deep navy band color */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--c-blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--c-blue-mid);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------ Buttons ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(58, 123, 213, 0.35);
}
.btn-primary:hover {
  background: var(--c-navy-deep);   /* Deep navy — packaging bottom band */
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(26, 53, 96, 0.3);
}
.btn-secondary {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-blue-line);
}
.btn-secondary:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--c-navy);
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--c-blue); }

/* ------------------ Header ------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #0f2748;   /* Solid deep navy bar */
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo { height: 40px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--c-white);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 2px;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--c-blue-line); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Nav item that opens the contact form */
.nav-links a.nav-contact-btn {
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.nav-links a.nav-contact-btn::after { display: none; }
.nav-links a.nav-contact-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.55);
  color: var(--c-white);
}
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  position: relative;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after  { position: absolute; top:  7px; left: 0; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--c-navy-deep);
  z-index: 40;
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  color: var(--c-white);
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
}
.mobile-menu a:hover { background: rgba(255,255,255,.08); color: var(--c-blue-line); }

/* ------------------ Hero ------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(15,39,72,.35), transparent 50%),
    linear-gradient(160deg, #3A6FC4 0%, #2A5BA8 55%, #1F4A92 100%);
  overflow: hidden;
  padding: 152px 0 100px;
  color: var(--c-white);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .35;
}
.hero::before {
  width: 520px; height: 520px;
  right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(255,255,255,.4), transparent 60%);
  border-radius: 50%;
}
.hero::after {
  width: 600px; height: 380px;
  left: -200px; bottom: -200px;
  background: radial-gradient(ellipse, rgba(255,255,255,.18), transparent 70%);
  border-radius: 50%;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 60px;
}
.hero-content { max-width: 560px; align-self: center; }
.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--c-white);
  font-weight: 800;
}
.hero p.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,.85);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.hero-trust .dot {
  width: 6px; height: 6px;
  background: var(--c-white);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 520px;
}

/* === VERTICAL MINI UI STACK (right of the hero video) === */
.hero-mini-stack {
  position: absolute;
  top: 50%;
  left: calc(50% + 240px); /* 视频卡片宽 460 / 2 + 间隙 */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}
.hero-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 240px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(8, 24, 60, 0.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.hero-mini-card:hover {
  transform: translateY(-3px) translateX(2px);
  box-shadow: 0 16px 36px rgba(8, 24, 60, 0.32);
  background: #fff;
}
.hero-mini-card:focus-visible {
  outline: 3px solid #3a6fcf;
  outline-offset: 2px;
}
.hero-mini-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a4f8f 0%, #3a6fcf 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(42, 79, 143, 0.4);
}
.hero-mini-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  flex: 1 1 auto;
}
.hero-mini-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7c9a;
  margin-bottom: 4px;
}
.hero-mini-title {
  font-size: 15px;
  font-weight: 700;
  color: #14233f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-mini-arrow {
  flex: 0 0 auto;
  color: #6b7c9a;
  transition: transform .2s ease, color .2s ease;
}
.hero-mini-card:hover .hero-mini-arrow {
  transform: translateX(3px);
  color: #3a6fcf;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 80%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  border-radius: 36px;
  background: radial-gradient(ellipse, rgba(80,140,255,.18), rgba(80,140,255,0) 70%);
  z-index: 0;
  filter: blur(24px);
}
/* === HERO CARD — large, immersive product video / poster showcase === */
.hero-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 28px;
  overflow: hidden;
  background: #0a1c38;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
/* Portrait product card inside a landscape-friendly wrapper */
.hero-card-video {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* portrait, matches product image shape */
}
/* Video fills the card, letterbox with dark bg if needed */
.hero-card-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a1c38;
  border-radius: inherit;
  cursor: pointer;
}
/* Glow behind the product */
.hero-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(80,140,255,.3) 0%, rgba(80,140,255,0) 65%);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
/* Fallback static image (shown before video loads) */
.hero-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a1c38;
  border-radius: inherit;
  z-index: 0;
  display: block;
}
/* Bottom info pills */
.hero-card-tag {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font: 600 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-card-badge {
  position: absolute;
  right: 20px;
  bottom: 16px;
  z-index: 2;
  color: #0a1c38;
  background: #4cd0a4;
  padding: 8px 14px;
  border-radius: 999px;
  font: 700 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 6px 18px rgba(76,208,164,.35);
}
/* Video overlay controls */
/* Custom play button (shown only if autoplay is blocked) */
.hero-play-btn {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  background: rgba(255,255,255,0.92);
  color: #0a1c38;
  border: none;
  border-radius: 999px;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.2);
  transition: transform .18s ease, box-shadow .18s ease, background .15s ease;
}
.hero-play-btn:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 4px 12px rgba(0,0,0,.25);
}
.hero-play-btn:active {
  transform: translate(-50%, -50%) scale(0.96);
}
.hero-play-btn svg { display: block; }
/* Hide the play button when the <video> has the .playing class */
#heroVid.playing ~ #heroPlayBtn { display: none; }
/* Honor the native [hidden] attribute too */
.hero-play-btn[hidden] { display: none !important; }

/* Bottom control strip on the video (mute toggle + loop label) */
.hero-vid-controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 4;
}
.hero-vid-controls[hidden] { display: none !important; }
.hero-mini-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font: 500 12px/1 var(--font-sans, system-ui, sans-serif);
  cursor: pointer;
  transition: background .2s ease;
}
.hero-mini-btn:hover { background: rgba(0,0,0,0.75); }
.hero-loop-tag {
  pointer-events: none;
  font: 500 11px/1 var(--font-sans, system-ui, sans-serif);
  color: #fff;
  background: rgba(255,255,255,0.18);
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ------------------ Sections ------------------ */
.section {
  padding: 100px 0;
  background: var(--c-navy-deep);
  color: var(--c-white);
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-white);
  background: rgba(255,255,255,.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--c-white);
  letter-spacing: -0.01em;
  font-weight: 800;
}
.section-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head { text-align: center; }

/* ------------------ Benefits ------------------ */
.benefits {
  background: var(--c-navy-deep);
  color: var(--c-white);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  color: var(--c-white);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  border-color: rgba(255,255,255,.28);
}
.benefit-icon {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  color: var(--c-white);
  margin-bottom: 22px;
}
.benefit-icon svg { width: 36px; height: 36px; }
.benefit-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--c-white);
  font-weight: 700;
}
.benefit-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.6;
}

/* ------------------ Where to use ------------------ */
.where-to-use {
  background: var(--c-navy-deep);
  color: var(--c-white);
}
.where-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
  max-width: 100%;
  margin: 0 auto 36px;
}
.use-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.use-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--c-white);
  width: 100%;
  font: inherit;
  cursor: pointer;
  appearance: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  scroll-margin-top: 100px;
}
.use-card:hover {
  transform: translateX(3px);
  border-color: rgba(110, 168, 255, .55);
  background: rgba(255,255,255,.08);
}
.use-card:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 3px;
}
.use-card.is-active {
  border-color: var(--c-white);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 10px 26px rgba(0,0,0,.25);
}
.use-illu {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a4f8f 0%, #3a6fcf 100%);
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(42, 79, 143, .5);
}
.use-illu svg { width: 32px; height: 32px; }
.use-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.use-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.use-card h3 {
  font-size: 17px;
  margin: 0;
  color: var(--c-white);
  font-weight: 700;
}
.use-card p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Right column: 2 carousels stacked (no video) */
.where-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* Top & bottom carousels */
.where-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  height: 320px;
}
.where-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.where-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.where-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.where-carousel-slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
}
.where-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.where-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.where-carousel-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* Right video */
.where-video { margin: 0; display: flex; align-items: stretch; justify-content: center; }
.where-video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2240 0%, #1d3a72 100%);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  /* Vertical video: 9:16 — height matches right column (2 carousels + gap) */
  width: 100%;
  max-width: 440px;
  height: calc((320px * 2) + 18px);
  max-height: 720px;
}
.where-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0d2240;
}
.where-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.92);
  color: #0d2240;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.where-play-btn:hover { background: #fff; transform: translate(-50%, -50%) scale(1.04); }
.where-play-btn:focus-visible { outline: 2px solid #9bc1ff; outline-offset: 3px; }
.where-video-frame.is-playing .where-play-btn,
.where-video-frame.is-autoplaying .where-play-btn { opacity: 0; pointer-events: none; }
.where-video-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: rgba(13, 34, 64, .78);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.where-note {
  background: rgba(255,255,255,.08);
  border-left: 4px solid var(--c-white);
  padding: 18px 22px;
  border-radius: 12px;
  color: var(--c-white);
  font-size: 15px;
  max-width: 820px;
  margin: 0 auto;
}

/* ------------------ How to use ------------------ */
.how-to-use { background: var(--c-navy-deep); color: var(--c-white); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.step {
  text-align: center;
  position: relative;
  padding: 24px 18px;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-navy-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.step h4 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--c-white);
  font-weight: 700;
}
.step p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
}
.caution {
  background: rgba(255,210,80,.12);
  border: 1px solid rgba(255,210,80,.32);
  border-left: 4px solid #F2C04A;
  color: #FFE9A8;
  padding: 20px 24px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.caution-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  color: #F2C04A;
}

/* ------------------ Product feature ------------------ */
.product-feature {
  background: var(--c-navy-deep);
  color: var(--c-white);
}
.product-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.product-image-wrap {
  position: relative;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
}
.product-image-wrap img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 14px;
}
.product-info h2 { margin-top: 0; color: var(--c-white); }
.product-info p { color: rgba(255,255,255,.78); font-size: 16px; }
.product-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.product-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--c-white);
  font-size: 15px;
}
.bullet-tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.bullet-tick svg { width: 12px; height: 12px; }

.product-data-box {
  margin-top: 28px;
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.product-data-box strong {
  display: block;
  color: var(--c-white);
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------ PRODUCT LINE-UP ------------------ */
.product-lineup {
  background: var(--c-navy);
  color: var(--c-white);
}
.product-lineup .section-title { color: var(--c-white); }
.product-lineup .section-subtitle { color: rgba(255,255,255,.75); }
.product-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 26px 60px rgba(0,0,0,.38);
}
.product-card-media {
  position: relative;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,.95), transparent 62%),
    linear-gradient(160deg, #E8EFFA 0%, #C9D9F2 100%);
  padding: 26px 26px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.product-card-media img {
  width: 100%;
  max-width: 280px;
  height: auto;
}
.product-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.product-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-title {
  margin: 0 0 8px;
  font-size: 21px;
  color: var(--c-white);
}
.product-card-desc {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
}
.product-card-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.product-card-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
}
.product-card-specs span { color: rgba(255,255,255,.6); }
.product-card-specs strong { color: var(--c-white); text-align: right; }
.product-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.product-card-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.01em;
}
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---- Out of stock (driven by the merchant console) ---- */
.product-card .btn.is-out-of-stock,
.product-card .btn:disabled {
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.55);
  cursor: not-allowed;
  border-color: rgba(255,255,255,.14);
}
.product-card.is-hidden { display: none !important; }

/* ---- Quantity picker (cart drawer only) ---- */
.qty-picker {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 3px;
}
.qty-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .18s var(--ease);
}
.qty-btn svg { width: 16px; height: 16px; }
.qty-btn:hover { background: rgba(255,255,255,.16); }
.qty-btn:focus-visible { outline: 2px solid var(--c-blue-mid); outline-offset: 1px; }
.qty-input {
  width: 34px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--c-white);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }

/* ---- Cart toggle button in header ---- */
.cart-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cart-toggle:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.cart-toggle svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--c-blue-mid);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  border: 2px solid var(--c-navy);
}
.cart-count[data-count="0"] { display: none; }

/* ---- Header order button (sits before the cart icon) ---- */
.order-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.order-toggle:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.order-toggle svg { width: 21px; height: 21px; }
.order-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #F5A623;
  color: #1A3560;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  border: 2px solid var(--c-navy);
}
.order-count[data-count="0"] { display: none; }

/* ============ Header tooltip (cart / orders) ============ */
.header-tip {
  position: fixed;
  z-index: 200;
  min-width: 240px;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--c-navy-deep);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 40px rgba(4,12,26,.5);
  color: var(--c-white);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  pointer-events: none;
}
.header-tip.is-visible { opacity: 1; transform: translateY(0); }

/* little arrow pointing up at the button */
.header-tip::after {
  content: '';
  position: absolute;
  top: -6px;
  left: var(--tip-arrow, 50%);
  margin-left: -6px;
  width: 12px;
  height: 12px;
  background: var(--c-navy-deep);
  border-left: 1px solid rgba(255,255,255,.18);
  border-top: 1px solid rgba(255,255,255,.18);
  transform: rotate(45deg);
}

.header-tip-inner { display: flex; flex-direction: column; gap: 5px; }
.header-tip-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-white);
}
.header-tip-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
}
.header-tip-sub.is-warn { color: #F5A623; }
.header-tip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.8);
}
.header-tip-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-tip-price { color: var(--c-white); font-weight: 700; flex: none; }
.header-tip-badge {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(127,178,255,.16);
  color: #7FB2FF;
  white-space: nowrap;
}
.header-tip-badge.st-unpaid    { background: rgba(245,166,35,.18); color: #F5A623; }
.header-tip-badge.st-paid      { background: rgba(126,224,168,.16); color: #7EE0A8; }
.header-tip-badge.st-processing{ background: rgba(127,178,255,.16); color: #7FB2FF; }
.header-tip-badge.st-shipped   { background: rgba(127,178,255,.16); color: #7FB2FF; }
.header-tip-badge.st-delivered { background: rgba(126,224,168,.16); color: #7EE0A8; }
.header-tip-badge.st-cancelled { background: rgba(255,120,120,.16); color: #FF8A8A; }
.header-tip-total {
  margin-top: 3px;
  padding-top: 7px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 800;
  color: var(--c-white);
}
.header-tip-cta {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #7FB2FF;
}

/* ---- Cart drawer ---- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,16,32,.6);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.cart-overlay.is-open { opacity: 1; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--c-navy);
  border-left: 1px solid rgba(255,255,255,.14);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.4);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  flex-shrink: 0;
}
.cart-title { margin: 0; font-size: 20px; color: var(--c-white); }
.cart-close {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background .2s var(--ease);
}
.cart-close:hover { background: rgba(255,255,255,.12); }
.cart-close svg { width: 18px; height: 18px; }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
}
.cart-item-media {
  width: 72px; height: 72px;
  border-radius: 10px;
  background: linear-gradient(160deg, #E8EFFA 0%, #C9D9F2 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cart-item-media img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-name { margin: 0 0 3px; font-size: 15px; font-weight: 700; color: var(--c-white); }
.cart-item-meta { margin: 0 0 8px; font-size: 12px; color: rgba(255,255,255,.6); }
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.cart-item-price { font-size: 15px; font-weight: 800; color: var(--c-white); white-space: nowrap; }
.cart-item-remove {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color .2s var(--ease);
}
.cart-item-remove:hover { color: #ff9a9a; }
.cart-empty {
  margin: 40px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.cart-empty[hidden] { display: none; }
.cart-foot {
  flex-shrink: 0;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: rgba(255,255,255,.8);
  margin-bottom: 6px;
}
.cart-total-row strong { font-size: 22px; color: var(--c-white); }
.cart-shipping-note { margin: 0 0 16px; font-size: 12px; color: rgba(255,255,255,.5); }
.cart-checkout { width: 100%; }
.cart-checkout:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.cart-clear {
  width: 100%;
  margin-top: 10px;
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 24px);
  background: var(--c-navy);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ================= ORDERS SECTION ================= */
.orders-section { background: var(--c-navy-deep); }

/* Link-styled button (also used by the saved-details "Manage" action) */
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: #7fb2ff;
  font: inherit;
  font-size: 12.5px;
  text-decoration: underline;
}
.link-btn:hover { color: #a8cbff; }

/* ---- Orders panel ---- */
.orders-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.orders-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.orders-panel-head h3 { margin: 0; font-size: 18px; color: var(--c-white); font-weight: 700; }
.orders-panel-count { font-size: 13px; color: rgba(255,255,255,.5); }

.orders-empty {
  text-align: center;
  padding: 34px 20px;
  color: rgba(255,255,255,.5);
}
.orders-empty svg { width: 42px; height: 42px; margin: 0 auto 12px; display: block; opacity: .45; }
.orders-empty p { margin: 0 0 16px; font-size: 14px; }
.orders-empty .btn { display: inline-flex; }

.orders-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

/* ---- Order card ---- */
.order-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  overflow: hidden;
}
.order-card.is-unpaid { border-color: rgba(245,166,35,.45); }

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 15px 18px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.order-card-id { display: flex; flex-direction: column; gap: 2px; }
.order-card-no { font-size: 15px; font-weight: 800; color: var(--c-white); letter-spacing: .02em; }
.order-card-date { font-size: 12px; color: rgba(255,255,255,.5); }

/* Status badge */
.order-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}
.order-status .st-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.order-status.st-paid      { background: rgba(126,224,168,.16); color: #7EE0A8; }
.order-status.st-processing{ background: rgba(127,178,255,.16); color: #7FB2FF; }
.order-status.st-unpaid    { background: rgba(245,166,35,.18);  color: #F5A623; }
.order-status.st-shipped   { background: rgba(127,178,255,.16); color: #7FB2FF; }
.order-status.st-delivered { background: rgba(126,224,168,.16); color: #7EE0A8; }
.order-status.st-cancelled { background: rgba(255,120,120,.16); color: #FF8A8A; }

.order-card-body { padding: 16px 18px; }

/* ============ Courier tracking panel ============ */
.courier-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.courier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.courier-brand { display: flex; align-items: center; gap: 10px; }
.courier-logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--courier-accent, #C8102E);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  flex: none;
}
.courier-brand-text { display: flex; flex-direction: column; gap: 2px; }
.courier-name { font-size: 13.5px; font-weight: 700; color: var(--c-white); }
.courier-no {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .03em;
}
.courier-status { text-align: right; }
.courier-status-label {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #7FB2FF;
}
.courier-status-sub { display: block; font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* progress bar */
.courier-bar { display: flex; gap: 4px; margin-bottom: 14px; }
.courier-seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}
.courier-seg.is-done { background: rgba(127,178,255,.55); }
.courier-seg.is-current {
  background: #7FB2FF;
  box-shadow: 0 0 0 3px rgba(127,178,255,.18);
}

/* scan history */
.courier-events { list-style: none; margin: 0; padding: 0; }
.courier-event {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 0 0 14px 0;
}
.courier-event:last-child { padding-bottom: 0; }
.courier-event::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.12);
}
.courier-event:last-child::before { display: none; }
.courier-event-dot {
  position: relative;
  z-index: 1;
  width: 12px; height: 12px;
  border-radius: 50%;
  margin-top: 3px;
  flex: none;
  background: var(--c-navy-deep);
  border: 2px solid rgba(255,255,255,.28);
}
.courier-event.is-latest .courier-event-dot {
  background: #7FB2FF;
  border-color: #7FB2FF;
  box-shadow: 0 0 0 4px rgba(127,178,255,.16);
}
.courier-event-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.courier-event-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.courier-event-label { font-size: 13px; font-weight: 700; color: var(--c-white); }
.courier-event-time { font-size: 11px; color: rgba(255,255,255,.42); }
.courier-event-desc { font-size: 12px; color: rgba(255,255,255,.62); }
.courier-event-loc { font-size: 11.5px; color: rgba(255,255,255,.4); }
.courier-event.is-latest .courier-event-label { color: #7FB2FF; }

/* footer */
.courier-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.courier-eta { font-size: 12px; color: rgba(255,255,255,.6); }
.courier-link {
  font-size: 12px;
  font-weight: 700;
  color: #7FB2FF;
  text-decoration: none;
}
.courier-link:hover { color: #a8cbff; text-decoration: underline; }

/* highlight when jumped to from the "View tracking" button */
.courier-panel.is-flash {
  animation: courierFlash 1.4s ease;
}
@keyframes courierFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(127,178,255,0); }
  25%      { box-shadow: 0 0 0 2px rgba(127,178,255,.55); }
}

/* Order timeline */
.order-timeline {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  position: relative;
}
.order-tl-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: relative;
  text-align: center;
}
.order-tl-step::before {
  content: '';
  position: absolute;
  top: 7px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.15);
  z-index: 0;
}
.order-tl-step:first-child::before { display: none; }
.order-tl-step.is-done::before,
.order-tl-step.is-current::before { background: rgba(126,224,168,.55); }
.order-tl-dot {
  position: relative;
  z-index: 1;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-navy-deep);
  border: 2px solid rgba(255,255,255,.28);
}
.order-tl-step.is-done .order-tl-dot { background: #7EE0A8; border-color: #7EE0A8; }
.order-tl-step.is-current .order-tl-dot {
  background: #7FB2FF;
  border-color: #7FB2FF;
  box-shadow: 0 0 0 4px rgba(127,178,255,.2);
}
.order-tl-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.42); line-height: 1.3; }
.order-tl-step.is-done .order-tl-label,
.order-tl-step.is-current .order-tl-label { color: var(--c-white); }
.order-tl-date { font-size: 10px; color: rgba(255,255,255,.4); }

/* Order items */
.order-items { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.order-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
}
.order-item-media {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: linear-gradient(160deg, #E8EFFA 0%, #C9D9F2 100%);
  overflow: hidden;
  position: relative;
}
.order-item-media img { width: 100%; height: 100%; object-fit: contain; }
.order-item-qty {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 17px; height: 17px;
  border-radius: 999px;
  background: var(--c-blue-mid);
  color: #fff;
  font-size: 10px; font-weight: 800;
  line-height: 17px; text-align: center;
  border: 2px solid var(--c-navy);
}
.order-item-name { font-size: 13.5px; font-weight: 700; color: var(--c-white); margin: 0 0 2px; }
.order-item-meta { font-size: 11.5px; color: rgba(255,255,255,.5); margin: 0; }
.order-item-price { font-size: 13.5px; font-weight: 700; color: var(--c-white); white-space: nowrap; }

/* Order info grid */
.order-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.order-info-group { min-width: 0; }
.order-info-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.42);
  margin-bottom: 5px;
}
.order-info-value { font-size: 13px; color: var(--c-white); line-height: 1.55; }
.order-info-value.dim { color: rgba(255,255,255,.6); }

.order-totals {
  display: grid;
  gap: 7px;
  padding: 13px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.order-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; }
.order-totals dt { color: rgba(255,255,255,.6); margin: 0; }
.order-totals dd { color: var(--c-white); font-weight: 700; margin: 0; }
.order-totals .order-grand { margin-top: 4px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.12); }
.order-totals .order-grand dt { font-size: 14px; font-weight: 700; color: var(--c-white); }
.order-totals .order-grand dd { font-size: 18px; font-weight: 800; }
.order-totals .due-label { color: #F5A623; font-weight: 700; }

/* Unpaid notice */
.order-unpaid-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  margin-bottom: 14px;
  background: rgba(245,166,35,.11);
  border: 1px solid rgba(245,166,35,.32);
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.85);
}
.order-unpaid-notice svg { width: 18px; height: 18px; flex-shrink: 0; color: #F5A623; margin-top: 1px; }
.order-unpaid-notice strong { color: #F5A623; }

/* Order actions */
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.order-actions .btn { font-size: 13px; padding: 9px 17px; }
.btn-sm-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--c-white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 17px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.btn-sm-ghost:hover { background: rgba(255,255,255,.16); }

@media (max-width: 720px) {
  .order-tl-label { font-size: 10px; }
  .order-tl-date { display: none; }
  .order-card-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ================= SAVED DETAILS (address book) ================= */
.saved-picker {
  background: rgba(127,178,255,.08);
  border: 1px solid rgba(127,178,255,.24);
  border-radius: 13px;
  padding: 13px 15px 14px;
  margin-bottom: 20px;
}
.saved-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.saved-picker-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9cc3ff;
}
.saved-chips { display: flex; flex-wrap: wrap; gap: 9px; }

.saved-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: var(--c-white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  max-width: 100%;
}
.saved-chip:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.38); }
.saved-chip-icon {
  width: 17px; height: 17px;
  flex-shrink: 0;
  color: #9cc3ff;
}
.saved-chip-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-chip-sub { font-size: 11px; font-weight: 400; color: rgba(255,255,255,.5); }
.saved-chip.is-active {
  background: rgba(127,178,255,.22);
  border-color: var(--c-blue-mid);
}

/* Save checkbox row */
.check-row-save {
  padding: 11px 13px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 11px;
  margin: 4px 0 0;
}
.save-name-row { margin-top: 12px; }
.save-name-row .field input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: var(--c-white);
  font: inherit;
  font-size: 14px;
  padding: 10px 13px;
  width: 100%;
}
.save-name-row .field input::placeholder { color: rgba(255,255,255,.34); }
.save-name-row .field input:focus {
  outline: none;
  border-color: var(--c-blue-mid);
  background: rgba(255,255,255,.11);
}

/* ---- Manage saved details modal ---- */
.saved-manage-box { max-width: 540px; text-align: left; }

/* ============ Contact / feedback modal ============ */
.contact-box {
  max-width: 560px;
  text-align: left;
  padding: 30px 30px 26px;
}
.contact-box .confirm-box-head { margin-bottom: 10px; }
.contact-box .saved-manage-note { margin-bottom: 20px; }

.contact-box .field label,
.contact-box .field-label { font-size: 13px; }

.contact-box .field {
  margin-bottom: 16px;
}
.contact-box .field select,
.contact-box .field textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: var(--c-white);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact-box .field select option { background: var(--c-navy); color: #fff; }
.contact-box .field select:focus,
.contact-box .field textarea:focus {
  outline: none;
  border-color: var(--c-blue-mid);
  background: rgba(255,255,255,.11);
}
.contact-box .field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.contact-box .field textarea::placeholder { color: rgba(255,255,255,.34); }
.contact-box .field.has-error select,
.contact-box .field.has-error textarea {
  border-color: #ff8080;
  background: rgba(255,120,120,.09);
}
.contact-box .field-hint { margin: 7px 0 0; font-size: 12px; color: rgba(255,255,255,.45); }
.contact-box .field-error { margin: 6px 0 0; font-size: 12px; color: #ff9a9a; display: none; }
.contact-box .field-error.has-error { display: block; }

/* email line — sits directly under the modal title */
.contact-email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(127,178,255,.09);
  border: 1px solid rgba(127,178,255,.26);
}
.contact-email-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(127,178,255,.16);
  color: #7FB2FF;
}
.contact-email-icon svg { width: 18px; height: 18px; }
.contact-email-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.contact-email-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  color: rgba(255,255,255,.5);
}
.contact-email-link {
  color: #9CC3FF;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  word-break: break-all;
}
.contact-email-link:hover { text-decoration: underline; color: var(--c-white); }

/* footer with response-time note */
.contact-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.contact-response-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.6);
}
.contact-response-note svg {
  width: 17px; height: 17px;
  flex: none;
  margin-top: 1px;
  color: #F5A623;
}
.contact-response-note strong { color: var(--c-white); }
.contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-actions .btn { min-width: 120px; }

.confirm-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}
.confirm-box-head h2 { margin: 0; font-size: 21px; color: var(--c-white); }
.saved-manage-note {
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
}
.saved-manage-list { display: grid; gap: 10px; max-height: 46vh; overflow-y: auto; }
.saved-manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
}
.saved-manage-info { min-width: 0; }
.saved-manage-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--c-white);
  margin: 0 0 2px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.saved-manage-tag {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(127,178,255,.2);
  color: #9cc3ff;
}
.saved-manage-detail {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin: 0;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.saved-manage-actions { display: flex; gap: 7px; flex-shrink: 0; }
.saved-manage-btn {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--c-white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.saved-manage-btn:hover { background: rgba(255,255,255,.18); }
.saved-manage-btn.is-danger { color: #FF9A9A; border-color: rgba(255,120,120,.35); }
.saved-manage-btn.is-danger:hover { background: rgba(255,120,120,.15); }
.saved-manage-empty {
  text-align: center;
  padding: 26px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.saved-manage-foot { display: flex; gap: 10px; margin-top: 20px; }
.saved-manage-foot .btn { flex: 1; }

@media (max-width: 560px) {
  .saved-chip-sub { display: none; }
}

/* ================= CHECKOUT OVERLAY ================= */
/* The `hidden` attribute must win over the display rules below. */
.checkout-overlay[hidden],
.confirm-overlay[hidden] { display: none !important; }
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,16,32,.72);
  backdrop-filter: blur(4px);
  z-index: 110;
  overflow-y: auto;
  padding: 28px 20px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.checkout-overlay.is-open { opacity: 1; }
.checkout-shell {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--c-navy);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  transform: translateY(16px);
  transition: transform .3s var(--ease);
}
.checkout-overlay.is-open .checkout-shell { transform: translateY(0); }

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.checkout-head-left { display: flex; align-items: center; gap: 16px; }
.checkout-head .brand-logo { height: 34px; width: auto; }
.checkout-head-sep { width: 1px; height: 26px; background: rgba(255,255,255,.2); }
.checkout-title { margin: 0; font-size: 19px; color: var(--c-white); font-weight: 700; }

/* ---- Progress steps ---- */
.checkout-steps { padding: 18px 26px 0; }
.checkout-steps ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
}
.checkout-steps li::after {
  content: '';
  display: block;
  width: 46px;
  height: 1px;
  background: rgba(255,255,255,.18);
  margin-left: 4px;
}
.checkout-steps li:last-child::after { display: none; }
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.55);
  transition: all .25s var(--ease);
}
.checkout-steps li.is-active { color: var(--c-white); }
.checkout-steps li.is-active .step-num {
  background: var(--c-blue-mid);
  border-color: var(--c-blue-mid);
  color: #fff;
}
.checkout-steps li.is-done { color: rgba(255,255,255,.75); }
.checkout-steps li.is-done .step-num {
  background: rgba(255,255,255,.16);
  border-color: transparent;
  color: #fff;
}
.checkout-steps li.is-done .step-num::before { content: '✓'; }

/* ---- Body layout ---- */
.checkout-body {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  padding: 24px 26px 30px;
  align-items: start;
}
.checkout-form { min-width: 0; }

.checkout-step { border: 0; margin: 0; padding: 0; }
.checkout-step[hidden] { display: none; }
.checkout-step-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--c-white);
  margin: 0 0 4px;
  padding: 0;
}
.checkout-step-sub {
  margin: 0 0 22px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}

/* ---- Fields ---- */
.field { margin-bottom: 16px; min-width: 0; }
.field label, .field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 7px;
}
.req { color: #7fb2ff; }
.opt { color: rgba(255,255,255,.42); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: var(--c-white);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.34); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-blue-mid);
  background: rgba(255,255,255,.11);
}
.field input[readonly] { opacity: .6; cursor: not-allowed; }
.field select option { background: var(--c-navy); color: #fff; }
.field textarea { resize: vertical; min-height: 60px; }
.field-row { display: grid; grid-template-columns: 1fr 130px 130px; gap: 14px; }
.field-hint { margin: 6px 0 0; font-size: 12px; color: rgba(255,255,255,.45); }
.field-error {
  margin: 6px 0 0;
  font-size: 12px;
  color: #ff9a9a;
  min-height: 0;
  display: none;
}
.field-error.has-error { display: block; }
.field.has-error input, .field.has-error select { border-color: #ff8080; background: rgba(255,120,120,.09); }

.input-icon-wrap { position: relative; }
.input-icon-wrap input { padding-right: 44px; }
.input-icon {
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  color: rgba(255,255,255,.4);
  pointer-events: none;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  cursor: pointer;
  margin: 4px 0 18px;
  line-height: 1.5;
}
.check-row input {
  width: 17px; height: 17px;
  margin: 1px 0 0;
  accent-color: var(--c-blue-mid);
  flex-shrink: 0;
}
.check-row a { color: #7fb2ff; }

/* ---- Shipping options ---- */
.ship-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ship-option {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ship-option:hover { border-color: rgba(255,255,255,.32); }
.ship-option input { accent-color: var(--c-blue-mid); width: 17px; height: 17px; flex-shrink: 0; }
.ship-option:has(input:checked) {
  border-color: var(--c-blue-mid);
  background: rgba(127,178,255,.11);
}
.ship-option-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ship-option-title { font-size: 14px; font-weight: 700; color: var(--c-white); }
.ship-option-meta { font-size: 12px; color: rgba(255,255,255,.55); }
.ship-option-cost { font-size: 14px; font-weight: 800; color: var(--c-white); white-space: nowrap; }
.ship-free .ship-option-cost { color: #7ee0a8; }

/* ---- Payment methods ---- */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.pay-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.pay-method:hover { border-color: rgba(255,255,255,.32); }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method svg { width: 20px; height: 20px; }
.pay-method:has(input:checked) {
  border-color: var(--c-blue-mid);
  background: rgba(127,178,255,.12);
  color: var(--c-white);
}
.pay-panel[hidden] { display: none; }

.demo-note {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
  background: rgba(127,178,255,.09);
  border: 1px solid rgba(127,178,255,.24);
  border-radius: 10px;
  padding: 11px 14px;
  margin: 14px 0 0;
}
.demo-note strong { color: #9cc3ff; }

.paypal-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  margin-top: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
}
.paypal-placeholder svg { width: 22px; height: 22px; }

/* ---- Step nav ---- */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.btn-pay { display: inline-flex; align-items: center; gap: 12px; }
.btn-pay .btn-amount {
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.3);
  font-weight: 800;
}

/* ---- Summary ---- */
.checkout-summary {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  padding: 22px;
  position: sticky;
  top: 20px;
}
.summary-title { margin: 0 0 16px; font-size: 16px; color: var(--c-white); font-weight: 700; }
.summary-items { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.summary-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 11px;
  align-items: center;
}
.summary-item-media {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: linear-gradient(160deg, #E8EFFA 0%, #C9D9F2 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.summary-item-media img { width: 100%; height: 100%; object-fit: contain; }
.summary-item-qty {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--c-blue-mid);
  color: #fff;
  font-size: 10px; font-weight: 800;
  line-height: 18px; text-align: center;
  border: 2px solid var(--c-navy);
}
.summary-item-name { font-size: 13px; font-weight: 700; color: var(--c-white); margin: 0 0 2px; }
.summary-item-meta { font-size: 11px; color: rgba(255,255,255,.5); margin: 0; }
.summary-item-price { font-size: 13px; font-weight: 700; color: var(--c-white); white-space: nowrap; }

.summary-totals { margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 9px; }
.summary-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.summary-totals dt { font-size: 13px; color: rgba(255,255,255,.65); margin: 0; }
.summary-totals dd { font-size: 14px; font-weight: 700; color: var(--c-white); margin: 0; }
.summary-grand { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }
.summary-grand dt { font-size: 15px !important; font-weight: 700; color: var(--c-white) !important; display: flex; align-items: baseline; gap: 8px; }
.gst-note { font-size: 11px; font-weight: 400; color: rgba(255,255,255,.45); }
.summary-grand dd { font-size: 22px; font-weight: 800; }

.summary-trust { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; }
.summary-trust li { display: flex; align-items: center; gap: 9px; font-size: 12px; color: rgba(255,255,255,.6); }
.summary-trust svg { width: 17px; height: 17px; flex-shrink: 0; color: #7fb2ff; }

/* ================= ORDER CONFIRMATION ================= */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,16,32,.78);
  backdrop-filter: blur(4px);
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.confirm-overlay.is-open { opacity: 1; }
.confirm-box {
  max-width: 460px;
  width: 100%;
  background: var(--c-navy);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  padding: 34px 30px 28px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  transform: translateY(16px) scale(.98);
  transition: transform .3s var(--ease);
}
.confirm-overlay.is-open .confirm-box { transform: translateY(0) scale(1); }
.confirm-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(126,224,168,.14);
  border: 2px solid rgba(126,224,168,.4);
  color: #7ee0a8;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.confirm-icon svg { width: 30px; height: 30px; }
.confirm-box h2 { margin: 0 0 8px; font-size: 25px; color: var(--c-white); }
.confirm-msg { margin: 0 0 22px; font-size: 15px; color: rgba(255,255,255,.65); }
.confirm-meta {
  display: grid;
  gap: 11px;
  text-align: left;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.confirm-meta > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 13px; }
.confirm-meta span { color: rgba(255,255,255,.55); }
.confirm-meta strong { color: var(--c-white); text-align: right; }
.confirm-note { font-size: 12px; color: rgba(255,255,.5); margin: 0 0 20px; line-height: 1.6; }
.confirm-box .btn { width: 100%; }
.confirm-actions { display: flex; gap: 10px; margin-top: 4px; }
.confirm-actions .btn { flex: 1; }

/* ---- Confirmation timeline ---- */
.confirm-timeline {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
  position: relative;
}
.confirm-timeline .ct-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  text-align: center;
}
.confirm-timeline .ct-step::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.14);
}
.confirm-timeline .ct-step:first-child::before { display: none; }
.confirm-timeline .ct-step.is-done::before { background: rgba(126,224,168,.5); }
.confirm-timeline .ct-dot {
  position: relative;
  z-index: 1;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-navy);
  border: 2px solid rgba(255,255,255,.25);
}
.confirm-timeline .ct-step.is-done .ct-dot { background: #7EE0A8; border-color: #7EE0A8; }
.confirm-timeline .ct-step.is-active .ct-dot {
  background: #7FB2FF;
  border-color: #7FB2FF;
  box-shadow: 0 0 0 4px rgba(127,178,255,.2);
}
.confirm-timeline .ct-label { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,.42); line-height: 1.3; }
.confirm-timeline .ct-step.is-done .ct-label,
.confirm-timeline .ct-step.is-active .ct-label { color: var(--c-white); }

/* ---- What happens next ---- */
.confirm-next {
  text-align: left;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 16px;
}
.confirm-next h4 {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.55);
}
.confirm-next ol { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.confirm-next li { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.72); }
.confirm-next strong { color: var(--c-white); }

/* ---- Confirmation items ---- */
.confirm-items {
  text-align: left;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 14px 0;
  margin-bottom: 14px;
  display: grid;
  gap: 10px;
}
.confirm-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 11px;
  align-items: center;
}
.confirm-item-media {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: linear-gradient(160deg, #E8EFFA 0%, #C9D9F2 100%);
  overflow: hidden;
  position: relative;
}
.confirm-item-media img { width: 100%; height: 100%; object-fit: contain; }
.confirm-item-qty {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 17px; height: 17px;
  border-radius: 999px;
  background: var(--c-blue-mid);
  color: #fff;
  font-size: 10px; font-weight: 800;
  line-height: 17px; text-align: center;
  border: 2px solid var(--c-navy);
}
.confirm-item-name { font-size: 13px; font-weight: 700; color: var(--c-white); margin: 0 0 1px; }
.confirm-item-meta { font-size: 11px; color: rgba(255,255,255,.5); margin: 0; }
.confirm-item-price { font-size: 13px; font-weight: 700; color: var(--c-white); white-space: nowrap; }

.confirm-shipping {
  text-align: left;
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.confirm-shipping-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}
.confirm-shipping-row span { color: rgba(255,255,255,.55); }
.confirm-shipping-row strong { color: var(--c-white); font-weight: 700; }
.confirm-shipping-row.total {
  padding-top: 8px;
  margin-top: 3px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 15px;
}
.confirm-shipping-row.total strong { font-size: 19px; font-weight: 800; }
.confirm-shipping-row .free { color: #7EE0A8; }

/* ---- Payment failure ---- */
.confirm-icon-fail {
  background: rgba(255,120,120,.13);
  border-color: rgba(255,120,120,.4);
  color: #FF8A8A;
}
.pay-fail-reasons {
  text-align: left;
  margin: 0 0 20px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.pay-fail-reasons li { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.7); }

/* ---- Button loading state ---- */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .checkout-body { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row .field:first-child { grid-column: 1 / -1; }
  .pay-methods { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .checkout-overlay { padding: 0; }
  .checkout-shell { border-radius: 0; min-height: 100%; }
  .checkout-head { padding: 16px 18px; }
  .checkout-body { padding: 20px 18px 26px; }
  .checkout-steps { padding: 14px 18px 0; overflow-x: auto; }
  .checkout-steps li::after { width: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .step-nav { flex-direction: column-reverse; }
  .step-nav .btn { width: 100%; }
}

/* Contact modal on small screens */
@media (max-width: 560px) {
  .contact-box { padding: 22px 18px 20px; }
  .contact-box .confirm-box-head h2 { font-size: 18px; }
  .contact-foot { gap: 14px; }
  .contact-actions { flex-direction: column-reverse; }
  .contact-actions .btn { width: 100%; }
}

/* ---- Responsive ---- */
@media (max-width: 560px) {
  .product-card-foot { justify-content: space-between; }
}
.product-lineup-note {
  margin: 30px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* ------------------ FAQ ------------------ */
.faq { background: var(--c-navy-deep); color: var(--c-white); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] {
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--c-white);
  font-size: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  color: var(--c-white);
  transition: transform .25s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after  { width: 2px; height: 14px; transition: transform .25s var(--ease); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer {
  padding: 0 24px 22px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.65;
}

/* ------------------ Final CTA ------------------ */
.final-cta {
  background: linear-gradient(135deg, #2A5BA8 0%, #1A3560 100%);
  color: var(--c-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,.14), transparent 40%);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta .brand-logo {
  height: 52px;
  margin: 0 auto 24px;
}
.final-cta h2 {
  color: var(--c-white);
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.final-cta p {
  color: rgba(255,255,255,.92);
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 17px;
}
.final-cta .btn-primary {
  background: var(--c-white);
  color: var(--c-navy-deep);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.final-cta .btn-primary:hover {
  background: var(--c-blue-line);
  color: var(--c-navy-deep);
}

/* ------------------ Footer ------------------ */
.site-footer {
  background: var(--c-navy-deep);   /* Deep navy — packaging bottom band */
  color: rgba(255,255,255,.85);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-logo {
  height: 40px;
  margin-bottom: 14px;
}
.footer-brand p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--c-white);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--c-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.6);
  font-size: 13px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.footer-socials a:hover { background: var(--c-blue); color: var(--c-white); }   /* Mid blue — packaging main section */
.footer-socials svg { width: 16px; height: 16px; }

/* ------------------ Responsive ------------------ */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 80px; }
  .hero-visual { order: -1; max-width: 100%; }
  .hero-card { max-width: 100%; }
  .hero-mini-stack {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
    width: 100%;
  }
  .hero-mini-card { width: calc(50% - 7px); }
  .hero-mini-title { white-space: normal; }
  .hero-mini-arrow { display: none; }
  .benefit-grid { grid-template-columns: 1fr; gap: 20px; }
  .where-grid { grid-template-columns: 1fr; gap: 32px; }
  .where-panels { min-height: 0; }
  .where-video { min-height: 0; }
  .where-video-frame { height: auto; max-height: 480px; aspect-ratio: 9 / 16; }
  .use-list { max-width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .product-feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-image-wrap { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 70px 0; }
}

@media (max-width: 720px) {
  .nav-links, .header-cta .btn { display: none; }
  .header-cta { gap: 8px; }
  .nav-toggle { display: inline-flex; }
  .header-inner { height: 64px; }
  .brand-logo { height: 34px; }
  .hero-logo { height: 66px; }
  .mobile-menu { inset: 64px 0 0 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 60px; }
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
  .container { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
