/* Layout: barra superior fija, hero con franja reflectante, catálogo en grilla con filtros, cotización en panel lateral. */
:root {
  /* Paleta tomada de texora.cl: azul profundo #032085, azul eléctrico #0B38DB, grises claros */
  --navy: #032085;
  --navy-2: #0b38db;
  --hivis: #0b38db;
  --cyan: #0078b8;
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f4f6fb;
  --ink: #141a2e;
  --muted: #5d6680;
  --line: #e1e5ef;
  --chip: #f2f4f9;
  --ok: #157347;
  --ok-bg: #e4f4ec;
  --warn: #9a5b00;
  --warn-bg: #fdf1dc;
  --bad: #b3261e;
  --bad-bg: #fce8e7;
  --wa: #1fa855;
  --shadow: 0 12px 32px rgba(3, 32, 133, .10);
  --glow: 0 0 0 1px rgba(11, 56, 219, .35), 0 10px 28px rgba(11, 56, 219, .16);
  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 8px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
p { margin: 0; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hivis); color: #111; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 2px; }
.eyebrow { font: 600 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow--light { color: var(--hivis); }
.hero .eyebrow { color: rgba(255,255,255,.72); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--hivis); color: #141a26; }
.btn--primary:hover { background: #ffd21a; }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--wa { background: var(--wa); color: #fff; }
.link { background: none; border: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }

/* Barra superior */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy); color: #fff; }
.topbar__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 38px; height: 38px; border-radius: 8px; background: var(--hivis); color: var(--navy); display: grid; place-items: center; font: 800 26px/1 var(--f-display); }
.logo__txt { font: 800 24px/1 var(--f-display); letter-spacing: .08em; display: flex; flex-direction: column; }
.logo__txt small { font: 500 11px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 0 16px; min-width: 0; }
.search svg { width: 20px; height: 20px; fill: currentColor; opacity: .7; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: 16px var(--f-body); height: 44px; outline: none; }
.search input::placeholder { color: rgba(255,255,255,.6); }
.search:focus-within { background: rgba(255,255,255,.16); border-color: var(--hivis); }
.topnav { display: flex; gap: 18px; }
.topnav a { text-decoration: none; font-weight: 600; opacity: .85; }
.topnav a:hover { opacity: 1; color: var(--hivis); }
.cart-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; height: 44px; padding: 0 14px; font: 600 15px var(--f-body); cursor: pointer; flex: none; }
.cart-btn svg { width: 20px; height: 20px; fill: currentColor; }
.cart-btn b { background: var(--hivis); color: #141a26; border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: 13px; padding: 0 6px; }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.08); } }

/* Hero */
.hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding-block: 56px 64px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; text-transform: uppercase; margin-top: 14px; }
.hero .hl { color: var(--hivis); }
.hero .lead { font-size: 19px; max-width: 34em; margin-top: 18px; color: rgba(255,255,255,.85); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--r); overflow: hidden; }
.hero__facts li { background: rgba(10,18,38,.55); padding: 18px 22px; display: flex; align-items: baseline; gap: 14px; }
.hero__facts b { font: 800 34px/1 var(--f-display); color: var(--hivis); font-variant-numeric: tabular-nums; min-width: 4.2ch; }
.hero__facts span { color: rgba(255,255,255,.8); }
/* franja reflectante, como la cinta de una prenda de alta visibilidad */
.tape { height: 14px; background: repeating-linear-gradient(90deg, #d9dde3 0 46px, #f5f7fa 46px 92px); border-top: 4px solid var(--hivis); opacity: .95; }

/* Categorías */
.cats { padding-block: 28px 8px; }
.cats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4/5; max-width: 100%; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover img { transform: scale(1.04); }
.cat span { position: relative; display: block; padding: 28px 12px 12px; background: linear-gradient(transparent, rgba(10,16,30,.85)); color: #fff; font: 700 20px/1.05 var(--f-display); text-transform: uppercase; }
.cat span small { display: block; font: 500 13px var(--f-body); text-transform: none; opacity: .85; margin-top: 2px; }
.cat.is-on { outline: 3px solid var(--hivis); outline-offset: 2px; }

/* Catálogo */
.catalog { padding-block: 32px 56px; }
.catalog__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { font-weight: 600; color: var(--muted); }
select, input, textarea { font: 16px var(--f-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
select { height: 42px; padding: 0 12px; }
.filters { display: grid; gap: 10px; margin-block: 18px 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; height: 38px; padding: 0 16px; font: 600 15px var(--f-body); cursor: pointer; }
.chip:hover { border-color: var(--navy-2); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips--small .chip { height: 34px; font-size: 14px; }
.sep { width: 1px; height: 22px; background: var(--line); margin-inline: 4px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--navy-2); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: box-shadow .2s, transform .2s; text-align: left; padding: 0; font: inherit; color: inherit; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__img { aspect-ratio: 7/8; max-width: 100%; background: #fff; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__sub { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card h3 { font: 600 16px/1.25 var(--f-body); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sku { font: 500 12.5px var(--f-mono); color: var(--muted); }
.dots { display: flex; gap: 4px; flex-wrap: wrap; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.dot--more { width: auto; border: 0; font-size: 12px; color: var(--muted); }

.stock { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--f-body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--ok { color: var(--ok); background: var(--ok-bg); }
.stock--warn { color: var(--warn); background: var(--warn-bg); }
.stock--bad { color: var(--bad); background: var(--bad-bg); }
.card__img .stock { position: absolute; left: 10px; top: 10px; }

.empty { text-align: center; padding: 48px 0; color: var(--muted); }
.more { display: flex; justify-content: center; margin-top: 28px; }

/* Banda bordado */
.band { background: var(--navy); color: #fff; }
.band__in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-block: 56px; align-items: center; }
.band h2 { margin-block: 10px 14px; text-transform: uppercase; }
.band p { color: rgba(255,255,255,.85); max-width: 36em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; counter-reset: s; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; counter-increment: s; }
.steps li::before { content: counter(s); font: 800 30px/1 var(--f-display); color: var(--hivis); }
.steps b { font: 700 20px/1.1 var(--f-display); text-transform: uppercase; }
.steps span { color: rgba(255,255,255,.8); font-size: 15px; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding-block: 64px; }
.contact__info { display: grid; gap: 14px; align-content: start; }
.contact__list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; }
.contact__list li { display: grid; gap: 2px; font-size: 18px; font-weight: 600; }
.contact__list span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.form h3 { font-size: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 11px 12px; }
.field input:focus, .field textarea:focus, select:focus { border-color: var(--navy-2); outline: 2px solid var(--hivis); outline-offset: 0; }
.field .err { color: var(--bad); font-size: 13px; }
.form__status { font-weight: 600; min-height: 1.4em; }
.form__status.ok { color: var(--ok); }
.form__status.bad { color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer__in { padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 4px; font-size: 14px; }

.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 40; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Diálogos */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--surface); }
dialog::backdrop { background: rgba(8, 12, 24, .6); }
.x { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.pd { width: min(1040px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 14px; }
.pd__in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 24px; position: relative; }
.pd__main { background: #fff; border-radius: var(--r); aspect-ratio: 7/8; max-width: 100%; }
.pd__main img { width: 100%; height: 100%; object-fit: contain; }
.pd__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd__thumbs button { width: 64px; height: 72px; border-radius: 8px; border: 2px solid var(--line); background: #fff; padding: 0; cursor: pointer; overflow: hidden; }
.pd__thumbs button.is-on { border-color: var(--navy-2); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd__info { display: grid; gap: 14px; align-content: start; min-width: 0; padding-right: 36px; }
.pd__crumbs { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pd h2 { font-size: clamp(28px, 3.4vw, 38px); }
.lbl { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pd__opts { display: grid; gap: 4px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sw { cursor: pointer; background: var(--surface); color: var(--ink); font-family: var(--f-body); display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 5px; font-size: 13px; font-weight: 600; }
.sw i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.pd__add { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: end; background: var(--chip); border-radius: var(--r); padding: 14px; }
.pd__add .btn { grid-column: 1 / -1; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.specs dt { color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { background: var(--chip); border-radius: 6px; padding: 4px 8px; font-size: 13px; }
.stock-big { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stock-big b { font: 800 30px/1 var(--f-display); font-variant-numeric: tabular-nums; }

.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(460px, 100vw); }
.drawer[open] { animation: slide .25s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: .6; } }
.drawer__in { padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 16px; position: relative; }
.drawer__head h2 { font-size: 32px; }
.drawer .x { top: 14px; }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qi { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.qi img { width: 56px; height: 64px; object-fit: contain; background: #fff; border-radius: 6px; }
.qi__t { font-weight: 600; font-size: 14px; line-height: 1.25; min-width: 0; }
.qi__t small { display: block; font-weight: 400; color: var(--muted); }
.qi__c { display: flex; align-items: center; gap: 6px; }
.qi__c input { width: 70px; height: 36px; padding: 0 8px; text-align: center; }
.qi__c button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 18px; }
.form--quote { padding: 16px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 200%); visibility: hidden; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; transition: transform .25s; z-index: 80; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

@media (max-width: 1080px) {
  .cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topnav { display: none; }
}
@media (max-width: 860px) {
  .hero__in, .band__in, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pd__in { grid-template-columns: 1fr; padding: 16px; }
  .pd__info { padding-right: 0; }
}
@media (max-width: 640px) {
  .topbar__in { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .logo { margin-right: auto; }
  .cart-btn span { display: none; }
  .hero__in { padding-block: 36px 40px; }
  .hero .lead { font-size: 17px; }
  .cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { aspect-ratio: 5/4; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card h3 { font-size: 14.5px; }
  .card__foot { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.sw.is-on { border-color: var(--navy-2); box-shadow: 0 0 0 2px var(--navy-2) inset; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.size { border-radius: 8px; padding: 8px 10px; display: grid; gap: 2px; font-variant-numeric: tabular-nums; border: 1px solid var(--line); }
.size b { font: 700 18px/1 var(--f-display); }
.size span { font-size: 13px; font-weight: 600; }
.size--ok span { color: var(--ok); }
.size--warn span { color: var(--warn); }
.size--bad { opacity: .6; }
.size--bad span { color: var(--bad); }
.size--soon span { color: var(--warn); font-weight: 500; }

/* ===== Capa tecnológica: fondo blanco, líneas finas, grilla y acentos azules ===== */
h1, h2, h3 { letter-spacing: -.01em; }
.eyebrow { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--navy-2); }
.eyebrow::before { content: "// "; opacity: .6; }
.hero .eyebrow { color: var(--navy-2); }
.btn { border-radius: 6px; }
.btn--primary { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; box-shadow: 0 6px 18px rgba(11, 56, 219, .28); }
.btn--primary:hover { background: linear-gradient(135deg, #2350ff, var(--navy-2)); }
.btn--ghost { border-width: 1px; }
:focus-visible { outline-color: var(--navy-2); }
.skip { background: var(--navy-2); color: #fff; }

body::before { background: #fff; }
.topbar { background: rgba(255,255,255,.88); color: var(--ink); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.logo__mark { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border-radius: 6px; font-family: var(--f-display); font-weight: 700; }
.logo__txt { font-family: var(--f-display); font-weight: 700; color: var(--navy); letter-spacing: .06em; }
.logo__txt small { font-family: var(--f-mono); font-size: 10px; color: var(--muted); opacity: 1; }
.search { background: var(--soft); border-color: var(--line); border-radius: 8px; }
.search input { color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search:focus-within { background: #fff; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(11,56,219,.12); }
.topnav a { opacity: 1; color: var(--ink); font-weight: 500; }
.topnav a:hover { color: var(--navy-2); }
.cart-btn { background: var(--navy); color: #fff; border: 0; border-radius: 8px; }
.cart-btn:hover { background: var(--navy-2); }
.cart-btn b { background: #fff; color: var(--navy); font-family: var(--f-mono); }

.hero { color: var(--ink); background:
  radial-gradient(60% 80% at 85% 10%, rgba(11,56,219,.10), transparent 70%),
  radial-gradient(40% 60% at 0% 100%, rgba(0,120,184,.08), transparent 70%),
  linear-gradient(rgba(3,32,133,.06) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(3,32,133,.06) 1px, transparent 1px) 0 0 / 32px 32px,
  #fff; border-bottom: 1px solid var(--line); }
.hero h1 { font-weight: 700; color: var(--navy); }
.hero .hl { color: var(--navy-2); background: linear-gradient(90deg, var(--navy-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { color: var(--muted); }
.hero .btn--ghost { color: var(--navy); }
.hero__facts { background: var(--line); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero__facts li { background: rgba(255,255,255,.92); }
.hero__facts b { font: 600 30px/1 var(--f-mono); color: var(--navy-2); }
.hero__facts span { color: var(--muted); }
.tape { height: 3px; border: 0; opacity: 1; background: linear-gradient(90deg, var(--navy), var(--navy-2) 40%, var(--cyan) 70%, transparent); }

.cat { border-radius: var(--r); }
.cat span { font-family: var(--f-display); font-weight: 600; font-size: 18px; background: linear-gradient(transparent, rgba(3,20,90,.88)); }
.cat:hover { box-shadow: var(--glow); }
.cat.is-on { outline-color: var(--navy-2); }

.chip { border-radius: 6px; font-weight: 500; }
.chip:hover { border-color: var(--navy-2); color: var(--navy-2); }
.chip.is-on { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
select, input, textarea { border-radius: 6px; }

.card { border-radius: var(--r); }
.card:hover { box-shadow: var(--glow); transform: translateY(-2px); border-color: transparent; }
.card__sub { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--navy-2); }
.card h3 { font-weight: 600; }
.stock { border-radius: 4px; font: 500 12px/1 var(--f-mono); letter-spacing: .02em; }
.stock::before { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }

.band { background:
  linear-gradient(rgba(3,32,133,.05) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(3,32,133,.05) 1px, transparent 1px) 0 0 / 32px 32px,
  var(--soft); color: var(--ink); border-block: 1px solid var(--line); }
.band h2 { color: var(--navy); }
.band p { color: var(--muted); }
.steps li { background: #fff; border-color: var(--line); box-shadow: 0 4px 14px rgba(3,32,133,.06); }
.steps li::before { content: "0" counter(s); font: 600 22px/1 var(--f-mono); color: var(--navy-2); }
.steps span { color: var(--muted); }

.contact__list span, .lbl, .pd__crumbs { font-family: var(--f-mono); font-weight: 500; letter-spacing: .1em; }
.contact__list span, .pd__crumbs { color: var(--navy-2); }
.form { box-shadow: var(--shadow); }
.field input:focus, .field textarea:focus, select:focus { border-color: var(--navy-2); outline: 0; box-shadow: 0 0 0 3px rgba(11,56,219,.14); }
.footer { background: var(--soft); }

dialog::backdrop { background: rgba(3, 14, 60, .45); backdrop-filter: blur(3px); }
.pd { border-radius: 12px; }
.pd__add { background: var(--soft); border: 1px solid var(--line); }
.sw { border-radius: 6px; }
.sw.is-on { border-color: var(--navy-2); box-shadow: 0 0 0 1px var(--navy-2) inset; color: var(--navy-2); }
.size { border-radius: 6px; background: #fff; }
.size b { font: 600 16px/1 var(--f-display); }
.size span { font: 500 12px var(--f-mono); }
.stock-big b { font: 600 28px/1 var(--f-mono); color: var(--navy); }
.sku { font-family: var(--f-mono); }
.tags span { border-radius: 4px; font-family: var(--f-mono); font-size: 12px; background: var(--soft); border: 1px solid var(--line); }
.qi { border-radius: 6px; }
.toast { background: var(--navy); color: #fff; border-radius: 8px; }

/* ===== Logo Romans ===== */
.logo__svg { height: 74px; width: auto; display: block; margin-block: 6px; }

/* ===== Banner principal ===== */
.slider { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.slides { position: relative; height: clamp(440px, 46vw, 560px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; display: flex; align-items: center;
  background: radial-gradient(55% 90% at 78% 50%, var(--tint, rgba(11,56,219,.16)), transparent 70%),
  linear-gradient(rgba(3,32,133,.05) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(3,32,133,.05) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(110deg, #fff 0%, #fff 40%, var(--wash, #eef2fd) 100%); }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
/* Paleta de verano: sol, agua, arena y cielo */
.slide--a { --tint: rgba(255, 196, 0, .26); --wash: #fff8e1; }
.slide--b { --tint: rgba(0, 170, 210, .22); --wash: #e6f7fb; }
.slide--c { --tint: rgba(255, 140, 40, .22); --wash: #fff1e4; }
.slide--d { --tint: rgba(11, 56, 219, .16); --wash: #eaf1ff; }
.slide__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; width: 100%; height: 100%; }
.slide__copy { display: grid; gap: 16px; align-content: center; padding-block: 32px; max-width: 560px; }
.slide__t { font: 700 clamp(34px, 4.8vw, 62px)/1.02 var(--f-display); color: var(--navy); letter-spacing: -.02em; text-transform: none; }
.slide__t .hl { display: block; background: linear-gradient(90deg, var(--navy-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.slide__lead { color: var(--muted); font-size: 18px; max-width: 30em; }
.slide__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.slide__cta .btn--ghost { color: var(--navy); }
.slide__media { position: relative; height: 100%; min-height: 0; }
.slide__media img { position: absolute; mix-blend-mode: multiply; object-fit: contain; height: 92%; width: 62%; right: 26%; bottom: 0; transform: translateX(30px); opacity: 0; transition: transform .9s cubic-bezier(.2,.7,.2,1) .15s, opacity .9s .15s; }
.slide__media .slide__img2 { height: 74%; width: 50%; right: -2%; bottom: 4%; transition-delay: .3s; }
.slide.is-on .slide__media img { transform: none; opacity: 1; }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.9); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 3; }
.slider__nav:hover { background: var(--navy); color: #fff; }
.slider__nav svg { width: 22px; height: 22px; fill: currentColor; }
.slider__nav--prev { left: 14px; } .slider__nav--next { right: 14px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 4px; z-index: 3; }
.slider__dots button { background: none; border: 0; padding: 10px 4px; cursor: pointer; }
.slider__dots i { display: block; width: 26px; height: 4px; border-radius: 2px; background: rgba(3,32,133,.2); transition: width .3s, background .3s; }
.slider__dots [aria-selected="true"] i { width: 46px; background: var(--navy-2); }

.facts { background: var(--navy); color: #fff; }
.facts__in { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.facts li { display: flex; align-items: baseline; gap: 10px; padding: 16px 12px; border-left: 1px solid rgba(255,255,255,.14); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { font: 600 24px/1 var(--f-mono); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts span { color: rgba(255,255,255,.75); font-size: 14px; }

@media (max-width: 860px) {
  .slides { height: 620px; }
  .slide__in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; }
  .slide__copy { padding-block: 28px 0; gap: 12px; }
  .slide__lead { font-size: 16px; }
  .slider__nav { display: none; }
  .facts__in { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .facts li { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .logo__svg { height: 56px; margin-block: 2px; }
  .slides { height: 600px; }
  .slide__t { font-size: 34px; }
  .slide__media img { height: 96%; width: 60%; right: 30%; }
  .slide__media .slide__img2 { width: 52%; right: -4%; }
  .facts b { font-size: 19px; }
  .facts span { font-size: 12.5px; }
}

/* ===== Menú principal como romans.cl ===== */
.nav-btn { display: none; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 8px; font: 600 15px var(--f-body); cursor: pointer; flex: none; }
.nav-btn svg { width: 22px; height: 22px; fill: currentColor; }
.mainnav { border-top: 1px solid var(--line); background: #fff; }
.mainnav__list { list-style: none; margin: 0 auto; padding: 0 16px; max-width: 1240px; display: flex; justify-content: space-between; gap: 2px; }
.mainnav__item { position: relative; }
.mainnav__a { display: flex; align-items: center; gap: 2px; height: 46px; padding: 0 10px; border: 0; background: none; color: var(--ink); font: 500 15px var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; }
.mainnav__a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .6; }
.mainnav__a:hover, .mainnav__item:focus-within > .mainnav__a { color: var(--navy-2); }
.mainnav__a.is-on { color: var(--navy-2); border-bottom-color: var(--navy-2); }
.mainnav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); display: none; z-index: 60; }
.mainnav__item:hover .mainnav__sub, .mainnav__item:focus-within .mainnav__sub { display: block; }
.mainnav__sub button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 6px; color: var(--ink); font: 15px var(--f-body); cursor: pointer; }
.mainnav__sub button:hover { background: var(--soft); color: var(--navy-2); }
.consulta { border: 1px solid var(--line); background: var(--soft); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; justify-items: start; font-size: 18px; max-width: 720px; }
.consulta__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.consulta .btn--ghost { color: var(--navy); }
.cats__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1180px) { .mainnav__a { padding: 0 6px; font-size: 14px; } }
@media (max-width: 1080px) {
  .nav-btn { display: inline-flex; }
  .mainnav { display: none; max-height: calc(100dvh - 130px); overflow: auto; }
  .nav-open .mainnav { display: block; }
  .mainnav__list { flex-direction: column; padding-block: 8px 16px; }
  .mainnav__a { height: 48px; width: 100%; font-size: 17px; font-weight: 600; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .mainnav__a svg { display: none; }
  .mainnav__sub { position: static; display: flex; flex-wrap: wrap; gap: 6px; border: 0; box-shadow: none; padding: 10px 0 14px; min-width: 0; }
  .mainnav__sub button { width: auto; border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; font-size: 14px; }
  .cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav-btn span { display: none; }
  .cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Números de stock disponible en verde */
.stock-big b { color: var(--ok); }
.size--ok span, .size--warn span { color: var(--ok); }

/* ===== Formulario de cotización ===== */
.cot { background: linear-gradient(rgba(3,32,133,.05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(3,32,133,.05) 1px, transparent 1px) 0 0 / 32px 32px, var(--soft); border-block: 1px solid var(--line); }
.cot__in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-block: 64px; align-items: start; }
.cot__info { display: grid; gap: 14px; }
.cot__info h2 { color: var(--navy); }
.cot__steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.cot__steps li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-weight: 600; }
.cot__steps b { font: 600 18px var(--f-mono); color: var(--navy-2); }
.field label i, .opts legend i { color: var(--bad); font-style: normal; }
.opts { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opts legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.opts .err { grid-column: 1 / -1; }
.opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; background: #fff; }
.opt input { margin-top: 3px; accent-color: var(--navy-2); width: 18px; height: 18px; flex: none; }
.opt span { display: grid; gap: 2px; }
.opt small { color: var(--muted); font-size: 13px; }
.opt:has(input:checked) { border-color: var(--navy-2); box-shadow: 0 0 0 1px var(--navy-2) inset; background: #f3f6ff; }
.picker { display: grid; grid-template-columns: 1fr 84px auto; gap: 8px; }
.picker input { width: 100%; padding: 11px 12px; }
.picker .btn { min-height: 44px; color: var(--navy); }
.plist { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.plist:empty { display: none; }
.plist li { display: grid; grid-template-columns: 1fr 72px 36px; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 6px 6px 6px 12px; background: #fff; font-size: 14px; font-weight: 600; }
.plist small { color: var(--muted); font-weight: 400; font-family: var(--f-mono); }
.plist input { height: 34px; text-align: center; padding: 0 6px; }
.plist button { height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; font-size: 18px; color: var(--ink); }
#kFromCart { justify-self: start; color: var(--navy-2); font-weight: 600; font-size: 14px; }
.drawer .opts { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .cot__in { grid-template-columns: 1fr; gap: 24px; padding-block: 44px; } }
@media (max-width: 640px) { .opts { grid-template-columns: 1fr; } .picker { grid-template-columns: 1fr 72px; } .picker .btn { grid-column: 1 / -1; } }

/* ===== Barra superior de contacto ===== */
.infobar { background: var(--navy); color: #fff; font-size: 14px; }
.infobar__in { display: flex; align-items: center; gap: 22px; min-height: 38px; flex-wrap: wrap; }
.infobar__lbl { opacity: .75; }
.infobar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.infobar a:hover { text-decoration: underline; }
.infobar svg { width: 16px; height: 16px; fill: currentColor; opacity: .85; }
.infobar__cta { margin-left: auto; background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 6px; }
@media (max-width: 640px) {
  .infobar__in { gap: 4px 14px; justify-content: center; padding-block: 6px; font-size: 13px; }
  .infobar__lbl, .infobar a.infobar__cta { display: none; }
}

/* ===== Modo cotizador (ejecutivos) ===== */
.cz-bar { background: var(--navy); color: #fff; font-size: 14px; position: relative; z-index: 60; }
.cz-bar--bad { background: var(--bad); }
.cz-bar--wait { background: #3a4466; }
.cz-bar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 8px; padding-bottom: 8px; }
.cz-bar__in span { flex: 1 1 260px; }
.cz-btn, .cz-link { font: 700 13px/1 var(--f-body); border-radius: 999px; padding: 8px 14px; cursor: pointer; text-decoration: none; }
.cz-btn { background: #fff; color: var(--navy); border: 0; }
.cz-link { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.cz-price { display: block; margin-top: 8px; font: 500 13px/1.3 var(--f-body); color: var(--muted); }
.cz-price b { font: 700 17px/1 var(--f-display); color: var(--navy); }
.cz-price--none { color: var(--warn); font-size: 12px; }
.cz-prices { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.cz-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.cz-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 5px 0; }
.cz-table td { text-align: right; font: 700 15px var(--f-mono); padding: 5px 0; }
.cz-table tr + tr { border-top: 1px solid var(--line); }
.cz-note { font-size: 12px; margin: 8px 0 0; }
.cz-line { display: block; color: var(--navy); }
.cz-line--none { color: var(--warn); }
.cz-sum { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--soft); }
.cz-sum__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.cz-sum__row b { font: 700 24px var(--f-display); color: var(--navy); }
.cz-warn { margin: 0; font-size: 13px; color: var(--warn); background: var(--warn-bg); padding: 8px 10px; border-radius: 6px; }
.cz-hide { display: none !important; }
.footer__exec { color: inherit; font-size: 13px; }
