/* EXO — sistema visual: escala de grises, vidrio con borde luminoso y cromo (tema oscuro y claro) */
:root {
  color-scheme: dark;
  /* Escala de grises de la paleta (blanco → casi negro) */
  --g0: #fafafa; --g1: #d4d4d4; --g2: #888888; --g3: #626262; --g4: #4d4d4d; --g5: #383838; --g6: #222222; --g7: #111111;
  --bg: #000; --bg-2: #070707;
  --fg: 255, 255, 255;                       /* canal del color de primer plano (blanco en oscuro, negro en claro) */
  --text: #f4f4f4; --text-2: #cfcfcf; --text-3: #b3b3b3; --muted: #a1a1a1; --steel: #9b9b9b;
  --hi: #fff; --ink: #15171a; --on-ink: #fff;
  /* Vidrio: degradado luminoso con borde brillante (cápsulas apiladas) */
  --glass: linear-gradient(135deg, rgba(var(--fg), .13) 0%, rgba(var(--fg), .04) 52%, rgba(var(--fg), .025) 100%);
  --glass-2: linear-gradient(135deg, rgba(var(--fg), .22) 0%, rgba(var(--fg), .07) 100%);
  --line: rgba(var(--fg), .16); --rim: rgba(var(--fg), .55);
  --field: rgba(0, 0, 0, .5); --ph: #161616; --panel: #101010; --bar: rgba(14, 14, 14, .84); --nav-bg: rgba(0, 0, 0, .78);
  /* Cromo: botón primario brillante */
  --chrome-btn: linear-gradient(180deg, #fbfbfb 0%, #e1e3e3 40%, #b4b8b8 100%);
  --btn-glow: 0 12px 26px -12px rgba(150, 205, 200, .5);
  --shadow-card: 0 16px 40px -24px rgba(0, 0, 0, .95);
  --white: var(--chrome-btn);
  --chrome: linear-gradient(135deg, #fafafa 0%, #888 34%, #d4d4d4 54%, #4d4d4d 78%, #d4d4d4 100%);
  --ok: #8fd6a4; --warn: #e8c47a; --bad: #e9a3a3;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Gwendolyn', 'Cormorant Garamond', cursive;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
}
/* Tema claro: elementos cromados sobre gris suave (tercera referencia) */
[data-theme="light"] {
  color-scheme: light;
  --bg: #ececec; --bg-2: #e3e3e3;
  --fg: 0, 0, 0;
  --text: #2a2d2d; --text-2: #444848; --text-3: #585c5c; --muted: #6f7373; --steel: #6a6f6f;
  --hi: #1b1e1e; --ink: #262a2a; --on-ink: #fff;
  --glass: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .5));
  --glass-2: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(226, 228, 228, .9));
  --line: rgba(0, 0, 0, .1); --rim: rgba(0, 0, 0, .26);
  --field: rgba(255, 255, 255, .78); --ph: #d9dada; --panel: #f4f4f4; --bar: rgba(244, 244, 244, .88); --nav-bg: rgba(236, 236, 236, .86);
  --chrome-btn: linear-gradient(180deg, #e9ecec 0%, #c6cbcb 46%, #939a9a 100%);
  --btn-glow: 0 16px 28px -14px rgba(112, 184, 178, .7);
  --shadow-card: 0 18px 34px -24px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .95);
  --chrome: linear-gradient(135deg, #3b3f3f 0%, #9aa0a0 40%, #5b6060 70%, #cfd3d3 100%);
  --ok: #2d8a52; --warn: #94650b; --bad: #b24747;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #161616; color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
svg { fill: none; }
[data-fav].on svg, .card .fav.on svg { fill: var(--hi); }
img { display: block; max-width: 100%; }

/* ---------- Lienzo (vista galería, como en Figma) ---------- */
.canvas-head { padding: 28px 40px 0; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.canvas-head h1 { font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.canvas-head p { color: var(--muted); font-size: 13px; }
.canvas { display: flex; gap: 40px; padding: 28px 40px 60px; overflow-x: auto; align-items: flex-start; }
.frame { flex: 0 0 auto; width: 390px; }
.frame-label { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.frame-label a { color: inherit; text-decoration: none; }
.frame-label a:hover { color: #fff; }
.screen { position: relative; width: 390px; height: 844px; overflow: hidden; background: var(--bg); border-radius: 4px; isolation: isolate; }

/* =========================================================
   MODO APP: una pantalla a la vez, fluida y responsive.
   (La galería de marcos de teléfono sigue disponible en #galeria.)
   ========================================================= */
:root { --nav: 0px; }
body.solo { background: var(--bg); }
body.solo .canvas-head, body.solo .frame-label { display: none; }
body.solo .canvas { display: block; padding: 0; overflow: visible; }
body.solo .frame { display: none; width: auto; }
body.solo .frame.is-solo { display: block; }
body.solo .screen {
  --maxw: 680px;
  --gut: max(20px, calc((100% - var(--maxw)) / 2));
  width: 100%; height: calc(100vh - var(--nav)); height: calc(100dvh - var(--nav));
  border-radius: 0; display: flex; flex-direction: column;
}
body.solo .screen.splash { display: grid; }
body.solo .status, body.solo .home-bar { display: none; }
body.solo .app-top { position: static; flex: none; width: 100%; height: 64px; padding: 0 var(--gut); }
body.solo .scroll, body.solo .msgs {
  position: static; inset: auto; flex: 1; min-height: 0; width: 100%;
  padding-top: 8px; padding-left: var(--gut); padding-right: var(--gut); padding-bottom: 28px !important;
}
body.solo .checkout-bar, body.solo .buybar {
  position: static; flex: none; height: auto; width: 100%; z-index: auto;
  padding: 12px var(--gut) calc(18px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
}
body.solo .tabbar { position: static; flex: none; margin: 6px 14px calc(12px + env(safe-area-inset-bottom)); }
body.solo .composer { position: static; flex: none; width: calc(100% - 28px); max-width: 720px; margin: 8px auto 14px; }
body.solo .msgs { padding-bottom: 12px !important; }

/* Producto y lookbook: galería arriba y hoja deslizable */
body.solo .screen.product .gallery { position: relative; flex: none; height: min(46dvh, 440px) !important; }
body.solo .screen.product .app-top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
body.solo .screen.product .sheet { position: static; top: auto !important; flex: 1; min-height: 0; margin-top: -64px; padding: 0 var(--gut) 24px; z-index: 5; }

/* Login: cabecera + panel en flujo normal */
body.solo .screen.login .login-hero { position: relative; inset: auto; flex: none; }
body.solo .screen.login .login-panel { position: relative; inset: auto; flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 20px; }
body.solo .screen.login .forgot { position: static; align-self: flex-start; margin-top: 2px; }
body.solo .screen.login .signup { position: static; margin-top: auto; padding-top: 16px; }

/* Splash: el logo crece con la pantalla */
body.solo .splash .logo { width: clamp(150px, 24vmin, 280px); }

/* Barra superior de escritorio (oculta en móvil, en splash y en login) */
.site-nav { display: none; }

/* ---------- Logo ---------- */
.logo { display: block; }
.logo svg { width: 100%; height: auto; overflow: visible; }

/* ---------- Estado / barra home ---------- */
.status { position: absolute; top: 0; left: 0; right: 0; height: 44px; padding: 14px 26px 0; display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; z-index: 20; pointer-events: none; }
.home-bar { position: absolute; bottom: 8px; left: 50%; width: 120px; height: 4px; margin-left: -60px; border-radius: 2px; background: rgba(var(--fg), .55); z-index: 20; }

/* ---------- Píldoras / botones ---------- */
.pill { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .01em; transition: transform .15s, background .2s, border-color .2s; }
.pill:active { transform: scale(.98); }
.pill.glass { background: linear-gradient(180deg, rgba(var(--fg),.08), rgba(var(--fg),.03)); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.pill.glass:hover { border-color: rgba(var(--fg),.28); }
.pill.white { background: var(--white); color: var(--ink); font-weight: 600; }
.pill.white:hover { filter: brightness(1.06); }
.pill.sm { height: 38px; padding: 0 16px; width: auto; font-size: 12px; }
.pill svg { width: 18px; height: 18px; flex: none; }
.field { position: relative; }
.field input { width: 100%; height: 48px; border-radius: 999px; padding: 0 52px 0 22px; background: var(--field); border: 1px solid var(--line); outline: 0; font-size: 13px; text-align: center; transition: border-color .2s, background .2s; }
.field input::placeholder { color: var(--text-2); }
.field input:focus { border-color: rgba(var(--fg),.4); background: rgba(var(--fg),.05); }
.field .eye { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; color: var(--muted); display: grid; place-items: center; }
.field .eye svg { width: 18px; height: 18px; }

/* =========================================================
   1 · SPLASH
   ========================================================= */
.screen.splash { background: radial-gradient(ellipse at 50% 55%, #1a0505 0%, var(--bg) 62%); display: grid; place-items: center; }
.splash .stage { position: absolute; inset: 0; display: grid; place-items: center; }
.splash .logo { position: relative; z-index: 2; width: 170px; animation: glow 1.7s 2.05s ease-out both; }
.splash .logo img { display: block; width: 100%; }
.splash .logo .pc { position: absolute; left: 0; top: 0; will-change: transform; }
.splash .logo .v { animation: vIn 1.85s .15s cubic-bezier(.3,.65,.25,1) both, swapOut .01s 2s forwards; }
.splash .logo .l { animation: lIn 1.85s .15s cubic-bezier(.3,.65,.25,1) both, swapOut .01s 2s forwards; }
.splash .logo .full { position: relative; opacity: 0; animation: swapIn .01s 2s forwards; }
@keyframes vIn { 0% { transform: translateY(-100vh); } 80% { transform: translateY(9px); } 100% { transform: translateY(0); } }
@keyframes lIn { 0% { transform: translateY(100vh); } 80% { transform: translateY(-9px); } 100% { transform: translateY(0); } }
@keyframes swapIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes swapOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes glow {
  0% { filter: drop-shadow(0 0 0 rgba(190,215,255,0)); }
  30% { filter: drop-shadow(0 0 36px rgba(200,222,255,.65)); }
  100% { filter: drop-shadow(0 0 26px rgba(160,180,210,.2)); }
}
.splash .stage { overflow: hidden; }
.splash .smoke { position: absolute; left: -90px; right: -90px; bottom: -90px; height: 70%; filter: url(#smokeF); pointer-events: none; z-index: 1; }
.splash .smoke i { position: absolute; bottom: -40px; left: var(--x); width: var(--s); height: var(--s); margin-left: calc(var(--s) / -2); border-radius: 50%; background: radial-gradient(circle, rgba(228,232,240,.34), rgba(228,232,240,0) 62%); opacity: 0; animation: smokeUp var(--t) var(--d) ease-out both; }
@keyframes smokeUp { 0% { opacity: 0; transform: translateY(70px) scale(.5); } 25% { opacity: .75; } 100% { opacity: 0; transform: translateY(-250px) scale(1.5); } }
.replay { position: absolute; bottom: 36px; left: 0; right: 0; text-align: center; font-size: 11px; color: #5b5b5e; letter-spacing: .14em; text-transform: uppercase; }
.replay button { color: inherit; letter-spacing: inherit; text-transform: inherit; padding: 6px 10px; }
.replay button:hover { color: var(--muted); }

/* =========================================================
   2 · LOGIN
   ========================================================= */
.screen.login { background: #121212; }
.login-hero { position: absolute; inset: 0 0 auto 0; height: 196px; background:
  radial-gradient(circle at 50% 120%, rgba(var(--fg),.1), transparent 60%),
  repeating-linear-gradient(45deg, rgba(var(--fg),.03) 0 2px, transparent 2px 5px), #3a3a3c; display: flex; align-items: center; justify-content: center; gap: 4px; overflow: hidden; }
.login-hero .wm { font-family: var(--script); font-style: normal; font-size: 118px; line-height: 1; color: rgba(var(--fg),.2); letter-spacing: -.02em; }
.login-hero .logo { width: 92px; margin: 0 -6px; position: relative; z-index: 1; }
.login-panel { position: absolute; top: 196px; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #232325 0%, var(--panel) 38%, #121212 100%); border-radius: 0; padding: 32px 22px 0; display: flex; flex-direction: column; gap: 14px; }
.login-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 90px; background: linear-gradient(180deg, rgba(var(--fg),.06), transparent); pointer-events: none; }
.login-panel .or { text-align: center; font-size: 13px; color: var(--text); margin: 4px 0 2px; }
.login-panel .submit { margin-top: 14px; height: 52px; font-size: 14px; }
.login-panel .forgot { position: absolute; left: 24px; bottom: 100px; font-size: 11px; color: var(--muted); text-decoration: none; }
.login-panel .forgot:hover { color: var(--hi); }
.login-panel .signup { position: absolute; left: 0; right: 0; bottom: 46px; text-align: center; font-size: 12px; color: var(--muted); }
.login-panel .signup a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }

/* =========================================================
   Cabecera / barra inferior compartidas (app)
   ========================================================= */
.app-top { position: absolute; top: 44px; left: 0; right: 0; height: 52px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; z-index: 10; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); position: relative; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .dot { position: absolute; top: 7px; right: 7px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--white); color: var(--ink); font-size: 9px; font-weight: 700; display: grid; place-items: center; padding: 0 3px; }
.app-top .logo { width: 44px; }
.tabbar { position: absolute; left: 14px; right: 14px; bottom: 20px; height: 62px; border-radius: 999px; background: var(--bar); border: 1px solid var(--line); backdrop-filter: blur(20px); display: flex; justify-content: space-around; align-items: center; z-index: 15; }
.tabbar a { display: grid; place-items: center; gap: 3px; font-size: 9.5px; color: var(--muted); text-decoration: none; width: 62px; letter-spacing: .04em; }
.tabbar a svg { width: 20px; height: 20px; }
.tabbar a.on { color: var(--text); }
.tabbar a.on svg { stroke: var(--hi); }

/* =========================================================
   3 · CATÁLOGO
   ========================================================= */
.screen.catalog { background: var(--bg); }
.scroll { position: absolute; inset: 96px 0 0 0; overflow-y: auto; padding: 8px 20px 110px; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.h1 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 16px; }
.h1 em { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 1.15em; color: var(--text-2); }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.search svg { width: 17px; height: 17px; flex: none; }
.search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); min-width: 0; }
.search .filter { width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; }
.search .filter svg { width: 15px; height: 15px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 14px -20px 0; padding: 0 20px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 15px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); }
.chip.on { background: var(--white); color: var(--ink); border-color: var(--white); font-weight: 600; }
.banner { position: relative; height: 150px; margin-top: 16px; border-radius: 24px; overflow: hidden; background: var(--ph); border: 1px solid var(--line); }
.banner img { position: absolute; right: -10px; top: -18px; width: 62%; height: 130%; object-fit: cover; object-position: 50% 15%; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 28%, color-mix(in srgb, var(--bg) 25%, transparent) 70%, transparent); }
.banner .txt { position: absolute; left: 18px; bottom: 16px; z-index: 1; max-width: 55%; }
.banner small { font-size: 10px; letter-spacing: .16em; color: var(--steel); text-transform: uppercase; }
.banner h3 { font-size: 20px; line-height: 1.15; margin: 6px 0 10px; font-weight: 600; }
.sec { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 12px; }
.sec h2 { font-size: 15px; font-weight: 600; }
.sec a { font-size: 12px; color: var(--muted); text-decoration: none; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { position: relative; border-radius: 22px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); text-decoration: none; color: inherit; display: block; }
.card .ph { position: relative; aspect-ratio: 4 / 5; background: var(--ph); overflow: hidden; }
.card .ph.light { background: var(--ph); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.card .fav { position: absolute; top: 9px; right: 9px; width: 32px; height: 32px; border-radius: 50%; background: rgba(10,10,10,.55); backdrop-filter: blur(10px); display: grid; place-items: center; border: 1px solid var(--line); }
.card .fav svg { width: 15px; height: 15px; }
.card .fav.on svg { fill: var(--hi); }
.card .tag { position: absolute; left: 9px; top: 9px; font-size: 9.5px; font-weight: 600; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; background: var(--white); color: var(--ink); }
.card .info { padding: 11px 13px 13px; }
.card .nm { font-size: 13px; font-weight: 500; }
.card .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 7px; margin-top: 7px; font-size: 14px; font-weight: 600; }
.price s { font-size: 11px; font-weight: 400; color: var(--muted); }

/* =========================================================
   4 · FICHA DE PRODUCTO
   ========================================================= */
.screen.product { background: var(--bg); }
.gallery { position: absolute; top: 0; left: 0; right: 0; height: 420px; background: #101012; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.gallery::after { pointer-events: none; content: ''; position: absolute; inset: auto 0 0 0; height: 150px; background: linear-gradient(180deg, transparent, var(--bg)); }
.gallery .dots { position: absolute; z-index: 2; bottom: 66px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery .dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(var(--fg),.35); }
.gallery .dots i.on { width: 20px; background: var(--hi); }
.sheet { position: absolute; top: 340px; left: 0; right: 0; bottom: 0; overflow-y: auto; padding: 0 20px 118px; scrollbar-width: none; z-index: 5; }
.sheet::-webkit-scrollbar { display: none; }
.badges { display: flex; gap: 8px; margin-top: 62px; }
.badge { font-size: 10px; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--text-2); backdrop-filter: blur(10px); }
.sheet h1 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-top: 12px; }
.rating { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.stars { display: flex; gap: 2px; color: #e9edf3; }
.stars svg { width: 13px; height: 13px; fill: currentColor; }
.stars svg.off { fill: none; stroke: currentColor; opacity: .45; }
.sheet .price { font-size: 22px; margin-top: 12px; }
.sheet .price s { font-size: 14px; }
.sheet .price .off { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--glass-2); font-weight: 600; }
.sheet .desc { font-size: 13px; line-height: 1.55; color: var(--text-3); margin-top: 12px; }
.lbl { display: flex; justify-content: space-between; margin: 20px 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lbl a { color: var(--text); text-transform: none; letter-spacing: 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.swatches { display: flex; gap: 12px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.sw.on::after { content: ''; position: absolute; inset: -5px; border: 1.5px solid var(--hi); border-radius: 50%; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.size { height: 46px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; font-weight: 500; position: relative; }
.size.on { background: var(--white); color: var(--ink); border-color: var(--white); font-weight: 600; }
.size.out { color: #55555a; text-decoration: line-through; cursor: not-allowed; }
.stock { margin-top: 10px; font-size: 12px; display: flex; align-items: center; gap: 7px; color: var(--warn); }
.stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.acc { margin-top: 18px; border-top: 1px solid var(--line); }
.acc button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 13px; border-bottom: 1px solid var(--line); text-align: left; }
.acc button svg { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.acc .body { display: none; padding: 12px 0 4px; font-size: 12px; color: var(--text-3); line-height: 1.6; }
.acc .open + .body { display: block; }
.acc .open svg { transform: rotate(180deg); }
.acc table { width: 100%; border-collapse: collapse; font-size: 12px; }
.acc th, .acc td { padding: 7px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.acc th { color: var(--muted); font-weight: 500; }
.buybar { position: absolute; left: 0; right: 0; bottom: 0; height: 100px; padding: 14px 20px 0; display: flex; gap: 12px; background: linear-gradient(180deg, transparent, var(--bg) 40%); z-index: 12; }
.buybar .icon-btn { width: 52px; height: 52px; flex: none; }
.buybar .pill { height: 52px; font-size: 14px; }

/* =========================================================
   5 · CARRITO
   ========================================================= */
.screen.cart { background: var(--bg); }
.title-row { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 6px; }
.title-row .h1 { margin: 0; }
.title-row span { font-size: 12px; color: var(--muted); }
.ship-note { margin: 12px 0 14px; padding: 12px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.meter { height: 4px; border-radius: 2px; background: rgba(var(--fg),.12); margin-top: 9px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 72%; background: var(--chrome); }
.line { display: flex; gap: 13px; padding: 12px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); margin-bottom: 10px; }
.line .th { width: 82px; height: 98px; flex: none; border-radius: 16px; overflow: hidden; background: var(--ph); }
.line .th.light { background: var(--ph); }
.line .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.line .mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.line .nm { font-size: 13.5px; font-weight: 500; }
.line .meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.line .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); }
.qty button { width: 32px; height: 32px; font-size: 16px; color: var(--text); }
.qty b { min-width: 20px; text-align: center; font-size: 12.5px; font-weight: 600; }
.line .p { font-size: 14px; font-weight: 600; }
.line .acts { display: flex; gap: 14px; margin-top: 6px; font-size: 11px; }
.line .acts button { color: var(--muted); border-bottom: 1px solid transparent; }
.line .acts button:hover { color: var(--hi); border-color: var(--line); }
.coupon { display: flex; gap: 8px; margin: 16px 0 4px; }
.coupon .field { flex: 1; }
.coupon .field input { height: 44px; text-align: left; padding: 0 18px; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.coupon .field input::placeholder { text-transform: none; letter-spacing: 0; }
.coupon .pill { width: auto; height: 44px; padding: 0 20px; }
.applied { display: none; font-size: 11.5px; color: var(--ok); margin: 6px 6px 0; }
.applied.show { display: block; }
.summary { margin-top: 14px; padding: 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; }
.summary .r { display: flex; justify-content: space-between; padding: 5px 0; color: var(--text-2); }
.summary .r.disc { color: var(--ok); }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; color: var(--text); font-size: 16px; font-weight: 600; }
.later-h { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.checkout-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px 30px; background: linear-gradient(180deg, transparent, var(--bg) 35%); z-index: 12; }
.checkout-bar .pill { height: 54px; font-size: 14px; justify-content: space-between; padding: 0 8px 0 24px; }
.checkout-bar .pill .go { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.checkout-bar .pill .go svg { width: 16px; height: 16px; }
.pay-row { display: flex; justify-content: center; gap: 14px; margin-top: 10px; font-size: 10.5px; color: var(--muted); letter-spacing: .06em; }

@media (max-width: 480px) { .canvas { padding: 20px 16px 40px; gap: 24px; } .canvas-head { padding: 20px 16px 0; } }
@media (prefers-reduced-motion: reduce) { .splash .pc, .splash .smoke { display: none; } .splash .logo, .splash .full { animation: none; } .splash .full { opacity: 1; } }
body.rm .splash .pc, body.rm .splash .smoke { display: none; }
body.rm .splash .full { opacity: 1; }

/* =========================================================
   6–9 · CHECKOUT · PAGOS · PEDIDOS
   ========================================================= */
.top-title { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.pill[disabled] { opacity: .38; cursor: not-allowed; }
.steps { list-style: none; display: flex; gap: 6px; margin: 4px 0 4px; counter-reset: s; }
.steps li { flex: 1; counter-increment: s; font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 7px; }
.steps li::before { content: ''; height: 3px; border-radius: 2px; background: rgba(var(--fg),.14); }
.steps li.done::before { background: var(--steel); }
.steps li.on { color: var(--text); font-weight: 600; }
.steps li.on::before { background: var(--chrome); }
.lbl.first { margin-top: 18px; }

.addr { display: flex; gap: 14px; padding: 15px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.addr b { color: var(--text); font-size: 13.5px; }
.addr p { margin: 3px 0 4px; }
.addr small { color: var(--muted); font-size: 11.5px; }
.addr .pin { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--glass-2); }
.addr .pin svg { width: 18px; height: 18px; }
.pill.add { margin-top: 10px; height: 42px; color: var(--muted); border-style: dashed; }

.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; text-align: left; background: var(--glass); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.opt:hover { border-color: rgba(var(--fg),.28); }
.opt .r { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(var(--fg),.35); flex: none; position: relative; }
.opt .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.opt .t b { font-size: 13.5px; font-weight: 500; }
.opt .t small { font-size: 11px; color: var(--muted); }
.opt .v { font-size: 13px; font-weight: 600; }
.opt .brands { font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 4px 8px; border-radius: 8px; background: var(--glass-2); color: var(--text-2); }
.opt.on, .pm.on > .opt { border-color: var(--hi); background: rgba(var(--fg),.1); }
.opt.on .r, .pm.on > .opt .r { border-color: var(--hi); }
.opt.on .r::after, .pm.on > .opt .r::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--hi); }
.pm-body { display: none; flex-direction: column; gap: 10px; padding: 12px 4px 4px; }
.pm.on .pm-body { display: flex; }
.pm-body .field input { height: 44px; font-size: 12.5px; }
.pm-body .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-2); margin-top: 2px; cursor: pointer; }
.check input { display: none; }
.check span { width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid rgba(var(--fg),.35); display: grid; place-items: center; }
.check input:checked + span { background: #fff; border-color: #fff; }
.check input:checked + span::after { content: '✓'; color: var(--ink); font-size: 12px; font-weight: 700; }
.safe { font-size: 10.5px; color: var(--muted); line-height: 1.4; }

.switch-row { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 0; padding: 14px 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.switch-row b { font-size: 13.5px; font-weight: 500; display: block; }
.switch-row small { font-size: 11px; color: var(--muted); }
.switch { width: 46px; height: 28px; border-radius: 14px; background: rgba(var(--fg),.16); position: relative; flex: none; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--steel); }
.switch[aria-checked="true"] i { transform: translateX(18px); }
.rfc { display: none; margin-top: 10px; }
.rfc.show { display: block; }

.ok-banner { margin: 2px 0 14px; padding: 12px 14px; border-radius: 18px; background: rgba(143,214,164,.1); border: 1px solid rgba(143,214,164,.28); color: var(--ok); font-size: 12px; line-height: 1.45; }
.ok-banner b { color: var(--hi); }
.order { display: block; padding: 14px; margin-top: 12px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.order:hover { border-color: rgba(var(--fg),.28); }
.order[hidden] { display: none; }
.oh { display: flex; justify-content: space-between; align-items: flex-start; }
.oh b { font-size: 13.5px; font-weight: 600; display: block; }
.oh small { font-size: 11px; color: var(--muted); }
.st { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.st.prep { color: var(--warn); border-color: rgba(232,196,122,.4); }
.st.ship { color: var(--hi); background: rgba(var(--fg),.12); border-color: rgba(var(--fg),.3); }
.st.done { color: var(--ok); border-color: rgba(143,214,164,.4); }
.st.cancel { color: var(--muted); }
.thumbs { display: flex; gap: 8px; margin: 12px 0; }
.thumbs img { width: 56px; height: 66px; border-radius: 12px; object-fit: cover; object-position: 50% 18%; background: var(--ph); }
.of { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.of b { color: var(--text); font-size: 14px; margin-left: 4px; }
.of .lnk { color: var(--text); font-size: 11.5px; }

.eta { display: flex; align-items: baseline; gap: 10px; padding: 16px; border-radius: 22px; background: linear-gradient(135deg, rgba(var(--fg),.1), rgba(var(--fg),.03)); border: 1px solid var(--line); }
.eta small { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.eta b { font-size: 20px; font-weight: 600; flex: 1; }
.track { list-style: none; margin: 18px 4px 0; }
.track li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; color: var(--muted); }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: rgba(var(--fg),.14); }
.track li:last-child::before { display: none; }
.track li.done::before { background: var(--steel); }
.track i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(var(--fg),.3); flex: none; margin-top: 1px; background: var(--bg); position: relative; z-index: 1; }
.track .done i { background: var(--steel); border-color: var(--steel); }
.track .now i { background: var(--hi); border-color: var(--hi); box-shadow: 0 0 0 5px rgba(var(--fg),.14); }
.track b { display: block; font-size: 13px; font-weight: 500; color: var(--text); }
.track li:not(.done):not(.now) b { color: var(--muted); }
.track small { font-size: 11px; }
.summary .right { text-align: right; line-height: 1.4; }
.checkout-bar.two-btn { display: flex; flex-direction: column; gap: 8px; padding-bottom: 26px; }
.checkout-bar .split { display: flex; gap: 8px; }
.checkout-bar .split .pill { height: 42px; font-size: 12px; }
.checkout-bar .note { text-align: center; font-size: 10.5px; color: var(--muted); }

/* =========================================================
   10–13 · DEVOLUCIONES · CUPONES · TARJETAS DE REGALO
   ========================================================= */
.chips.wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.window { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); margin-top: 4px; }
.window b { color: var(--text); }
.line.sel { width: 100%; text-align: left; position: relative; align-items: center; padding-left: 14px; }
.line.sel .cb { width: 22px; height: 22px; border-radius: 8px; border: 1.5px solid rgba(var(--fg),.35); flex: none; display: grid; place-items: center; }
.line.sel.on { border-color: var(--hi); background: rgba(var(--fg),.1); }
.line.sel.on .cb { background: var(--hi); border-color: var(--hi); }
.line.sel.on .cb::after { content: '✓'; color: var(--ink); font-size: 13px; font-weight: 700; }
.line.sel .th { width: 56px; height: 66px; }
.line.sel .mid > span { display: block; }
.line.sel .mid > .row { display: flex; margin-top: 6px; }
.swap-sizes { display: flex; align-items: center; gap: 8px; padding: 0 4px 2px 38px; margin-top: -2px; }
.swap-sizes span { font-size: 11px; color: var(--muted); margin-right: 4px; }
.swap-sizes .size { width: 48px; height: 36px; border-radius: 12px; font-size: 12px; }
.swap-sizes[hidden] { display: none; }
.upload { display: flex; gap: 10px; align-items: center; }
.up { width: 46px; height: 46px; flex: none; border-radius: 14px; border: 1px dashed rgba(var(--fg),.3); display: grid; place-items: center; color: var(--muted); }
.up svg { width: 18px; height: 18px; }
.upload .grow { flex: 1; }
.upload .field input { height: 46px; font-size: 12.5px; }
.info-card { padding: 14px 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); font-size: 12px; line-height: 1.55; color: var(--text-3); }
.info-card b { display: block; color: var(--text); font-size: 13.5px; font-weight: 500; margin-bottom: 3px; }
.label-card { display: flex; gap: 16px; align-items: center; margin-top: 14px; padding: 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); font-size: 12px; color: var(--text-3); line-height: 1.5; }
.label-card b { color: var(--text); font-size: 13.5px; font-weight: 500; }
.label-card p { margin: 3px 0 5px; }
.label-card small { color: var(--muted); }
.qr { width: 84px; height: 84px; flex: none; border-radius: 12px; border: 6px solid #fff; background: conic-gradient(from 90deg at 50% 50%, #fff 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 14px 14px, #fff; opacity: .95; }
.two-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.two-actions .pill { width: 100%; }

.cp { position: relative; display: flex; margin-top: 12px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; }
.cp[hidden] { display: none; }
.cp .val { width: 104px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(160deg, rgba(var(--fg),.14), rgba(var(--fg),.04)); border-right: 1.5px dashed rgba(var(--fg),.25); padding: 14px 6px; text-align: center; }
.cp .val b { font-size: 28px; font-weight: 600; letter-spacing: -.02em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp .val small { font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.cp .val .ship-ic { width: 30px; height: 30px; color: var(--text-2); }
.cp .body { flex: 1; min-width: 0; padding: 14px 14px 14px 16px; }
.cp .body > b { font-size: 13.5px; font-weight: 500; }
.cp .body p { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin: 3px 0 10px; }
.cp .code { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cp code { font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: 11.5px; letter-spacing: .08em; padding: 6px 10px; border-radius: 10px; border: 1px dashed rgba(var(--fg),.3); }
.cp .code button { font-size: 11.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--white); color: var(--ink); }
.cp .tag-on { font-size: 11px; color: var(--ok); }
.cp.flash { border-color: rgba(var(--fg),.35); }
.cp .count { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--warn); margin: -4px 0 10px; letter-spacing: .06em; }
.cp .count::before { content: '⏱ Termina en '; font-family: var(--font); letter-spacing: 0; color: var(--muted); }
.cp.used { opacity: .5; }

.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); margin: 2px 0 16px; }
.seg button { height: 38px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.seg button.on { background: var(--white); color: var(--ink); font-weight: 600; }
.gcard { position: relative; height: 188px; border-radius: 26px; overflow: hidden; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 85% 10%, rgba(var(--fg),.22), transparent 55%), repeating-linear-gradient(45deg, rgba(var(--fg),.035) 0 2px, transparent 2px 5px), linear-gradient(145deg, #3b3b3e, #121213); border: 1px solid rgba(var(--fg),.18); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.gcard .logo { width: 56px; }
.gcard .gtxt { display: flex; flex-direction: column; gap: 3px; }
.gcard small { font-size: 10px; letter-spacing: .18em; color: var(--steel); }
.gcard b { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.gcard .gtxt span { font-size: 12px; color: var(--text-2); }
.amts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.amts .size { font-size: 12px; height: 44px; }
.opts.form { gap: 10px; }
.opts.form .field input { height: 46px; font-size: 12.5px; }
.balance { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; border-radius: 26px; background: linear-gradient(145deg, rgba(var(--fg),.12), rgba(var(--fg),.03)); border: 1px solid var(--line); }
.balance small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.balance b { font-size: 38px; font-weight: 600; letter-spacing: -.02em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.balance span { font-size: 11.5px; color: var(--muted); }
.mv { display: flex; justify-content: space-between; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mv small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.mv .plus { color: var(--ok); }
#gBuy[hidden], #gRedeem[hidden], #gBar[hidden] { display: none; }
[data-panel][hidden] { display: none; }

/* =========================================================
   14–19 · PERFIL · FIDELIZACIÓN · RESEÑAS
   ========================================================= */
.me { display: flex; align-items: center; gap: 16px; margin: 4px 0 16px; }
.me h1 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.me small { font-size: 12px; color: var(--muted); }
.avatar { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #f4f8ff, #5b6879, #eaf0f7, var(--steel), #f4f8ff); flex: none; }
.avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: var(--ph); font-size: 21px; font-weight: 600; letter-spacing: .04em; }
.lvl-card { display: block; padding: 16px; border-radius: 22px; background: linear-gradient(135deg, rgba(var(--fg),.12), rgba(var(--fg),.03)); border: 1px solid rgba(var(--fg),.2); }
.lv-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.lv-name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.lv-name svg { width: 18px; height: 18px; color: var(--text-2); }
.lvl-card small { display: block; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.lvl-card small b { color: var(--text); font-weight: 500; }
.meter { height: 5px; border-radius: 3px; background: rgba(var(--fg),.12); margin-top: 12px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--chrome); }
.grp-h { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 4px 8px; }
.grp { border-radius: 22px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; }
.ri { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.grp .ri:last-child { border-bottom: 0; }
.ri:hover { background: rgba(var(--fg),.04); }
.ri .ic, .rw .ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--glass-2); }
.ri .ic svg, .rw .ic svg { width: 18px; height: 18px; }
.ri .t { flex: 1; font-size: 13.5px; display: flex; flex-direction: column; gap: 2px; }
.ri .t small { font-size: 11px; color: var(--muted); }
.ri .go { width: 16px; height: 16px; color: var(--muted); transform: rotate(-90deg); }
.solo-r { margin-top: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--glass); color: var(--bad); }
.scroll:has(.solo-r) { padding-bottom: 120px; }

.fl { display: block; }
.fl small { display: block; font-size: 11px; color: var(--muted); margin: 0 0 6px 18px; }
.fl .field input { height: 46px; font-size: 13px; }
.mysz { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 12.5px; color: var(--text-2); }
.mysz .chips { justify-content: flex-end; gap: 6px; }
.mysz .chip { height: 32px; min-width: 40px; padding: 0 12px; }
.swlist { display: flex; flex-direction: column; gap: 8px; }
.swlist .switch-row { margin: 0; }

.acts2 { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.acts2 button { font-size: 11.5px; color: var(--muted); border-bottom: 1px solid transparent; }
.acts2 button:hover { color: var(--hi); border-color: var(--line); }
.addr .grow { flex: 1; min-width: 0; }
.addr b .st { margin-left: 8px; font-size: 9.5px; padding: 3px 8px; vertical-align: 1px; }
.hint { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 12px; text-align: center; }
.hint b { color: var(--text); font-weight: 500; }
.paycard { padding: 18px; height: 168px; border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 90% 0, rgba(var(--fg),.2), transparent 55%), repeating-linear-gradient(45deg, rgba(var(--fg),.035) 0 2px, transparent 2px 5px), linear-gradient(145deg, #3a3a3d, #131314); border: 1px solid rgba(var(--fg),.18); }
.paycard .pc-top, .paycard .pc-bot { display: flex; justify-content: space-between; align-items: center; }
.paycard b { font-size: 18px; letter-spacing: .14em; font-weight: 500; }
.paycard .pc-bot { font-size: 11px; letter-spacing: .08em; color: var(--text-2); }

.lv-hero { position: relative; text-align: center; padding: 26px 20px 22px; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 0, rgba(180,195,215,.22), transparent 62%), linear-gradient(160deg, #26262a, #111112); border: 1px solid rgba(var(--fg),.18); }
.lv-hero .logo { width: 54px; margin: 0 auto 10px; }
.lv-hero small { font-size: 10px; letter-spacing: .2em; color: var(--steel); }
.lv-hero h2 { font-family: var(--serif); font-style: italic; font-size: 38px; font-weight: 500; margin: 2px 0 6px; }
.lv-hero .big { display: flex; justify-content: center; align-items: baseline; gap: 8px; }
.lv-hero .big .pts { font-size: 40px; font-weight: 600; letter-spacing: -.02em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lv-hero .big em { font-style: normal; font-size: 13px; color: var(--muted); }
.lv-hero p { margin-top: 10px; font-size: 12px; color: var(--text-2); }
.lv-hero p b { color: var(--hi); font-weight: 500; }
.ladder { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0; position: relative; }
.ladder::before { content: ''; position: absolute; top: 9px; left: 16%; right: 16%; height: 2px; background: rgba(var(--fg),.14); }
.ladder li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); }
.ladder i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(var(--fg),.3); background: var(--bg); position: relative; z-index: 1; }
.ladder .done i { background: var(--steel); border-color: var(--steel); }
.ladder .on i { background: var(--hi); border-color: var(--hi); box-shadow: 0 0 0 5px rgba(var(--fg),.14); }
.ladder .on b, .ladder .done b { color: var(--text); font-weight: 500; }
.ladder small { font-size: 10.5px; }
.rw { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.rw .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rw .t b { font-size: 13.5px; font-weight: 500; }
.rw .t small { font-size: 11px; color: var(--muted); }
.rw .pill { flex: none; min-width: 84px; padding: 0 14px; }
.rw.no { opacity: .5; }
.rw.no .pill { background: var(--glass-2); color: var(--muted); cursor: not-allowed; }
.ref { padding: 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.ref b { color: var(--text); font-weight: 600; }
.ref .code { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0; padding: 10px 12px 10px 14px; border-radius: 16px; border: 1px dashed rgba(var(--fg),.3); }
.ref code { font-family: ui-monospace, Consolas, monospace; font-size: 15px; letter-spacing: .1em; color: var(--text); }
.ref .code button { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--white); color: var(--ink); }
.ref .code svg { width: 14px; height: 14px; }
.ref .stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.ref .stats b { display: block; font-size: 20px; }
.ref .stats small { font-size: 10.5px; color: var(--muted); }

.sum { display: flex; align-items: center; gap: 20px; padding: 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); margin-top: 4px; }
.avg { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.avg b { font-size: 42px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.avg small { font-size: 11px; color: var(--muted); }
.bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bars div { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.bars span { width: 10px; text-align: right; }
.bars i { flex: 1; height: 5px; border-radius: 3px; background: rgba(var(--fg),.12); overflow: hidden; }
.bars u { display: block; height: 100%; background: var(--chrome); border-radius: 3px; }
.bars em { width: 22px; font-style: normal; text-align: right; }
.fit { margin: 10px 0 14px; padding: 14px 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.fit-bar { position: relative; height: 4px; margin: 14px 0 6px; border-radius: 2px; background: rgba(var(--fg),.14); }
.fit-bar i { position: absolute; top: -5px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--hi); }
.fit-l { display: flex; justify-content: space-between; }
.fit-l small { font-size: 10.5px; color: var(--muted); }
.fit p { margin-top: 8px; color: var(--text); font-weight: 500; }
.rv { padding: 15px; margin-top: 12px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.rv-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rv-h b { font-size: 13.5px; font-weight: 500; display: block; }
.rv-h small { font-size: 10.5px; color: var(--ok); }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); font-size: 12px; font-weight: 600; flex: none; }
.rv h3 { font-size: 14px; font-weight: 500; margin: 8px 0 4px; }
.rv p { font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.tags { display: flex; gap: 6px; margin-top: 10px; }
.tags span { font-size: 10.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.ph-row { display: flex; gap: 8px; margin-top: 10px; }
.ph-row img { width: 64px; height: 74px; border-radius: 12px; object-fit: cover; object-position: 50% 18%; }
.rv-f { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.rv-f small { font-size: 10.5px; color: var(--muted); }
.help { display: flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
.help svg { width: 14px; height: 14px; }
.help.on { background: var(--white); color: var(--ink); border-color: var(--white); }
.qa { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; }
.qa > div { display: flex; gap: 12px; }
.qa b { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--glass-2); }
.qa .a { color: var(--text-3); }
.qa small { display: block; color: var(--muted); font-size: 10.5px; margin-top: 3px; }
.rate { display: flex; gap: 8px; justify-content: center; padding: 6px 0; }
.rate button { width: 52px; height: 52px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); display: grid; place-items: center; color: #5c5c61; }
.rate button svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.rate button.on { color: #eef2f7; border-color: rgba(var(--fg),.4); background: rgba(var(--fg),.1); }
.ta { width: 100%; min-height: 110px; padding: 14px 18px; border-radius: 22px; background: var(--field); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 12.5px; line-height: 1.5; resize: none; outline: 0; }
.ta:focus { border-color: rgba(var(--fg),.4); }
.ta::placeholder { color: var(--muted); }

/* =========================================================
   20–24 · SOPORTE · NOTIFICACIONES · FAVORITOS
   ========================================================= */
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; box-shadow: 0 0 0 3px rgba(143,214,164,.18); }
.chan { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ch { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); transition: border-color .2s; }
.ch:hover { border-color: rgba(var(--fg),.3); }
.ch .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--glass-2); margin-bottom: 6px; }
.ch .ic svg { width: 18px; height: 18px; }
.ch b { font-size: 13.5px; font-weight: 500; }
.ch small { font-size: 11px; color: var(--muted); display: flex; align-items: center; }
.ch .live { margin-right: 6px; flex: none; }
.tk-p { font-size: 12px; color: var(--muted); margin: 10px 0 12px; line-height: 1.45; }
.screen:has([data-panel="list"]:not([hidden])) .tk-bar { display: none; }

.screen.chat { background: var(--bg); }
.agent { display: flex; align-items: center; gap: 10px; }
.agent b { font-size: 14px; font-weight: 600; display: block; }
.agent small { font-size: 10.5px; color: var(--muted); display: flex; align-items: center; }
.agent .av { background: var(--chrome); color: var(--ink); }
.msgs { position: absolute; inset: 96px 0 92px 0; overflow-y: auto; padding: 8px 18px 12px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.msgs::-webkit-scrollbar { display: none; }
.day { align-self: center; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0; }
.m { max-width: 82%; padding: 11px 14px; border-radius: 20px; font-size: 13px; line-height: 1.45; }
.m small { display: block; font-size: 9.5px; margin-top: 5px; opacity: .6; }
.m.in { align-self: flex-start; background: var(--glass-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.m.out { align-self: flex-end; background: var(--white); color: var(--ink); border-bottom-right-radius: 6px; }
.m.out small { text-align: right; }
.m b { font-weight: 600; }
.mini { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); }
.mini .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--glass-2); flex: none; }
.mini .ic svg { width: 16px; height: 16px; }
.mini > div { flex: 1; min-width: 0; }
.mini b { font-size: 12px; display: block; }
.mini small { margin: 0; font-size: 10.5px; opacity: .7; }
.mini a { font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--ink); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.quick button { font-size: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); }
.quick button:hover { border-color: rgba(var(--fg),.4); }
.composer { position: absolute; left: 14px; right: 14px; bottom: 22px; height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border-radius: 999px; background: var(--bar); border: 1px solid var(--line); backdrop-filter: blur(20px); z-index: 15; }
.composer .icon-btn { width: 38px; height: 38px; flex: none; }
.composer input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 13px; padding: 0 4px; }
.composer input::placeholder { color: var(--muted); }
.send { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; }
.send svg { width: 18px; height: 18px; }

.nt-bar { margin: 2px 0 0; }
.nt-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 4px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nt-head button { font-size: 11.5px; letter-spacing: 0; text-transform: none; color: var(--text); border-bottom: 1px solid var(--line); }
.nt { position: relative; display: flex; gap: 14px; padding: 14px; margin-top: 8px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); cursor: pointer; }
.nt[hidden] { display: none; }
.nt.unread { background: rgba(var(--fg),.09); border-color: rgba(var(--fg),.22); }
.nt .ic { width: 40px; height: 40px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--glass-2); }
.nt .ic svg { width: 19px; height: 19px; }
.nt .t { flex: 1; min-width: 0; }
.nt b { font-size: 13.5px; font-weight: 500; }
.nt p { font-size: 12px; color: var(--text-3); line-height: 1.45; margin: 3px 0 5px; }
.nt small { font-size: 10.5px; color: var(--muted); }
.nt .dot2 { display: none; position: absolute; top: 16px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--hi); }
.nt.unread .dot2 { display: block; }

.card.out .ph img { filter: grayscale(1) brightness(.6); }
.card .tag.lo { background: rgba(232,196,122,.95); }
.card .tag.dim { background: rgba(var(--fg),.18); color: #fff; backdrop-filter: blur(8px); }
.fv-btn { width: 100%; margin-top: 10px; height: 34px; font-size: 11.5px; padding: 0 10px; }
.card.gone { opacity: 0; transform: scale(.94); transition: opacity .25s, transform .25s; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.mini-c { flex: none; width: 118px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.mini-c .ph { height: 140px; border-radius: 18px; overflow: hidden; background: var(--ph); border: 1px solid var(--line); margin-bottom: 5px; }
.mini-c .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.mini-c b { font-weight: 500; }
.mini-c small { color: var(--muted); font-size: 11.5px; }
.outfit { padding: 14px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.of-imgs { display: flex; align-items: center; justify-content: space-between; }
.of-imgs img { width: 30%; height: 108px; border-radius: 16px; object-fit: cover; object-position: 50% 18%; background: var(--ph); }
.of-imgs span { color: var(--muted); font-size: 18px; }
.of-info { display: flex; justify-content: space-between; align-items: center; }
.of-info b { font-size: 14px; font-weight: 500; display: block; }
.of-info small { font-size: 11px; color: var(--muted); }
.of-p { text-align: right; }
.of-p b { font-size: 16px; font-weight: 600; }
.of-p s { font-size: 11px; color: var(--muted); }

/* =========================================================
   25–30 · BÚSQUEDA · FILTROS · ENVÍOS · EDITORIAL
   ========================================================= */
.search .clr { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--glass-2); display: grid; place-items: center; }
.search .clr svg { width: 12px; height: 12px; }
.cancel { font-size: 13px; color: var(--text); padding: 0 4px; }
.act-filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 2px; scrollbar-width: none; align-items: center; }
.act-filters::-webkit-scrollbar { display: none; }
.act-filters .chip { display: flex; align-items: center; gap: 6px; }
.act-filters .chip svg { width: 11px; height: 11px; }
.fbtn { flex: none; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 600; }
.fbtn svg { width: 15px; height: 15px; }
.fbtn i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center; }
.res-bar { display: flex; justify-content: space-between; align-items: center; margin: 16px 2px 12px; font-size: 12.5px; color: var(--muted); }
.res-bar b { color: var(--text); }
.sortb { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text); }
.sortb svg { width: 14px; height: 14px; }
.card[hidden] { display: none; }
.empty { text-align: center; padding: 36px 10px 10px; color: var(--muted); font-size: 12.5px; }
.empty[hidden] { display: none; }
.empty .ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); }
.empty .ic svg { width: 24px; height: 24px; }
.empty b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.empty p { margin-bottom: 14px; }

.clear { font-size: 13px; color: var(--text); border-bottom: 1px solid var(--line); padding: 0 2px; }
.szgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.szgrid .size { height: 44px; font-size: 12.5px; }
.swatches[data-multi-sw] { gap: 14px; }
.range { position: relative; height: 34px; margin: 4px 6px 0; }
.rtrack { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 2px; background: rgba(var(--fg),.14); }
.rtrack i { position: absolute; top: 0; bottom: 0; background: var(--chrome); border-radius: 2px; }
.range input[type=range] { position: absolute; left: -6px; width: calc(100% + 12px); top: 5px; height: 24px; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; outline: 0; }
.range input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 24px; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5); cursor: grab; margin-top: 1px; }
.range input[type=range]::-moz-range-track { background: transparent; }
.range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; }

.inl { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; }
.opt .ic2 { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--glass-2); }
.opt .ic2 svg { width: 18px; height: 18px; }
div.opt { cursor: default; }
.zones { width: 100%; border-collapse: collapse; font-size: 12.5px; border-radius: 18px; overflow: hidden; background: var(--glass); }
.zones th, .zones td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.zones th { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.zones tr:last-child td { border-bottom: 0; }
.addr.trk { margin-top: 12px; }
.mline { margin-top: 12px; padding: 4px 4px 14px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.mline .line { margin: 8px 8px 0; background: transparent; border: 0; padding: 4px; }
.mline .to { padding: 6px 14px 0; }
.mline .to small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.mline .chip { height: 32px; }
.pk { display: flex; justify-content: space-between; align-items: center; }
.pk[hidden] { display: none; }
.pk .t b { display: block; color: var(--text); font-size: 13.5px; font-weight: 500; }
.pk .t small { color: var(--muted); font-size: 11.5px; }

.hero-st { position: relative; display: block; height: 260px; margin-top: 14px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--ph); }
.hero-st[hidden], .art[hidden] { display: none; }
.hero-st img { position: absolute; right: -40px; top: -6px; width: 85%; height: 112%; object-fit: cover; object-position: 75% 15%; }
.hero-st::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 22%, color-mix(in srgb, var(--bg) 20%, transparent) 75%), linear-gradient(0deg, color-mix(in srgb, var(--bg) 60%, transparent), transparent 50%); }
.hero-st .txt { position: absolute; z-index: 1; left: 20px; bottom: 20px; }
.hero-st small { font-size: 9.5px; letter-spacing: .16em; color: var(--steel); }
.hero-st h2 { font-size: 27px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 14px; }
.art { display: flex; gap: 14px; align-items: center; padding: 10px; margin-top: 10px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.art .ph { width: 84px; height: 84px; flex: none; border-radius: 14px; overflow: hidden; background: var(--ph); }
.art .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.art small { font-size: 9.5px; letter-spacing: .12em; color: var(--muted); }
.art b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.3; margin-top: 4px; }
.news { margin-top: 24px; padding: 18px; border-radius: 24px; background: linear-gradient(135deg, rgba(var(--fg),.1), rgba(var(--fg),.03)); border: 1px solid var(--line); }
.news b { font-size: 15px; }
.news p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.byline { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.pull { margin: 18px 0; padding: 4px 0 4px 16px; border-left: 2px solid var(--steel); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.25; color: var(--text); }
.muted-s { font-size: 12px; color: var(--muted); }
.look-items { display: flex; flex-direction: column; gap: 10px; }
.li { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.li .th { width: 58px; height: 68px; flex: none; border-radius: 14px; overflow: hidden; background: var(--ph); }
.li .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.li .t { flex: 1; }
.li .t b { display: block; font-size: 13.5px; font-weight: 500; }
.li .t small { font-size: 11px; color: var(--muted); }
.li .p { font-weight: 600; font-size: 14px; }

/* =========================================================
   31–33 · VARIANTES · IDIOMA Y MONEDA · ACCESIBILIDAD
   ========================================================= */
.vstock { font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.vstock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vstock.ok { color: var(--ok); }
.vstock.low { color: var(--warn); }
.vstock.zero { color: var(--bad); }
#vSizes .size { position: relative; }
#vSizes .size.out { color: var(--muted); text-decoration: line-through; cursor: pointer; }
.matrix { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 12px; text-align: center; }
.matrix th { font-weight: 500; color: var(--muted); font-size: 11px; padding: 4px 0; }
.matrix th:first-child, .matrix td:first-child { text-align: left; width: 22%; color: var(--text); font-size: 12px; }
.matrix td.c { height: 38px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); cursor: pointer; font-weight: 600; transition: border-color .15s; padding: 0; }
.matrix td.c:hover { border-color: rgba(var(--fg),.4); }
.matrix td.c.low { color: var(--warn); }
.matrix td.c.zero { color: var(--muted); font-weight: 400; }
.matrix td.c.on { background: var(--white); color: var(--ink); border-color: var(--white); }
.matrix td.c .cellbtn { all: unset; display: grid; place-items: center; width: 100%; height: 100%; cursor: pointer; }
.prev { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.prev img { width: 76px; height: 92px; border-radius: 14px; object-fit: cover; object-position: 50% 18%; }
.prev b { font-size: 14px; font-weight: 500; display: block; }
.prev small { font-size: 11px; color: var(--muted); display: block; }
.prev .price { margin: 6px 0 4px; }
.fs { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.fs .a1 { font-size: 13px; } .fs .a2 { font-size: 22px; }
.fs input { flex: 1; accent-color: #fff; height: 28px; }

/* Enlace de salto y foco visible */
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; border-radius: 8px; }
.pill:focus-visible, .chip:focus-visible, .icon-btn:focus-visible, .size:focus-visible { outline-offset: 3px; }
.field input:focus-visible { outline: 0; }

/* Preferencias de accesibilidad (se activan desde la pantalla Accesibilidad) */
body.fs-1 .scroll > *, body.fs-1 .msgs > *, body.fs-1 .sheet > * { zoom: 1.12; }
body.fs-2 .scroll > *, body.fs-2 .msgs > *, body.fs-2 .sheet > * { zoom: 1.25; }
body.hc { --muted: var(--text-2); --line: rgba(var(--fg),.45); --glass: rgba(var(--fg),.1); --glass-2: rgba(var(--fg),.16); }
body.hc .card, body.hc .line, body.hc .opt, body.hc .addr, body.hc .summary, body.hc .info-card, body.hc .order { border-color: rgba(var(--fg),.5); }
body.hc .card .sub, body.hc small, body.hc .meta { color: var(--text); }
body.rm *, body.rm *::before, body.rm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
body.big .chip, body.big .size, body.big .pill.sm, body.big .qty button, body.big .help, body.big .quick button { min-height: 44px; min-width: 44px; }
body.big .icon-btn { width: 44px; height: 44px; }
body.big .tabbar a { min-height: 48px; }
.altcap { display: none; }
body.alts .altcap { display: block; position: absolute; left: 4px; right: 4px; bottom: 4px; z-index: 6; font-size: 9px; line-height: 1.25; padding: 3px 6px; border-radius: 6px; background: rgba(0,0,0,.82); color: #fff; pointer-events: none; text-align: left; font-weight: 400; letter-spacing: 0; text-transform: none; }


/* =========================================================
   TABLET (≥ 720 px): columnas centradas más anchas
   ========================================================= */
@media (min-width: 720px) {
  body.solo .screen { --maxw: 760px; }
  body.solo .grid { grid-template-columns: repeat(3, 1fr); }
  body.solo .login-hero .wm { font-size: 150px; }
  body.solo .screen.catalog .banner img { right: 0; top: 0; width: 100%; height: 100%; object-position: 78% 18%; }
  body.solo .screen.catalog .banner::after { background: linear-gradient(90deg, var(--bg) 24%, color-mix(in srgb, var(--bg) 15%, transparent) 68%, transparent); }
}

/* =========================================================
   ESCRITORIO (≥ 900 px): barra superior, columnas y rejillas
   ========================================================= */
@media (min-width: 900px) {
  body.solo:not([data-screen="splash"]):not([data-screen="login"]) { --nav: 72px; }
  body.solo:not([data-screen="splash"]):not([data-screen="login"]) .site-nav { display: flex; }
  body.solo .tabbar { display: none; }
  body.solo .app-top:has(> .logo:first-child) { display: none; }
  body.solo .app-top .logo { display: none; }

  .site-nav { position: sticky; top: 0; z-index: 50; height: 72px; align-items: center; gap: 28px;
    padding: 0 max(28px, calc((100% - 1280px) / 2)); background: var(--nav-bg); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .sn-logo { display: flex; align-items: center; gap: 10px; flex: none; }
  .sn-logo .logo { width: 44px; }
  .sn-logo b { font-size: 15px; letter-spacing: .28em; font-weight: 600; }
  .sn-links { display: flex; gap: 6px; }
  .sn-links a { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; color: var(--muted); transition: color .15s, background .15s; }
  .sn-links a:hover { color: var(--text); background: var(--glass); }
  .sn-links a.on { color: var(--ink); background: var(--white); font-weight: 600; }
  .sn-search { flex: 1; max-width: 420px; margin-left: auto; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
  .sn-search:hover { border-color: rgba(var(--fg),.3); }
  .sn-search svg { width: 17px; height: 17px; flex: none; }
  .sn-actions { display: flex; align-items: center; gap: 10px; flex: none; }
  .sn-pref { font-size: 12px; letter-spacing: .06em; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
  .sn-pref:hover { color: var(--text); border-color: rgba(var(--fg),.3); }
  .site-nav .icon-btn.on { background: var(--white); color: var(--ink); }

  /* Tipografía y barras de desplazamiento visibles */
  body.solo .h1 { font-size: clamp(30px, 3.2vw, 44px); }
  body.solo .scroll { scrollbar-width: thin; scrollbar-color: #3a3a3d transparent; }
  body.solo .scroll::-webkit-scrollbar { display: block; width: 10px; }
  body.solo .scroll::-webkit-scrollbar-thumb { background: #3a3a3d; border-radius: 6px; border: 2px solid var(--bg); }
  body.solo .app-top { height: 72px; }

  /* Catálogo, búsqueda, favoritos y editorial: rejillas anchas */
  body.solo .screen.catalog { --maxw: 1240px; }
  body.solo .screen.catalog .banner { height: 240px; }
  body.solo .screen.catalog .banner h3 { font-size: 30px; }
  body.solo .screen.catalog .banner .txt { left: 40px; bottom: 32px; }
  body.solo .hero-st { height: 380px; }
  body.solo .hero-st h2 { font-size: 46px; }
  body.solo .hero-st .txt { left: 44px; bottom: 40px; }
  body.solo .mini-c { width: 190px; }
  body.solo .mini-c .ph { height: 230px; }
  body.solo .art-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  body.solo .art-list .art { margin-top: 0; }

  /* Carrito, checkout y pagos: contenido + resumen lateral fijo */
  body.solo .screen.cart, body.solo .screen.checkout, body.solo .screen.payments { --maxw: 1120px; }
  body.solo .scroll.cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 44px; align-content: start; }
  body.solo .scroll.cols > * { grid-column: 1; }
  body.solo .scroll.cols > .side { grid-column: 2; grid-row: 1 / span 24; position: sticky; top: 0; align-self: start; padding-top: 6px; }
  body.solo .checkout-bar, body.solo .buybar { justify-content: flex-end; }
  body.solo .checkout-bar .pill { max-width: 440px; margin-left: auto; }
  body.solo .checkout-bar.two-btn { align-items: flex-end; }
  body.solo .checkout-bar .split { width: 440px; }

  /* Producto y lookbook: galería a la izquierda, información a la derecha */
  body.solo .screen.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  body.solo .screen.product .gallery { grid-column: 1; grid-row: 1 / span 2; height: auto !important; }
  body.solo .screen.product .gallery::after { inset: 0 0 0 auto; width: 40%; height: auto; background: linear-gradient(90deg, transparent, var(--bg)); }
  body.solo .screen.product .gallery .dots { bottom: 24px; }
  body.solo .screen.product .app-top { width: 50%; right: auto; }
  body.solo .screen.product .sheet { grid-column: 2; grid-row: 1; margin-top: 0; padding: 48px clamp(28px, 5vw, 88px) 24px 28px; }
  body.solo .screen.product .badges { margin-top: 0; }
  body.solo .screen.product .buybar { grid-column: 2; grid-row: 2; padding-left: 28px; padding-right: clamp(28px, 5vw, 88px); justify-content: stretch; }
  body.solo .screen.product .buybar .pill { max-width: none; }
  body.solo .sheet h1 { font-size: clamp(28px, 3vw, 40px); }

  /* Login: marca a la izquierda, formulario a la derecha */
  body.solo .screen.login { flex-direction: row; }
  body.solo .screen.login .login-hero { flex: 1.15; height: auto; }
  body.solo .screen.login .login-hero .wm { font-size: clamp(160px, 15vw, 260px); }
  body.solo .screen.login .login-hero .logo { width: clamp(120px, 11vw, 190px); margin: 0 -10px; }
  body.solo .screen.login .login-panel { flex: 1; justify-content: center; padding: 0 clamp(32px, 7vw, 140px) 20px; overflow-y: auto; }
  body.solo .screen.login .login-panel > * { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
  body.solo .screen.login .login-panel .signup { margin-top: 12px; padding-top: 0; }
  body.solo .screen.login .login-panel .forgot { align-self: center; max-width: 420px; }


  body.solo .screen.product .app-top { padding: 0 20px; }
  body.solo .screen.orders { --maxw: 1100px; }
  body.solo #orderList { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  body.solo #orderList .order { margin-top: 0; }

  /* Chat y listas largas: columna centrada */
  body.solo .composer { margin-bottom: 24px; }
  body.solo .screen.profile, body.solo .screen.orders, body.solo .screen.coupons { --maxw: 820px; }
}

@media (min-width: 1200px) {
  body.solo .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1600px) {
  body.solo .screen.catalog { --maxw: 1420px; }
  body.solo .grid { grid-template-columns: repeat(5, 1fr); }
}

/* Galería: enlace para abrir la app */
.open-app { margin-left: auto; font-size: 13px; padding: 8px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; }
.canvas-head { align-items: center; }

.art-list .art[hidden] { display: none; }

/* =========================================================
   CONEXIÓN CON EL BACKEND: avisos, hojas modales, estados
   ========================================================= */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: min(92vw, 460px); padding: 12px 20px; border-radius: 999px; background: rgba(32,32,35,.96); border: 1px solid var(--line); color: var(--text); font-size: 13px; line-height: 1.4; text-align: center; box-shadow: 0 12px 40px -10px rgba(0,0,0,.8); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 300; backdrop-filter: blur(16px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(233,163,163,.5); color: var(--bad); }
.toast.info { border-color: rgba(232,196,122,.45); }
@media (min-width: 900px) { .toast { bottom: 32px; } }

.sheet-wrap { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); }
.sheet-panel { position: relative; width: min(560px, 100%); max-height: 92dvh; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 26px 26px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.6); }
.sheet-panel.wide { width: min(760px, 100%); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px 22px; font-size: 16px; }
.sheet-body { padding: 4px 22px 24px; overflow-y: auto; }
.sheet-msg { font-size: 14px; line-height: 1.5; color: var(--text-2); margin: 6px 0 18px; }
.sheet-actions { display: flex; gap: 10px; margin-top: 16px; }
.sheet-actions .pill { flex: 1; }
.sheet-form { display: flex; flex-direction: column; gap: 10px; }
.sheet-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-form .field select, .field select { width: 100%; height: 48px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 13px; outline: 0; }
@media (min-width: 720px) { .sheet-wrap { align-items: center; } .sheet-panel { border-radius: 26px; } }
.cardform { display: flex; flex-direction: column; gap: 10px; }
.cardform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.skel { height: 90px; border-radius: 20px; margin-top: 12px; background: linear-gradient(100deg, rgba(var(--fg),.04) 30%, rgba(var(--fg),.09) 50%, rgba(var(--fg),.04) 70%) 0 0 / 200% 100%; animation: skel 1.3s linear infinite; }
.card-skel { height: 270px; display: inline-block; width: calc(50% - 6px); margin-right: 8px; }
.card-skel-row { height: 300px; }
@keyframes skel { to { background-position: -200% 0; } }

.form-err { margin: 6px 4px 0; padding: 11px 14px; border-radius: 16px; background: rgba(233,163,163,.1); border: 1px solid rgba(233,163,163,.35); color: var(--bad); font-size: 12.5px; line-height: 1.45; }
.form-ok { margin: 6px 4px 0; padding: 11px 14px; border-radius: 16px; background: rgba(143,214,164,.1); border: 1px solid rgba(143,214,164,.3); color: var(--ok); font-size: 12.5px; line-height: 1.45; }
.form-err[hidden], .form-ok[hidden] { display: none; }
.warn-banner { margin: 10px 0; padding: 12px 14px; border-radius: 18px; background: rgba(232,196,122,.1); border: 1px solid rgba(232,196,122,.4); color: var(--warn); font-size: 12.5px; }
.line .warn { font-size: 11.5px; color: var(--warn); margin-top: 3px; }
.applied.bad { color: var(--bad); }
.plain { color: var(--text); font-weight: 500; text-transform: none; letter-spacing: 0; }
.plain-link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.pill.busy { opacity: .6; cursor: progress; }
.pill.disabled, .pill:disabled { opacity: .45; cursor: not-allowed; }
.opt[disabled], .opt[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.stock.okc { color: var(--ok); }
.stock.zero { color: var(--bad); }
.guide { width: 100%; border-collapse: collapse; font-size: 12px; text-align: center; }
.guide th, .guide td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.guide th { color: var(--muted); font-weight: 500; }
.dotb { width: 6px; height: 6px; border-radius: 3px; background: rgba(var(--fg),.35); padding: 0; }
.dotb.on { width: 20px; background: var(--hi); }
.gallery .dots { pointer-events: auto; }
.card .tag.lo { background: rgba(232,196,122,.95); color: var(--ink); }
.bigcode { display: block; margin: 12px auto 16px; padding: 12px 18px; border-radius: 14px; border: 1px dashed rgba(var(--fg),.35); font-family: ui-monospace, Consolas, monospace; font-size: 17px; letter-spacing: .1em; }
.mini-link { align-self: flex-start; font-size: 12px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); margin: -2px 0 4px; }
.msgs-inline { display: flex; flex-direction: column; gap: 10px; }
.msgs-inline .m { max-width: 90%; }
.boot-err { position: fixed; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; background: var(--bg); padding: 24px; z-index: 400; }
.boot-err p { color: var(--muted); font-size: 13px; }
.tabbar a { position: relative; }
.tabbar .dot { position: absolute; top: -2px; right: 12px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--white); color: var(--ink); font-size: 9.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.dot[hidden] { display: none; }
.sortb { background: transparent; border: 0; color: var(--text); font-size: 12.5px; cursor: pointer; padding: 4px 2px; }
.sortb option { background: var(--ph); color: var(--text); }
.search input[type=search]::-webkit-search-cancel-button { display: none; }
.empty a.pill { margin-top: 2px; }
.stars svg { width: 13px; height: 13px; }
.th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.thumbs img { width: 56px; height: 66px; border-radius: 12px; object-fit: cover; object-position: 50% 18%; background: var(--ph); }
.banner { display: block; }
.line.sel.done { opacity: .5; cursor: not-allowed; }


/* =========================================================
   ESTILO CROMO Y VIDRIO (referencias: cápsulas de vidrio, botones cromados)
   ========================================================= */
html, body { background: var(--bg); }
body.solo { background: var(--bg); }

/* Botón primario y elementos activos: cromo brillante con aro oscuro y resplandor */
.pill.white, .chip.on, .size.on, .seg button.on, .cp .code button, .ref .code button, .help.on, .mini a, .send, .fbtn,
.matrix td.c.on, .skip, .open-app, .sn-links a.on, .site-nav .icon-btn.on, .search .filter, .icon-btn .dot, .tabbar .dot,
.card .tag:not(.dim):not(.lo), .m.out {
  background: var(--chrome-btn); color: var(--ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
  box-shadow: inset 0 0 0 1px rgba(46, 50, 50, .5), inset 0 1.5px 0 rgba(255, 255, 255, .9), inset 0 -7px 10px -7px rgba(0, 0, 0, .3), var(--btn-glow);
}
.pill.white { font-weight: 600; height: 50px; }
.pill.white.sm { height: 38px; }
.pill.white:active, .chip.on:active { filter: brightness(.97); }
.pill.white svg { filter: none; }
.checkout-bar .pill .go { background: linear-gradient(180deg, #2d3131, #0d0f0f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(0, 0, 0, .4); }
.opt.on, .pm.on > .opt, .line.sel.on { background: var(--glass-2); border-color: var(--rim); box-shadow: 0 0 26px rgba(var(--fg), .1); }
.chip.on, .size.on { border-color: transparent; }

/* Cápsula de vidrio */
.pill.glass {
  background: linear-gradient(90deg, rgba(var(--fg), .24) 0%, rgba(var(--fg), .07) 55%, rgba(var(--fg), .02) 100%);
  border: 1px solid var(--rim);
  box-shadow: inset 0 1px 0 rgba(var(--fg), .4), inset 0 -10px 14px -12px rgba(var(--fg), .5), 0 0 26px rgba(var(--fg), .07);
}
.pill.glass:hover { border-color: rgba(var(--fg), .8); }
.chip, .search, .size { border-color: rgba(var(--fg), .26); }
.chip:hover { border-color: rgba(var(--fg), .5); }

/* Esferas de vidrio para los botones de icono */
.icon-btn {
  background: radial-gradient(circle at 32% 24%, rgba(var(--fg), .3), rgba(var(--fg), .07) 58%, rgba(var(--fg), .02));
  border: 1px solid var(--rim);
  box-shadow: inset 0 1px 0 rgba(var(--fg), .35), 0 0 22px rgba(var(--fg), .08);
}
.icon-btn:hover { border-color: rgba(var(--fg), .85); }

/* Superficies de vidrio con borde luminoso y sombra suave */
.card, .line, .opt, .order, .addr, .summary, .info-card, .ref, .sum, .rv, .cp, .qa, .ship-note, .window, .lvl-card, .grp, .nt, .rw, .li, .art,
.label-card, .prev, .fs, .fit, .mline, .switch-row, .paycard, .outfit, .ch, .news, .balance, .zones, .eta {
  border-color: rgba(var(--fg), .2); box-shadow: var(--shadow-card);
}
.card:hover, .order:hover, .ch:hover, .art:hover { border-color: rgba(var(--fg), .45); }

/* Campos: cápsula hundida */
.field input, .field select, .ta { box-shadow: inset 0 2px 9px rgba(0, 0, 0, .35); border-color: rgba(var(--fg), .22); }
.field input:focus { border-color: rgba(var(--fg), .7); box-shadow: inset 0 2px 9px rgba(0, 0, 0, .3), 0 0 0 3px rgba(var(--fg), .08); }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .ta { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .12); }

/* Interruptor: pista de vidrio y bola cromada */
.switch { background: rgba(var(--fg), .16); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); border: 1px solid rgba(var(--fg), .2); }
.switch i { background: linear-gradient(180deg, #fff, #c9cdcd); box-shadow: 0 2px 5px rgba(0, 0, 0, .45); }
.switch[aria-checked="true"] { background: var(--chrome-btn); }
.switch[aria-checked="true"] i { background: linear-gradient(180deg, #4a4f4f, #101212); box-shadow: 0 2px 5px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }

/* Barras flotantes */
.tabbar { background: var(--bar); border: 1px solid rgba(var(--fg), .3); box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(var(--fg), .15); }
.site-nav { background: var(--nav-bg); }
.sheet-panel { background: var(--panel); border-color: rgba(var(--fg), .25); }
.sheet-bg { background: rgba(0, 0, 0, .66); }
.toast { background: var(--bar); color: var(--text); }
.meter { background: rgba(var(--fg), .12); }
.meter i, .bars u { background: var(--chrome); }
.cp .val b, .balance b, .lv-hero .big .pts { background: var(--chrome); -webkit-background-clip: text; background-clip: text; }

/* Fondo de las pantallas: negro puro con una viñeta suave */
.screen.splash { background: radial-gradient(ellipse at 50% 55%, #1a1a1a 0%, var(--bg) 62%); }
.screen.login, .login-panel { background: var(--bg); }
.login-panel { background: linear-gradient(180deg, rgba(var(--fg), .07) 0%, var(--bg) 42%); }

.login-hero .wm { position: relative; z-index: 1; color: rgba(var(--fg), .3); mix-blend-mode: normal; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.login-hero .logo { z-index: 1; }

/* Paleta (escala de grises) como muestra en Accesibilidad */
.ramp { display: flex; justify-content: center; padding: 14px 0 6px; }
.ramp i { width: 36px; height: 78px; border-radius: 999px; margin-left: -12px; box-shadow: 0 0 0 1px rgba(var(--fg), .15); }
.ramp i:first-child { margin-left: 0; }
.ramp i:nth-child(1) { background: var(--g0); } .ramp i:nth-child(2) { background: var(--g1); } .ramp i:nth-child(3) { background: var(--g2); } .ramp i:nth-child(4) { background: var(--g3); }
.ramp i:nth-child(5) { background: var(--g4); } .ramp i:nth-child(6) { background: var(--g5); } .ramp i:nth-child(7) { background: var(--g6); } .ramp i:nth-child(8) { background: var(--g7); }

/* El logo, blanco cromado, necesita contraste sobre el tema claro */
[data-theme="light"] .app-top .logo, [data-theme="light"] .sn-logo .logo, [data-theme="light"] .lv-hero .logo { filter: brightness(.3) contrast(1.3); }
[data-theme="light"] .tabbar a.on svg { stroke: var(--hi); }
[data-theme="light"] .login-hero .wm { color: rgba(0, 0, 0, .22); text-shadow: none; }
[data-theme="light"] .pill.glass { background: linear-gradient(180deg, #fafafa, #e4e6e6); border-color: rgba(0, 0, 0, .16); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .3), inset 0 1px 0 #fff; color: var(--text); }
[data-theme="light"] .icon-btn { background: radial-gradient(circle at 32% 24%, #fff, #dcdfdf 70%); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .35), inset 0 1px 0 #fff; }
[data-theme="light"] .tabbar { box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .35), inset 0 1px 0 #fff; }
.empty .pill { display: inline-flex; width: auto; padding: 0 22px; margin-top: 4px; }

/* Islas oscuras: piezas con fondo oscuro propio conservan los colores del tema oscuro */
.gcard, .paycard, .lv-hero, .hero-st, .screen.splash, .login-hero {
  --text: #f4f4f4; --text-2: #cfcfcf; --text-3: #b3b3b3; --muted: #a1a1a1; --steel: #9b9b9b; --hi: #fff; --fg: 255, 255, 255; color: #f4f4f4;
  --chrome: linear-gradient(135deg, #fafafa 0%, #888 34%, #d4d4d4 54%, #4d4d4d 78%, #d4d4d4 100%);
}
.hero-st { --bg: #0c0c0c; --ph: #17171a; --line: rgba(255, 255, 255, .14); --chrome-btn: linear-gradient(180deg, #e9ecec 0%, #c6cbcb 46%, #939a9a 100%); }
.screen.splash { --bg: #000; }
[data-theme="light"] .screen.splash { background: radial-gradient(ellipse at 50% 55%, #1a1a1a 0%, #000 62%); }
[data-theme="light"] .login-hero { background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, .12), transparent 62%), #0c0c0c; }
[data-theme="light"] .login-hero .wm { color: rgba(255, 255, 255, .3); text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
[data-theme="light"] .login-hero .logo { filter: none; }
[data-theme="light"] .lv-hero .logo { filter: none; }
.lv-hero .big .pts { background-image: linear-gradient(135deg, #ffffff 0%, #b9bec4 45%, #f1f2f3 70%, #aeb3b8 100%); }
.cp .code { flex-wrap: wrap; justify-content: flex-start; }
.cp .code code { margin-right: auto; }
.cp .code button { flex: none; }
@media (max-width: 440px) { .cp .val { width: 84px; } }
[data-theme="light"] .cp .val b, [data-theme="light"] .balance b { background-image: linear-gradient(135deg, #1b1e1e 0%, #4a5050 55%, #222626 100%); }
.stars { color: var(--hi); }
.stars svg.off { opacity: .35; }
/* Iconos sobre foto: siempre claros */
.card .fav, .gallery .icon-btn, .app-top .icon-btn[data-wish] { color: #fff; }
.card .fav { background: rgba(10, 10, 10, .55); }
[data-theme="light"] .product .app-top .icon-btn, [data-theme="light"] .app-top .icon-btn[data-share], [data-theme="light"] .app-top .icon-btn[data-wish] { color: #1b1e1e; }
#themeSeg { grid-template-columns: repeat(3, 1fr); }
.field input::placeholder, .ta::placeholder { text-transform: none; letter-spacing: 0; }

/* ---------- Modelo 3D en la galería de producto ---------- */
.gallery.is3d::after { display: none; }
.gallery model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: rgba(var(--fg), .6); outline: none;
  background: radial-gradient(circle at 50% 42%, #2c2c30 0%, #0d0d0f 78%); }
[data-theme="light"] .gallery model-viewer { background: radial-gradient(circle at 50% 42%, #ffffff 0%, #cfd2d2 80%); }
.gallery model-viewer .ar-btn { position: absolute; right: 14px; top: 76px; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--chrome-btn); color: var(--ink); border: 1px solid rgba(var(--fg), .35); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.gallery model-viewer .ar-btn svg { width: 17px; height: 17px; }
.gallery model-viewer .mv-hint { position: absolute; left: 0; right: 0; bottom: 100px; text-align: center; font-size: 12px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); opacity: .85; pointer-events: none; transition: opacity .6s; }
.gallery model-viewer .mv-hint.off { opacity: 0; }
.gallery model-viewer .mv-err { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: #e9a3a3; font-size: 14px; background: rgba(0, 0, 0, .6); }
.gallery model-viewer .mv-err[hidden] { display: none; }
.dotb.d3 { width: auto; height: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--text); background: rgba(var(--fg), .18); border: 1px solid rgba(var(--fg), .28); }
.dotb.d3 svg { width: 14px; height: 14px; }
.dotb.d3.on { width: auto; background: var(--hi); color: var(--bg); }
@media (min-width: 900px) { body.solo .gallery model-viewer .mv-hint { bottom: 64px; } body.solo .gallery model-viewer .ar-btn { top: 24px; } }
