/* =============================================================
   RANCAÑO LUMEN — estilos
   Estética: neón / futurista oscuro. Cajas de luz con letras
   retroiluminadas, inspiradas en el letrero real de la marca.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #08070b;
  --bg-2:      #0d0c12;
  --panel:     #131119;
  --panel-2:   #1a1824;
  --ink:       #f5f3fb;
  --mute:      #a6a3b8;
  --dim:       rgba(245,243,251,0.42);
  --line:      rgba(255,255,255,0.09);
  --line-2:    rgba(255,255,255,0.14);

  --accent:    #00e5ff;   /* cian — acento de interfaz */
  --accent-2:  #ff2e88;   /* magenta */
  --accent-3:  #7dff5c;   /* verde */
  --red:       #ff2d55;   /* rojo del letrero real */

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1200px;
  --gutter:    clamp(1.1rem, 4vw, 2.4rem);

  --sans:      "Space Grotesk", "Inter", system-ui, sans-serif;
  --body:      "Inter", system-ui, sans-serif;
  --script:    "Kaushan Script", cursive;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.02em; font-family: var(--sans); font-weight: 600; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #001014; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent); color: #001014;
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  margin-top: .7rem;
  letter-spacing: -0.03em;
}
.section-head p { color: var(--mute); margin-top: 1rem; font-size: 1.05rem; max-width: 56ch; }

/* neon text helper */
.neon {
  color: #fff;
  text-shadow:
    0 0 4px #fff,
    0 0 10px var(--glow, var(--accent)),
    0 0 28px var(--glow, var(--accent)),
    0 0 60px var(--glow, var(--accent));
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out),
              background .3s var(--ease-out), border-color .3s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--accent);
  color: #001014;
  box-shadow: 0 0 0 rgba(0,229,255,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -8px var(--accent), 0 0 30px -6px var(--accent);
}
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 0 26px -8px var(--accent);
}
.btn-wa {
  background: #25d366; color: #04220f;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(37,211,102,.7); }
.btn-block { width: 100%; justify-content: center; }

/* =============================================================
   5. Navigation
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .9rem var(--gutter);
  transition: background .4s var(--ease-out), backdrop-filter .4s var(--ease-out),
              border-color .4s var(--ease-out), padding .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8,7,11,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: .65rem;
}
.brand {
  display: inline-flex; align-items: baseline; gap: .45rem;
  font-family: var(--sans); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .02em;
}
.brand .brand-mark { color: #fff; text-shadow: 0 0 6px var(--red), 0 0 16px var(--red), 0 0 34px var(--red); }
.brand .brand-sub { color: var(--accent); text-shadow: 0 0 8px var(--accent); font-weight: 500; }
.nav-links { display: none; gap: 1.8rem; align-items: center; }
.nav-links a {
  font-family: var(--sans); font-size: .92rem; color: var(--mute);
  position: relative; transition: color .25s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: .7rem; }

.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--sans); font-weight: 600; font-size: .9rem;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.cart-btn:hover { border-color: var(--accent); box-shadow: 0 0 22px -8px var(--accent); transform: translateY(-1px); }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-2); color: #fff;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
  box-shadow: 0 0 12px -2px var(--accent-2);
  transition: transform .3s var(--ease-bounce);
}
.cart-count.bump { transform: scale(1.4); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at var(--mx, 30%) var(--my, 22%), rgba(0,229,255,0.16), transparent 60%),
    radial-gradient(50% 45% at 82% 78%, rgba(255,46,136,0.14), transparent 60%),
    radial-gradient(40% 40% at 50% 100%, rgba(255,45,85,0.16), transparent 65%);
  transition: background .5s var(--ease-out);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(75% 65% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 40%, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  letter-spacing: -0.035em;
  margin-top: 1.1rem;
  line-height: 1.02;
}
.hero h1 em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  color: #fff;
  padding-right: .1em;
  text-shadow:
    0 0 6px #fff,
    0 0 16px var(--red),
    0 0 36px var(--red),
    0 0 70px var(--red);
}
.hero-sub {
  color: var(--mute);
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  margin-top: 1.4rem;
  max-width: 48ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem;
  font-family: var(--sans); font-size: .82rem; color: var(--dim);
  letter-spacing: .04em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); }

/* Hero light-box sign (recreación del letrero real) */
.lightbox-hero {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
}
.lightbox {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #16151c 0%, #0c0b10 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 30px 70px -30px rgba(0,0,0,0.9);
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.4rem);
  overflow: hidden;
}
.lightbox::before { /* borde interior tipo bisel de la caja */
  content: ""; position: absolute; inset: 10px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}
.lightbox-sign {
  font-family: var(--sans);
  font-weight: 700;
  text-align: center;
  line-height: .96;
  letter-spacing: .04em;
}
.lightbox-sign .l1 {
  display: block;
  font-size: clamp(2.4rem, 9vw, 4rem);
  color: #fff;
  text-shadow:
    0 0 4px #fff,
    0 0 14px var(--sign, var(--red)),
    0 0 34px var(--sign, var(--red)),
    0 0 62px var(--sign, var(--red));
}
.lightbox-sign .l2 {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(.85rem, 2.6vw, 1.2rem);
  letter-spacing: .55em;
  margin-top: .55rem;
  padding-left: .55em;
  color: #fff;
  text-shadow: 0 0 4px #fff, 0 0 12px var(--accent), 0 0 26px var(--accent);
}
.lightbox-feet {
  display: flex; justify-content: space-between; margin-top: 1.4rem; padding-inline: .4rem;
}
.lightbox-feet i {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 14px var(--accent-3), 0 0 4px #fff inset;
  display: block;
}
/* derrame de luz sobre "el suelo" */
.light-spill {
  position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%);
  width: 120%; height: 90px;
  background: radial-gradient(60% 100% at 50% 0%, var(--sign, var(--red)) 0%, transparent 70%);
  filter: blur(14px); opacity: .55;
  pointer-events: none;
  animation: spillPulse 4.5s var(--ease-soft) infinite;
}
@keyframes spillPulse { 0%,100% { opacity:.42; } 50% { opacity:.62; } }

/* animación RGB del letrero de portada */
.lightbox-hero.rgb {
  animation: signCycle 12s linear infinite;
}
@keyframes signCycle {
  0%   { --sign: #ff2d55; }
  25%  { --sign: #ff2e88; }
  50%  { --sign: #00e5ff; }
  75%  { --sign: #7dff5c; }
  100% { --sign: #ff2d55; }
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .lightbox-hero { justify-self: end; }
}

/* =============================================================
   7. Marquee
   ============================================================= */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--sans); font-size: 1.05rem; letter-spacing: .06em;
  color: var(--mute); text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track b { color: var(--accent); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* =============================================================
   8. Catálogo
   ============================================================= */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
}
.product-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--glow) 55%, transparent);
  box-shadow: 0 24px 60px -30px var(--glow);
}
/* la "caja de luz" con el nombre */
.pc-lightbox {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, #0e0d13 0%, #08070b 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.4rem;
}
/* derrame de luz bajo la caja (el "suelo") */
.pc-lightbox::after {
  content: ""; position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  width: 72%; height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(9px); opacity: .5; pointer-events: none;
}
/* LA CAJA FÍSICA: rectángulo negro con marco y el nombre calado retroiluminado dentro */
.pc-sign {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 74%;
  min-height: clamp(3rem, 11vw, 4.4rem);
  padding: .8rem 1.15rem;
  border-radius: 9px;
  background: linear-gradient(180deg, #18171f 0%, #0b0a0f 100%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 16px 32px -16px rgba(0,0,0,0.9);
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  text-align: center; line-height: 1.05; letter-spacing: .05em;
  color: #fff;
  text-shadow: 0 0 4px #fff, 0 0 12px var(--glow), 0 0 30px var(--glow), 0 0 55px var(--glow);
}
.pc-sign::before { /* bisel interior de la caja */
  content: ""; position: absolute; inset: 6px; border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.06); pointer-events: none;
}
.pc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.cat-shirt { width: 76%; height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5)); }

/* Producto único destacado */
.product-feature {
  display: grid; gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
.pf-visual { display: grid; place-items: center; }
.pf-visual .lightbox-hero { width: min(100%, 460px); }
.pf-info h3 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin-top: .9rem; letter-spacing: -0.03em; }
.pf-info > p { color: var(--mute); margin-top: 1.1rem; font-size: 1.06rem; max-width: 52ch; }
.pf-list { display: grid; gap: .7rem; margin-top: 1.6rem; }
.pf-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-size: .97rem; }
.pf-list li::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: .55rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
}
.pf-foot { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }
.pf-price { font-family: var(--sans); font-weight: 700; font-size: 2rem; }
.pf-price small { font-size: .95rem; color: var(--dim); font-weight: 500; }
.pf-note { margin-top: 1.3rem; color: var(--dim); font-size: .92rem; }
.pf-note a { color: var(--accent); }
.pf-note a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .product-feature { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   Antes / Después (deslizador)
   ============================================================= */
.ba {
  position: relative; aspect-ratio: 16 / 10; max-height: 560px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 calc(100% - var(--pos, 34%)) 0 0); }
.wall { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% -10%, #1b1922 0%, #121017 45%, #0c0b10 100%); }
.wall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, #0a090d 0%, #070609 100%); border-top: 1px solid rgba(255,255,255,0.04); }
.ba-glow { position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%); width: 78%; height: 66%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--sign) 55%, transparent), transparent 70%); filter: blur(36px); opacity: .9; pointer-events: none; z-index: 2; }
.ba-sign { position: absolute; left: 50%; bottom: 40%; transform: translateX(-50%); width: min(52%, 250px); z-index: 3; }
.ba-sign .lightbox { padding: 1.1rem 1.2rem; }
.ba-sign .lightbox-sign .l1 { font-size: clamp(1.4rem, 4vw, 2.2rem); text-shadow: 0 0 4px #fff, 0 0 14px var(--sign), 0 0 34px var(--sign), 0 0 60px var(--sign); }
.ba-sign .lightbox-sign .l2 { font-size: clamp(.6rem, 1.6vw, .8rem); }
.ba-tag { position: absolute; bottom: 1rem; z-index: 4; font-family: var(--sans); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: rgba(8,7,11,0.7); backdrop-filter: blur(6px); border: 1px solid var(--line-2); color: var(--mute); }
.ba-tag-left { left: 1rem; color: var(--ink); }
.ba-tag-right { right: 1rem; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 34%); transform: translateX(-50%); z-index: 5; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ba-line { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.85); box-shadow: 0 0 12px rgba(255,255,255,0.5); }
.ba-grip { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #08070b; background: #fff; box-shadow: 0 6px 20px -4px rgba(0,0,0,0.6); }

/* Escena de habitación (pared real con estantería, planta, libros, cuadro) */
.room { position: absolute; inset: 0; overflow: hidden; }
.room-wall { position: absolute; left: 0; right: 0; top: 0; bottom: 24%; background: radial-gradient(120% 95% at 50% 0%, #241f2e 0%, #17141d 60%, #131019 100%); }
.room-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.28), transparent 26%, transparent 74%, rgba(0,0,0,0.28)); }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(180deg, #15121b 0%, #0d0b11 100%); border-top: 1px solid rgba(255,255,255,0.05); }
.room-frame { position: absolute; left: 12%; top: 15%; width: 56px; height: 74px; border-radius: 3px; background: linear-gradient(135deg, #2b2735, #201c28); border: 3px solid #34303f; box-shadow: 0 8px 16px -8px rgba(0,0,0,0.7); }
.room-frame::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,0.06); border-radius: 2px; }
.room-shelf { position: absolute; left: 9%; right: 9%; top: 60%; height: 11px; background: linear-gradient(180deg, #3c3749 0%, #2a2634 100%); border-radius: 2px; box-shadow: 0 12px 24px -10px rgba(0,0,0,0.8); }
.room-shelf::before, .room-shelf::after { content: ""; position: absolute; top: 11px; width: 8px; height: 16px; background: linear-gradient(180deg, #2a2634, #1e1b26); }
.room-shelf::before { left: 13%; }
.room-shelf::after { right: 13%; }
.rs-books { position: absolute; left: 15%; top: 60%; transform: translateY(-100%); display: flex; align-items: flex-end; gap: 3px; z-index: 2; }
.rs-books i { display: block; width: 10px; border-radius: 2px 2px 0 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2); }
.rs-books i:nth-child(1) { height: 40px; background: #5b5470; }
.rs-books i:nth-child(2) { height: 48px; background: #7a4b4b; }
.rs-books i:nth-child(3) { height: 34px; background: #4b6d66; }
.rs-books i:nth-child(4) { height: 44px; background: #6d654b; }
.rs-books i:nth-child(5) { height: 30px; background: #57506b; transform: rotate(9deg); transform-origin: bottom left; }
.rs-plant { position: absolute; right: 16%; top: 60%; transform: translateY(-100%); width: 46px; height: 58px; z-index: 2; }
.rs-plant .pot { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 22px; background: linear-gradient(180deg, #9a6247, #6f4632); border-radius: 4px 4px 7px 7px; }
.rs-plant .leaf { position: absolute; bottom: 18px; left: 50%; width: 11px; height: 30px; background: linear-gradient(180deg, #47a06a, #2f6f47); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform-origin: bottom center; }
.rs-plant .leaf:nth-child(2) { transform: translateX(-50%) rotate(-32deg); }
.rs-plant .leaf:nth-child(3) { transform: translateX(-50%) rotate(-12deg); height: 34px; }
.rs-plant .leaf:nth-child(4) { transform: translateX(-50%) rotate(8deg); height: 32px; }
.rs-plant .leaf:nth-child(5) { transform: translateX(-50%) rotate(28deg); }
.rs-plant .leaf:nth-child(6) { transform: translateX(-50%) rotate(0deg); height: 36px; }

/* =============================================================
   Diseñador de letrero
   ============================================================= */
.designer { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.dz-preview .lightbox-hero { width: min(100%, 460px); margin-inline: auto; }
.dz-preview .lightbox-sign .l1 { word-break: break-word; font-family: var(--sans); }
.dz-controls { display: grid; gap: 1.5rem; }
.dz-field { display: grid; gap: .6rem; }
.dz-label { font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.dz-controls input[type="text"] { width: 100%; padding: .9rem 1.1rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); font-family: var(--sans); font-size: 1.05rem; letter-spacing: .02em; transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.dz-controls input[type="text"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,229,255,0.15); }
.dz-fonts, .dz-sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.dz-font, .dz-size { padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--mute); font-size: .92rem; font-family: var(--sans); transition: border-color .2s, color .2s, background .2s, transform .2s; }
.dz-font:hover, .dz-size:hover { color: var(--ink); transform: translateY(-1px); }
.dz-font.is-active, .dz-size.is-active { border-color: var(--accent); color: #fff; background: rgba(0,229,255,0.12); box-shadow: 0 0 18px -8px var(--accent); }
.dz-colors { display: flex; flex-wrap: wrap; gap: .6rem; }
.dz-color { width: 36px; height: 36px; border-radius: 50%; position: relative; background: var(--c); border: 2px solid rgba(255,255,255,0.15); box-shadow: 0 0 14px -2px var(--c); transition: transform .2s var(--ease-out); }
.dz-color:hover { transform: scale(1.12); }
.dz-color.is-active { border-color: #fff; transform: scale(1.15); }
.dz-color.is-active::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #08070b; font-size: .85rem; font-weight: 700; }
.dz-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-top: .4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.dz-price { font-family: var(--sans); font-weight: 700; font-size: 1.9rem; }
.dz-price small { font-size: .9rem; color: var(--dim); }
.dz-sizenote { color: var(--dim); font-size: .82rem; line-height: 1.5; margin-top: .2rem; }
.dz-sizenote a { color: var(--accent); }
.dz-sizenote a:hover { text-decoration: underline; }
.dz-hint { margin-top: .3rem; color: var(--dim); font-size: .88rem; }
.dz-hint a { color: var(--accent); }
.dz-hint a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .designer { grid-template-columns: 1fr 1fr; }
  .dz-preview { position: sticky; top: 90px; }
}

/* Selector de producto (pestañas) */
.dz-switch { display: inline-flex; gap: .4rem; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 999px; padding: .35rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.dz-tab { padding: .65rem 1.2rem; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: .92rem; color: var(--mute); transition: background .25s var(--ease-out), color .25s var(--ease-out); }
.dz-tab:hover { color: var(--ink); }
.dz-tab.is-active { background: var(--accent); color: #001014; box-shadow: 0 0 20px -6px var(--accent); }
.designer[hidden] { display: none; }

/* Camiseta — vista previa */
.shirt-stage { background: radial-gradient(80% 80% at 50% 32%, #14141d 0%, #08070b 75%); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: grid; place-items: center; }
.shirt-svg { width: 100%; max-width: 420px; height: auto; }
.shirt-svg .jbg { fill: var(--c1, #75aadb); }
.shirt-svg .collar { fill: var(--c2, #ffffff); }
.shirt-svg .stitch { fill: none; stroke: rgba(0,0,0,0.32); stroke-width: 1.5; stroke-dasharray: 4 4; }
.shirt-svg .pv-name { fill: var(--tc, #14233b); font-family: var(--sans); font-weight: 800; font-size: 26px; letter-spacing: 2px; }
.shirt-svg .pv-number { fill: var(--tc, #14233b); font-family: var(--sans); font-weight: 800; font-size: 125px; }
.sp-chapa-cap { text-align: center; margin-top: .9rem; color: var(--mute); font-family: var(--sans); font-size: .88rem; }
.sp-chapa-cap strong { color: var(--ink); font-weight: 600; }

/* Camiseta — controles */
.dz-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sh-colors { display: flex; gap: 1rem; }
.sh-cpick { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: .85rem; color: var(--mute); }
.sh-cpick input[type="color"] { width: 44px; height: 34px; border: 1px solid var(--line-2); border-radius: 8px; background: none; padding: 2px; cursor: pointer; }
.sh-presets { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.sh-preset { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--sans); font-size: .78rem; color: var(--mute); transition: border-color .2s, color .2s; }
.sh-preset:hover { border-color: var(--accent); color: var(--ink); }
.sh-preset i { width: 20px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid rgba(255,255,255,0.2); }
.sh-tswatches { display: inline-flex; gap: .45rem; align-items: center; }
.sh-tsw { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); cursor: pointer; transition: transform .15s var(--ease-out); }
.sh-tsw:hover { transform: scale(1.15); }
.pc-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.15rem 1.2rem; flex: 1; }
.pc-tagrow { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pc-tag {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--glow); border: 1px solid color-mix(in srgb, var(--glow) 40%, transparent);
  padding: .22rem .55rem; border-radius: 999px;
}
.pc-name { font-family: var(--sans); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.pc-desc { color: var(--mute); font-size: .9rem; line-height: 1.5; flex: 1; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .4rem; }
.pc-price { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; }
.pc-price small { font-weight: 500; font-size: .8rem; color: var(--dim); }
.pc-add {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2);
  font-family: var(--sans); font-weight: 600; font-size: .85rem;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out), color .25s var(--ease-out);
}
.pc-add:hover { border-color: var(--glow); color: var(--glow); box-shadow: 0 0 22px -8px var(--glow); transform: translateY(-1px); }
.pc-add.added { background: var(--accent-3); color: #04220f; border-color: var(--accent-3); }
.pc-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 3;
  font-family: var(--sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--accent-2); color: #fff; padding: .28rem .6rem; border-radius: 999px;
  box-shadow: 0 0 16px -3px var(--accent-2);
}

/* =============================================================
   Galería (fotos reales)
   ============================================================= */
.gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gal-item { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.gal-featured { grid-column: 1 / -1; }
.gal-featured img { aspect-ratio: 16 / 9; }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; font-family: var(--sans); font-size: .92rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(8,7,11,.9)); }
.gal-ph { display: none; }
.gal-item.gal-missing img { display: none; }
.gal-item.gal-missing figcaption { display: none; }
.gal-item.gal-missing .gal-ph { display: grid; place-items: center; gap: .5rem; text-align: center; aspect-ratio: 16 / 9; padding: 1.5rem; background: radial-gradient(80% 90% at 50% 120%, rgba(255,45,85,.28), #0c0b10 70%); }
.gal-ph span { font-family: var(--sans); font-weight: 700; font-size: clamp(1.6rem, 5vw, 2.6rem); color: #fff; text-shadow: 0 0 4px #fff, 0 0 16px var(--red), 0 0 40px var(--red), 0 0 70px var(--red); }
.gal-ph small { color: var(--dim); font-family: var(--sans); font-size: .78rem; letter-spacing: .06em; }

/* =============================================================
   Formas de pago (carrito)
   ============================================================= */
.pay-methods { display: grid; gap: .6rem; }
.pay-label { font-family: var(--sans); font-size: .82rem; color: var(--mute); }
.pay-opts { display: flex; gap: .5rem; }
.pay-opt { flex: 1; padding: .6rem .4rem; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--mute); font-family: var(--sans); font-weight: 600; font-size: .86rem; transition: border-color .2s, color .2s, background .2s; }
.pay-opt:hover { color: var(--ink); border-color: var(--line-2); }
.pay-opt.is-active { border-color: var(--accent); color: #fff; background: rgba(0,229,255,0.12); box-shadow: 0 0 16px -8px var(--accent); }
.pay-note { font-family: var(--sans); font-size: .8rem; color: var(--dim); line-height: 1.45; min-height: 2.2em; }

/* =============================================================
   9. Personaliza (banner)
   ============================================================= */
.custom-banner {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 120% at 15% 0%, rgba(255,46,136,0.16), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, rgba(0,229,255,0.14), transparent 60%),
    var(--panel);
  padding: clamp(2rem, 5vw, 3.6rem);
  display: grid; gap: 1.6rem; align-items: center;
  overflow: hidden;
}
.custom-banner h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
.custom-banner p { color: var(--mute); max-width: 54ch; margin-top: .6rem; }
@media (min-width: 860px) {
  .custom-banner { grid-template-columns: 1.4fr auto; }
}

/* =============================================================
   10. Cómo funciona
   ============================================================= */
.steps {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 1.6rem 1.4rem;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step-n { font-family: var(--sans); font-weight: 700; font-size: 1.6rem; color: var(--accent); text-shadow: 0 0 18px rgba(0,229,255,.4); }
.step h3 { font-size: 1.12rem; margin-top: .8rem; }
.step p { color: var(--mute); font-size: .92rem; margin-top: .5rem; }

/* =============================================================
   11. Nosotros
   ============================================================= */
.about { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about-copy p { color: var(--mute); margin-top: 1.1rem; font-size: 1.05rem; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.about-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.about-stat b { font-family: var(--sans); font-size: 2rem; font-weight: 700; color: #fff; display: block; }
.about-stat span { color: var(--dim); font-size: .85rem; font-family: var(--sans); letter-spacing: .04em; }
.about-visual {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  padding: clamp(1.8rem, 5vw, 3rem);
  display: grid; place-items: center; min-height: 300px;
  overflow: hidden;
}
.about-visual .lightbox-sign .l1 { --sign: var(--accent); font-size: clamp(2rem, 7vw, 3.2rem); }
@media (min-width: 900px) { .about { grid-template-columns: 1.05fr .95fr; } }

/* =============================================================
   12. FAQ
   ============================================================= */
.faq { display: grid; gap: .8rem; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; text-align: left;
  font-family: var(--sans); font-weight: 600; font-size: 1.02rem;
}
.faq-q .ic { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s var(--ease-out); }
.faq-q .ic::before, .faq-q .ic::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px; box-shadow: 0 0 8px var(--accent);
}
.faq-q .ic::before { top: 50%; left: 2px; right: 2px; height: 2px; transform: translateY(-50%); }
.faq-q .ic::after { left: 50%; top: 2px; bottom: 2px; width: 2px; transform: translateX(-50%); transition: opacity .3s var(--ease-out); }
.faq-item.open .faq-q .ic::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a p { padding: 0 1.3rem 1.2rem; color: var(--mute); font-size: .96rem; }

/* =============================================================
   Reseñas
   ============================================================= */
.rv-avg { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; font-family: var(--sans); color: var(--mute); font-size: .95rem; }
.rv-avg .rv-stars { color: #ffc24d; letter-spacing: 2px; font-size: 1.1rem; text-shadow: 0 0 10px rgba(255,194,77,.5); }
.rv-avg b { color: var(--ink); font-weight: 700; }
.reviews { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rv-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; transition: transform .3s var(--ease-out), border-color .3s var(--ease-out); }
.rv-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.rv-card .rv-stars { color: #ffc24d; letter-spacing: 2px; text-shadow: 0 0 10px rgba(255,194,77,.4); }
.rv-card .rv-text { color: var(--ink); font-size: .98rem; line-height: 1.6; flex: 1; }
.rv-card .rv-name { font-family: var(--sans); font-weight: 600; color: var(--mute); font-size: .9rem; }
.rv-card .rv-name::before { content: "— "; }
.rv-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin-bottom: .3rem; }
.rv-date { color: var(--dim); font-weight: 500; }

.rv-form-wrap { margin-top: clamp(2rem, 5vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: clamp(1.6rem, 4vw, 2.4rem); }
.rv-form-wrap h3 { font-family: var(--sans); font-size: 1.3rem; }
.rv-form-hint { color: var(--mute); font-size: .95rem; margin-top: .4rem; margin-bottom: 1.4rem; }
.rv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.rv-field { display: grid; gap: .5rem; }
.rv-field-full { grid-column: 1 / -1; }
.rv-label { font-family: var(--sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.rv-form input, .rv-form textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink); font-family: var(--sans); font-size: 1rem; resize: vertical; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.rv-form input:focus, .rv-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,229,255,0.15); }
.rv-stars-pick { display: flex; gap: .2rem; }
.rv-stars-pick button { font-size: 1.8rem; line-height: 1; color: #3a3450; transition: color .15s var(--ease-out), transform .15s var(--ease-out); }
.rv-stars-pick button:hover { transform: scale(1.15); }
.rv-stars-pick button.on { color: #ffc24d; text-shadow: 0 0 12px rgba(255,194,77,.6); }
.rv-form .btn-wa { grid-column: 1 / -1; justify-content: center; }
@media (max-width: 600px) { .rv-form { grid-template-columns: 1fr; } }

/* =============================================================
   13. Contacto / CTA final
   ============================================================= */
.contact {
  text-align: center;
  position: relative;
}
.contact h2 { font-size: clamp(2rem, 6vw, 3.6rem); }
.contact p { color: var(--mute); margin: 1.1rem auto 2rem; max-width: 48ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.contact-links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; margin-top: 2.4rem; color: var(--mute); font-family: var(--sans); font-size: .92rem; }
.contact-links a { display: inline-flex; align-items: center; gap: .5rem; transition: color .25s var(--ease-out); }
.contact-links a:hover { color: var(--accent); }

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2.5rem;
  color: var(--dim);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: space-between; }
.footer .brand { font-size: 1.05rem; }
.footer small { font-size: .85rem; }
.footer-note { font-size: .78rem; color: var(--dim); margin-top: 1.4rem; max-width: 60ch; }

/* =============================================================
   Botones flotantes (redes)
   ============================================================= */
.social-float {
  position: fixed; right: clamp(.8rem, 2.5vw, 1.4rem); bottom: clamp(.8rem, 2.5vw, 1.4rem);
  z-index: 150; display: flex; flex-direction: column; gap: .6rem;
}
.sf-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(19,17,25,0.9); backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.7);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
}
.sf-btn:hover { transform: translateY(-3px) scale(1.05); }
.sf-wa { background: #25d366; color: #04220f; border-color: transparent; }
.sf-wa:hover { box-shadow: 0 12px 30px -8px rgba(37,211,102,0.8); }
.sf-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; box-shadow: 0 12px 30px -8px rgba(220,39,67,0.7); }
.sf-tk:hover { background: #000; color: #25f4ee; box-shadow: 0 0 0 1px #25f4ee, 0 12px 30px -8px rgba(37,244,238,0.5); }
.sf-lt:hover { background: #43e660; color: #04220f; border-color: transparent; box-shadow: 0 12px 30px -8px rgba(67,230,96,0.6); }
@media (max-width: 540px) { .sf-btn { width: 44px; height: 44px; } }

.contact-address { margin-top: 1.4rem; color: var(--dim); font-family: var(--sans); font-size: .9rem; display: inline-flex; align-items: center; gap: .5rem; }

/* =============================================================
   15. Carrito (drawer)
   ============================================================= */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,3,6,0.6);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility .35s var(--ease-out);
}
.overlay.open { opacity: 1; visibility: visible; }

.cart {
  position: fixed; top: 0; right: 0; z-index: 201;
  width: min(420px, 92vw); height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .4s var(--ease-out);
  box-shadow: -30px 0 80px -30px rgba(0,0,0,0.8);
}
.cart.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 1.2rem; font-family: var(--sans); }
.cart-close {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.cart-close:hover { border-color: var(--accent); transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-empty { color: var(--dim); text-align: center; margin-top: 3rem; font-size: .95rem; }
.cart-empty span { font-size: 2.4rem; display: block; margin-bottom: .8rem; filter: grayscale(.3); }

.ci {
  display: grid; grid-template-columns: 54px 1fr auto; gap: .9rem; align-items: center;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.ci-thumb {
  width: 54px; height: 54px; border-radius: 10px;
  display: grid; place-items: center;
  background: radial-gradient(70% 90% at 50% 120%, color-mix(in srgb, var(--glow) 45%, transparent), #0c0b10 70%);
  border: 1px solid var(--line);
  font-family: var(--sans); font-weight: 700; font-size: .82rem; color: #fff;
  text-shadow: 0 0 8px var(--glow), 0 0 2px #fff;
}
.ci-info { min-width: 0; }
.ci-name { font-family: var(--sans); font-weight: 600; font-size: .95rem; }
.ci-price { color: var(--mute); font-size: .85rem; margin-top: .15rem; }
.ci-qty { display: inline-flex; align-items: center; gap: .5rem; margin-top: .45rem; }
.ci-qty button {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-weight: 700; line-height: 1;
  transition: border-color .2s, color .2s;
}
.ci-qty button:hover { border-color: var(--accent); color: var(--accent); }
.ci-qty span { min-width: 20px; text-align: center; font-family: var(--sans); font-size: .9rem; }
.ci-remove { color: var(--dim); font-size: .78rem; text-decoration: underline; margin-top: .3rem; }
.ci-remove:hover { color: var(--red); }

.cart-foot { border-top: 1px solid var(--line); padding: 1.3rem 1.4rem; display: grid; gap: 1rem; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--sans); }
.cart-total span { color: var(--mute); font-size: .95rem; }
.cart-total b { font-size: 1.6rem; font-weight: 700; }
.cart-foot small { color: var(--dim); font-size: .78rem; text-align: center; }

/* =============================================================
   16. Reveal on scroll
   ============================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* =============================================================
   17. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease-out), visibility .7s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-sign {
  font-family: var(--sans); font-weight: 700; font-size: clamp(1.8rem, 7vw, 3rem);
  color: #fff; letter-spacing: .05em;
  text-shadow: 0 0 6px #fff, 0 0 20px var(--red), 0 0 44px var(--red);
  animation: splashFlicker 1.8s var(--ease-out) infinite;
}
@keyframes splashFlicker {
  0%, 100% { opacity: 1; }
  8% { opacity: .4; }
  10% { opacity: 1; }
  92% { opacity: .7; }
}

/* =============================================================
   18. Responsive
   ============================================================= */
@media (max-width: 540px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* =============================================================
   19. Reduced motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .lightbox-hero.rgb { animation: none; }
  .light-spill { animation: none; }
  .splash-sign { animation: none; }
}
