/* Total Tools La Redoma · sistema visual
   Un solo acento: el turquesa de TOTAL. Neutros fríos con un toque del mismo tono.
   Display: Archivo extendido (eco de la letra TOTAL). Texto: Geist. Códigos y precios: Geist Mono. */
:root {
  --ink: #142224;
  --ink-2: #1d3033;
  --ink-3: #2a4044;
  --paper: #f3f6f6;
  --white: #ffffff;
  --line: #dbe3e3;
  --line-2: #c9d4d4;
  --mute: #5b6c6e;
  --brand: #1e6c72;
  --brand-d: #175a5f;
  --brand-t: #e2eeee;
  --ok: #2c7a4b;
  --err: #b4382e;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --shadow: 0 18px 40px -22px rgba(20, 50, 54, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --wrap: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; letter-spacing: -.02em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
.mono, .code { font-family: var(--mono); }
.muted { color: var(--mute); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.ic { width: 20px; height: 20px; flex: none; }
.ic.big { width: 44px; height: 44px; color: var(--brand); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; gap: 3px; color: var(--brand); line-height: 1; }
.logo svg { width: 132px; height: auto; fill: currentColor; }
.logo-sub { font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 800; font-size: 9.5px; letter-spacing: .02em; padding-left: 26px; white-space: nowrap; }
.logo.on-dark { color: #8fd0cf; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.search { position: relative; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 46px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-t); }
.search .ic { color: var(--mute); }
.search input { border: 0; outline: 0; background: none; width: 100%; height: 100%; font-size: 15px; }
.top-actions { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transition: transform .2s var(--ease), background .2s; }
.pill:active { transform: scale(.97); }
.pill.ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.cart-btn { position: relative; padding: 0 14px; }
.cart-count { font-family: var(--mono); font-size: 12px; min-width: 18px; }
.cart-count:empty { display: none; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } }
.lines { border-top: 1px solid var(--line); }
.lines-in { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.lines-in::-webkit-scrollbar { display: none; }
.lines a { white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--mute); padding: 11px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.lines a:hover { color: var(--ink); border-color: var(--brand); }

/* Sugerencias de búsqueda */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; z-index: 50; max-height: 70vh; overflow: auto; }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.suggest a:hover, .suggest a.on { background: var(--brand-t); }
.suggest img, .suggest .no-img { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: var(--paper); }
.suggest b { font-weight: 600; font-size: 14px; display: block; line-height: 1.25; }
.suggest small { font-family: var(--mono); color: var(--mute); font-size: 11.5px; }
.suggest .all { display: block; text-align: center; font-size: 13px; font-weight: 600; color: var(--brand); padding: 10px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s; will-change: transform; }
.btn:active { transform: scale(.97) translateY(1px); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-d); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.ghost.light { color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn.ghost.light:hover { border-color: #fff; }
.btn.full { width: 100%; }
.btn.grow { flex: 1; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); }
.link .ic { width: 18px; height: 18px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.eyebrow.light { color: #8fd0cf; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--brand); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.lede { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--mute); max-width: 58ch; }
.lede.light { color: #b7c9ca; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
  var(--paper); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 30% 40%, var(--paper) 30%, transparent 75%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 40px) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; min-height: min(760px, calc(100dvh - 120px)); }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); font-variation-settings: "wdth" 118; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-search { position: relative; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 560px; box-shadow: var(--shadow); }
.hero-search:focus-within { border-color: var(--brand); }
.hero-search .ic { color: var(--mute); }
.hero-search input { flex: 1; border: 0; outline: 0; background: none; height: 48px; font-size: 16px; min-width: 0; }
.hero-search .btn { height: 48px; padding: 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stage { position: relative; aspect-ratio: 1 / 1; max-height: 620px; width: 100%; justify-self: center; perspective: 1200px; }
.hero-stage::before { content: ""; position: absolute; inset: 10% 6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); filter: blur(10px); }
/* El lienzo 3D es más grande que su caja y se desvanece en los bordes: el logo nunca se corta */
#hero3d { position: absolute; left: -22%; top: -22%; width: 144%; height: 144%; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, rgba(0,0,0,.6) 76%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 58%, rgba(0,0,0,.6) 76%, transparent 100%); }
.float-card { position: absolute; width: clamp(112px, 11vw, 150px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 12px; box-shadow: 0 24px 40px -24px rgba(20, 50, 54, .45), inset 0 1px 0 rgba(255,255,255,.9); transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--rot, 0deg)); transition: transform .9s var(--ease); animation: float 7s ease-in-out infinite; }
.float-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; }
.float-card { z-index: 2; cursor: pointer; }
.float-card:hover { box-shadow: 0 30px 50px -24px rgba(20, 50, 54, .55); border-color: var(--brand); }
.float-card:hover img { transform: scale(1.06); }
.float-card img { transition: transform .5s var(--ease); }
.fc-name { display: -webkit-box; margin-top: 8px; font-size: 12px; font-weight: 600; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-go { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--brand); }
.fc-go .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.float-card:hover .fc-go .ic { transform: translateX(3px); }
.float-card.f1 { left: 0; top: 0; --rot: -6deg; }
.float-card.f2 { right: 0; top: 3%; --rot: 5deg; animation-delay: -2.3s; }
.float-card.f3 { left: 8%; bottom: 0; --rot: 3deg; animation-delay: -4.6s; }
@keyframes float { 50% { translate: 0 -12px; } }
.stage-caption { z-index: 2; position: absolute; right: 2%; bottom: 5%; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12.5px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: #dfe9e9; border-block: 1px solid var(--ink-3); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: marquee 48s linear infinite; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.marquee-track i { width: 22px; height: 6px; background: var(--brand); transform: skewX(-28deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.sec-head { display: grid; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head.row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.9rem); max-width: 20ch; }

/* Bento de líneas */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
.line-tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .5s var(--ease), box-shadow .5s var(--ease); isolation: isolate; }
.line-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.line-media { position: absolute; inset: 0; z-index: -1; display: flex; justify-content: flex-end; align-items: flex-start; padding: 18px; }
.line-media img { width: 46%; max-height: 70%; object-fit: contain; transition: transform .8s var(--ease); mix-blend-mode: multiply; }
.line-tile:hover .line-media img { transform: scale(1.07) rotate(-3deg); }
.line-copy { display: grid; gap: 6px; max-width: 70%; }
.line-count { font-family: var(--mono); font-size: 12px; color: var(--brand); }
.line-tile h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.line-tile p { font-size: 14px; color: var(--mute); }
.line-go { position: absolute; right: 20px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background .3s, color .3s, transform .4s var(--ease); }
.line-tile:hover .line-go { background: var(--brand); color: #fff; transform: rotate(-45deg); }
.t0 { grid-column: span 3; grid-row: span 2; background: linear-gradient(160deg, #ffffff 0%, var(--brand-t) 100%); border-color: var(--line-2); }
.t0::before { content: ""; position: absolute; left: 24px; top: 24px; width: 46px; height: 8px; background: var(--brand); transform: skewX(-28deg); }
.t0 h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.t0 .line-media { align-items: flex-start; justify-content: flex-end; padding: 28px; }
.t0 .line-media img { width: 52%; max-height: 66%; }
.t1, .t2 { grid-column: span 3; }
.t3, .t4, .t5 { grid-column: span 2; }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), border-color .3s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.card-media { display: block; aspect-ratio: 1; background: #fff; padding: 14px; perspective: 800px; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); transition: transform .5s var(--ease); }
.card-body { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; border-top: 1px solid var(--line); }
.card-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-meta .code { font-size: 11.5px; color: var(--mute); }
.brand { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); background: var(--brand-t); padding: 2px 7px; border-radius: 6px; }
.card-title { font-weight: 600; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-title:hover { color: var(--brand); }
.card-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: auto; }
.price { display: grid; line-height: 1.15; }
.price strong { font-family: var(--mono); font-size: 17px; font-weight: 600; }
.price small { font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.price.ask { font-size: 13px; font-weight: 600; color: var(--brand); }
.btn-add { height: 40px; padding: 0 12px 0 10px; border-radius: 12px; border: 1px solid var(--brand); background: var(--brand); color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn-add .ic { width: 18px; height: 18px; }
.btn-add:hover { background: var(--brand-d); }
.btn-add:active { transform: scale(.94); }
.btn-add.in { background: var(--brand-t); color: var(--brand); }
.btn-add.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.ph { width: 100%; height: 100%; display: grid; place-content: center; gap: 10px; background: repeating-linear-gradient(-45deg, var(--paper) 0 10px, #eef2f2 10px 20px); border-radius: 10px; text-align: center; }
.ph svg { width: 70%; max-width: 160px; margin: 0 auto; fill: var(--line-2); }
.ph span { font-family: var(--mono); font-size: 12px; color: var(--mute); }

/* Carril horizontal */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 250px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(clamp(16px, 4vw, 40px), calc((100vw - var(--wrap)) / 2 + clamp(16px, 4vw, 40px))) 24px; scrollbar-width: thin; }
.rail .card { scroll-snap-align: start; }

/* Por qué */
.zig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 72px); }
.zig-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.zig-item:nth-child(even) { transform: translateY(48px); }
.zig-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-t); color: var(--brand); }
.zig-ic .ic { width: 24px; height: 24px; }
.zig-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.zig-item p { color: var(--mute); max-width: 46ch; }
.why { padding-bottom: clamp(96px, 10vw, 150px); }

/* Visítanos */
.visit { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.visit::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 45%, transparent), transparent); }
.visit-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: end; }
.visit h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); margin: 12px 0 16px; max-width: 22ch; }
.visit-actions { display: grid; gap: 10px; }

/* ---------- Catálogo ---------- */
.cat { padding: clamp(28px, 4vw, 48px) 0 80px; }
.cat-in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { position: sticky; top: 140px; }
.filters summary { display: none; }
.f-group { display: grid; gap: 2px; margin-bottom: 26px; }
.f-group h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); font-weight: 600; margin-bottom: 8px; }
.f-group a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; }
.f-group a small { font-family: var(--mono); color: var(--mute); }
.f-group a:hover { background: var(--white); }
.f-group a.on { background: var(--ink); color: #fff; }
.f-group a.on small { color: #b7c9ca; }
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.cat-head h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 6px 0 4px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sort select { height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); padding: 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; }
.chips .ic { width: 14px; height: 14px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; }
.pager a { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 64px 16px; max-width: 520px; margin: 0 auto; }
.empty h1, .empty h3 { font-size: 1.6rem; }
.empty p { color: var(--mute); }

/* ---------- Producto ---------- */
.pd { padding: 28px 0 40px; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--mute); margin-bottom: 20px; }
.crumbs a:hover { color: var(--brand); }
.pd-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: 140px; display: grid; gap: 12px; }
.gal-main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 4vw, 48px); perspective: 1000px; overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); transition: transform .6s var(--ease), opacity .3s; }
.gal-thumbs { display: flex; gap: 10px; overflow-x: auto; }
.gal-thumbs button { width: 76px; height: 76px; flex: none; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.gal-thumbs button.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-t); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { display: grid; gap: 18px; }
.pd-info h1 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.pd-info h1.long { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.pd-price { display: grid; gap: 2px; padding: 18px 0; border-block: 1px solid var(--line); }
.pd-price strong { font-family: var(--mono); font-size: 2rem; font-weight: 600; }
.pd-price strong.ask { font-family: var(--display); font-size: 1.4rem; color: var(--brand); }
.pd-price span { font-family: var(--mono); color: var(--mute); }
.pd-price small { font-family: var(--body); }
.pd-buy { display: flex; gap: 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.qty input { width: 44px; border: 0; text-align: center; font-family: var(--mono); background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-perks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--mute); }
.pd-perks li { display: flex; gap: 10px; align-items: center; }
.pd-perks .ic { color: var(--brand); }
.pd-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); margin-top: clamp(40px, 6vw, 72px); }
.pd-block h2 { font-size: 1.4rem; margin-bottom: 14px; }
.pd-block p { color: var(--mute); margin-bottom: 10px; max-width: 65ch; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs dt { color: var(--mute); }
.specs dd { margin: 0; font-weight: 500; }

/* ---------- Carrito ---------- */
.cartp { padding: clamp(28px, 4vw, 48px) 0 80px; }
.cart-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-list { display: grid; gap: 12px; }
.c-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.c-item img, .c-item .no-img { width: 84px; height: 84px; object-fit: contain; border-radius: 10px; background: var(--paper); }
.c-item b { display: block; font-weight: 600; line-height: 1.3; }
.c-item small { font-family: var(--mono); color: var(--mute); }
.c-side { display: grid; justify-items: end; gap: 8px; }
.c-side .qty { height: 40px; }
.c-side .qty button { width: 34px; }
.c-side .qty input { width: 34px; }
.c-del { border: 0; background: none; color: var(--mute); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.c-del:hover { color: var(--err); }
.sk-row { height: 110px; border-radius: var(--r); background: linear-gradient(90deg, #e9eeee 25%, #f5f8f8 37%, #e9eeee 63%) 0 0 / 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { to { background-position: -100% 0; } }
.checkout { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.checkout h2 { font-size: 1.3rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-t); background: #fff; }
.field.bad input, .field.bad textarea { border-color: var(--err); }
.err { color: var(--err); font-size: 13px; min-height: 0; }
.hint { color: var(--mute); font-size: 12.5px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-weight: 500; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-t); }
.totals { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 6px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; }
.totals strong { font-family: var(--mono); font-size: 1.2rem; }
.totals .note { color: var(--mute); font-size: 13px; }
.form-err { color: var(--err); font-size: 14px; min-height: 1px; }
.done-box { display: grid; gap: 14px; justify-items: start; }
.done-box .ok-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #cfdcdc; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 56px clamp(16px, 4vw, 40px) 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 32px; }
.foot-brand p { margin-top: 16px; max-width: 36ch; color: #9fb3b4; font-size: 14.5px; }
.foot h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8fd0cf; margin-bottom: 12px; font-weight: 600; }
.foot p { font-size: 14.5px; margin-bottom: 8px; }
.foot .link { color: #fff; font-weight: 500; display: flex; margin-bottom: 8px; font-size: 14.5px; }
.foot-base { max-width: var(--wrap); margin: 0 auto; padding: 18px clamp(16px, 4vw, 40px) 28px; border-top: 1px solid var(--ink-3); display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #8aa0a1; flex-wrap: wrap; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .zig-item.reveal.in:nth-child(even) { transform: translateY(48px); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; display: flex; gap: 10px; align-items: center; z-index: 80; transition: transform .5s var(--ease); box-shadow: var(--shadow); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: #8fd0cf; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .bento > * { grid-column: span 1 !important; grid-row: span 1 !important; }
  .bento .t0 { grid-column: span 2 !important; grid-row: span 2 !important; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .top-in { grid-template-columns: auto auto; }
  .top .search { grid-column: 1 / -1; grid-row: 2; }
  .hero-in { grid-template-columns: 1fr; min-height: auto; }
  .hero-stage { max-width: 520px; order: -1; margin-top: -10px; }
  .cat-in, .pd-in, .pd-more, .cart-in, .visit-in { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; list-style: none; margin-bottom: 14px; }
  .filters summary::-webkit-details-marker { display: none; }
  .gallery, .checkout { position: static; }
  .zig { grid-template-columns: 1fr; }
  .zig-item:nth-child(even), .js .zig-item.reveal.in:nth-child(even) { transform: none; }
}
@media (max-width: 560px) {
  .pill.ghost span { display: none; }
  .logo svg { width: 108px; }
  .logo-sub { font-size: 7.8px; padding-left: 21px; }
  .bento { grid-template-columns: 1fr; }
  .bento .t0 { grid-column: span 1 !important; grid-row: span 2 !important; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 12px; }
  .hero-search .btn { padding: 0 16px; }
  .foot-in { grid-template-columns: 1fr; }
  .c-item { grid-template-columns: 64px minmax(0, 1fr); }
  .c-item img, .c-item .no-img { width: 64px; height: 64px; }
  .c-side { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: space-between; justify-items: start; }
  .float-card { width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Comprar en 3 pasos ---------- */
.how { background: var(--white); border-bottom: 1px solid var(--line); }
.how-in { padding-block: 28px; display: grid; gap: 14px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--paper); }
.how-n { position: absolute; top: 10px; right: 14px; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--line-2); }
.how-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.how-ic .ic { width: 24px; height: 24px; }
.how-steps b { display: block; font-size: 15.5px; }
.how-steps p { font-size: 13.5px; color: var(--mute); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px; border-radius: 999px; background: #1f8f4e; color: #fff; font-weight: 600; box-shadow: 0 16px 32px -12px rgba(16, 70, 40, .55); transition: transform .3s var(--ease); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1f8f4e; animation: waPulse 2.6s var(--ease) infinite; }
.wa-float:hover { transform: translateY(-3px); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
body.has-cart .wa-float { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 74px); }

/* ---------- Barra de pedido ---------- */
.cart-bar { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 69; display: flex; align-items: center; gap: 14px; width: min(560px, calc(100% - 32px)); padding: 10px 10px 10px 14px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -16px rgba(20, 34, 36, .6); animation: barIn .5s var(--ease); }
.cart-bar-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; }
.cart-bar b { font-family: var(--mono); }
.cart-bar-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--brand); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.cart-bar-go .ic { width: 16px; height: 16px; }
@keyframes barIn { from { transform: translate(-50%, 120%); } }

.btn.wa { background: #1f8f4e; color: #fff; }
.btn.wa:hover { background: #18773f; }
.btn.big { height: 58px; font-size: 16px; }
.small { font-size: 14px; }
.done-box .link { justify-self: center; }

@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { width: 58px; padding: 0; justify-content: center; }
  .wa-float .ic { width: 30px; height: 30px; }
}
@media (max-width: 560px) {
  .card-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-add { justify-content: center; }
  .cart-bar { width: calc(100% - 92px); left: 16px; transform: none; }
  @keyframes barIn { from { transform: translateY(120%); } }
}

/* ---------- Video de la tienda ---------- */
.film { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.film::before { content: ""; position: absolute; left: -10%; bottom: -50%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 40%, transparent), transparent); }
.film-in { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.film-copy { display: grid; gap: 18px; justify-items: start; }
.film-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0b1314; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .9s var(--ease); }
.film-frame:hover, .film-frame.playing { transform: none; }
.film-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--brand); display: grid; place-items: center; cursor: pointer; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), opacity .3s; }
.film-play .ic { width: 34px; height: 34px; margin-left: 4px; }
.film-play:hover { transform: scale(1.08); }
.film-play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: waPulse 2.4s var(--ease) infinite; }
.film-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 8px; align-items: center; background: rgba(11, 19, 20, .72); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.film-tag .ic { width: 18px; height: 18px; }
.film-frame.playing .film-play, .film-frame.playing .film-tag { opacity: 0; pointer-events: none; }
.btn .ic { flex: none; }

/* ---------- Novedades inalámbricas ---------- */
.news { background: linear-gradient(180deg, var(--white), var(--paper)); }
.news-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.news-head > div { display: grid; gap: 10px; max-width: 680px; }
.news-head h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.news-points { grid-row: span 2; background: var(--ink); color: #fff; border-radius: var(--r); padding: 24px; display: grid; align-content: center; gap: 22px; }
.news-points div { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--brand); }
.news-points span { color: #b7c9ca; font-size: 14px; }
.card-media { position: relative; }
.card-badge { position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--brand); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 8px; }

/* ---------- Por qué La Redoma (simétrico) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-item { display: grid; align-content: start; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.why-item h3 { font-size: 1.2rem; }
.why-item p { color: var(--mute); font-size: 15px; }
.why { padding-bottom: clamp(56px, 8vw, 112px); }

/* ---------- Páginas por estado ---------- */
.state-hero { padding: clamp(28px, 5vw, 64px) 0; background: var(--white); border-bottom: 1px solid var(--line); }
.state-in { display: grid; gap: 18px; justify-items: start; }
.state-in h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.state-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.state-cities span { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.state-cities .ic { width: 16px; height: 16px; color: var(--brand); }
.state-lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.state-line { display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.state-line:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.state-line b { font-family: var(--display); font-variation-settings: "wdth" 112; font-size: 1.15rem; }
.state-line span { color: var(--mute); font-size: 14px; }
.state-line small { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); color: var(--brand); }
.state-line .ic { width: 16px; height: 16px; }
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--mute); padding-bottom: 16px; }
.faq a { color: var(--brand); }
.foot-west { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 24px; }
.foot-west nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-west a { color: #cfdcdc; font-size: 14px; }
.foot-west a:hover { color: #fff; }

@media (max-width: 1080px) {
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid, .state-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .film-in { grid-template-columns: 1fr; }
  .film-frame { transform: none; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-points { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .why-grid, .state-lines { grid-template-columns: 1fr; }
  .film-play { width: 72px; height: 72px; }
}

.seg.seg3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .seg.seg3 { grid-template-columns: 1fr; } }

#hero3d { opacity: 0; transition: opacity 1s var(--ease); }
#hero3d.ready { opacity: 1; }
.card { content-visibility: auto; contain-intrinsic-size: 260px 400px; }
