/* ==========================================================
   Opentools — hoja de estilos
   Paleta de taller: azul tablero, acero, concreto, amarillo seguridad
   ========================================================== */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --blue: #17407A;
  --blue-d: #0F2E5A;
  --blue-dd: #0A2244;
  --blue-1: #E7EDF6;
  --steel: #1B2430;
  --steel-2: #4A5563;
  --steel-3: #7C8694;
  --concrete: #ECEDEA;
  --concrete-2: #E2E4E0;
  --paper: #FFFFFF;
  --tile: #F4F5F2;
  --line: #D5D8D4;
  --yellow: #F57A12;
  --yellow-d: #C9580A;
  --accent-h: #FF8C2E;
  --accent-glow: rgba(245, 122, 18, .3);
  --red: #E2471B;
  --green: #17784A;
  --amber: #B36B00;

  --r-card: 10px;
  --r-btn: 8px;
  --r-in: 10px;
  --shadow-lift: 0 18px 40px -18px rgba(15, 46, 90, .45);
  --shadow-pop: 0 24px 60px -20px rgba(10, 34, 68, .55);

  --ff: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cond: 70%;
  --hd-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--ff); font-size: 15px; line-height: 1.5; color: var(--steel);
  background: var(--concrete); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--yellow); padding: 10px 14px; border-radius: var(--r-btn); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.i { width: 20px; height: 20px; flex: none; }
[data-i] { display: inline-flex; }
main { min-height: 60vh; outline: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: var(--r-btn); font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--buy { background: var(--yellow); color: var(--steel); box-shadow: inset 0 -3px 0 var(--yellow-d); }
.btn--buy:hover { background: var(--accent-h); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); }
.btn--ghost { background: transparent; border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--steel-3); background: var(--paper); }
.btn--light { background: #fff; color: var(--steel); }
.btn--wa { background: #1E8F55; color: #fff; }
.btn--wa:hover { background: #187A48; }
.btn--block { width: 100%; }
.btn--lg { height: 54px; font-size: 16.5px; padding: 0 26px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-btn); color: var(--steel-2); }
.iconbtn:hover { background: var(--concrete); color: var(--steel); }
.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--blue-d); }

/* ---------- Franja superior ---------- */
.strip { background: var(--blue-dd); color: #C9D6EA; font-size: 13px; }
.strip__in { display: flex; gap: 28px; align-items: center; height: 36px; }
.strip__item { display: inline-flex; align-items: center; gap: 7px; }
.strip__item .i { width: 16px; height: 16px; color: var(--yellow); }
.strip__wa { margin-left: auto; color: #fff; font-weight: 600; }
.strip__wa:hover { text-decoration: underline; }

/* ---------- Encabezado ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.hd.is-scrolled { box-shadow: 0 8px 24px -16px rgba(10, 34, 68, .4); }
.hd__in { display: flex; align-items: center; gap: 14px; height: var(--hd-h); }
.hd__menu { display: none; }
.logo { display: inline-flex; align-items: center; gap: 9px; margin-right: 6px; }
.logo__mark { width: 36px; height: 36px; }
.logo__word { font-size: 27px; font-weight: 800; font-stretch: var(--cond); letter-spacing: -.01em; color: var(--blue); line-height: 1; }
.logo__word b { color: var(--steel); font-weight: 800; }
.hd__cats {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: var(--r-btn);
  font-weight: 700; background: var(--blue-1); color: var(--blue);
}
.hd__cats:hover, .hd__cats[aria-expanded="true"] { background: var(--blue); color: #fff; }
.hd__chev { transition: transform .2s; }
.hd__chev .i { width: 16px; height: 16px; }
.hd__cats[aria-expanded="true"] .hd__chev { transform: rotate(180deg); }
.hd__search {
  flex: 1; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 10px 0 16px; min-width: 0;
  border: 2px solid var(--steel); border-radius: var(--r-in); background: var(--paper); color: var(--steel-3); text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.hd__search:hover { box-shadow: 0 0 0 4px rgba(23, 64, 122, .12); border-color: var(--blue); }
.hd__search .i { color: var(--steel); }
.hd__search-ph { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hd__kbd, kbd {
  font-family: var(--ff); font-size: 12px; font-weight: 600; color: var(--steel-2); background: var(--concrete);
  border: 1px solid var(--line); border-bottom-width: 2px; padding: 2px 7px; border-radius: 5px;
}
.hd__cart { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border-radius: var(--r-btn); }
.hd__cart:hover { background: var(--concrete); }
.hd__cart-ic { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); }
.hd__cart-ic .i { width: 22px; height: 22px; }
.badge {
  position: absolute; top: -4px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
}
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }
.hd__cart-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.hd__cart-txt small { font-size: 12px; color: var(--steel-3); }
.hd__cart-txt strong { font-size: 17px; font-weight: 800; font-stretch: 85%; }

/* Mega menú */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.mega__in { display: grid; grid-template-columns: 300px 1fr; max-height: min(72vh, 640px); }
.mega__list { overflow: auto; padding: 12px 0; border-right: 1px solid var(--line); background: var(--tile); }
.mega__top { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 20px; text-align: left; font-weight: 600; font-size: 14.5px; }
.mega__top .i { color: var(--blue); }
.mega__top small { margin-left: auto; color: var(--steel-3); font-weight: 500; font-size: 12.5px; }
.mega__top.is-on { background: var(--paper); color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
.mega__pane { padding: 26px 32px; overflow: auto; }
.mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mega__head h3 { font-size: 30px; font-weight: 800; font-stretch: var(--cond); }
.mega__subs { columns: 3 200px; column-gap: 28px; }
.mega__subs a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; font-size: 14.5px; }
.mega__subs a:hover { color: var(--blue); }
.mega__subs small { color: var(--steel-3); }

/* ---------- Hero: tablero perforado ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background-color: var(--blue); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(6, 22, 48, .62) 0 2.4px, rgba(255, 255, 255, .08) 2.5px 3.1px, transparent 3.2px);
  background-size: 28px 28px; background-position: 14px 14px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(10, 34, 68, .55) 0%, rgba(10, 34, 68, .15) 55%, rgba(10, 34, 68, 0) 100%);
}
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
.hero__title { font-size: clamp(42px, 6.2vw, 84px); font-weight: 850; font-stretch: 64%; line-height: .94; letter-spacing: -.01em; max-width: 12ch; }
.hero__lead { margin-top: 18px; font-size: 18px; color: #D6E1F1; max-width: 46ch; }
.hero__search { margin-top: 30px; display: flex; align-items: stretch; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 0 0 6px var(--accent-glow), var(--shadow-pop); max-width: 640px; }
.hero__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 18px; padding: 0 10px 0 14px; color: var(--steel); }
.hero__search input::placeholder { color: var(--steel-3); }
.hero__search .btn { height: 54px; }
.hero__quick { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.hero__quick button { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 14px; font-weight: 500; }
.hero__quick button:hover { background: #fff; color: var(--blue); }
.hero__facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 28px; }
.hero__facts div { display: flex; flex-direction: column; }
.hero__facts strong { font-size: 30px; font-weight: 800; font-stretch: var(--cond); color: var(--yellow); line-height: 1; }
.hero__facts span { font-size: 13.5px; color: #C2D1E8; margin-top: 4px; }

/* Productos colgados del tablero */
.peg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 18px; padding-top: 30px; }
.peg__item { position: relative; display: block; color: var(--steel); transform-origin: 50% -26px; animation: hang 1.1s var(--ease) both; animation-delay: calc(var(--n) * 90ms + 150ms); }
.peg__item:nth-child(3n+1) { transform: rotate(-1.6deg); --rot: -1.6deg; }
.peg__item:nth-child(3n+2) { transform: rotate(1.2deg); --rot: 1.2deg; margin-top: 30px; }
.peg__item:nth-child(3n) { transform: rotate(-.6deg); --rot: -.6deg; }
@keyframes hang {
  0% { opacity: 0; transform: translateY(-40px) rotate(0); }
  55% { opacity: 1; transform: translateY(0) rotate(calc(var(--rot) * -2.2)); }
  80% { transform: rotate(calc(var(--rot) * 1.4)); }
  100% { transform: rotate(var(--rot)); }
}
.peg__item::before { /* gancho */
  content: ""; position: absolute; left: 50%; top: -30px; width: 14px; height: 30px; margin-left: -7px;
  border: 3px solid #B9C3CF; border-top: 0; border-radius: 0 0 9px 9px; border-left-color: transparent; z-index: 2;
}
.peg__item::after { /* agujero del tablero */
  content: ""; position: absolute; left: 50%; top: -36px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #061630; box-shadow: 0 0 0 2px rgba(255,255,255,.12);
}
.peg__card { position: relative; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lift); transition: transform .25s var(--ease); }
.peg__card::before { content: ""; position: absolute; top: 7px; left: 50%; width: 22px; height: 7px; margin-left: -11px; border-radius: 4px; background: var(--concrete-2); z-index: 1; }
.peg__item:hover .peg__card { transform: translateY(-4px); }
.peg__img { aspect-ratio: 1; background: var(--tile); padding: 22px 12px 6px; }
.peg__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.peg__info { padding: 10px 12px 12px; }
.peg__brand { font-size: 12px; font-weight: 700; color: var(--blue); }
.peg__name { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
.peg__price { margin-top: 6px; display: inline-block; background: var(--yellow); padding: 2px 8px; border-radius: 5px; font-weight: 800; font-stretch: 80%; font-size: 17px; }

/* ---------- Secciones ---------- */
.sec { padding: 56px 0; }
.sec--tight { padding: 36px 0; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sec__title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; font-stretch: var(--cond); letter-spacing: -.005em; }
.sec__sub { color: var(--steel-2); margin-top: 6px; font-size: 15px; }
.sec__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.sec__more .i { width: 18px; height: 18px; }
.sec__more:hover { text-decoration: underline; }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; min-height: 140px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .15s, background .15s;
}
.cat:hover { border-color: var(--blue); background: var(--blue-1); }
.cat__ic { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: var(--yellow); }
.cat__ic .i { width: 25px; height: 25px; }
.cat__name { font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.cat__count { font-size: 13px; color: var(--steel-3); margin-top: auto; }
.cat--wide { grid-column: span 2; flex-direction: row; align-items: center; background: var(--steel); color: #fff; border-color: var(--steel); }
.cat--wide:hover { background: var(--blue-d); border-color: var(--blue-d); }
.cat--wide .cat__ic { background: var(--yellow); color: var(--steel); }
.cat--wide .cat__count { color: #AEB8C6; margin-top: 2px; }

/* Marcas */
.brands { background: var(--paper); border-block: 1px solid var(--line); overflow: hidden; }
.brands__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
.brands a {
  display: inline-flex; align-items: center; padding: 22px 34px; font-size: 26px; font-weight: 850; font-stretch: 62%;
  color: var(--steel-3); letter-spacing: .01em; border-right: 1px solid var(--line); white-space: nowrap;
}
.brands a:hover { color: var(--blue); background: var(--blue-1); }
.brands a small { font-size: 13px; font-weight: 600; font-stretch: 100%; margin-left: 10px; color: var(--steel-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 14px; }
.pc { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: border-color .15s, box-shadow .2s; }
.pc:hover { border-color: #AEB6C0; box-shadow: var(--shadow-lift); }
.pc__media { position: relative; display: block; aspect-ratio: 1; background: var(--tile); }
.pc__media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.pc:hover .pc__media img { transform: scale(1.045); }
.pc__flag { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; gap: 6px; flex-wrap: wrap; }
.flag { padding: 3px 8px; border-radius: 5px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.flag--off { background: var(--red); color: #fff; }
.flag--low { background: #FFF1D0; color: var(--amber); }
.flag--out { background: var(--concrete-2); color: var(--steel-2); }
.flag--rib { background: var(--blue); color: #fff; }
.pc__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.pc__brand { font-size: 12.5px; font-weight: 700; color: var(--blue); min-height: 18px; }
.pc__name { font-size: 14.5px; font-weight: 600; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.pc__name:hover { color: var(--blue); }
.pc__name mark, .hl mark { background: #FFE9A3; color: inherit; border-radius: 2px; padding: 0 1px; }
.pc__ref { font-size: 12.5px; color: var(--steel-3); }
.pc__foot { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.05; }
.price__now { font-size: 23px; font-weight: 800; font-stretch: 78%; letter-spacing: -.01em; }
.price__old { font-size: 13px; color: var(--steel-3); text-decoration: line-through; }
.price__tax { font-size: 11.5px; color: var(--steel-3); margin-top: 3px; }
.add {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-btn);
  background: var(--yellow); box-shadow: inset 0 -3px 0 var(--yellow-d); transition: background .15s, transform .1s;
}
.add:hover { background: var(--accent-h); }
.add:active { transform: scale(.94); }
.add .i { width: 22px; height: 22px; }
.add.is-done { background: var(--green); color: #fff; box-shadow: none; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--low { color: var(--amber); }
.stock--out { color: var(--steel-3); }

/* Lista horizontal */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(212px, calc((100% - 5 * 14px) / 6)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 8px; }
.rail__btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); }
.rail__btn:hover { border-color: var(--steel); }
.rail__btn[disabled] { opacity: .35; cursor: default; }

/* Banda mayoristas */
.b2b { background: var(--yellow); }
.b2b__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.b2b h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 850; font-stretch: 64%; line-height: .98; }
.b2b p { margin-top: 12px; font-size: 17px; max-width: 52ch; }
.b2b__list { display: grid; gap: 10px; }
.b2b__list li { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .55); padding: 12px 14px; border-radius: var(--r-btn); font-weight: 600; }
.b2b__list .i { color: var(--blue); }
.b2b__cta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Garantías */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line); }
.perk .i { width: 26px; height: 26px; color: var(--blue); flex: none; margin-top: 2px; }
.perk strong { display: block; font-size: 15px; }
.perk span { font-size: 13.5px; color: var(--steel-2); }

/* ---------- Listado / catálogo ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--steel-2); padding: 18px 0 0; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs .i { width: 14px; height: 14px; color: var(--steel-3); }
.lhead { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 14px 0 20px; flex-wrap: wrap; }
.lhead h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 850; font-stretch: 64%; line-height: 1; }
.lhead__meta { color: var(--steel-2); margin-top: 6px; }
.lhead__meta b { color: var(--steel); }
.speed { font-size: 12.5px; color: var(--steel-3); margin-left: 6px; }
.lbar { display: flex; align-items: center; gap: 10px; }
.select { position: relative; }
.select select { appearance: none; height: 42px; padding: 0 38px 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--paper); font-weight: 600; cursor: pointer; }
.select .i { position: absolute; right: 10px; top: 11px; width: 18px; height: 18px; pointer-events: none; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-btn); overflow: hidden; background: var(--paper); }
.seg button { width: 40px; height: 39px; display: grid; place-items: center; color: var(--steel-3); }
.seg button.is-on { background: var(--steel); color: #fff; }
.layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 26px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: calc(var(--hd-h) + 16px); max-height: calc(100vh - var(--hd-h) - 32px); overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.filters__head { display: none; }
.fgroup { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h3 { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.fopt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 0; font-size: 14px; text-align: left; }
.fopt small { margin-left: auto; color: var(--steel-3); font-size: 12.5px; }
.fopt:hover { color: var(--blue); }
.fopt.is-on { color: var(--blue); font-weight: 700; }
.box { width: 18px; height: 18px; flex: none; border: 1.5px solid #A9B1BB; border-radius: 4px; display: grid; place-items: center; background: #fff; }
.box .i { width: 13px; height: 13px; color: #fff; stroke-width: 3; opacity: 0; }
.fopt.is-on .box { background: var(--blue); border-color: var(--blue); }
.fopt.is-on .box .i { opacity: 1; }
.fsearch { width: 100%; height: 36px; border: 1.5px solid var(--line); border-radius: 7px; padding: 0 10px; margin-bottom: 6px; background: var(--tile); }
.fmore { font-size: 13.5px; font-weight: 700; color: var(--blue); margin-top: 4px; }
.prange { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prange label { font-size: 12px; color: var(--steel-3); }
.prange input { width: 100%; height: 38px; border: 1.5px solid var(--line); border-radius: 7px; padding: 0 10px; margin-top: 2px; }
.prange .btn { grid-column: span 2; height: 38px; margin-top: 4px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; }
.chip:hover { border-color: var(--steel-3); }
.chip .i { width: 15px; height: 15px; }
.chip--on { background: var(--steel); color: #fff; border-color: var(--steel); }
.chip--smart { background: var(--blue-1); border-color: #BFD0EA; color: var(--blue); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; font-weight: 600; font-size: 14px; }
.toggle__sw { width: 42px; height: 24px; border-radius: 12px; background: #C3C9D0; position: relative; transition: background .2s; flex: none; }
.toggle__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.toggle[aria-checked="true"] .toggle__sw { background: var(--green); }
.toggle[aria-checked="true"] .toggle__sw::after { transform: translateX(18px); }
.active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active:empty { display: none; }
.btn-filters { display: none; }
.notice { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--r-btn); background: var(--blue-1); color: var(--blue-d); margin-bottom: 14px; font-size: 14.5px; }
.notice .i { color: var(--blue); }
.more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; color: var(--steel-2); font-size: 14px; }
.progress { width: 220px; height: 4px; border-radius: 2px; background: var(--concrete-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--blue); }

/* Vista en lista */
.grid--list { grid-template-columns: 1fr; gap: 10px; }
.grid--list .pc { flex-direction: row; }
.grid--list .pc__media { width: 150px; flex: none; }
.grid--list .pc__body { flex-direction: row; align-items: center; gap: 24px; padding: 14px 20px; }
.grid--list .pc__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.grid--list .pc__name { -webkit-line-clamp: 3; min-height: 0; font-size: 15.5px; }
.grid--list .pc__foot { margin: 0; padding: 0; gap: 18px; }
.pc__main { display: contents; }
.grid--list .pc__main { display: flex; }

/* Esqueletos */
.sk { background: linear-gradient(90deg, var(--concrete-2) 0 40%, #F3F4F1 50%, var(--concrete-2) 60% 100%); background-size: 300% 100%; animation: sk 1.3s linear infinite; border-radius: 6px; }
@keyframes sk { to { background-position: -150% 0; } }
.pc--sk .pc__media { background: none; }
.pc--sk .pc__media .sk { position: absolute; inset: 14px; }

/* Vacío */
.empty { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r-card); }
.empty h2 { font-size: 30px; font-weight: 800; font-stretch: var(--cond); }
.empty p { color: var(--steel-2); margin: 10px auto 18px; max-width: 48ch; }
.empty__ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-1); color: var(--blue); }
.empty__ic .i { width: 32px; height: 32px; }
.empty .presets { justify-content: center; }

/* ---------- Ficha de producto ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; padding: 18px 0 40px; align-items: start; }
.gal { position: sticky; top: calc(var(--hd-h) + 16px); display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.gal__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gal__thumb { aspect-ratio: 1; background: var(--paper); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px; }
.gal__thumb.is-on { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-1); }
.gal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gal__main { position: relative; aspect-ratio: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .2s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gal__main.is-zoom img { transform: scale(2); }
.gal--single { grid-template-columns: 1fr; }
.pd__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.pd__brand:hover { text-decoration: underline; }
.pd h1 { margin-top: 8px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; font-stretch: 80%; line-height: 1.08; }
.pd__ids { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13.5px; color: var(--steel-2); }
.pd__ids b { color: var(--steel); font-weight: 600; }
.copy { display: inline-flex; align-items: center; gap: 4px; color: var(--steel-2); }
.copy:hover { color: var(--blue); }
.buy { margin-top: 22px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.buy__price .price__now { font-size: 46px; font-stretch: 70%; }
.buy__price .price__old { font-size: 18px; }
.buy__tax { font-size: 13.5px; color: var(--steel-2); margin-top: 2px; }
.buy__stock { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; }
.buy__row { margin-top: 18px; display: flex; gap: 10px; }
.buy__row .btn--buy { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--paper); }
.qty button { width: 42px; height: 46px; display: grid; place-items: center; color: var(--steel-2); }
.qty button:hover { color: var(--steel); background: var(--tile); }
.qty input { width: 48px; text-align: center; border: 0; font-weight: 700; font-size: 16px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 32px; height: 34px; }
.qty--sm input { width: 34px; font-size: 14px; }
.buy__wa { margin-top: 10px; }
.buy__perks { margin-top: 18px; display: grid; gap: 10px; font-size: 14px; color: var(--steel-2); }
.buy__perks li { display: flex; gap: 10px; align-items: center; }
.buy__perks .i { color: var(--blue); }
.specs { margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.specs h2 { font-size: 18px; font-weight: 800; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.specs dl { margin: 0; display: grid; grid-template-columns: 170px 1fr; }
.specs dt, .specs dd { margin: 0; padding: 11px 20px; border-bottom: 1px solid var(--concrete); font-size: 14.5px; }
.specs dt { color: var(--steel-2); background: var(--tile); }
.specs dd { overflow-wrap: anywhere; }
.desc { padding: 18px 20px; font-size: 15px; line-height: 1.65; color: var(--steel-2); max-width: 75ch; }
.desc p + p { margin-top: 10px; }
.mbar { display: none; }

/* ---------- Carrito ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10, 22, 40, .45); animation: fade .2s; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--concrete); display: flex; flex-direction: column; animation: slidein .3s var(--ease); }
@keyframes slidein { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 26px; font-weight: 800; font-stretch: var(--cond); }
.drawer__body { flex: 1; overflow: auto; padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.drawer__foot { padding: 18px 20px; background: var(--paper); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.ship { font-size: 13.5px; color: var(--steel-2); }
.ship .progress { width: 100%; margin-top: 8px; height: 6px; border-radius: 3px; }
.ship .progress span { background: var(--green); transition: width .4s var(--ease); }
.tot { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.tot strong { font-size: 30px; font-weight: 800; font-stretch: 75%; }
.ci { display: grid; grid-template-columns: 72px 1fr; gap: 12px; background: var(--paper); border-radius: var(--r-card); padding: 10px; border: 1px solid var(--line); }
.ci__img { aspect-ratio: 1; background: var(--tile); border-radius: 8px; padding: 6px; }
.ci__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ci__name { font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.ci__price { font-weight: 800; font-stretch: 80%; font-size: 18px; }
.ci__rm { color: var(--steel-3); }
.ci__rm:hover { color: var(--red); }
.cart-empty { text-align: center; padding: 50px 20px; color: var(--steel-2); }
.cart-empty .empty__ic { margin-bottom: 14px; }

/* Partícula de "volar al carrito" */
.fly { position: fixed; z-index: 200; width: 64px; height: 64px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-pop); pointer-events: none; padding: 6px; transition: transform .7s cubic-bezier(.5, -.3, .7, 1), opacity .7s; }
.fly img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Buscador (superposición) ---------- */
.so { position: fixed; inset: 0; z-index: 100; }
.so__scrim { position: absolute; inset: 0; background: rgba(10, 22, 40, .55); animation: fade .15s; backdrop-filter: blur(3px); }
.so__panel {
  position: relative; margin: 18px auto 0; width: min(1080px, calc(100% - 24px)); max-height: calc(100vh - 36px);
  background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; overflow: hidden; animation: drop .22s var(--ease);
}
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } }
.so__bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.so__lens .i { width: 24px; height: 24px; color: var(--blue); }
.so__input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; font-size: 21px; font-weight: 500; background: transparent; }
.so__input::-webkit-search-cancel-button { display: none; }
.so__tool.is-live { background: var(--red); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(226, 71, 27, .2); } }
.so__close { font-size: 12.5px; font-weight: 700; color: var(--steel-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 4px 8px; margin-left: 4px; }
.so__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px; }
.so__chips:not(:empty) { padding-top: 12px; }
.so__body { flex: 1; overflow: auto; display: grid; grid-template-columns: 270px 1fr; min-height: 280px; }
.so__side { padding: 16px 12px 20px 20px; border-right: 1px solid var(--line); background: var(--tile); }
.so__main { padding: 14px 20px 20px; }
.so__h { font-size: 13px; font-weight: 700; color: var(--steel-2); margin: 10px 0 6px; }
.so__h:first-child { margin-top: 0; }
.so__link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 7px; text-align: left; font-size: 14.5px; }
.so__link .i { width: 17px; height: 17px; color: var(--steel-3); }
.so__link small { margin-left: auto; color: var(--steel-3); font-size: 12.5px; }
.so__link:hover, .so__link.is-act { background: var(--paper); color: var(--blue); }
.so__res { display: grid; gap: 4px; }
.sr-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.sr-item:hover, .sr-item.is-act { background: var(--blue-1); }
.sr-item__img { width: 64px; height: 64px; border-radius: 8px; background: var(--tile); padding: 5px; }
.sr-item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sr-item__name { font-size: 14.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item__meta { font-size: 12.5px; color: var(--steel-3); margin-top: 2px; display: flex; gap: 12px; flex-wrap: wrap; }
.sr-item__right { display: flex; align-items: center; gap: 10px; }
.sr-item__price { font-weight: 800; font-stretch: 78%; font-size: 19px; white-space: nowrap; }
.sr-item .add { width: 38px; height: 38px; }
.so__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--steel-2); background: var(--tile); }
.so__foot:empty { display: none; }
.so__keys { display: flex; gap: 14px; flex-wrap: wrap; }
.so__keys span { display: inline-flex; gap: 5px; align-items: center; }
.so__all { font-weight: 700; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.so__all:hover { text-decoration: underline; }
.so__hint { padding: 26px 6px; color: var(--steel-2); }
.so__hint b { color: var(--steel); }
.so__ideas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* Escáner */
.scan { position: fixed; inset: 0; z-index: 120; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.scan video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.scan__frame { position: relative; width: min(80vw, 420px); height: 160px; border: 3px solid var(--yellow); border-radius: 12px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); }
.scan__frame::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: var(--red); animation: scanline 1.6s ease-in-out infinite alternate; }
@keyframes scanline { from { transform: translateY(-60px); } to { transform: translateY(60px); } }
.scan__msg, .scan .btn { position: relative; color: #fff; }
.scan .btn { color: var(--steel); }

/* ---------- Checkout ---------- */
.co { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; padding: 10px 0 60px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.panel h2 { font-size: 22px; font-weight: 800; font-stretch: 85%; margin-bottom: 16px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: span 2; }
.field label { font-size: 13.5px; font-weight: 600; }
.field label small { color: var(--steel-3); font-weight: 500; }
.field input, .field textarea { height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-btn); padding: 0 12px; background: var(--paper); font-size: 15px; }
.field textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-1); }
.field.has-err input { border-color: var(--red); }
.field__err { font-size: 12.5px; color: var(--red); font-weight: 600; }
.sum { position: sticky; top: calc(var(--hd-h) + 16px); }
.sum__items { display: grid; gap: 12px; max-height: 360px; overflow: auto; margin-bottom: 16px; }
.sum__it { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.sum__it img { width: 52px; height: 52px; object-fit: contain; background: var(--tile); border-radius: 7px; padding: 4px; mix-blend-mode: multiply; }
.sum__it b { font-weight: 700; white-space: nowrap; }
.sum__row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--concrete); font-size: 14.5px; }
.sum__total { font-size: 28px; font-weight: 800; font-stretch: 75%; }
.note { font-size: 13px; color: var(--steel-2); margin-top: 12px; }
.ok { max-width: 640px; margin: 40px auto 80px; text-align: center; }
.ok__ic { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.ok__ic .i { width: 36px; height: 36px; stroke-width: 2.6; }
.ok h1 { font-size: 44px; font-weight: 850; font-stretch: 64%; }
.ok__ref { display: inline-block; margin: 14px 0; padding: 8px 16px; border-radius: var(--r-btn); background: var(--paper); border: 1.5px dashed var(--steel-3); font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.ok p { color: var(--steel-2); }
.ok .b2b__cta { justify-content: center; }

/* ---------- Pie ---------- */
.ft { background: var(--steel); color: #B9C2CE; margin-top: 0; }
.ft__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 40px; }
.ft .logo__word { color: #fff; }
.ft .logo__word b { color: var(--yellow); }
.ft h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.ft li { padding: 4px 0; font-size: 14px; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft__about { margin-top: 14px; font-size: 14px; max-width: 40ch; }
.ft__contact { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.ft__contact p { display: flex; gap: 8px; align-items: center; }
.ft__contact .i { width: 17px; height: 17px; color: var(--yellow); }
.ft__base { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Avisos ---------- */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 150; display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--steel); color: #fff; border-radius: 12px; box-shadow: var(--shadow-pop); animation: up .3s var(--ease); font-size: 14.5px; }
.toast img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 7px; padding: 3px; }
.toast .i { color: var(--yellow); }
.toast b { display: block; font-size: 13.5px; font-weight: 600; color: #C9D2DD; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 250px; }
.toast button { margin-left: auto; font-weight: 700; color: var(--yellow); white-space: nowrap; }
.toast.out { opacity: 0; transform: translateY(8px); transition: .25s; }
@keyframes up { from { transform: translateY(14px); opacity: 0; } }
.demo-flag { background: #FFF1D0; color: var(--amber); font-size: 13px; text-align: center; padding: 6px 12px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .rail__track { grid-auto-columns: minmax(200px, calc((100% - 3 * 14px) / 4)); }
  .hd__kbd { display: none; }
}
@media (max-width: 980px) {
  :root { --hd-h: 64px; }
  .hero__in { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; }
  .peg { grid-template-columns: repeat(3, 1fr); gap: 40px 12px; }
  .layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; z-index: 95; width: min(380px, 100%); max-height: none; border-radius: 0; transform: translateX(100%); transition: transform .3s var(--ease); }
  .filters.is-open { transform: none; box-shadow: var(--shadow-pop); }
  .filters__head { display: flex; position: sticky; top: 0; z-index: 1; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .filters__head h2 { font-size: 22px; font-weight: 800; font-stretch: var(--cond); }
  .btn-filters { display: inline-flex; height: 42px; }
  .pd { grid-template-columns: 1fr; gap: 20px; }
  .gal { position: static; }
  .co { grid-template-columns: 1fr; }
  .sum { position: static; }
  .b2b__in { grid-template-columns: 1fr; gap: 24px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .hd__cats { display: none; }
  .hd__menu { display: inline-grid; }
  .mega__in { grid-template-columns: 1fr; max-height: calc(100vh - 110px); }
  .mega__pane { display: none; }
  .mega__list { border-right: 0; }
  .so__body { grid-template-columns: 1fr; }
  .so__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .so__side .so__group--cats { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  body { font-size: 14.5px; }
  .strip__hide-sm { display: none; }
  .strip__in { gap: 16px; }
  .hd__in { gap: 8px; flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 10px; }
  .logo { margin-right: auto; }
  .logo__word { font-size: 24px; }
  .hd__search { order: 5; flex-basis: 100%; height: 44px; }
  .hd__cart-txt { display: none; }
  .hero__title { font-size: 46px; }
  .hero__lead { font-size: 16px; }
  .hero__search input { font-size: 16px; }
  .hero__search .btn span:last-child { display: none; }
  .peg { grid-template-columns: repeat(3, 1fr); gap: 34px 8px; }
  .peg__name { font-size: 11.5px; min-height: 30px; }
  .peg__price { font-size: 14px; }
  .peg__item:nth-child(n+4) { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat { min-height: 120px; padding: 14px; }
  .cat--wide { grid-column: span 2; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rail__track { grid-auto-columns: 46%; gap: 10px; }
  .rail__nav { display: none; }
  .pc__body { padding: 10px 11px 12px; }
  .pc__name { font-size: 13.5px; }
  .price__now { font-size: 20px; }
  .add { width: 40px; height: 40px; }
  .grid--list .pc__media { width: 104px; }
  .grid--list .pc__body { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
  .perks { grid-template-columns: 1fr; }
  .sec { padding: 40px 0; }
  .lbar .select select { max-width: 150px; }
  .gal { grid-template-columns: 1fr; }
  .gal__thumbs { flex-direction: row; order: 2; overflow: auto; }
  .gal__thumb { width: 64px; flex: none; }
  .buy__price .price__now { font-size: 40px; }
  .buy__row { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 10px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(10, 34, 68, .5); }
  .mbar .btn { flex: 1; }
  .specs dl { grid-template-columns: 120px 1fr; }
  .form { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .ft__in { grid-template-columns: 1fr; }
  .so__panel { margin: 0; width: 100%; max-height: 100vh; height: 100%; border-radius: 0; }
  .so__input { font-size: 17px; }
  .sr-item { grid-template-columns: 54px 1fr; }
  .sr-item__img { width: 54px; height: 54px; }
  .sr-item__right { grid-column: 2; justify-content: space-between; }
  .so__keys { display: none; }
  .brands a { font-size: 21px; padding: 16px 22px; }
  body.has-mbar { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .brands__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ==========================================================
   V2 — Marca nueva: encabezado azul noche, banner con escenario
   ========================================================== */
:root { --navy: #0B2347; --navy-2: #12305C; --navy-3: #1C3F73; }

/* Encabezado */
.hd { background: var(--navy); border-bottom: 0; }
.hd.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.logo { gap: 2px; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__word { color: #fff; font-weight: 900; font-stretch: 62%; font-size: 37px; letter-spacing: -.02em; line-height: .8; padding-top: 3px; }
.hd__cats { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); }
.hd__cats:hover, .hd__cats[aria-expanded="true"] { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.hd__search { border: 0; height: 50px; box-shadow: inset 0 -3px 0 rgba(11, 35, 71, .12); }
.hd__search:hover { box-shadow: 0 0 0 4px var(--accent-glow); }
.hd__wa { color: #fff; }
.hd__wa:hover { background: var(--navy-3); color: #fff; }
.hd__cart { color: #fff; }
.hd__cart:hover { background: var(--navy-3); }
.hd__cart-txt small { color: #9FB2CF; }
.hd__cart .badge { border-color: var(--navy); background: #fff; color: var(--navy); }
.hd__menu { color: #fff; }
.hd__menu:hover { background: var(--navy-3); color: #fff; }
.ft .logo__word { color: #fff; }

/* Banner */
.hero2 { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .09) 0 2px, transparent 2.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.hero2__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 44px; }
.hero2__title { display: flex; flex-direction: column; font-size: clamp(64px, 9.6vw, 148px); font-weight: 900; font-stretch: 62%; line-height: .82; letter-spacing: -.025em; text-transform: uppercase; }
.hero2__title span:last-child { color: var(--yellow); }
.hero2__lead { margin-top: 22px; font-size: 18.5px; line-height: 1.45; color: #C9D6EA; max-width: 44ch; }
.hero2__search { position: relative; margin-top: 28px; display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 7px; max-width: 620px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
.hero2__search:focus-within { box-shadow: 0 0 0 4px var(--yellow), 0 24px 50px -24px rgba(0, 0, 0, .8); }
.hero2__lens { display: grid; place-items: center; width: 44px; color: var(--navy); }
.hero2__lens .i { width: 24px; height: 24px; }
.hero2__search input { flex: 1; min-width: 0; height: 54px; border: 0; outline: 0; background: transparent; font-size: 18px; color: var(--steel); }
.hero2__search input::placeholder { color: #8892A0; }
.hero2__search .btn { height: 54px; padding: 0 28px; font-size: 16.5px; }
.hero2__quick { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; }
.hero2__quick button { padding: 7px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22); color: #E3EAF5; font-size: 14px; font-weight: 600; }
.hero2__quick button:hover { border-color: var(--yellow); color: var(--yellow); }

/* Escenario de producto */
.stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: end; }
.stage__disc { position: absolute; inset: 4% 4% 12% 4%; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #FFFFFF 0 55%, #E4E9F0 100%); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), inset 0 -18px 40px rgba(11, 35, 71, .08); }
.stage__slides { position: absolute; inset: 0 0 8% 0; }
.stage__sk { position: absolute; inset: 22%; border-radius: 50%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide__img { position: absolute; left: 14%; top: 10%; width: 72%; height: 68%; object-fit: contain; mix-blend-mode: multiply; transform: scale(.94); transition: transform 1.2s var(--ease); }
.slide.is-on .slide__img { transform: scale(1); }
.slide__tag {
  position: absolute; right: 0; bottom: 6%; max-width: 64%; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 20px 14px 34px; background: var(--yellow); color: var(--navy); border-radius: 6px 12px 12px 6px;
  transform: rotate(-3deg); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6);
}
.slide__tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }
.slide__brand { font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.slide__name { font-size: 14px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__price { font-size: 36px; font-weight: 900; font-stretch: 66%; line-height: 1; margin-top: 4px; }
.slide__price s { font-size: 16px; font-weight: 600; margin-right: 8px; opacity: .65; }
.stage__thumbs { position: absolute; left: 0; bottom: 0; display: flex; gap: 8px; }
.thumb { position: relative; width: 58px; height: 58px; border-radius: 10px; background: #fff; padding: 5px; overflow: hidden; opacity: .55; transition: opacity .2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb:hover, .thumb.is-on { opacity: 1; }
.thumb__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--yellow); }
.thumb.is-on .thumb__bar { animation: tbar 5s linear forwards; }
.stage.is-paused .thumb.is-on .thumb__bar { animation-play-state: paused; }
@keyframes tbar { to { width: 100%; } }

/* Banda de beneficios con cinta de obra */
.hero2__band { position: relative; background: var(--yellow); color: var(--navy); }
.tape { height: 14px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--navy) 14px 28px); }
.hero2__perks { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.hero2__perks p, .hero2__perks a { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.hero2__perks a { text-decoration: underline; text-underline-offset: 3px; }
.hero2__perks .i { width: 20px; height: 20px; }

/* Categorías en mosaico */
.sec__more { background: none; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 12px; }
.bento__big {
  grid-column: span 2; grid-row: span 2; position: relative; display: flex; overflow: hidden; border-radius: var(--r-card);
  background: var(--navy); color: #fff; padding: 28px; min-height: 312px;
}
.bento__big::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--navy) 10px 20px); }
.bento__txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 52%; }
.bento__name { font-size: clamp(34px, 3.6vw, 50px); font-weight: 900; font-stretch: 64%; line-height: .9; }
.bento__count { color: var(--yellow); font-weight: 700; }
.bento__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bento__subs span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.bento__go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.bento__go .i { width: 18px; height: 18px; transition: transform .2s; }
.bento__big:hover .bento__go .i { transform: translateX(4px); }
.bento__img { position: absolute; right: 4%; top: 50%; margin-top: -24%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.bento__img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.bento__big:hover .bento__img img { transform: scale(1.05) rotate(-2deg); }
.bento .cat { min-height: 150px; }
.bento .cat__ic { background: var(--navy); }
.cat--all { background: var(--yellow); border-color: var(--yellow); text-align: left; }
.cat--all:hover { background: var(--accent-h); border-color: var(--accent-h); }
.cat--all .cat__count { color: var(--navy); }

@media (max-width: 980px) {
  .hero2__in { grid-template-columns: 1fr; padding-top: 32px; }
  .stage { justify-self: center; max-width: 460px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .logo__word { font-size: 30px; }
  .logo__mark { width: 34px; height: 34px; }
  .hd__wa { display: none; }
  .hero2__title { font-size: 72px; }
  .hero2__lead { font-size: 16px; }
  .hero2__quick button:nth-child(n+5) { display: none; }
  .hero2__search .btn { padding: 0 16px; }
  .hero2__search input { font-size: 16px; }
  .hero2__lens { width: 34px; }
  .slide__price { font-size: 28px; }
  .slide__tag { max-width: 78%; }
  .thumb { width: 48px; height: 48px; }
  .hero2__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .hero2__perks p, .hero2__perks a { font-size: 13.5px; }
  .bento__big { grid-column: span 2; grid-row: span 1; min-height: 260px; padding: 20px; }
  .bento__txt { max-width: 60%; }
  .bento__img { width: 48%; right: -6%; margin-top: -20%; }
}

/* Logo del cliente (imagen) */
.logo__img { display: block; height: 44px; width: auto; }
.ft .logo__img { height: 40px; }
@media (max-width: 720px) { .logo__img { height: 34px; } }

.hero2__title--long { font-size: clamp(52px, 6.6vw, 104px); }
@media (max-width: 720px) { .hero2__title--long { font-size: 52px; } }

/* ==========================================================
   UDUKE — capa corporativa (negro, amarillo seguridad, estrellas)
   ========================================================== */
:root { --ink: #111111; --ink-2: #1C1C1C; --ink-3: #2A2A2A; --sun: #FFD100; --blue-1: #FFF6CC; --concrete: #F2F1EC; --tile: #F7F6F2; --line: #E0DED6; }
body { background: var(--concrete); }
::selection { background: var(--sun); color: var(--ink); }
.btn--line { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; }
.btn--line:hover { border-color: var(--sun); color: var(--sun); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: var(--sun); }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8A6A00; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--sun); border-radius: 2px; }
.kicker--y { color: var(--sun); }
.sec--paper { background: #fff; border-block: 1px solid var(--line); }

/* Barra superior y encabezado */
.topbar { background: #000; color: #BDBDB5; font-size: 12.5px; }
.topbar__in { display: flex; align-items: center; gap: 22px; height: 34px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .i { width: 15px; height: 15px; color: var(--sun); }
.topbar__nav { margin-left: auto; display: flex; gap: 2px; }
.topbar__nav a { padding: 6px 12px; border-radius: 6px; color: #E9E9E2; font-weight: 600; }
.topbar__nav a:hover, .topbar__nav a.is-on { color: var(--sun); }
.hd { background: var(--ink); border-bottom: 3px solid var(--sun); }
.logo__img { height: 50px; }
.hd__cart-ic { background: var(--sun); color: var(--ink); }
.hd__cart-txt small { color: #A9A9A0; }
.hd__cart .badge { background: #fff; color: var(--ink); border-color: var(--ink); }
.mega__top .i { color: #8A6A00; }
.mega__top.is-on { color: var(--ink); box-shadow: inset 4px 0 0 var(--sun); }
.mega__all { font-weight: 800; border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 12px; }
.mega__subs a:hover { color: #8A6A00; }

/* Tarjeta de producto en modo cotización */
.pc__ref { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #8A6A00; text-transform: uppercase; }
.pc__name { min-height: 57px; -webkit-line-clamp: 3; }
.pc__name:hover { color: #000; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }
.pc__main { display: flex; flex-direction: column; gap: 5px; }
.quote-btn { width: 100%; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-btn); font-weight: 800; font-size: 14.5px;
  background: var(--ink); color: #fff; transition: background .15s, color .15s; }
.quote-btn .i { width: 19px; height: 19px; color: var(--sun); }
.quote-btn:hover { background: var(--sun); color: var(--ink); }
.quote-btn:hover .i { color: var(--ink); }
.quote-btn.is-in { background: var(--blue-1); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--sun); }
.quote-btn.is-in .i { color: var(--green); }
.pc:hover { border-color: var(--ink); }
.stock { font-size: 12px; }

/* Hero corporativo */
.uh { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 85% 40%, #2A2A2A 0%, #121212 55%, #0A0A0A 100%); }
.uh__grain { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%); mask-image: linear-gradient(90deg, transparent 20%, #000 70%); }
.uh__bg { position: absolute; inset: 0; }
.uh__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 7s linear; }
.uh__bg img.is-on { opacity: 1; transform: scale(1); }
.uh--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.15) 80%); pointer-events: none; }
.uh__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 56px; min-height: 600px; }
.uh--photo .uh__in { grid-template-columns: minmax(0, 1fr); }
.uh--photo .uh__copy { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(255, 209, 0, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 209, 0, 0); } }
.uh__title { margin-top: 18px; display: flex; flex-direction: column; font-size: clamp(50px, 6.6vw, 104px); font-weight: 900; font-stretch: 62%; line-height: .86; letter-spacing: -.02em; text-transform: uppercase; }
.uh__title span:last-child { color: var(--sun); }
.uh__lead { margin-top: 22px; font-size: 18px; line-height: 1.5; color: #CFCFC6; max-width: 52ch; }
.uh__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.uh__search { margin-top: 26px; display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 6px; max-width: 620px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.uh__search:focus-within { box-shadow: 0 0 0 4px var(--sun); }
.uh__search input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--steel); }
.uh__search .btn { height: 50px; }
.hero2__lens { color: var(--ink); }
.hero2__quick button { color: #E5E5DD; border-color: rgba(255, 255, 255, .2); }
.uh__dots { position: absolute; left: 24px; bottom: 22px; display: flex; gap: 8px; z-index: 3; }
.uh__dots button { width: 34px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.uh__dots button.is-on { background: var(--sun); }
.ring { fill: var(--sun); }
.stage--ud { max-width: 540px; }
.ring--stage { position: absolute; inset: -3%; width: 106%; height: 106%; animation: spin 80s linear infinite; opacity: .95; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage--ud .stage__disc { inset: 11% 11% 13% 11%; background: radial-gradient(circle at 50% 40%, #fff 0 58%, #ECEAE2 100%); box-shadow: 0 50px 90px -40px #000, 0 0 0 10px rgba(255, 209, 0, .12); }
.stage--ud .slide__img { left: 25%; top: 23%; width: 50%; height: 46%; }
.slide__tag { background: var(--sun); color: var(--ink); transform: rotate(-2deg); }
.slide__tag::before { background: var(--ink); }
.slide__brand { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.slide__cta { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.slide__cta .i { width: 16px; height: 16px; }
.uh__band { position: relative; z-index: 2; background: var(--sun); color: var(--ink); }
.uh .tape, .ft .tape { height: 12px; background: repeating-linear-gradient(-45deg, var(--sun) 0 14px, var(--ink) 14px 28px); }
.uh__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 20px; padding-bottom: 20px; }
.uh__stats div { display: flex; flex-direction: column; border-left: 3px solid var(--ink); padding-left: 14px; }
.uh__stats strong { font-size: 34px; font-weight: 900; font-stretch: 64%; line-height: 1; }
.uh__stats span { font-size: 13.5px; font-weight: 600; margin-top: 3px; }

/* Líneas de producto */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.line { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; isolation: isolate; }
.line:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--ink); }
.line__img { position: absolute; right: -6%; top: -4%; width: 66%; aspect-ratio: 1; z-index: -1; }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.line:hover .line__img img { transform: scale(1.06) rotate(-3deg); }
.line__txt { display: flex; flex-direction: column; gap: 4px; max-width: 70%; }
.line__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--sun); margin-bottom: 6px; }
.line__name { font-size: 22px; font-weight: 850; font-stretch: 70%; line-height: 1; }
.line__count { font-size: 13px; color: var(--steel-2); font-weight: 600; }
.line__go { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); transition: transform .2s; }
.line:hover .line__go { transform: translateX(3px); }
.line--big { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); padding: 28px; }
.line--big .line__img { width: 62%; right: -4%; top: 6%; }
.line--big .line__img::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: #fff; z-index: -1; }
.line--big .line__name { font-size: clamp(36px, 4vw, 58px); }
.line--big .line__count { color: var(--sun); }
.line--big .line__ic { background: var(--sun); color: var(--ink); }
.line__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.line__subs span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.sec__more { color: var(--ink); }
.sec__more:hover { color: #8A6A00; }

/* Cómo cotizar */
.how { background: var(--ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.how::before { content: "COTICE"; position: absolute; right: -20px; bottom: -40px; font-size: 240px; font-weight: 900; font-stretch: 62%; color: rgba(255, 255, 255, .035); line-height: 1; }
.how__head { max-width: 760px; }
.how__head h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 900; font-stretch: 64%; line-height: .98; }
.how__head p { margin-top: 14px; color: #BDBDB5; font-size: 17px; }
.how__steps { list-style: none; padding: 0; margin: 36px 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.how__steps li { position: relative; padding: 26px 24px 24px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-3); }
.how__steps .i { width: 30px; height: 30px; color: var(--sun); }
.how__n { position: absolute; right: 20px; top: 14px; font-size: 46px; font-weight: 900; font-stretch: 62%; color: rgba(255, 209, 0, .22); }
.how__steps h3 { margin-top: 14px; font-size: 21px; font-weight: 800; }
.how__steps p { margin-top: 8px; color: #BDBDB5; font-size: 15px; }

/* Manifiesto de marca */
.manifesto { position: relative; overflow: hidden; background: var(--sun); color: var(--ink); padding: 76px 0; }
.ring--manifesto { position: absolute; width: 720px; height: 720px; right: -200px; top: 50%; margin-top: -360px; fill: rgba(0, 0, 0, .08); animation: spin 120s linear infinite; }
.manifesto__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.manifesto__logo { height: 70px; width: auto; filter: brightness(0); }
.manifesto h2 { margin-top: 22px; font-size: clamp(38px, 5vw, 72px); font-weight: 900; font-stretch: 62%; line-height: .9; text-transform: uppercase; }
.manifesto h2 span { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.manifesto p { margin-top: 18px; font-size: 17px; max-width: 54ch; font-weight: 500; }
.manifesto__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.manifesto__mosaic > * { aspect-ratio: 1; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .6); }
.manifesto__mosaic a:nth-child(2), .manifesto__mosaic a:nth-child(5) { transform: translateY(18px); }
.manifesto__mosaic img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.manifesto__mosaic a:hover img { transform: scale(1.08); }
.manifesto__video { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.manifesto__video iframe { width: 100%; height: 100%; border: 0; }
.social { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.social__a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.social__a .i { width: 18px; height: 18px; color: var(--sun); }
.social__a:hover { background: #000; color: var(--sun); }
.ft .social__a { background: var(--ink-3); }

/* Segmentos */
.segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.seg-card { padding: 22px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.seg-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.seg-card .i { width: 30px; height: 30px; color: var(--ink); padding: 6px; box-sizing: content-box; background: var(--sun); border-radius: 10px; }
.seg-card h3 { margin-top: 14px; font-size: 18px; font-weight: 800; }
.seg-card p { margin-top: 6px; font-size: 14px; color: var(--steel-2); }

/* Banda final */
.cta-band { background: var(--sun); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 900; font-stretch: 66%; line-height: 1; max-width: 22ch; }
.cta-band p { margin-top: 8px; font-weight: 600; }
.cta-band__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Pie */
.ft { background: var(--ink); color: #A9A9A0; }
.ft .tape { margin-bottom: 0; }
.ft h3 { color: var(--sun); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.ft .logo__img { height: 64px; }
.ft__contact .i { color: var(--sun); }
.ft__base { color: #8A8A82; }

/* Páginas internas */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 22px 0 64px; }
.page-hero h1 { margin-top: 14px; font-size: clamp(40px, 5.4vw, 80px); font-weight: 900; font-stretch: 62%; line-height: .9; text-transform: uppercase; max-width: 16ch; }
.page-hero h1 span { color: var(--sun); }
.page-hero p { margin-top: 18px; font-size: 18px; color: #CFCFC6; max-width: 60ch; position: relative; z-index: 1; }
.page-hero .wrap { position: relative; }
.page-hero__logo { margin-top: 18px; height: 90px; width: auto; }
.ring--page { position: absolute; right: 0; top: -6px; width: 380px; height: 380px; opacity: .9; animation: spin 90s linear infinite; }
.crumbs--dark, .crumbs--dark a { color: #A9A9A0; }
.crumbs--dark span { color: #fff; }
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-top: -36px; padding-bottom: 64px; position: relative; z-index: 2; align-items: start; }
.contact .panel { box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.contact__side { display: grid; gap: 16px; }
.contact__cards { display: grid; gap: 4px; padding: 10px !important; }
.cc { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; }
a.cc:hover { background: var(--blue-1); }
.cc > .i { width: 42px; height: 42px; padding: 10px; box-sizing: border-box; border-radius: 10px; background: var(--ink); color: var(--sun); flex: none; }
.cc span { display: flex; flex-direction: column; min-width: 0; }
.cc small { font-size: 12px; color: var(--steel-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.cc b { font-size: 15px; overflow-wrap: anywhere; }
.contact__company { background: var(--ink) !important; color: #fff; text-align: left; }
.contact__company img { height: 56px; width: auto; }
.contact__company p { margin-top: 10px; color: #CFCFC6; font-weight: 600; }
.social--dark .social__a { background: var(--ink-3); }
.contact__map { padding: 0 !important; overflow: hidden; }
.contact__map iframe { display: block; width: 100%; height: 260px; border: 0; }
.select--field { position: relative; display: block; }
.select--field select { width: 100%; height: 48px; appearance: none; border: 1.5px solid var(--line); border-radius: var(--r-in); background: #fff; padding: 0 40px 0 14px; }
.select--field .i { position: absolute; right: 12px; top: 50%; margin-top: -10px; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok--inline { padding: 30px 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { padding: 26px 22px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.value .i { width: 34px; height: 34px; color: var(--ink); background: var(--sun); padding: 7px; box-sizing: content-box; border-radius: 10px; }
.value h3 { margin-top: 14px; font-size: 19px; font-weight: 800; }
.value p { margin-top: 6px; color: var(--steel-2); font-size: 14.5px; }
.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.portfolio a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--tile); font-weight: 700; }
.portfolio a:hover { border-color: var(--ink); background: var(--blue-1); }
.portfolio .i { color: #8A6A00; }
.portfolio small { margin-left: auto; color: var(--steel-3); font-weight: 600; }

/* Ficha, lista lateral y resumen en modo cotización */
.buy--quote .buy__label { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 900; font-stretch: 70%; }
.buy--quote .buy__label .i { width: 28px; height: 28px; color: #8A6A00; }
.buy--quote .buy__tax { font-size: 14.5px; color: var(--steel-2); margin-top: 6px; }
.pd__brand { color: #8A6A00; }
.mbar__t { font-weight: 800; font-size: 15px; }
.ci__ref { display: block; font-size: 12px; color: var(--steel-3); margin-top: 2px; }
.ci__u { font-size: 13px; color: var(--steel-3); margin-right: auto; }
.sum__meta { color: var(--steel-2); margin: -6px 0 12px; font-size: 14px; }
.sum .btn { margin-top: 14px; }
.drawer__head h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); margin-right: 10px; vertical-align: middle; }

@media (max-width: 1080px) {
  .segs { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .uh__in { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .stage--ud { justify-self: center; max-width: 420px; }
  .lines { grid-template-columns: repeat(2, 1fr); }
  .manifesto__in, .contact { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .topbar__hide { display: none; }
}
@media (max-width: 720px) {
  .topbar__item:first-child { display: none; }
  .topbar__nav { margin: 0 auto; }
  .logo__img { height: 40px; }
  .uh__title { font-size: 46px; }
  .uh__lead { font-size: 16px; }
  .uh__cta .btn { flex: 1; padding: 0 14px; }
  .uh__stats { grid-template-columns: 1fr 1fr; }
  .uh__stats strong { font-size: 28px; }
  .lines { grid-auto-rows: 180px; gap: 10px; }
  .line--big { grid-row: span 1; padding: 18px; }
  .line__name { font-size: 18px; }
  .segs { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .ring--page { width: 220px; height: 220px; right: -60px; opacity: .5; }
  .how::before { font-size: 140px; }
  .ring--manifesto { width: 480px; height: 480px; right: -240px; margin-top: -240px; }
}
@media (max-width: 720px) { .line__subs { display: none; } }
.drawer__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer__row .btn { padding: 0 10px; font-size: 14px; }
.ok__pdf { margin-top: 22px; }

/* Conoce más nuestro producto */
.btn--know { margin-top: 10px; background: var(--ink); color: #fff; height: 52px; font-size: 15.5px; position: relative; overflow: hidden; }
.btn--know .i { color: var(--sun); width: 22px; height: 22px; }
.btn--know::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 209, 0, .25) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.2s ease-in-out infinite; }
.btn--know:hover { background: #000; color: var(--sun); }
.btn--know.is-busy::after { animation-duration: 1.1s; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.specs__lead { padding: 14px 20px; font-size: 15px; line-height: 1.55; border-bottom: 1px solid var(--line); background: var(--blue-1); }
.specs__more { border-top: 0; }
.specs__toggle { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; font-weight: 700; font-size: 14px; color: #8A6A00; }
.specs__toggle .i { width: 17px; height: 17px; transition: transform .2s; }
.specs__toggle.is-open .i { transform: rotate(180deg); }
.know { margin: 8px 0 36px; background: var(--ink); color: #fff; border-radius: 18px; padding: 32px; position: relative; overflow: hidden; }
.know::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 209, 0, .22), transparent 70%); }
.know__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.know__badge .i { width: 17px; height: 17px; }
.know__head h2 { margin-top: 12px; font-size: clamp(24px, 3vw, 36px); font-weight: 900; font-stretch: 66%; line-height: 1.02; max-width: 30ch; }
.know__grid { margin-top: 22px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; position: relative; }
.know__text { grid-row: span 2; font-size: 16px; line-height: 1.65; color: #E3E3DB; }
.know__block { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 16px 18px; }
.know__block h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--sun); margin-bottom: 8px; }
.know__block h3 .i { width: 18px; height: 18px; }
.know__block li { position: relative; padding: 4px 0 4px 16px; font-size: 14px; color: #D9D9D0; line-height: 1.45; }
.know__block li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.know__note { margin-top: 18px; font-size: 12.5px; color: #9A9A92; display: flex; flex-direction: column; gap: 4px; }
.know__note > .i { display: none; }
.know__src a { color: #CFCFC6; text-decoration: underline; text-underline-offset: 2px; }
.know__cta { margin-top: 18px; }
.know__loading { display: flex; gap: 16px; align-items: center; font-size: 15px; }
.know__loading p { color: #BDBDB5; margin-top: 4px; font-size: 14px; }
.know__loading > .i { width: 28px; height: 28px; color: var(--sun); }
.know__pulse { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); animation: kpulse 1.4s ease-in-out infinite; }
.know__pulse .i { width: 28px; height: 28px; }
@keyframes kpulse { 50% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(255, 209, 0, .15); } }
@media (max-width: 980px) { .know__grid { grid-template-columns: 1fr; } .know__text { grid-row: auto; } .know { padding: 22px; } }
.pd > * { min-width: 0; }
.pd__ids { flex-wrap: wrap; }
@media (max-width: 720px) { .buy--quote .buy__label { font-size: 22px; } }

/* ===== Vitrina del banner: zoom lento, progreso, estrellas, lupa ===== */
.stage--ud { max-width: 560px; }
.stage__spin { position: absolute; inset: 0; transition: transform 1.1s cubic-bezier(.3, 1.4, .5, 1); }
.stage__glow { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 209, 0, .35) 0%, rgba(255, 209, 0, 0) 62%); filter: blur(10px); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.06); opacity: .75; } }
.stage__word { position: absolute; left: 50%; top: -9%; transform: translate(-50%, 0); z-index: 0; white-space: nowrap; pointer-events: none;
  font-size: clamp(44px, 4.6vw, 76px); font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 209, 0, .55); opacity: 0; }
.stage__word.is-in { animation: wordIn .9s var(--ease) forwards; }
@keyframes wordIn { from { opacity: 0; transform: translate(-50%, 14px); letter-spacing: .12em; } to { opacity: 1; transform: translate(-50%, 0); letter-spacing: .02em; } }
.stage--ud .stage__disc { inset: 11% 11% 12% 11%; z-index: 1; }
.stage__prog { position: absolute; left: 9.5%; top: 9.5%; width: 81%; height: 79.5%; z-index: 2; transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.stage__prog circle { fill: none; stroke: var(--sun); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.stage.is-tick .stage__prog circle { animation: prog var(--stage-ms, 4s) linear forwards; }
.stage.is-paused .stage__prog circle { animation-play-state: paused; }
@keyframes prog { to { stroke-dashoffset: 0; } }
.stage--ud .stage__slides { z-index: 3; }
.slide__clip { position: absolute; left: 11%; top: 11%; width: 78%; height: 77%; border-radius: 50%; overflow: hidden; clip-path: ellipse(50% 50% at 50% 50%); isolation: isolate;
  background: radial-gradient(circle at 50% 40%, #fff 0 58%, #ECEAE2 100%); }
.stage--ud .slide:not(.is-on) .slide__clip { background: transparent; }
.stage--ud .slide__img { position: absolute; left: 17%; top: 15%; width: 66%; height: 64%; object-fit: contain; mix-blend-mode: multiply; transform: none; }
.stage--ud .slide { transition: opacity .55s var(--ease), visibility .55s; }
.stage--ud .slide.is-on .slide__img { animation: kenIn var(--stage-ms, 4s) cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes kenIn {
  0% { opacity: 0; transform: translateX(40px) rotate(-7deg) scale(.82); }
  14% { opacity: 1; transform: translateX(0) rotate(1deg) scale(1.02); }
  100% { opacity: 1; transform: rotate(0) scale(1.16); }
}
.stage.is-paused .slide.is-on .slide__img { animation-play-state: paused; }
.stage--ud .slide.is-on .slide__tag { animation: tagIn .6s .18s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes tagIn { from { opacity: 0; transform: translateY(18px) rotate(-8deg) scale(.9); } to { opacity: 1; transform: rotate(-2deg); } }
.stage--ud .slide__tag { z-index: 4; }
.stage__lens { position: absolute; z-index: 5; width: 170px; height: 170px; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  background-color: #fff; background-repeat: no-repeat; border: 4px solid var(--sun); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(0, 0, 0, .08);
  transition: opacity .18s, transform .18s; }
.stage.is-lens .stage__lens { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stage.is-lens { cursor: zoom-in; }
.stage__thumbs { z-index: 4; }
.thumb.is-on { outline: 2px solid var(--sun); outline-offset: 2px; }
@media (max-width: 720px) { .stage__word { font-size: 40px; top: -6%; } .stage__lens { display: none; } }
@media (prefers-reduced-motion: reduce) { .stage__spin, .stage--ud .slide.is-on .slide__img, .stage__glow, .ring--stage { animation: none !important; transition: none !important; } }
