/* ==========================================================================
   Landing — Design System: "Landing Producto" (ui-ux-pro-max)
   Pattern: Minimal Single Column · Style: clean minimal + subtle glass accents
   Palette: warm premium (cream / amber / near-black), AA-corrected.
   Fonts: system stack (RGPD-safe, sin CDN). Recomendados de la DS: Rubik /
   Nunito Sans — para usarlos, auto-hospeda las fuentes y descomenta @font-face.
   ========================================================================== */

/* ── Fuentes recomendadas por la Design System (opcional, self-hosted) ──────
@font-face { font-family:"Rubik"; src:url("/assets/fonts/rubik.woff2") format("woff2");
  font-weight:300 700; font-display:swap; }
@font-face { font-family:"Nunito Sans"; src:url("/assets/fonts/nunito-sans.woff2") format("woff2");
  font-weight:300 700; font-display:swap; }
   Luego cambia --font-head / --font-body abajo.                              */

:root {
  /* ── Color · tema claro (warm premium) ── */
  --bg:            #fdfbf7;   /* fondo cálido casi-blanco (DS: page amber, suavizado) */
  --surface:       #ffffff;   /* tarjetas / superficies elevadas */
  --bg-soft:       #f5f1e9;   /* secciones suaves / muted */
  --fg:            #16130e;   /* texto principal (near-black cálido) */
  --fg-soft:       #6b6357;   /* texto secundario (AA en --bg) */
  --line:          #e7e1d5;   /* bordes cálidos */
  --primary:       #16130e;   /* CTA = near-black (AA de sobra, look minimal) */
  --on-primary:    #ffffff;
  --accent:        #d97706;   /* amber (DS) — SOLO decorativo / no-texto */
  --accent-ink:    #8a4b0a;   /* amber oscuro — para texto/enlaces (AA en --bg) */
  --destructive:   #b42318;
  --focus:         #d97706;   /* anillo de foco (≥3:1 sobre fondos claros) */
  --ok:            #1a7f4b;

  /* ── Tipografía ── */
  --font-head: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Escala de tamaños (12 · 14 · 16 · 18 · 22 · 28 · 36 · fluida) */
  --fs-xs: .75rem;  --fs-sm: .875rem; --fs-base: 1rem;  --fs-md: 1.125rem;
  --fs-lg: 1.375rem; --fs-xl: 1.75rem; --fs-2xl: 2.25rem;

  /* ── Spacing 4/8 (DS) ── */
  --space-xs: .25rem; --space-sm: .5rem; --space-md: 1rem; --space-lg: 1.5rem;
  --space-xl: 2rem;   --space-2xl: 3rem; --space-3xl: 4rem;

  /* ── Radios ── */
  --radius-sm: 8px; --radius: 14px; --radius-lg: 20px; --radius-pill: 999px;

  /* ── Sombras (DS scale) ── */
  --shadow-sm: 0 1px 2px rgba(30,22,8,.05);
  --shadow-md: 0 4px 12px rgba(30,22,8,.08);
  --shadow-lg: 0 12px 30px rgba(30,22,8,.10);
  --shadow-xl: 0 24px 50px rgba(30,22,8,.14);

  /* ── Glass (acento sutil, no morphing) ── */
  --glass-bg: color-mix(in srgb, var(--bg) 72%, transparent);
  --glass-blur: saturate(1.6) blur(14px);

  --maxw: 1120px;
  --gap:  clamp(1rem, 3vw, 2rem);
  --dur: 200ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:         #12100b;
    --surface:    #1a170f;
    --bg-soft:    #1f1b12;
    --fg:         #f4efe3;
    --fg-soft:    #b3aa98;
    --line:       #322c1e;
    --primary:    #f4efe3;   /* botón claro cálido, texto oscuro (AA de sobra) */
    --on-primary: #16130e;
    --accent:     #f59e0b;
    --accent-ink: #f5c453;   /* enlaces amber claro sobre oscuro */
    --focus:      #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,.45);
    --shadow-lg: 0 12px 30px rgba(0,0,0,.5);
    --shadow-xl: 0 24px 50px rgba(0,0,0,.6);
    --glass-bg: color-mix(in srgb, var(--bg) 68%, transparent);
  }
}

/* Override manual por data-theme (gana sobre el sistema) */
:root[data-theme="light"] {
  --bg:#fdfbf7; --surface:#fff; --bg-soft:#f5f1e9; --fg:#16130e; --fg-soft:#6b6357;
  --line:#e7e1d5; --primary:#16130e; --on-primary:#fff; --accent:#d97706;
  --accent-ink:#8a4b0a; --focus:#d97706;
}
:root[data-theme="dark"] {
  --bg:#12100b; --surface:#1a170f; --bg-soft:#1f1b12; --fg:#f4efe3; --fg-soft:#b3aa98;
  --line:#322c1e; --primary:#f4efe3; --on-primary:#16130e; --accent:#f59e0b;
  --accent-ink:#f5c453; --focus:#f59e0b;
}

/* ── Reset / base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;              /* 17px, ≥16 en móvil */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration: underline; }
svg { flex-shrink: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 var(--space-sm);
  color: var(--fg);
}
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.01em; }
p  { margin: 0 0 var(--space-md); color: var(--fg-soft); }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--fg-soft); max-width: 42ch; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }
.section { padding-block: clamp(3rem, 9vw, 6rem); }
.center { text-align: center; }
.muted { color: var(--fg-soft); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: var(--fs-xs);
  font-weight: 600; color: var(--accent-ink); margin-bottom: var(--space-md);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 1000;
  background: var(--primary); color: var(--on-primary); padding: .6rem 1rem;
  border-radius: var(--radius-sm); transition: top .15s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ── Iconos (Lucide-style, stroke 1.75, currentColor) ─────────────────────── */
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; stroke-width: 1.75;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ── Botones ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1;
  padding: .95rem 1.6rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  min-height: 48px;  /* touch target */
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }   /* scale-feedback, sin layout shift */
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--lg { padding: 1.1rem 2rem; font-size: var(--fs-md); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ── Header (glass sutil) ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.brand { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a { font-size: var(--fs-sm); color: var(--fg-soft); font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: var(--space-sm); }
.lang-switch { font-size: var(--fs-sm); color: var(--fg-soft); }
.lang-switch a { color: var(--fg-soft); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--fg); font-weight: 600; }
.theme-toggle {
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-pill);
  width: 40px; height: 40px; cursor: pointer; color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.theme-toggle:hover { background: var(--bg-soft); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { .theme-toggle .sun { display:none; } .theme-toggle .moon { display:block; } }
:root[data-theme="dark"]  .theme-toggle .sun  { display:none; }
:root[data-theme="dark"]  .theme-toggle .moon { display:block; }
:root[data-theme="light"] .theme-toggle .sun  { display:block; }
:root[data-theme="light"] .theme-toggle .moon { display:none; }
@media (max-width: 720px) { .nav .nav-links { display: none; } }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero-grid { display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-media { order: 2; }
}
.hero-media {
  background: var(--bg-soft); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.price-row { display: flex; align-items: baseline; gap: var(--space-md); margin: var(--space-lg) 0; flex-wrap: wrap; }
.price { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.02em; color: var(--fg);
  font-variant-numeric: tabular-nums; }
.price-note { color: var(--fg-soft); font-size: var(--fs-sm); }
.trust { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: var(--space-lg); color: var(--fg-soft); font-size: var(--fs-sm); }
.trust span { display: inline-flex; align-items: center; gap: var(--space-sm); }
.trust .icon { width: 1.15em; height: 1.15em; color: var(--accent-ink); }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: var(--space-xl); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-ink); margin-bottom: var(--space-md);
}
.feature .ico .icon { width: 22px; height: 22px; }
.feature h3 { margin-bottom: var(--space-xs); }
.feature p { margin: 0; }

/* ── Split (detalles) ──────────────────────────────────────────────────────── */
.split { display: grid; gap: clamp(1.5rem, 5vw, 3rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split .media {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-lg); aspect-ratio: 1 / 1; overflow: hidden; box-shadow: var(--shadow-md);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.specs { list-style: none; padding: 0; margin: var(--space-md) 0 0; }
.specs li { padding: .8rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem;
  font-variant-numeric: tabular-nums; }
.specs li span:first-child { color: var(--fg-soft); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--accent-ink); transition: transform var(--dur) var(--ease); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: var(--space-sm) 0 0; }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(2rem, 6vw, 3.5rem); text-align: center;
}

/* ── Sticky mobile buy bar (glass) ─────────────────────────────────────────── */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gap);
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom));  /* safe-area */
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.buybar .price { font-size: var(--fs-md); }
@media (max-width: 860px) { .buybar { display: flex; } body { padding-bottom: 88px; } }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.site-footer .container { padding-block: var(--space-2xl); }
.footer-grid { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--fg-soft); margin: 0 0 var(--space-md); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: var(--space-sm); }
.footer-grid a { color: var(--fg-soft); font-size: var(--fs-sm); text-decoration: none; }
.footer-grid a:hover { color: var(--fg); text-decoration: underline; }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--fg-soft); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ── Cookie banner (glass) ─────────────────────────────────────────────────── */
.cookie {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 1rem; z-index: 70;
  width: min(680px, calc(100% - 2rem));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.1rem 1.25rem;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: space-between;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: var(--fs-sm); flex: 1 1 240px; color: var(--fg); }
.cookie .cookie-actions { display: flex; gap: var(--space-sm); }
@media (max-width: 860px) { .cookie { bottom: 100px; } }

/* ── Legal / contenido ─────────────────────────────────────────────────────── */
.legal-page { max-width: 760px; }
.legal-page h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.legal-page h2 { font-size: var(--fs-lg); margin-top: var(--space-xl); }
.legal-page p, .legal-page li { color: var(--fg); }
.legal-page .updated { color: var(--fg-soft); font-size: var(--fs-sm); }
/* Datos ya rellenados con información real → sin resaltado */
.placeholder { color: inherit; font-weight: 600; }

/* ── Placeholder de foto (mientras no se suben las imágenes reales) ─────────── */
.hero-media, .split .media { position: relative; }
.media-ph {
  position: absolute; inset: 0; display: grid; place-items: center; gap: var(--space-sm);
  color: var(--fg-soft); text-align: center; padding: var(--space-lg);
}
.media-ph svg { width: 46px; height: 46px; stroke: currentColor; stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.media-ph span { font-size: var(--fs-sm); letter-spacing: .02em; opacity: .85; }
.hero-media img, .split .media img { position: relative; z-index: 1; }

/* ── Toast (avisos, modo demo) ─────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(1rem);
  z-index: 200; max-width: min(520px, calc(100% - 2rem));
  background: var(--fg); color: var(--bg);
  padding: .85rem 1.2rem; border-radius: var(--radius-pill); font-size: var(--fs-sm);
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 860px) { .toast { bottom: 104px; } }

/* ── Status (success / cancel) ─────────────────────────────────────────────── */
.status-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.status-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: var(--radius-pill); margin-bottom: var(--space-md);
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink);
}
.status-icon .icon { width: 38px; height: 38px; stroke-width: 1.75; }
.status-icon--ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }

/* ── Catálogo: grid + tarjetas de producto ─────────────────────────────────── */
.pgrid { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pgrid--2 { max-width: 760px; margin-inline: auto; }
@media (min-width: 640px) { .pgrid--2 { grid-template-columns: repeat(2, 1fr); } }

.pcard {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; }
.pcard-media { position: relative; aspect-ratio: 4 / 5; background: var(--bg-soft); overflow: hidden; }
.pcard-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.pcard-body h3 { margin: 0; }
.pcard-desc { margin: 0; font-size: var(--fs-sm); color: var(--fg-soft); flex: 1; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; }
.pcard-foot .price { font-size: 1.35rem; }
.pcard-cta { font-size: var(--fs-sm); font-weight: 600; color: var(--accent-ink); white-space: nowrap; }

.crumbs { margin: 0 0 .25rem; font-size: var(--fs-sm); }
.crumbs a { color: var(--fg-soft); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

/* ── Carrito: botón en cabecera ────────────────────────────────────────────── */
.cart-btn {
  position: relative; background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-pill); width: 40px; height: 40px; cursor: pointer; color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cart-btn:hover { background: var(--bg-soft); }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.cart-badge[hidden] { display: none; }

/* ── Carrito: panel lateral (drawer) ───────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer[hidden] { display: none; }
.drawer-overlay {
  position: absolute; inset: 0; background: rgba(10,8,4,.5);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.drawer--open .drawer-overlay { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--bg); border-left: 1px solid var(--line); box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}
.drawer--open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--space-lg); border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: var(--fs-lg); }
.drawer-x { background: transparent; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--fg-soft); padding: 0 .25rem; }
.drawer-x:hover { color: var(--fg); }
.drawer-items { flex: 1; overflow-y: auto; padding: var(--space-lg); display: flex; flex-direction: column; gap: 1.25rem; }
.drawer-empty { color: var(--fg-soft); text-align: center; margin-top: 2rem; }

.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; }
.cart-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); }
.cart-item-info { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.cart-item-name { font-weight: 600; color: var(--fg); text-decoration: none; font-size: .98rem; }
.cart-item-name:hover { text-decoration: underline; }
.cart-item-price { margin: 0; color: var(--fg-soft); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: .5rem; margin-top: .2rem; }
.qty-btn { width: 28px; height: 28px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; cursor: pointer; color: var(--fg); font-size: 1rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--bg-soft); }
.qty-n { min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; }
.cart-remove { margin-left: auto; background: none; border: 0; color: var(--fg-soft); cursor: pointer; font-size: var(--fs-sm); text-decoration: underline; }
.cart-remove:hover { color: var(--destructive); }

.drawer-foot { border-top: 1px solid var(--line); padding: var(--space-lg); display: flex; flex-direction: column; gap: .6rem; }
.drawer-sub { display: flex; align-items: baseline; justify-content: space-between; font-weight: 600; }
.drawer-total { font-size: var(--fs-lg); font-variant-numeric: tabular-nums; }
.drawer-note { margin: 0; font-size: var(--fs-sm); color: var(--fg-soft); }
.drawer-checkout[disabled] { opacity: .5; cursor: not-allowed; }
.drawer-continue { width: 100%; }
.drawer-checkout { width: 100%; }
