/* =========================================================
   COMPACT — Wireless Powerbank
   Design system + component styles
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --radius: 0.75rem;

  --bone: #fafaf9;
  --ink: #17181d;

  --background: #fafaf9;
  --foreground: #17181d;
  --card: #ffffff;
  --muted: #f1f1ef;
  --muted-foreground: #6c6f78;
  --accent: #e9edf3;
  --border: #e1e0dc;

  --electric: #4fc3f7;
  --electric-glow: #a3e0ff;

  --grad-hero: radial-gradient(120% 80% at 70% 20%, #fbfbfa 0%, #e6ecf4 60%, #c3d2e0 100%);
  --grad-ink: linear-gradient(180deg, #17181d 0%, #0b0c10 100%);
  --grad-electric: linear-gradient(135deg, var(--electric) 0%, var(--electric-glow) 100%);

  --shadow-soft: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lift: 0 30px 60px -20px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 60px rgba(79,195,247,0.35);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--electric); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 64px; } }

.text-balance { text-wrap: balance; }

.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.text-electric { color: var(--electric); }
.bg-grad-ink { background: var(--grad-ink); }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.7,0,0.2,1);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 500;
  height: 56px;
  padding: 0 12px 0 28px;
  transition: transform 0.2s ease;
}
.btn:hover { transform: scale(1.02); }
.btn-light { background: #fff; color: var(--ink); }
.btn-arrow {
  height: 40px; width: 40px; border-radius: 999px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-arrow.electric { background: var(--electric); color: var(--ink); }

.btn-solid {
  height: 56px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 500; display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease, opacity .15s ease;
}
.btn-solid:hover { background: rgba(23,24,29,0.9); transform: scale(1.01); }
.btn-solid:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.4s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(250,250,249,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .nav-inner { padding: 0 40px; height: 80px; } }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; color: var(--foreground); }
.nav.on-dark .logo, .nav.on-dark .nav-link, .nav.on-dark .icon-btn { color: #fff; }
.logo .dot, .nav-links .dot { color: var(--electric); }

.nav-links { display: none; align-items: center; gap: 40px; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link { font-size: 0.875rem; color: rgba(23,24,29,0.7); transition: color .2s; }
.nav-link:hover { color: var(--foreground); }
.nav.on-dark .nav-link { color: rgba(255,255,255,0.85); }
.nav.on-dark .nav-link:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  height: 40px; width: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  color: rgba(23,24,29,0.7); transition: background .2s, color .2s; position: relative;
}
.icon-btn:hover { background: var(--muted); }
.nav.on-dark .icon-btn { color: rgba(255,255,255,0.85); }
.nav.on-dark .icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn.account { display: none; }
@media (min-width: 768px) { .icon-btn.account { display: inline-flex; } }
.icon-btn.menu-btn { display: inline-flex; }
@media (min-width: 768px) { .icon-btn.menu-btn { display: none; } }
.icon-btn svg { width: 18px; height: 18px; }
.cart-badge {
  position: absolute; top: -1px; right: -1px; height: 16px; width: 16px; border-radius: 999px;
  background: var(--electric); color: var(--ink); font-size: 10px; font-weight: 500;
  display: none; align-items: center; justify-content: center;
}
.cart-badge.show { display: flex; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff;
  display: none; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 32px; padding: 64px 24px 0; }
.mobile-menu nav a { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 80px 24px; }
@media (min-width: 768px) { .footer-inner { padding: 80px 40px; } }
.footer-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }
.footer-brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 2; } }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 0.875rem; max-width: 22rem; }
.footer ul { margin-top: 16px; }
.footer li { font-size: 0.875rem; margin-bottom: 8px; }
.footer li a:hover { color: #fff; }
.footer-bottom {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }

/* ---------------- Cart drawer ---------------- */
.overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(23,24,29,0.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 80; width: 100%; max-width: 440px;
  background: var(--background); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(0.16,1,0.3,1);
}
.cart-drawer.show { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; border-bottom: 1px solid var(--border); }
.cart-head .title { font-family: var(--font-display); font-weight: 700; }
.cart-body { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted-foreground); }
.cart-empty svg { width: 32px; height: 32px; margin-bottom: 16px; opacity: 0.4; }
.cart-empty a { margin-top: 24px; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 4px; }

.cart-item { display: flex; gap: 16px; margin-bottom: 24px; }
.cart-item .thumb { height: 96px; width: 80px; background: var(--muted); border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .row1 { display: flex; justify-content: space-between; gap: 8px; }
.cart-item .name { font-size: 0.875rem; font-weight: 500; }
.cart-item .variant { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 2px; }
.cart-item .row2 { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.cart-item .price { font-size: 0.875rem; font-weight: 500; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; }
.qty-control button { height: 32px; width: 32px; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.qty-control button:hover { background: var(--muted); }
.qty-control span { width: 32px; text-align: center; font-size: 0.875rem; }
.remove-btn svg { width: 16px; height: 16px; color: var(--muted-foreground); }
.remove-btn:hover svg { color: var(--foreground); }

.cart-footer { border-top: 1px solid var(--border); padding: 24px; display: none; flex-direction: column; gap: 16px; }
.cart-footer.show { display: flex; }
.cart-footer .line { display: flex; justify-content: space-between; font-size: 0.875rem; }
.cart-footer .sub { color: var(--muted-foreground); }
.cart-footer .ship { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted-foreground); }
.cart-footer .checkout-btn { width: 100%; text-align: center; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; height: 100svh; overflow: hidden; background: var(--ink); color: #fff;
}
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(23,24,29,0.2), transparent 55%, rgba(23,24,29,0.6)),
              linear-gradient(to right, rgba(23,24,29,0.5), transparent 60%);
}
.hero-content {
  position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 24px 64px; max-width: 1400px; margin: 0 auto;
}
@media (min-width: 768px) { .hero-content { padding: 0 64px 96px; } }
.hero-eyebrow { color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.hero h1 { max-width: 56rem; }
.hero h1 .dim { color: rgba(255,255,255,0.4); }
.hero-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; align-items: center; } }
.hero-cta .watch { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.hero-stats {
  margin-top: 56px; display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 48rem;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px;
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4,1fr); } }
.hero-stats .k { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; }
@media (min-width: 768px) { .hero-stats .k { font-size: 1.875rem; } }
.hero-stats .u { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------------- Generic sections ---------------- */
.section { position: relative; padding: 128px 24px; overflow: hidden; }
@media (min-width: 768px) { .section { padding: 128px 64px; } }
.section.lg { padding: 128px 24px; }
@media (min-width: 768px) { .section.lg { padding: 192px 64px; } }
.section.dark { background: var(--ink); color: #fff; }
.section-inner { max-width: 1400px; margin: 0 auto; }

/* Problem section */
.problem-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(12,1fr); } }
.problem-text { grid-column: span 12; }
@media (min-width: 768px) { .problem-text { grid-column: span 7; } }
.problem-text p { margin-top: 32px; font-size: 1.125rem; color: var(--muted-foreground); max-width: 36rem; line-height: 1.7; }
@media (min-width: 768px) { .problem-text p { font-size: 1.25rem; } }
.problem-stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 28rem; }
.problem-stats .big { grid-column: span 1; font-family: var(--font-display); font-weight: 700; font-size: 3rem; }
.problem-stats .lbl { grid-column: span 2; align-self: flex-end; padding-bottom: 4px; font-size: 0.875rem; }
.problem-stats .cap { grid-column: span 3; border-top: 1px solid var(--border); padding-top: 16px; font-size: 0.75rem; color: var(--muted-foreground); }
.problem-media { grid-column: span 12; position: relative; aspect-ratio: 3/2; border-radius: 16px; overflow: hidden; background: var(--muted); }
@media (min-width: 768px) { .problem-media { grid-column: span 5; } }
.problem-media img { width: 100%; height: 100%; object-fit: cover; }
.problem-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,24,29,0.4), transparent); }

/* Solution section */
.solution-header { max-width: 48rem; }
.solution-header h2 { margin-top: 4px; }
.solution-media { margin-top: 80px; position: relative; aspect-ratio: 3/2; border-radius: 24px; overflow: hidden; background: #fff; }
.solution-media img { width: 100%; height: 100%; object-fit: contain; }
.solution-features { margin-top: 96px; display: grid; grid-template-columns: repeat(2,1fr); gap: 32px 40px; }
@media (min-width: 768px) { .solution-features { grid-template-columns: repeat(4,1fr); } }
.solution-features .feat { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; }
.solution-features svg { width: 24px; height: 24px; color: var(--electric); stroke-width: 1.5; }
.solution-features .k { margin-top: 32px; font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; }
.solution-features .l { margin-top: 4px; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* SafeCharge section */
.sc-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 768px) { .sc-grid { grid-template-columns: repeat(12,1fr); gap: 80px; } }
.sc-text { grid-column: span 12; }
@media (min-width: 768px) { .sc-text { grid-column: span 5; } }
.sc-text p { margin-top: 32px; font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; max-width: 28rem; }
.sc-items { margin-top: 48px; display: grid; grid-template-columns: repeat(2,1fr); gap: 24px 32px; }
.sc-item { display: flex; gap: 12px; }
.sc-item .ico { height: 32px; width: 32px; border-radius: 8px; background: rgba(79,195,247,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-item .ico svg { width: 16px; height: 16px; color: var(--electric); }
.sc-item .t { font-size: 0.875rem; font-weight: 500; }
.sc-item .d { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 2px; }
.sc-media { grid-column: span 12; position: relative; aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lift); }
@media (min-width: 768px) { .sc-media { grid-column: span 7; } }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }

/* Comparison */
.cmp-header { max-width: 42rem; margin-bottom: 64px; }
.cmp-header p { margin-top: 24px; color: var(--muted-foreground); }
.cmp-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cmp-grid { grid-template-columns: repeat(3,1fr); } }
.cmp-card { position: relative; border-radius: 16px; padding: 32px; border: 1px solid var(--border); background: var(--card); transition: border-color .2s; }
.cmp-card:hover { border-color: rgba(23,24,29,0.4); }
.cmp-card.highlight { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lift); }
.cmp-badge { position: absolute; top: -12px; left: 32px; background: var(--electric); color: var(--ink); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; font-weight: 500; }
.cmp-cap { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; }
.cmp-best { margin-top: 4px; font-size: 0.875rem; color: var(--muted-foreground); }
.cmp-card.highlight .cmp-best { color: rgba(255,255,255,0.6); }
.cmp-rows { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; font-size: 0.875rem; }
.cmp-card.highlight .cmp-rows { border-color: rgba(255,255,255,0.15); }
.cmp-rows .r { display: flex; justify-content: space-between; }
.cmp-rows .r span:first-child { color: var(--muted-foreground); }
.cmp-card.highlight .cmp-rows .r span:first-child { color: rgba(255,255,255,0.5); }

/* Why choose us */
.why-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(12,1fr); } }
.why-left { grid-column: span 12; }
@media (min-width: 768px) { .why-left { grid-column: span 5; } }
.why-list { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; }
.why-item { width: 100%; text-align: left; border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.05); transition: all .2s; }
.why-item:hover { background: rgba(255,255,255,0.03); }
.why-item.active { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.why-item .head { display: flex; align-items: center; gap: 12px; }
.why-item svg { width: 20px; height: 20px; color: var(--electric); stroke-width: 1.5; flex-shrink: 0; }
.why-item .t { font-size: 1rem; font-weight: 500; }
.why-item .body { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 12px; padding-left: 32px; display: none; }
.why-item.active .body { display: block; }
.why-media { grid-column: span 12; position: relative; aspect-ratio: 3/2; border-radius: 24px; overflow: hidden; background: #fff; }
@media (min-width: 768px) { .why-media { grid-column: span 7; aspect-ratio: 3/2; } }
.why-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.why-media img.show { opacity: 1; }

/* Social proof */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 64px; }
.reviews-head h2 { max-width: 40rem; }
.reviews-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3,1fr); } }
.review { border-radius: 16px; border: 1px solid var(--border); padding: 32px; background: var(--card); }
.review .stars { color: var(--electric); }
.review p { margin-top: 16px; font-size: 1.125rem; line-height: 1.6; }
.review footer { margin-top: 32px; font-size: 0.875rem; color: var(--muted-foreground); }

/* FAQ */
.faq-wrap { max-width: 48rem; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 64px; }
.faq-head h2 { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 24px 0; text-align: left; }
.faq-q .txt { font-size: 1.125rem; font-weight: 500; padding-right: 32px; }
.faq-q .toggle { height: 32px; width: 32px; border-radius: 999px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.faq-item.open .faq-q .toggle { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-q .toggle svg { width: 12px; height: 12px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding-bottom: 24px; padding-right: 48px; color: var(--muted-foreground); line-height: 1.6; }

/* Final CTA */
.finalcta { text-align: center; }
.finalcta p { margin-top: 32px; font-size: 1.125rem; color: rgba(255,255,255,0.7); max-width: 32rem; margin-left: auto; margin-right: auto; }
.finalcta .btn { margin-top: 48px; }

/* Quick buy bar */
.quickbuy {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); z-index: 40;
  width: min(680px, calc(100% - 24px)); opacity: 0; transition: transform .4s cubic-bezier(0.16,1,0.3,1), opacity .4s ease;
  pointer-events: none;
}
.quickbuy.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.quickbuy-inner { background: var(--ink); color: #fff; border-radius: 999px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; box-shadow: var(--shadow-lift); }
.quickbuy-inner img { height: 40px; width: 40px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.quickbuy-info { flex: 1; min-width: 0; }
.quickbuy-info .name { font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quickbuy-info .price { font-size: 0.75rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
.quickbuy-info .strike { text-decoration: line-through; }
.quickbuy-info .now { color: var(--electric); font-weight: 500; }
.quickbuy-btn { background: var(--electric); color: var(--ink); height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 500; font-size: 0.875rem; display: flex; align-items: center; gap: 8px; transition: background .2s; }
.quickbuy-btn:hover { background: #fff; }
.quickbuy-btn svg { width: 16px; height: 16px; }

/* ---------------- Product page ---------------- */
.page-top { padding-top: 80px; }
.breadcrumb { font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--foreground); }
.product-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(12,1fr); } }
.gallery { grid-column: span 12; }
@media (min-width: 1024px) { .gallery { grid-column: span 7; } }
.gallery-main { position: relative; aspect-ratio: 3/2; border-radius: 24px; overflow: hidden; background: var(--muted); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-thumbs button { aspect-ratio: 3/2; border-radius: 12px; overflow: hidden; background: var(--muted); border: 2px solid transparent; opacity: 0.7; transition: all .2s; }
.gallery-thumbs button.active { border-color: var(--ink); opacity: 1; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdetails { grid-column: span 12; }
@media (min-width: 1024px) { .pdetails { grid-column: span 5; } }
.pdetails-inner { position: sticky; top: 96px; }
.pdetails h1 { margin-top: 16px; }
.pdetails > .tagline { margin-top: 16px; color: var(--muted-foreground); }
.price-row { margin-top: 24px; display: flex; align-items: baseline; gap: 12px; }
.price-row .now { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; }
.price-row .was { color: var(--muted-foreground); text-decoration: line-through; }
.price-row .save { font-size: 0.75rem; font-weight: 500; background: rgba(79,195,247,0.15); color: var(--electric); padding: 4px 8px; border-radius: 999px; }

.variant-block { margin-top: 32px; }
.variant-label { font-size: 0.875rem; font-weight: 500; margin-bottom: 12px; }
.variant-label span { color: var(--muted-foreground); font-weight: 400; }
.variant-options { display: flex; gap: 12px; }
.variant-btn { padding: 0 16px; height: 44px; border-radius: 999px; font-size: 0.875rem; border: 1px solid var(--border); transition: all .2s; }
.variant-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.variant-btn:hover:not(.active) { border-color: var(--foreground); }

.buy-row { margin-top: 32px; display: flex; align-items: center; gap: 12px; }
.buy-row .qty-control { flex-shrink: 0; }
.buy-row .qty-control button { height: 48px; width: 48px; border-radius: 0; }
.buy-row .qty-control button:first-child { border-radius: 999px 0 0 999px; }
.buy-row .qty-control button:last-child { border-radius: 0 999px 999px 0; }
.buy-row .qty-control span { width: 32px; }
.buy-row .add-btn { flex: 1; height: 48px; }

.bullets { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.875rem; }
.bullets svg { width: 16px; height: 16px; color: var(--electric); margin-top: 2px; flex-shrink: 0; }

.trust-row { margin-top: 32px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding-top: 32px; border-top: 1px solid var(--border); }
.trust-row .item { text-align: center; }
.trust-row svg { width: 20px; height: 20px; margin: 0 auto; color: var(--muted-foreground); stroke-width: 1.5; }
.trust-row .t { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 8px; }

.specs { margin-top: 40px; }
.spec { border-bottom: 1px solid var(--border); }
.spec-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; text-align: left; }
.spec-q .t { font-weight: 500; }
.spec-q svg { width: 16px; height: 16px; }
.spec-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.spec.open .spec-a { max-height: 300px; }
.spec-a-inner { padding-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.spec-row { display: flex; justify-content: space-between; font-size: 0.875rem; gap: 24px; }
.spec-row .k { color: var(--muted-foreground); }
.spec-row .v { text-align: right; }

/* ---------------- Checkout ---------------- */
.checkout-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: repeat(12,1fr); } }
.checkout-main { grid-column: span 12; }
@media (min-width: 1024px) { .checkout-main { grid-column: span 7; } }
.secure-line { margin-top: 12px; font-size: 0.875rem; color: var(--muted-foreground); display: flex; align-items: center; gap: 8px; }
.secure-line svg { width: 12px; height: 12px; }
.checkout-form { margin-top: 48px; display: flex; flex-direction: column; gap: 40px; }
.cform-section .eyebrow { margin-bottom: 20px; }
.cform-fields { display: flex; flex-direction: column; gap: 16px; }
.cform-row2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.cform-row3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.field label { display: block; }
.field .lbl { font-size: 0.75rem; color: var(--muted-foreground); }
.field input {
  margin-top: 4px; width: 100%; height: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--background); font: inherit; color: inherit;
  transition: border-color .2s;
}
.field input:focus { outline: none; border-color: var(--ink); }

.pay-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.pay-option { border: 1px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; transition: all .2s; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option .lbl { font-size: 0.875rem; font-weight: 500; }
.pay-option.checked { border-color: var(--ink); background: var(--muted); }
.pay-option:hover { border-color: var(--ink); }

.checkout-summary { grid-column: span 12; }
@media (min-width: 1024px) { .checkout-summary { grid-column: span 5; } }
.summary-box { position: sticky; top: 96px; background: rgba(241,241,239,0.5); border-radius: 16px; padding: 24px; border: 1px solid var(--border); }
.summary-box .heading { font-size: 0.875rem; font-weight: 500; margin-bottom: 16px; }
.summary-empty { font-size: 0.875rem; color: var(--muted-foreground); padding: 32px 0; text-align: center; }
.summary-empty button { text-decoration: underline; }
.summary-items { display: flex; flex-direction: column; gap: 16px; }
.summary-item { display: flex; gap: 12px; align-items: center; }
.summary-item .thumb { position: relative; height: 64px; width: 56px; background: var(--background); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.summary-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-item .qtybadge { position: absolute; top: -4px; right: -4px; height: 20px; width: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.summary-item .info { flex: 1; min-width: 0; }
.summary-item .name { font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-item .variant { font-size: 0.75rem; color: var(--muted-foreground); }
.summary-item .price { font-size: 0.875rem; }
.summary-totals { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; }
.summary-totals .row { display: flex; justify-content: space-between; color: var(--muted-foreground); }
.summary-totals .total { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 600; padding-top: 12px; border-top: 1px solid var(--border); color: var(--foreground); }

.order-done { padding-top: 80px; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-left: 24px; padding-right: 24px; }
.order-done-inner { max-width: 28rem; text-align: center; }
.order-check { height: 56px; width: 56px; border-radius: 999px; background: var(--electric); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.order-check svg { width: 24px; height: 24px; color: var(--ink); }
.order-done h1 { margin-top: 32px; }
.order-done p { margin-top: 16px; color: var(--muted-foreground); }
.order-done .btn-solid { margin-top: 40px; display: inline-flex; padding: 0 24px; }

/* ---------------- About page ---------------- */
.about-hero { position: relative; aspect-ratio: 3/2; max-height: 80svh; min-height: 440px; overflow: hidden; background: var(--ink); color: #fff; }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), rgba(23,24,29,0.4), transparent); }
.about-hero-content { position: relative; z-index: 10; height: 100%; display: flex; align-items: flex-end; padding: 0 24px 64px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 768px) { .about-hero-content { padding: 0 64px 64px; } }
.about-hero-content h1 { max-width: 48rem; }
.about-intro { padding: 128px 24px; max-width: 48rem; margin: 0 auto; }
@media (min-width: 768px) { .about-intro { padding: 128px 64px; } }
.about-intro .lede { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.35; }
@media (min-width: 768px) { .about-intro .lede { font-size: 2rem; } }
.about-intro .body { margin-top: 64px; display: flex; flex-direction: column; gap: 24px; font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; }
.about-intro .body .final { color: var(--foreground); font-weight: 500; }
.about-stats-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
@media (min-width: 768px) { .about-stats-grid { grid-template-columns: repeat(4,1fr); } }
.about-stats-grid .u { margin-top: 8px; color: rgba(255,255,255,0.6); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; }
.about-vision { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; max-width: 1400px; margin: 0 auto; }
@media (min-width: 768px) { .about-vision { grid-template-columns: repeat(2,1fr); } }
.about-vision .media { aspect-ratio: 3/2; border-radius: 24px; overflow: hidden; }
.about-vision img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Account page ---------------- */
.account-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
@media (min-width: 768px) { .account-wrap { padding: 48px 40px; } }
.account-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.account-head .signout { font-size: 0.875rem; color: var(--muted-foreground); }
.account-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .account-grid { grid-template-columns: repeat(12,1fr); } }
.account-side { grid-column: span 12; }
@media (min-width: 1024px) { .account-side { grid-column: span 3; } }
.account-nav { display: flex; gap: 4px; overflow-x: auto; }
@media (min-width: 1024px) { .account-nav { flex-direction: column; overflow: visible; } }
.account-nav button { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 44px; border-radius: 999px; font-size: 0.875rem; white-space: nowrap; transition: background .2s; }
.account-nav button.active { background: var(--ink); color: #fff; }
.account-nav button:not(.active):hover { background: var(--muted); }
.account-nav svg { width: 16px; height: 16px; stroke-width: 1.5; }
.account-main { grid-column: span 12; }
@media (min-width: 1024px) { .account-main { grid-column: span 9; } }
.account-main .heading { font-size: 0.875rem; font-weight: 500; margin-bottom: 16px; }
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { display: flex; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; cursor: pointer; transition: border-color .2s; }
.order-card:hover { border-color: rgba(23,24,29,0.4); }
.order-card .thumb { height: 64px; width: 56px; border-radius: 12px; overflow: hidden; background: var(--muted); flex-shrink: 0; }
.order-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card .info { flex: 1; min-width: 0; }
.order-card .top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-card .id { font-size: 0.875rem; font-weight: 500; }
.order-card .status { font-size: 0.75rem; background: rgba(79,195,247,0.15); color: var(--electric); padding: 2px 8px; border-radius: 999px; }
.order-card .meta { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 4px; }
.order-card .total { font-size: 0.875rem; font-weight: 500; }
.order-card svg.chev { width: 16px; height: 16px; color: var(--muted-foreground); transition: transform .2s; }
.order-card:hover svg.chev { transform: translateX(4px); }
.account-promo { margin-top: 48px; background: var(--ink); color: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) { .account-promo { flex-direction: row; align-items: center; } }
.account-promo .t { font-size: 1.125rem; font-weight: 500; }
.account-promo .s { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
.account-promo .btn-light { height: 44px; padding: 0 20px; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px; }

/* ---------------- 404 ---------------- */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.notfound-inner { max-width: 28rem; text-align: center; }
.notfound-inner p { margin-top: 16px; font-size: 0.875rem; color: var(--muted-foreground); }
.notfound-inner .btn-solid { margin-top: 32px; display: inline-flex; padding: 0 24px; }

/* ---------------- Utility reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.scale { transform: scale(0.95); }
.reveal.scale.in { transform: scale(1); }

@media (max-width: 640px) {
  .cform-row2, .cform-row3 { grid-template-columns: 1fr; }
}
