/* ==========================================================================
   aunsoloclick — Design system
   Brand: Navy Click #033A56 · Orange Click #F07A22
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #01131d;
  --navy-900: #021e2e;
  --navy-800: #032a40;
  --navy-700: #033a56;   /* brand navy */
  --navy-600: #0a5075;
  --navy-500: #1f6c95;
  --navy-100: #e3eef5;

  --orange-700: #c2560c;
  --orange-600: #dd6512;
  --orange-500: #f07a22; /* brand orange */
  --orange-400: #ff9245;
  --orange-100: #fff1e6;

  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --line: rgba(3, 42, 64, .10);
  --line-2: rgba(3, 42, 64, .16);
  --ink: #0a1c29;
  --ink-2: #4a5b69;
  --ink-3: #8394a2;
  --success: #15a34a;
  --danger: #e0412f;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sh-1: 0 1px 2px rgba(2, 30, 46, .06), 0 2px 8px rgba(2, 30, 46, .05);
  --sh-2: 0 10px 30px -10px rgba(2, 30, 46, .18), 0 2px 6px rgba(2, 30, 46, .05);
  --sh-3: 0 30px 60px -20px rgba(2, 30, 46, .35);
  --sh-orange: 0 12px 30px -10px rgba(240, 122, 34, .65);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -.025em; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange-500); color: #fff; }
:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 52px); margin-top: 12px; max-width: 16ch; }
.section-head p { color: var(--ink-2); max-width: 44ch; }
.text-orange { color: var(--orange-500); }
.hl {
  background: linear-gradient(100deg, var(--orange-400), var(--orange-500) 60%, var(--orange-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s, border-color .25s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--primary { background: var(--orange-500); color: #fff; box-shadow: var(--sh-orange); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--ghost { border: 1.5px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.btn--sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink); transition: background .2s, color .2s, transform .3s var(--ease-out);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--orange-500); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform .35s var(--ease-out);
}
.badge-count.is-on { transform: scale(1); }
.badge-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- 5. Announcement bar ---------- */
.announce {
  background: var(--navy-950); color: rgba(255,255,255,.86);
  font-size: 13px; height: 38px; overflow: hidden; position: relative;
}
.announce .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.announce-rotator { position: relative; flex: 1; height: 100%; text-align: center; }
.announce-rotator span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease-out);
}
.announce-rotator span.is-active { opacity: 1; transform: none; }
.announce-rotator b { color: var(--orange-400); font-weight: 600; }
.announce-side { display: flex; gap: 20px; white-space: nowrap; }
.announce-side a:hover { color: #fff; }
@media (max-width: 860px) { .announce-side { display: none; } }

/* ---------- 6. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(2,30,46,.3); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 26px; height: auto; transition: transform .5s var(--ease-out); }
.logo:hover img { transform: translate(-2px, -2px) rotate(-6deg); }
.logo-word {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.045em; color: var(--navy-700);
  line-height: 1;
}
.logo-word i { font-style: normal; color: var(--orange-500); }
.logo--light .logo-word { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav > .nav-item > button {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav > a:hover, .nav > .nav-item > button:hover, .nav a.is-current { color: var(--ink); background: var(--surface-2); }
.nav > a.is-deal { color: var(--orange-600); }
.nav svg { width: 14px; height: 14px; transition: transform .3s; }
.nav-item { position: relative; }
.nav-item:hover > button svg, .nav-item.is-open > button svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: -20px; width: min(880px, 90vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: 18px; display: grid; grid-template-columns: 1fr 1fr 280px; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .35s var(--ease-out), visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .mega, .nav-item.is-open .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-link { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-md); transition: background .2s; }
.mega-link:hover { background: var(--surface-2); }
.mega-thumb { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(160deg, #fff, var(--surface-2)); border: 1px solid var(--line); flex: none; padding: 4px; }
.mega-link b { display: block; font-size: 15px; font-weight: 600; }
.mega-link small { color: var(--ink-3); font-size: 13px; }
.mega-promo {
  grid-row: span 3; border-radius: var(--r-md); padding: 20px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 100%, rgba(240,122,34,.55), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-950));
  display: flex; flex-direction: column; justify-content: space-between; min-height: 240px;
}
.mega-promo .art { position: absolute; right: -20px; bottom: 30px; width: 190px; }
.mega-promo h4 { font-size: 20px; max-width: 12ch; }
.mega-promo small { opacity: .75; }

.header-search {
  flex: 1; max-width: 420px; margin-left: auto;
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px;
  border-radius: 999px; background: var(--surface-2); color: var(--ink-3); font-size: 14px;
  border: 1px solid transparent; transition: border-color .2s, background .2s;
}
.header-search:hover { border-color: var(--line-2); background: #fff; }
.header-search svg { width: 18px; height: 18px; }
.header-search kbd { margin-left: auto; font-family: var(--font-body); font-size: 11px; padding: 3px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-search { max-width: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header-row { gap: 8px; }
  .header-search { flex: 0 0 44px; width: 44px; padding: 0; justify-content: center; margin-left: auto; background: transparent; }
  .header-search span, .header-search kbd { display: none; }
  .header-search svg { width: 22px; height: 22px; color: var(--ink); }
  .header-actions .hide-sm { display: none; }
  .logo-word { font-size: 20px; }
}

/* ---------- 7. Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.mobile-menu.is-open { pointer-events: auto; }
.mobile-menu .scrim { position: absolute; inset: 0; background: rgba(1,19,29,.5); opacity: 0; transition: opacity .3s; }
.mobile-menu.is-open .scrim { opacity: 1; }
.mobile-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: var(--surface);
  transform: translateX(-100%); transition: transform .45s var(--ease-out);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu.is-open .mobile-panel { transform: none; }
.mobile-panel header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mobile-panel nav { padding: 12px; }
.mobile-panel nav a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; font-weight: 500; }
.mobile-panel nav a:hover { background: var(--surface-2); }
.mobile-panel nav .mega-thumb { width: 44px; height: 44px; }
.mobile-panel .mm-label { padding: 16px 10px 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.mobile-panel footer { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: var(--navy-950);
  min-height: min(820px, calc(100svh - 38px - var(--header-h)));
  display: flex; align-items: center;
  padding: clamp(48px, 7vw, 90px) 0 clamp(190px, 16vw, 220px);
}
.hero-mesh { position: absolute; inset: -20%; z-index: -2; filter: blur(70px) saturate(140%); animation: meshDrift 28s ease-in-out infinite; }
.hero-mesh i { position: absolute; border-radius: 50%; }
.hero-mesh i:nth-child(1) { width: 55%; height: 60%; left: 45%; top: 25%; background: radial-gradient(circle, rgba(240,122,34,.75), transparent 65%); }
.hero-mesh i:nth-child(2) { width: 60%; height: 70%; left: -5%; top: 5%; background: radial-gradient(circle, rgba(10,80,117,.95), transparent 65%); }
.hero-mesh i:nth-child(3) { width: 40%; height: 45%; left: 30%; top: 60%; background: radial-gradient(circle, rgba(31,108,149,.8), transparent 65%); }
@keyframes meshDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33% { transform: translate3d(-4%, 3%, 0) scale(1.08); }
  66% { transform: translate3d(3%, -3%, 0) scale(.96); }
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 20%, transparent 75%);
}
.hero .container { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-chip b { background: var(--orange-500); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: .98; letter-spacing: -.045em; margin: 22px 0 22px; font-weight: 600; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1.1s var(--ease-out) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.72); max-width: 46ch; animation: fadeUp 1s .35s var(--ease-out) both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: fadeUp 1s .45s var(--ease-out) both; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.7); animation: fadeUp 1s .55s var(--ease-out) both; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy-950); margin-left: -10px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--orange-400); letter-spacing: 1px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* hero stage */
.hero-stage { position: relative; aspect-ratio: 1 / 1; max-width: 600px; width: 100%; margin-left: auto; animation: fadeIn 1.2s .2s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); animation: spin 26s linear infinite; }
.hero-orbit::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.1); }
.hero-orbit::after {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500);
  box-shadow: 0 0 20px 4px rgba(240,122,34,.7); top: -5px; left: calc(50% - 5px);
}
.hero-glow { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(240,122,34,.45), transparent 65%); filter: blur(30px); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-slide {
  position: absolute; inset: 8%; display: grid; place-items: center;
  opacity: 0; transform: scale(.92) translateY(20px); filter: blur(6px);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.hero-slide .art { width: 100%; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 40px 50px rgba(0,0,0,.45)); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  font-size: 13px; color: rgba(255,255,255,.8); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  animation: bob 7s ease-in-out infinite;
}
.float-card b { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-500); color: #fff; flex: none; }
.float-card .fc-ico svg { width: 20px; height: 20px; }
.float-card--a { top: 12%; left: -4%; animation-delay: -2s; }
.float-card--b { bottom: 14%; right: -2%; animation-delay: -4s; }
.hero-price {
  position: absolute; left: 4%; bottom: 8%; z-index: 2; padding: 14px 18px; border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: var(--sh-3); min-width: 200px;
  transition: opacity .4s;
}
.hero-price small { color: var(--ink-3); font-size: 12px; display: block; }
.hero-price b { font-family: var(--font-display); font-size: 22px; letter-spacing: -.03em; }
.hero-price s { color: var(--ink-3); font-size: 13px; margin-left: 6px; }
.hero-price a { display: inline-flex; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--orange-600); gap: 4px; align-items: center; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 108px; z-index: 3; }
.hero-dots .container { display: flex; gap: 10px; }
.hero-dot { flex: 0 0 auto; text-align: left; color: rgba(255,255,255,.55); font-size: 13px; padding-top: 12px; position: relative; width: 170px; transition: color .3s; }
.hero-dot::before, .hero-dot::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; }
.hero-dot::before { right: 0; background: rgba(255,255,255,.18); }
.hero-dot::after { width: 0; background: var(--orange-500); }
.hero-dot.is-active { color: #fff; }
.hero-dot.is-active::after { animation: dotFill var(--hero-dur, 6s) linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.hero-dot b { display: block; font-weight: 600; font-size: 14px; }

@media (max-width: 960px) {
  .hero { min-height: 0; padding-bottom: 190px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-stage { max-width: 460px; margin: 0 auto; }
  .hero-dot { width: auto; flex: 1; }
  .hero-dot span { display: none; }
}
@media (max-width: 560px) {
  .float-card--a { left: 0; top: 4%; }
  .float-card--b { right: 0; bottom: 20%; }
  .hero-price { left: 0; bottom: 0; min-width: 0; }
  .float-card { padding: 8px 12px 8px 8px; }
  .float-card .fc-ico { width: 30px; height: 30px; }
}

/* ---------- 9. Benefits strip ---------- */
.benefits { position: relative; z-index: 5; margin-top: -72px; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); overflow: hidden;
}
.benefit { display: flex; gap: 14px; align-items: center; padding: 24px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease-out); }
.benefit:hover .benefit-ico { transform: rotate(-8deg) scale(1.08); }
.benefit-ico svg { width: 24px; height: 24px; }
.benefit b { display: block; font-size: 15px; }
.benefit small { color: var(--ink-2); font-size: 13px; }
@media (max-width: 960px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .benefit { padding: 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .benefit-ico { width: 40px; height: 40px; }
}

/* ---------- 10. Category bento ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.cat-tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 24px;
  background: linear-gradient(160deg, #fff 0%, var(--surface-2) 100%); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.cat-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; background: radial-gradient(90% 70% at 80% 90%, rgba(240,122,34,.45), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-950)); color: #fff; border: 0; }
.cat-tile:nth-child(2) { grid-column: span 2; }
.cat-tile h3 { font-size: 22px; }
.cat-tile:nth-child(1) h3 { font-size: clamp(28px, 3vw, 40px); }
.cat-tile p { font-size: 14px; color: var(--ink-2); max-width: 24ch; margin-top: 6px; }
.cat-tile:nth-child(1) p { color: rgba(255,255,255,.7); font-size: 16px; }
.cat-count { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); }
.cat-tile:nth-child(1) .cat-count { color: var(--orange-400); }
.cat-tile .art {
  position: absolute; z-index: -1; right: -6%; bottom: -8%; width: 62%;
  transition: transform .8s var(--ease-out); filter: drop-shadow(0 20px 30px rgba(2,30,46,.18));
}
.cat-tile:nth-child(1) .art { width: 78%; right: -8%; bottom: -6%; }
.cat-tile:nth-child(2) .art { width: 42%; right: 2%; bottom: -14%; }
.cat-tile:hover .art { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.cat-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .4s var(--ease-out), background .3s; }
.cat-go svg { width: 18px; height: 18px; }
.cat-tile:nth-child(1) .cat-go { background: var(--orange-500); }
.cat-tile:hover .cat-go { transform: rotate(-45deg); background: var(--orange-500); }
@media (max-width: 960px) {
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .cat-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .cat-tile:nth-child(1) .art { width: 48%; }
  .cat-tile:nth-child(2) { grid-column: span 2; }
}
@media (max-width: 520px) {
  .cat-grid { gap: 10px; grid-auto-rows: 180px; }
  .cat-tile { padding: 16px; }
  .cat-tile h3 { font-size: 18px; }
  .cat-tile p { display: none; }
  .cat-tile:nth-child(1) p { display: block; }
  .cat-go { width: 36px; height: 36px; }
}

/* ---------- 11. Tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; position: relative; }
.tab { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .25s; }
.tab.is-active { color: #fff; }
.tabs-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--navy-700); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }

/* ---------- 12. Product card ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .p-grid, .p-grid.is-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .p-grid, .p-grid.is-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.p-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
  animation: cardIn .7s var(--ease-out) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.p-media {
  position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 40%, #fff 0%, var(--surface-2) 100%);
}
.p-media .art { width: 86%; transition: transform .8s var(--ease-out); }
.p-card:hover .p-media .art { transform: scale(1.06) translateY(-4px); }
.p-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.p-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.tag--sale { background: var(--orange-500); color: #fff; }
.tag--new { background: var(--navy-700); color: #fff; }
.tag--low { background: #fff; color: var(--danger); border: 1px solid rgba(224,65,47,.3); }
.p-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.p-act {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-1); color: var(--ink); transition: transform .35s var(--ease-out), background .2s, color .2s, opacity .3s;
}
.p-act svg { width: 18px; height: 18px; }
.p-act:hover { transform: scale(1.1); }
.p-act.is-on { color: #fff; background: var(--orange-500); }
.p-act.is-on svg { fill: currentColor; }
.p-act--quick { opacity: 0; transform: translateX(10px); }
.p-card:hover .p-act--quick { opacity: 1; transform: none; }
@media (hover: none) { .p-act--quick { display: none; } }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-brand { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.p-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.p-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.p-rating .stars { font-size: 13px; }
.p-swatches { display: flex; gap: 6px; margin-top: 2px; position: relative; z-index: 2; }
.p-swatches i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.p-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.03em; }
.price-old { display: block; font-size: 13px; color: var(--ink-3); text-decoration: line-through; font-family: var(--font-body); letter-spacing: 0; font-weight: 400; }
.price-cuotas { display: block; font-size: 12px; color: var(--success); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.p-add {
  position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--navy-700); color: #fff; display: grid; place-items: center;
  transition: background .25s, transform .35s var(--ease-out), width .4s var(--ease-out);
}
.p-add svg { width: 20px; height: 20px; }
.p-add:hover { background: var(--orange-500); transform: scale(1.06); }
.p-add.is-added { background: var(--success); }
@media (max-width: 520px) {
  .p-body { padding: 12px; }
  .p-name { font-size: 15px; }
  .price { font-size: 17px; }
  .p-add { width: 40px; height: 40px; }
  .p-act { width: 34px; height: 34px; }
  .p-swatches, .price-cuotas { display: none; }
}

/* list layout on shop */
.p-grid.is-list { grid-template-columns: 1fr; }
.p-grid.is-list .p-card { flex-direction: row; }
.p-grid.is-list .p-media { width: 260px; flex: none; aspect-ratio: auto; min-height: 220px; }
.p-grid.is-list .p-body { padding: 24px; }
.p-grid.is-list .p-short { display: block; }
.p-short { display: none; color: var(--ink-2); font-size: 14px; max-width: 60ch; }
@media (max-width: 600px) { .p-grid.is-list .p-media { width: 130px; min-height: 0; } .p-grid.is-list .p-short { display: none; } }

/* ---------- 13. Deal of the day ---------- */
.deal {
  position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; isolation: isolate;
  background: radial-gradient(70% 90% at 90% 20%, rgba(240,122,34,.5), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(31,108,149,.6), transparent 60%), var(--navy-900);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding: clamp(28px, 5vw, 64px);
}
.deal::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.deal h2 { font-size: clamp(32px, 4vw, 54px); margin: 14px 0 12px; }
.deal p { color: rgba(255,255,255,.72); max-width: 42ch; }
.deal .eyebrow { color: var(--orange-400); }
.countdown { display: flex; gap: 10px; margin: 28px 0; }
.cd-box { min-width: 76px; padding: 12px 8px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cd-box b { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cd-box small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.deal-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.deal-price b { font-family: var(--font-display); font-size: 40px; letter-spacing: -.03em; }
.deal-price s { color: rgba(255,255,255,.5); }
.deal-price .tag { background: #fff; color: var(--orange-600); }
.stock-bar { max-width: 380px; margin-bottom: 28px; }
.stock-bar div { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 8px; }
.stock-bar span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--orange-400), var(--orange-500)); width: 0; transition: width 1.6s var(--ease-out); }
.stock-bar small { font-size: 13px; color: rgba(255,255,255,.7); }
.deal-art { position: relative; }
.deal-art .art { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); animation: bob 7s ease-in-out infinite; }
.deal-art::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(240,122,34,.4), transparent 70%); filter: blur(30px); z-index: -1; }
@media (max-width: 860px) { .deal { grid-template-columns: 1fr; } .deal-art { order: -1; max-width: 360px; margin: 0 auto; } .cd-box { min-width: 64px; } .cd-box b { font-size: 26px; } }

/* ---------- 14. Promo banners ---------- */
.promos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.promo {
  position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: 380px; padding: 32px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,19,29,.05) 20%, rgba(1,19,29,.88) 100%); }
.promo:hover img { transform: scale(1.06); }
.promo h3 { font-size: clamp(26px, 3vw, 38px); max-width: 16ch; margin: 10px 0 18px; }
.promo .eyebrow { color: var(--orange-400); }
@media (max-width: 860px) { .promos { grid-template-columns: 1fr; } .promo { min-height: 300px; padding: 24px; } }

/* ---------- 15. Brand marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 72px; transition: color .3s; }
.marquee-track span:hover { color: var(--navy-700); }
.marquee-track span::after { content: "✦"; font-size: 14px; color: var(--orange-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 16. Stats + testimonials ---------- */
.reviews-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.score-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--r-xl); background: var(--navy-700); color: #fff; overflow: hidden; isolation: isolate; }
.score-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(240,122,34,.6), transparent 70%); z-index: -1; }
.score-card .big { font-family: var(--font-display); font-size: 84px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.score-card .stars { font-size: 20px; }
.score-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.score-stats b { font-family: var(--font-display); font-size: 28px; display: block; letter-spacing: -.03em; }
.score-stats small { color: rgba(255,255,255,.65); font-size: 13px; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease-out), box-shadow .4s; }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.t-card p { font-size: 16px; line-height: 1.6; }
.t-who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14px; }
.t-who .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--navy-600); }
.t-who small { display: block; color: var(--ink-3); }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--success); font-size: 12px; font-weight: 600; }
.verified svg { width: 14px; height: 14px; }
@media (max-width: 960px) { .reviews-wrap { grid-template-columns: 1fr; } .score-card { position: relative; top: 0; } }
@media (max-width: 640px) { .t-grid { grid-template-columns: 1fr; } }

/* ---------- 17. FAQ + newsletter ---------- */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease-out), background .3s, color .3s; }
.faq summary i svg { width: 16px; height: 16px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--orange-500); color: #fff; }
.faq details p { padding: 0 48px 22px 0; color: var(--ink-2); animation: fadeUp .4s var(--ease-out); }
.news {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); isolation: isolate;
  background: linear-gradient(150deg, var(--orange-500), var(--orange-600)); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.news .bg-mark { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .14; z-index: -1; transform: rotate(-12deg); filter: brightness(0) invert(1); }
.news h3 { font-size: clamp(28px, 3.2vw, 42px); max-width: 14ch; }
.news p { color: rgba(255,255,255,.88); max-width: 40ch; margin-top: 12px; }
.news form { display: flex; gap: 8px; padding: 6px; background: #fff; border-radius: 999px; }
.news input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; background: transparent; color: var(--ink); }
.news .btn { --bh: 46px; }
.news small { font-size: 12px; opacity: .8; }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .news form { flex-direction: column; border-radius: 20px; } .news input { height: 46px; } }

/* ---------- 18. Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 80px 0 32px; margin-top: 40px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: -.01em; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--orange-400); }
.footer-brand p { margin: 18px 0 22px; max-width: 34ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .25s, transform .3s var(--ease-out); }
.socials a:hover { background: var(--orange-500); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-methods span { height: 30px; padding: 0 10px; border-radius: 6px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.85); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* ---------- 19. Drawers (cart / wishlist) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.scrim { position: absolute; inset: 0; background: rgba(1,19,29,.45); opacity: 0; transition: opacity .35s; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.drawer.is-open .scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--surface);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease-out);
  box-shadow: -30px 0 60px -30px rgba(2,30,46,.35);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.drawer-head h3 small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--surface); }
.ship-progress { padding: 14px 24px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.ship-progress b { color: var(--ink); }
.ship-progress .bar { height: 6px; border-radius: 6px; background: #fff; margin-top: 8px; overflow: hidden; }
.ship-progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-400), var(--orange-500)); border-radius: 6px; transition: width .6s var(--ease-out); }
.ship-progress.is-free .bar span { background: var(--success); }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: fadeUp .4s var(--ease-out); }
.line-thumb { width: 84px; height: 84px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #fff, var(--surface-2)); border: 1px solid var(--line); padding: 6px; display: grid; place-items: center; }
.line-item h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.line-item .meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line-right .price { font-size: 16px; }
.link-btn { font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--danger); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 34px; margin-top: 10px; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; color: var(--ink-2); border-radius: 999px; }
.qty button:hover { color: var(--ink); background: var(--surface-2); }
.qty span, .qty input { width: 30px; text-align: center; font-weight: 600; font-size: 14px; border: 0; background: transparent; -moz-appearance: textfield; }
.qty--lg { height: 52px; }
.qty--lg button { width: 44px; }
.qty--lg input { width: 40px; font-size: 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.sum-row.total { font-size: 18px; color: var(--ink); font-weight: 700; font-family: var(--font-display); letter-spacing: -.02em; }
.empty-state { text-align: center; padding: 48px 12px; display: grid; justify-items: center; gap: 12px; color: var(--ink-2); }
.empty-state .art { width: 140px; opacity: .9; }
.empty-state h4 { font-size: 20px; color: var(--ink); }
.upsell { margin-top: 20px; }
.upsell h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 10px; font-weight: 600; }
.upsell-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 1px dashed var(--line-2); }
.upsell-item .line-thumb { width: 56px; height: 56px; }
.upsell-item div { flex: 1; font-size: 14px; }
.upsell-item b { display: block; }

/* ---------- 20. Search overlay ---------- */
.search-ov { position: fixed; inset: 0; z-index: 110; pointer-events: none; }
.search-ov.is-open { pointer-events: auto; }
.search-ov .scrim { background: rgba(1,19,29,.55); }
.search-ov.is-open .scrim { opacity: 1; }
.search-box {
  position: relative; margin: clamp(16px, 8vh, 90px) auto 0; width: min(760px, calc(100% - 32px));
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden;
  opacity: 0; transform: translateY(-16px) scale(.98); transition: opacity .3s, transform .45s var(--ease-out);
}
.search-ov.is-open .search-box { opacity: 1; transform: none; }
.search-input { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.search-input svg { width: 22px; height: 22px; color: var(--ink-3); flex: none; }
.search-input input { flex: 1; height: 68px; border: 0; outline: 0; font-size: 18px; background: transparent; min-width: 0; }
.search-input kbd { font-size: 11px; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-3); font-family: var(--font-body); }
.search-results { max-height: min(60vh, 520px); overflow-y: auto; padding: 12px; }
.search-results h6 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 8px 8px 10px; }
.s-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; background: var(--surface); transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.chip button { display: grid; place-items: center; }
.chip svg { width: 14px; height: 14px; }
.s-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; }
.s-item:hover, .s-item.is-focus { background: var(--surface-2); }
.s-item .line-thumb { width: 56px; height: 56px; }
.s-item div { flex: 1; }
.s-item b { display: block; font-weight: 600; }
.s-item small { color: var(--ink-3); }
.s-item mark { background: var(--orange-100); color: var(--orange-700); border-radius: 3px; }

/* ---------- 21. Modal (quick view) ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal.is-open { pointer-events: auto; }
.modal.is-open .scrim { opacity: 1; }
.modal-card {
  position: relative; width: min(960px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--surface); border-radius: var(--r-xl);
  display: grid; grid-template-columns: 1fr 1fr; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s, transform .5s var(--ease-out);
}
.modal.is-open .modal-card { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--surface); box-shadow: var(--sh-1); }
.qv-media { background: radial-gradient(circle at 50% 40%, #fff, var(--surface-2)); display: grid; place-items: center; padding: 40px; min-height: 380px; }
.qv-media .art { width: 100%; max-width: 420px; }
.qv-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.qv-body h3 { font-size: 30px; }
@media (max-width: 760px) { .modal-card { grid-template-columns: 1fr; } .qv-media { min-height: 260px; padding: 20px; } .qv-body { padding: 24px; } }

/* ---------- 22. Toast ---------- */
.toasts { position: fixed; z-index: 130; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; pointer-events: auto;
  background: var(--navy-900); color: #fff; box-shadow: var(--sh-3); font-size: 14px;
  animation: toastIn .5s var(--ease-out) both;
}
.toast.is-out { animation: toastOut .35s ease forwards; }
.toast .line-thumb { width: 44px; height: 44px; border-radius: 10px; padding: 3px; border: 0; }
.toast div { flex: 1; }
.toast b { display: block; }
.toast a { color: var(--orange-400); font-weight: 600; white-space: nowrap; }
.toast .t-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--success); flex: none; }
.toast .t-ico svg { width: 16px; height: 16px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- 23. WhatsApp FAB ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .4s var(--ease-out);
}
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 28px; height: 28px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.to-top {
  position: fixed; right: 28px; bottom: 90px; z-index: 50; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--sh-2); display: grid; place-items: center; color: var(--ink);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 24. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ---------- 25. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate; background: var(--navy-950);
  padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px);
}
.page-hero .hero-mesh { opacity: .8; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.04em; margin-top: 10px; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 10px; max-width: 52ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-3); align-items: center; }
.crumbs a:hover { color: var(--orange-600); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero .crumbs { color: rgba(255,255,255,.6); }
.page-hero .crumbs a:hover { color: var(--orange-400); }
.cat-pills { display: flex; gap: 8px; margin-top: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pills a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; transition: background .25s, border-color .25s; }
.cat-pills a:hover { background: rgba(255,255,255,.16); }
.cat-pills a.is-active { background: #fff; color: var(--ink); }
.cat-pills .mini { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); padding: 2px; }
.cat-pills a:not(.is-active) .mini { background: rgba(255,255,255,.85); }

/* ---------- 26. Shop layout ---------- */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; padding: 40px 0 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; max-height: calc(100svh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters-head { display: none; }
.f-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.f-group > h4 { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.check:hover { color: var(--ink); }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; margin: 0; transition: background .2s, border-color .2s; flex: none; background: #fff; }
.check input:checked { background: var(--navy-700); border-color: var(--navy-700); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input[type="radio"] { border-radius: 50%; }
.check .n { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.range { display: grid; gap: 12px; }
.range-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; outline: 0;
  font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(10,80,117,.12); }
.input.is-error { border-color: var(--danger); }
.input--sm { height: 40px; font-size: 14px; padding: 0 10px; }
.select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5b69' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; cursor: pointer; }
input[type="range"] { width: 100%; accent-color: var(--orange-500); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; cursor: pointer; color: var(--ink-2); }
.toggle input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 24px; background: var(--line-2); position: relative; transition: background .25s; flex: none; margin: 0; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .3s var(--ease-out); }
.toggle input:checked { background: var(--orange-500); }
.toggle input:checked::after { transform: translateX(16px); }
.color-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.color-dots button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .2s, transform .2s; }
.color-dots button.is-active { box-shadow: 0 0 0 2px var(--orange-500); transform: scale(1.08); }

.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .count { color: var(--ink-2); font-size: 14px; margin-right: auto; }
.toolbar .count b { color: var(--ink); }
.toolbar .select { width: auto; height: 42px; font-size: 14px; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.view-toggle button { width: 40px; height: 39px; display: grid; place-items: center; color: var(--ink-3); }
.view-toggle button.is-active { background: var(--navy-700); color: #fff; }
.view-toggle svg { width: 18px; height: 18px; }
.filter-open { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-chips:empty { display: none; }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; font-size: 14px; color: var(--ink-2); }
.load-more .bar { width: 200px; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.load-more .bar span { display: block; height: 100%; background: var(--navy-700); border-radius: 4px; }

@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; padding-top: 24px; }
  .filter-open { display: inline-flex; }
  .filters {
    position: fixed; z-index: 105; top: 0; left: 0; bottom: 0; width: min(360px, 90vw); max-height: none; background: var(--surface);
    padding: 0 20px 100px; transform: translateX(-105%); transition: transform .45s var(--ease-out); box-shadow: var(--sh-3);
  }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--surface); padding: 16px 0; z-index: 2; border-bottom: 1px solid var(--line); }
  .filters-apply { position: fixed; left: 0; bottom: 0; width: min(360px, 90vw); padding: 16px 20px; background: var(--surface); border-top: 1px solid var(--line); }
  .filters-scrim { position: fixed; inset: 0; z-index: 104; background: rgba(1,19,29,.45); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .filters-scrim.is-open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 961px) { .filters-apply, .filters-scrim { display: none; } }

/* ---------- 27. Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); padding: 24px 0 80px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.g-thumbs { display: grid; gap: 10px; align-content: start; }
.g-thumbs button { aspect-ratio: 1; border-radius: 16px; border: 1.5px solid var(--line); overflow: hidden; padding: 6px; background: radial-gradient(circle at 50% 40%, #fff, var(--surface-2)); transition: border-color .2s; }
.g-thumbs button.is-active { border-color: var(--orange-500); }
.g-main {
  position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; cursor: zoom-in;
  background: radial-gradient(70% 60% at 50% 45%, #fff 0%, var(--surface-2) 100%); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.g-main .art { width: 82%; transition: transform .6s var(--ease-out), opacity .3s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.g-main.is-zoom .art { transform: scale(1.7); }
.g-main .p-badges { top: 20px; left: 20px; }
.g-main .g-view { position: absolute; bottom: 16px; right: 16px; font-size: 12px; color: var(--ink-3); background: rgba(255,255,255,.8); padding: 6px 10px; border-radius: 999px; }
.g-main.v-dark { background: radial-gradient(70% 60% at 50% 45%, var(--navy-600) 0%, var(--navy-950) 100%); }
.g-main.v-warm { background: radial-gradient(70% 60% at 50% 45%, #fff6ee 0%, #ffd9bb 100%); }
.g-main.v-close .art { transform: scale(1.45) translateY(6%); }

.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.04em; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 14px; color: var(--ink-2); }
.pdp-meta a { text-decoration: underline; text-underline-offset: 3px; }
.stock-ok { color: var(--success); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.stock-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(21,163,74,.15); }
.stock-low { color: var(--orange-600); }
.stock-low::before { box-shadow: 0 0 0 4px rgba(240,122,34,.18); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .price { font-size: 40px; }
.pdp-price s { color: var(--ink-3); font-size: 18px; }
.cuotas-box { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--navy-100); font-size: 14px; color: var(--navy-800); }
.cuotas-box svg { width: 22px; height: 22px; flex: none; }
.opt-label { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.opt-label span { font-weight: 400; color: var(--ink-2); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line-2); transition: box-shadow .2s, transform .3s var(--ease-out); }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--orange-500); }
.options { display: flex; gap: 10px; flex-wrap: wrap; }
.opt { padding: 12px 18px; border-radius: 14px; border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 600; text-align: left; transition: border-color .2s, background .2s; }
.opt small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.opt:hover { border-color: var(--ink-3); }
.opt.is-active { border-color: var(--navy-700); background: var(--navy-100); }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 160px; }
.buy-row .icon-btn { width: 52px; height: 52px; border: 1.5px solid var(--line-2); }
.buy-row .icon-btn.is-on { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.buy-row .icon-btn.is-on svg { fill: currentColor; }
.perks { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.perk { display: flex; gap: 14px; align-items: center; padding: 14px 16px; font-size: 14px; }
.perk + .perk { border-top: 1px solid var(--line); }
.perk svg { width: 22px; height: 22px; color: var(--navy-600); flex: none; }
.perk b { display: block; }
.perk small { color: var(--ink-2); }
.ship-calc { display: flex; gap: 8px; margin-top: 8px; }
.ship-calc .input { height: 40px; font-size: 14px; }
.ship-calc .btn { --bh: 40px; }
.ship-result { font-size: 13px; color: var(--success); margin-top: 6px; }
.hl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hl-list li { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.hl-list svg { width: 16px; height: 16px; color: var(--orange-500); flex: none; }

.pdp-tabs { border-top: 1px solid var(--line); padding-top: 48px; }
.pdp-tabs .tabs { margin-bottom: 32px; }
.tab-panel { display: none; animation: fadeUp .5s var(--ease-out); }
.tab-panel.is-active { display: block; }
.desc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.desc-grid p { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.desc-visual { border-radius: var(--r-xl); background: radial-gradient(90% 80% at 80% 90%, rgba(240,122,34,.45), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-950)); padding: 32px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; max-width: 820px; }
.specs th, .specs td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--ink-2); font-weight: 500; }
.rev-summary { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin-bottom: 32px; }
.rev-big { font-family: var(--font-display); font-size: 64px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.rev-bars { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.rev-bars div { display: grid; grid-template-columns: 40px 1fr 40px; gap: 10px; align-items: center; }
.rev-bars i { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; display: block; }
.rev-bars i span { display: block; height: 100%; background: var(--orange-500); border-radius: 8px; }
.rev-list { display: grid; gap: 16px; }
.rev { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.rev header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 14px; flex-wrap: wrap; }
.rev h5 { font-size: 16px; margin: 0 0 6px; }
.rev p { color: var(--ink-2); }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .45s var(--ease-out);
}
.sticky-buy.is-on { transform: none; }
.sticky-buy .container { display: flex; align-items: center; gap: 14px; padding-block: 12px; }
.sticky-buy .line-thumb { width: 52px; height: 52px; }
.sticky-buy .sb-name { flex: 1; min-width: 0; }
.sticky-buy .sb-name b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .price { font-size: 18px; }
body.has-sticky-buy .fab { bottom: 96px; }
body.has-sticky-buy .to-top { bottom: 166px; }

@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .g-thumbs { grid-template-columns: repeat(4, 64px); order: 2; }
  .desc-grid, .rev-summary { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hl-list { grid-template-columns: 1fr; }
  .sticky-buy .sb-name small, .sticky-buy .line-thumb { display: none; }
  .pdp-price .price { font-size: 32px; }
}

/* ---------- 28. Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; padding: 28px 0 80px; align-items: start; }
.steps { display: flex; gap: 8px; margin-bottom: 28px; counter-reset: step; }
.step { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-3); padding-bottom: 12px; border-bottom: 3px solid var(--line); transition: color .3s, border-color .3s; }
.step i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; background: var(--surface-2); flex: none; transition: background .3s, color .3s; }
.step.is-active { color: var(--ink); border-color: var(--orange-500); }
.step.is-active i { background: var(--orange-500); color: #fff; }
.step.is-done { color: var(--ink-2); border-color: var(--navy-700); }
.step.is-done i { background: var(--navy-700); color: #fff; }
.co-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); }
.co-panel h2 { font-size: 24px; margin-bottom: 6px; }
.co-panel > p { color: var(--ink-2); margin-bottom: 24px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
.field .err { font-size: 12px; color: var(--danger); display: none; }
.field.has-error .err { display: block; }
.field.has-error .input { border-color: var(--danger); }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card:has(input:checked) { border-color: var(--navy-700); background: var(--navy-100); }
.radio-card input { accent-color: var(--navy-700); width: 18px; height: 18px; margin: 0; }
.radio-card div { flex: 1; }
.radio-card b { display: block; font-size: 15px; }
.radio-card small { color: var(--ink-2); font-size: 13px; }
.radio-card .rc-price { font-weight: 700; font-size: 15px; }
.co-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.co-step { display: none; }
.co-step.is-active { display: block; animation: fadeUp .5s var(--ease-out); }
.card-preview {
  aspect-ratio: 1.586; max-width: 340px; border-radius: 18px; padding: 22px; color: #fff; margin-bottom: 20px; position: relative; overflow: hidden;
  background: radial-gradient(90% 90% at 100% 100%, rgba(240,122,34,.8), transparent 60%), linear-gradient(135deg, var(--navy-600), var(--navy-950));
  display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-display); box-shadow: var(--sh-3);
}
.card-preview .num { font-size: 20px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.card-preview .row { display: flex; justify-content: space-between; font-size: 13px; text-transform: uppercase; opacity: .9; }
.card-preview .chipc { width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #f5d38a, #c89c3c); }
.demo-note { font-size: 13px; color: var(--ink-2); background: var(--orange-100); padding: 12px 14px; border-radius: 12px; margin-bottom: 20px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 14px; }
.summary h3 { font-size: 20px; }
.summary .line-item { grid-template-columns: 64px 1fr auto; padding: 12px 0; }
.summary .line-thumb { width: 64px; height: 64px; position: relative; }
.summary .line-thumb em { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--navy-700); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.coupon { display: flex; gap: 8px; }
.coupon .input { height: 44px; }
.coupon .btn { --bh: 44px; }
.coupon-msg { font-size: 13px; }
.coupon-msg.ok { color: var(--success); }
.coupon-msg.bad { color: var(--danger); }
.secure { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); justify-content: center; }
.secure svg { width: 16px; height: 16px; color: var(--success); }
.success { text-align: center; padding: clamp(32px, 6vw, 72px) 20px; display: grid; justify-items: center; gap: 16px; }
.success-ico { width: 96px; height: 96px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; animation: pop .7s var(--ease-out) both; box-shadow: 0 0 0 14px rgba(21,163,74,.12); }
.success-ico svg { width: 44px; height: 44px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s ease forwards; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { font-size: clamp(28px, 4vw, 44px); }
.success p { color: var(--ink-2); max-width: 46ch; }
.order-no { font-family: var(--font-display); font-weight: 600; padding: 10px 18px; border-radius: 999px; background: var(--surface-2); }
@media (max-width: 1000px) { .checkout { grid-template-columns: 1fr; } .summary { position: relative; top: 0; order: -1; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } .step span { display: none; } }

/* ---------- 29. Brand page ---------- */
.brand-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-card { border-radius: var(--r-xl); padding: 48px; display: grid; place-items: center; min-height: 320px; border: 1px solid var(--line); background: var(--surface); position: relative; }
.brand-card.dark { background: var(--navy-950); }
.brand-card.orange { background: var(--orange-500); }
.brand-card small { position: absolute; left: 20px; bottom: 16px; font-size: 12px; color: var(--ink-3); }
.brand-card.dark small, .brand-card.orange small { color: rgba(255,255,255,.7); }
.logo-xl { display: flex; align-items: center; gap: 18px; }
.logo-xl img { width: 64px; }
.logo-xl .logo-word { font-size: clamp(40px, 5vw, 64px); }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.sw { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.sw i { display: block; height: 120px; }
.sw div { padding: 14px 16px; font-size: 13px; }
.sw b { display: block; font-size: 15px; }
.sw code { color: var(--ink-3); font-size: 12px; }
.type-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.type-spec > div { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.type-spec .big { font-family: var(--font-display); font-size: 72px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.compare-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-logos > div { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; place-items: center; }
.compare-logos img { max-height: 120px; width: auto; }
.credits-list { font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; }
@media (max-width: 760px) { .brand-hero, .type-spec, .compare-logos { grid-template-columns: 1fr; } }

/* ---------- 30. Recently viewed ---------- */
.rv-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rv-item { flex: 0 0 220px; scroll-snap-align: start; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.rv-item:hover { border-color: var(--line-2); }
.rv-item .line-thumb { width: 60px; height: 60px; }
.rv-item b { display: block; font-size: 14px; line-height: 1.3; }
.rv-item small { color: var(--ink-2); }

/* ---------- 31. Reduced motion (only intrusive effects) ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation-duration: 60s; }
  .fab::after { animation: none; }
}

/* ---------- 32. Fotos reales (subidas desde el panel) ---------- */
.art img.photo, .line-thumb img.photo, .g-thumbs img.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.line-thumb img.photo, .g-thumbs img.photo { border-radius: 10px; }
.p-media .art:has(> img.photo), .g-main .art:has(> img.photo), .qv-media .art:has(> img.photo) { width: 100%; height: 100%; }
.p-media .art:has(> img.photo) { position: absolute; inset: 0; }
.g-main .art img.photo, .qv-media .art img.photo { object-fit: contain; }
.hero-slide .art img.photo { object-fit: contain; max-height: 100%; border-radius: 28px; }
.deal-art .art img.photo { border-radius: 24px; object-fit: cover; aspect-ratio: 1; }
.p-card:hover .p-media .art:has(> img.photo) { transform: scale(1.04); }

/* ---------- 33. Consentimiento, páginas legales, seguimiento ---------- */
.consent-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; font-weight: 400 !important; color: var(--ink-2); cursor: pointer; }
.consent-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange-500); flex: none; }
.consent-line a { text-decoration: underline; text-underline-offset: 2px; }
.news .consent-line { color: rgba(255,255,255,.92); margin-top: 12px; } .news .consent-line a { color: #fff; }
.field.consent .err { margin-top: 4px; }
.pay-box { max-width: 520px; text-align: left; background: var(--surface-2); border-radius: 16px; padding: 16px 18px; font-size: 15px; }
.pay-box p { margin-top: 8px; }
.legal { max-width: 820px; padding: 40px var(--gutter) 90px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-note { background: var(--orange-100); border: 1px solid #fed7aa; color: #9a3412; border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.track-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--sh-1); }
.track-card .row-b { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.track-steps { list-style: none; margin: 8px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.track-steps li { position: relative; text-align: center; font-size: 12px; color: var(--ink-3); padding-top: 26px; }
.track-steps li i { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--line-2); }
.track-steps li::before { content: ""; position: absolute; top: 8px; left: -50%; right: 50%; height: 3px; background: var(--line-2); }
.track-steps li:first-child::before { display: none; }
.track-steps li.done { color: var(--ink); font-weight: 600; } .track-steps li.done i, .track-steps li.done::before { background: var(--orange-500); }
.track-items { border-top: 1px solid var(--line); margin-top: 14px; }
.track-items > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.track-items .tot { font-size: 16px; border-bottom: 0; }
.track-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 14px 16px; border-radius: 14px; }
@media (max-width: 520px) { .track-steps li { font-size: 10px; } }

/* ---------- 34. Recibo de compra ---------- */
.receipt-wrap { max-width: 820px; padding: 40px var(--gutter) 90px; }
.receipt { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); box-shadow: var(--sh-1); font-size: 15px; }
.rc-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--navy-700); padding-bottom: 18px; }
.rc-head > div:first-child { display: flex; align-items: center; gap: 12px; }
.rc-brand { font-family: var(--font-display); font-size: 24px; letter-spacing: -.04em; color: var(--navy-700); }
.rc-title { text-align: right; } .rc-title h1 { font-size: 24px; } .rc-title p { color: var(--ink-2); margin-top: 6px; }
.rc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0; }
.rc-cols h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 6px; font-family: var(--font-body); }
.rc-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; }
.rc-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 8px 6px; border-bottom: 1px solid var(--line-2); }
.rc-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rc-table .r { text-align: right; white-space: nowrap; } .rc-table small { color: var(--ink-3); }
.rc-totals { margin-left: auto; max-width: 320px; display: grid; gap: 6px; }
.rc-totals > div { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-2); }
.rc-totals .rc-grand { color: var(--ink); font-family: var(--font-display); font-size: 20px; font-weight: 600; border-top: 2px solid var(--navy-700); padding-top: 8px; margin-top: 4px; }
.rc-pay { display: flex; gap: 8px 24px; flex-wrap: wrap; margin-top: 22px; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; font-size: 14px; }
.rc-foot { margin-top: 18px; font-size: 13px; color: var(--ink-3); text-align: center; }
.receipt-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 600px) { .rc-cols { grid-template-columns: 1fr; } .rc-title { text-align: left; } }
@media print {
  .announce, .header, .footer, .fab, .to-top, .receipt-actions, .drawer, .search-ov, .modal, .toasts, .mobile-menu { display: none !important; }
  body { background: #fff; } .receipt-wrap { padding: 0; max-width: none; } .receipt { border: 0; box-shadow: none; padding: 0; }
}

/* atributo hidden siempre respetado */
[hidden] { display: none !important; }
