/* =========================================================================
   Import Cajito — tema sobre Bootstrap 5.3
   Azul noche como base corporativa, naranja de la marca solo para acciones y precios.
   ========================================================================= */
:root {
  --ic-navy: #0F1E36;
  --ic-navy-2: #172B4A;
  --ic-navy-line: #263B5E;
  --ic-brand: #12284C;
  --ic-electric: #1F6BFF;
  --ic-electric-soft: #E8F0FF;
  --ic-electric-text: #1653D6;
  --ic-orange: #F28C28;
  --ic-orange-hover: #F59D45;
  --ic-orange-soft: #FFF2E3;
  --ic-orange-text: #A8510A;
  --ic-paper: #F4F6FA;
  --ic-ink: #142139;
  --ic-muted: #56637A;
  --ic-line: #E1E6EE;
  --ic-chip: #EAF0F8;
  --ic-blue-text: #2A5BA3;
  --ic-ok: #176B3A;
  --ic-wa: #1E9A52;
  --ic-wa-dark: #177E43;
  --ic-on-dark: #F3F6FB;
  --ic-on-dark-muted: #B4C1D4;
  --ic-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ic-radius: 1rem;
  --ic-shadow: 0 14px 34px rgba(15, 30, 54, .10);

  --bs-body-font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --bs-body-color: var(--ic-ink);
  --bs-body-bg: var(--ic-paper);
  --bs-primary: var(--ic-brand);
  --bs-primary-rgb: 18, 40, 76;
  --bs-link-color: var(--ic-blue-text);
  --bs-link-color-rgb: 42, 91, 163;
  --bs-link-hover-color: var(--ic-brand);
  --bs-border-color: var(--ic-line);
  --bs-secondary-color: var(--ic-muted);
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: 1rem;
  --bs-focus-ring-color: rgba(242, 140, 40, .35);
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .display-font { font-family: var(--ic-display); letter-spacing: -.02em; text-wrap: balance; }
.text-muted, .text-body-secondary { color: var(--ic-muted) !important; }
.num { font-variant-numeric: tabular-nums; }
.ic { flex-shrink: 0; vertical-align: -.2em; }
:focus-visible { outline: 3px solid var(--ic-orange); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 2000; }
.skip-link:focus { left: 1rem; }

/* ---------- Botones ---------- */
.btn { --bs-btn-font-weight: 700; --bs-btn-padding-y: .65rem; --bs-btn-padding-x: 1.2rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { --bs-btn-padding-y: .4rem; --bs-btn-padding-x: .8rem; }
.btn-lg { --bs-btn-padding-y: .85rem; --bs-btn-padding-x: 1.6rem; }
.btn-primary { --bs-btn-bg: var(--ic-brand); --bs-btn-border-color: var(--ic-brand); --bs-btn-hover-bg: var(--ic-navy); --bs-btn-hover-border-color: var(--ic-navy); --bs-btn-active-bg: var(--ic-navy); --bs-btn-disabled-bg: var(--ic-brand); }
.btn-accent { --bs-btn-color: #1E1206; --bs-btn-bg: var(--ic-orange); --bs-btn-border-color: var(--ic-orange); --bs-btn-hover-color: #1E1206; --bs-btn-hover-bg: var(--ic-orange-hover); --bs-btn-hover-border-color: var(--ic-orange-hover); --bs-btn-active-bg: var(--ic-orange); --bs-btn-active-color: #1E1206; --bs-btn-disabled-bg: var(--ic-orange); --bs-btn-disabled-color: #1E1206; }
.btn-wa { --bs-btn-color: #fff; --bs-btn-bg: var(--ic-wa); --bs-btn-border-color: var(--ic-wa); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ic-wa-dark); --bs-btn-hover-border-color: var(--ic-wa-dark); --bs-btn-active-bg: var(--ic-wa-dark); --bs-btn-active-color: #fff; }
.btn-outline-primary { --bs-btn-color: var(--ic-brand); --bs-btn-border-color: var(--ic-line); --bs-btn-bg: #fff; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--ic-brand); --bs-btn-hover-border-color: var(--ic-brand); --bs-btn-active-bg: var(--ic-chip); --bs-btn-active-color: var(--ic-brand); --bs-btn-active-border-color: var(--ic-brand); }
.btn-outline-light { --bs-btn-border-color: #3A4E6E; }
.btn-white { --bs-btn-bg: #fff; --bs-btn-color: var(--ic-ink); --bs-btn-hover-bg: #EEF2F8; --bs-btn-hover-color: var(--ic-ink); --bs-btn-border-color: #fff; --bs-btn-hover-border-color: #EEF2F8; }

.eyebrow { display: inline-block; font-family: var(--ic-display); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ic-orange-text); }
.on-dark .eyebrow { color: var(--ic-orange); }

/* ---------- Barra superior y menú ---------- */
.topbar { background: #0A1628; color: var(--ic-on-dark-muted); font-size: .82rem; }
.topbar a { color: var(--ic-on-dark); text-decoration: none; font-weight: 700; }
.site-nav { background: var(--ic-navy); border-bottom: 1px solid var(--ic-navy-line); --logo-bg: var(--ic-navy); }
.site-nav .navbar-brand { display: flex; align-items: center; gap: .6rem; color: #fff; }
.logo-mark { width: 46px; height: 38px; color: #DCE6F4; }
.brand-name { display: block; font-family: var(--ic-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; line-height: 1; }
.brand-name b { color: var(--ic-orange); }
.brand-sub { display: block; font-size: .6rem; letter-spacing: .18em; color: var(--ic-on-dark-muted); margin-top: .3rem; font-weight: 700; }
.site-nav .nav-link { color: var(--ic-on-dark); font-weight: 700; padding: .6rem .8rem !important; white-space: nowrap; }
.basket-btn { white-space: nowrap; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: var(--ic-orange); }
.site-nav .nav-link.active { color: var(--ic-orange); }
.site-nav .dropdown-menu { border-color: var(--ic-line); box-shadow: var(--ic-shadow); border-radius: .9rem; padding: .5rem; }
.site-nav .dropdown-item { border-radius: .5rem; font-weight: 600; padding: .55rem .8rem; }
.dropdown-cats { max-height: 70vh; overflow-y: auto; }
.dropdown-cats .dropdown-item { display: flex; align-items: center; gap: .5rem; }
.site-nav .dropdown-item:active { background: var(--ic-chip); color: var(--ic-brand); }
.navbar-toggler { border-color: var(--ic-navy-line); }
.navbar-toggler-icon { filter: invert(1); }
.nav-search { background: var(--ic-navy-2); border: 1px solid var(--ic-navy-line); border-radius: .75rem; color: var(--ic-on-dark-muted); padding: 0 .75rem; display: flex; align-items: center; gap: .5rem; }
.nav-search:focus-within { border-color: var(--ic-orange); }
.nav-search input { background: transparent; border: 0; color: var(--ic-on-dark); min-height: 42px; outline: none; width: 100%; min-width: 0; }
.nav-search input::placeholder { color: #8FA0B9; }
.basket-btn { position: relative; }
.basket-badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ic-orange); color: #1E1206; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.basket-badge.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Secciones ---------- */
.section { padding-block: 4rem; }
.section-sm { padding-block: 2.5rem; }
.section-white { background: #fff; border-block: 1px solid var(--ic-line); }
.section-dark { background: var(--ic-navy); color: var(--ic-on-dark); }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-top: .4rem; }
.lead-muted { color: var(--ic-muted); font-size: 1.05rem; max-width: 46rem; }
.on-dark .lead-muted, .section-dark .lead-muted { color: var(--ic-on-dark-muted); }

/* Portada */
.hero { background: radial-gradient(ellipse at 85% 30%, #1C355C 0, transparent 45%), var(--ic-navy); color: var(--ic-on-dark); }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; line-height: 1.04; }
.hero h1 span { color: var(--ic-orange); }
.hero .lead { color: var(--ic-on-dark-muted); font-size: 1.15rem; }
.hero-lines { display: grid; gap: .9rem; }
.hero-line { display: flex; gap: 1rem; align-items: center; background: var(--ic-navy-2); border: 1px solid var(--ic-navy-line); border-radius: 1.1rem; padding: 1rem 1.1rem; color: var(--ic-on-dark); text-decoration: none; transition: border-color .2s, transform .2s; }
.hero-line:hover { border-color: #46638F; transform: translateY(-2px); color: var(--ic-on-dark); }
.hero-line img { width: 120px; height: 84px; object-fit: contain; background: #fff; border-radius: .7rem; padding: .3rem; flex-shrink: 0; }
.hero-line .hl-icon { width: 120px; height: 84px; border-radius: .7rem; background: var(--ic-orange-soft); color: var(--ic-orange-text); display: grid; place-items: center; flex-shrink: 0; }
.hero-line strong { display: block; font-family: var(--ic-display); font-size: 1.1rem; }
.hero-line small { color: var(--ic-on-dark-muted); display: block; }
.hero-line .hl-price { color: var(--ic-orange); font-family: var(--ic-display); font-weight: 800; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hero-facts div { display: flex; gap: .6rem; font-size: .9rem; color: var(--ic-on-dark-muted); }
.hero-facts .ic { color: var(--ic-orange); margin-top: .15rem; }
.hero-facts strong { display: block; color: var(--ic-on-dark); }

/* Tarjetas de solución */
.solution { height: 100%; border-radius: 1.25rem; padding: 2rem; border: 1px solid var(--ic-line); background: #fff; display: flex; flex-direction: column; gap: 1rem; }
.solution.dark { background: var(--ic-brand); color: var(--ic-on-dark); border-color: var(--ic-brand); }
.solution .sol-icon { width: 56px; height: 56px; border-radius: 1rem; display: grid; place-items: center; background: var(--ic-chip); color: var(--ic-brand); }
.solution.dark .sol-icon { background: rgba(242, 140, 40, .15); color: var(--ic-orange); }
.solution h3 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.solution p { margin: 0; color: var(--ic-muted); }
.solution.dark p { color: var(--ic-on-dark-muted); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; }
.check-list .ic { color: var(--ic-ok); margin-top: .2rem; }
.solution.dark .check-list .ic { color: var(--ic-orange); }

/* Tarjetas de producto */
.p-card { background: #fff; border: 1px solid var(--ic-line); border-radius: 1.1rem; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-3px); box-shadow: var(--ic-shadow); }
.p-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--ic-line); }
.p-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .3s; }
.p-card:hover .p-media img { transform: scale(1.03); }
.tag { position: absolute; top: .75rem; left: .75rem; font-size: .75rem; font-weight: 700; padding: .3rem .6rem; border-radius: .5rem; display: inline-flex; align-items: center; gap: .25rem; }
.tag-office { background: #E8EEF8; color: #1C3963; }
.tag-performance { background: #FFEEDB; color: #8A4209; }
.tag-gaming { background: var(--ic-brand); color: #fff; }
.tag-up { left: auto; right: .75rem; background: #E3F4E9; color: var(--ic-ok); }
.tag-cat { background: #E8EEF8; color: #1C3963; }
.no-photo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(160deg, #F4F7FB, #E9EEF6); color: #8A9BB5; }
.no-photo small { font-size: .8rem; font-weight: 600; color: var(--ic-muted); }
.avail { font-weight: 700; }
.avail-stock { color: var(--ic-ok); }
.avail-order, .avail-preorder { color: #1C5DB8; }
.avail-soldout { color: #B42318; }
.cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 767.98px) {
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.5); padding: 0 calc(var(--bs-gutter-x, 1.5rem) * .5) .25rem; scrollbar-width: none; }
  .cat-chips::-webkit-scrollbar { display: none; }
}
.lead-desc { font-size: 1.05rem; line-height: 1.6; max-width: 62ch; }
.cat-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 2rem; border: 1px solid var(--ic-line);
  background: #fff; color: inherit; font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.cat-chip:hover { border-color: var(--ic-brand); }
.cat-chip.is-on { background: var(--ic-brand); border-color: var(--ic-brand); color: #fff; }
.cat-chip .n { font-size: .75rem; opacity: .7; }
.p-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.p-brand { font-family: var(--ic-display); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ic-blue-text); }
.p-title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 0; }
.p-title a { color: inherit; text-decoration: none; }
.p-title a:hover { color: var(--ic-blue-text); }
.kv { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: .35rem .6rem; font-size: .88rem; margin: 0; }
.kv dt { color: var(--ic-muted); font-weight: 400; }
.kv dd { margin: 0; font-weight: 700; }
.p-foot { margin-top: auto; border-top: 1px solid var(--ic-line); padding-top: .75rem; display: grid; gap: .75rem; }
.price-label { font-size: .75rem; color: var(--ic-muted); font-weight: 700; }
.price { font-family: var(--ic-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price.ask { font-size: 1.15rem; color: var(--ic-muted); }
.pill-soon { display: inline-block; font-size: .75rem; font-weight: 700; color: #1C3963; background: var(--ic-chip); padding: .15rem .5rem; border-radius: .4rem; }

/* Tarjetas de servicio */
.s-card { background: #fff; border: 1px solid var(--ic-line); border-radius: 1.1rem; padding: 1.4rem; height: 100%; display: flex; flex-direction: column; gap: .7rem; transition: transform .2s, box-shadow .2s; }
.s-card:hover { transform: translateY(-3px); box-shadow: var(--ic-shadow); }
.s-icon { width: 50px; height: 50px; border-radius: .9rem; background: var(--ic-orange-soft); color: var(--ic-orange-text); display: grid; place-items: center; }
.s-card h3 { font-size: 1.15rem; font-weight: 800; margin: 0; }
.s-card p { color: var(--ic-muted); margin: 0; }
.s-card .s-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; border-top: 1px solid var(--ic-line); padding-top: .8rem; }
.s-price { font-weight: 800; font-family: var(--ic-display); }

/* Pasos */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border: 1px solid var(--ic-line); border-radius: 1rem; padding: 1.2rem; }
.step-n { width: 40px; height: 40px; border-radius: .7rem; background: var(--ic-orange); color: #1E1206; font-family: var(--ic-display); font-weight: 800; display: grid; place-items: center; margin-bottom: .75rem; }
.steps h3 { font-size: 1.05rem; font-weight: 800; }
.steps p { color: var(--ic-muted); margin: 0; font-size: .95rem; }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust div { display: flex; gap: .7rem; font-size: .9rem; color: var(--ic-muted); }
.trust .ic { color: var(--ic-blue-text); }
.trust strong { display: block; color: var(--ic-ink); }

.cta-band { background: var(--ic-brand); color: var(--ic-on-dark); border-radius: 1.4rem; padding: 2.2rem; }
.cta-band p { color: var(--ic-on-dark-muted); margin: .3rem 0 0; }

/* ---------- Encabezado de página ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--ic-line); }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--ic-muted); --bs-breadcrumb-item-active-color: var(--ic-muted); font-size: .88rem; margin: 0; }
.breadcrumb a { color: var(--ic-muted); }

/* ---------- Catálogo ---------- */
.filters { background: #fff; border: 1px solid var(--ic-line); border-radius: 1.1rem; padding: 1.1rem; position: sticky; top: 90px; }
.filters legend { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ic-muted); margin-bottom: .4rem; }
.filters .form-check { min-height: 2rem; display: flex; align-items: center; gap: .5rem; }
.filters .form-check-input { margin: 0; }
.filters .count { margin-left: auto; font-size: .8rem; color: var(--ic-muted); }
.form-check-input:checked { background-color: var(--ic-brand); border-color: var(--ic-brand); }
.results.loading { opacity: .5; pointer-events: none; transition: opacity .15s; }
.chip-x { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .75rem; border-radius: 999px; background: var(--ic-chip); color: #1C3963; font-size: .85rem; font-weight: 700; text-decoration: none; }
.empty-box { background: #fff; border: 1px dashed #C9D3E1; border-radius: 1.1rem; padding: 2.5rem 1.5rem; text-align: center; color: var(--ic-muted); }

/* ---------- Ficha de producto ---------- */
.gallery-main { background: #fff; border: 1px solid var(--ic-line); border-radius: 1.3rem; aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.thumb { aspect-ratio: 1 / 1; background: #fff; border: 1.5px solid var(--ic-line); border-radius: .75rem; padding: .3rem; width: 100%; }
.thumb[aria-pressed="true"] { border: 2.5px solid var(--ic-orange); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 992px) { .sticky-lg { position: sticky; top: 90px; } }
.highlights { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.highlights li { background: var(--ic-chip); color: #1C3963; border-radius: 999px; padding: .3rem .75rem; font-size: .88rem; font-weight: 700; }
.cfg-block { background: #fff; border: 1px solid var(--ic-line); border-radius: 1.1rem; padding: 1.1rem; }
.cfg-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.cfg-head h2 { font-size: 1.05rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .6rem; }
.step-dot { width: 26px; height: 26px; border-radius: .5rem; background: var(--ic-brand); color: #fff; display: inline-grid; place-items: center; font-size: .8rem; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.opt { position: relative; display: grid; gap: .1rem; padding: .75rem .9rem; border: 1.5px solid var(--ic-line); border-radius: .8rem; cursor: pointer; background: #fff; text-decoration: none; color: inherit; transition: border-color .15s, background .15s; margin: 0; }
.opt:hover { border-color: #C3CEDD; color: inherit; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked), .opt.is-on { border: 2px solid var(--ic-orange); background: #FFFAF4; }
.opt:has(input:focus-visible) { outline: 3px solid var(--ic-orange); outline-offset: 2px; }
.opt-t { font-family: var(--ic-display); font-weight: 800; }
.opt-s { font-size: .82rem; color: var(--ic-muted); }
.opt-p { font-size: .88rem; font-weight: 700; color: var(--ic-orange-text); margin-top: .2rem; }
.opt-p.inc { color: var(--ic-ok); }
.summary { background: var(--ic-navy); color: var(--ic-on-dark); border-radius: 1.3rem; padding: 1.3rem; }
.summary .sum-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .25rem 0; }
.summary .sum-row span:first-child { color: var(--ic-on-dark-muted); }
.summary .sum-total { border-top: 1px solid var(--ic-navy-line); margin-top: .6rem; padding-top: .7rem; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.summary .sum-total strong { font-family: var(--ic-display); font-size: 2.1rem; font-weight: 800; }
.summary .status-msg { min-height: 1.2rem; font-size: .85rem; color: #FFD3A3; }
.spec-card { background: #fff; border: 1px solid var(--ic-line); border-radius: .9rem; overflow: hidden; height: 100%; }
.spec-card h3 { font-size: .95rem; font-weight: 800; background: var(--ic-brand); color: #fff; padding: .65rem 1rem; margin: 0; letter-spacing: 0; }
.spec-card dl { margin: 0; padding: .3rem 1rem .5rem; }
.spec-card dl div { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: .7rem; padding: .5rem 0; border-bottom: 1px solid var(--ic-line); font-size: .88rem; }
.spec-card dl div:last-child { border-bottom: 0; }
.spec-card dt { color: var(--ic-muted); font-weight: 400; }
.spec-card dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .75rem; font-size: .92rem; color: var(--ic-muted); }
.info-list .ic { color: var(--ic-blue-text); margin-top: .1rem; }
.info-list strong { display: block; color: var(--ic-ink); }
.note-warm { background: var(--ic-orange-soft); border: 1px solid #F1D5B3; color: #4A3418; border-radius: .9rem; padding: .8rem 1rem; font-size: .9rem; }

/* ---------- Cotización ---------- */
.stepper { display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: .88rem; font-weight: 700; color: var(--ic-muted); }
.stepper li { display: flex; align-items: center; gap: .4rem; }
.stepper li::after { content: ""; width: 24px; height: 2px; background: var(--ic-line); margin-left: .3rem; }
.stepper li:last-child::after { display: none; }
.stepper .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ic-chip); color: #1C3963; font-size: .8rem; }
.stepper .on { color: var(--ic-ink); }
.stepper .on .n { background: var(--ic-orange); color: #1E1206; }
.stepper .done .n { background: var(--ic-ok); color: #fff; }
.card-ic { border: 1px solid var(--ic-line); border-radius: 1.1rem; background: #fff; }
.line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--ic-line); align-items: start; }
.line-item:last-child { border-bottom: 0; }
.line-thumb { width: 72px; height: 56px; border-radius: .6rem; border: 1px solid var(--ic-line); background: #fff; object-fit: contain; display: grid; place-items: center; color: var(--ic-orange-text); }
.line-detail { font-size: .85rem; color: var(--ic-muted); margin: .15rem 0 0; padding-left: 1rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ic-line); border-radius: .6rem; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; font-weight: 800; }
.qty button:hover { background: var(--ic-chip); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; }
.form-label { font-weight: 700; font-size: .9rem; }
.form-control, .form-select { min-height: 46px; border-width: 1.5px; }
.form-control:focus, .form-select:focus { border-color: var(--ic-brand); box-shadow: 0 0 0 .2rem rgba(18, 40, 76, .12); }
.contact-pref { display: flex; gap: .5rem; flex-wrap: wrap; }
.contact-pref label { border: 1.5px solid var(--ic-line); border-radius: .6rem; padding: .45rem .8rem; cursor: pointer; font-weight: 600; display: flex; gap: .4rem; align-items: center; }
.contact-pref label:has(input:checked) { border-color: var(--ic-orange); background: #FFFAF4; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status-badge { display: inline-block; padding: .3rem .8rem; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.st-new { background: var(--ic-orange-soft); color: var(--ic-orange-text); }
.st-in_progress { background: #E6EEFA; color: var(--ic-blue-text); }
.st-sent { background: #EFE9F8; color: #5B3F8F; }
.st-won { background: #E3F4E9; color: var(--ic-ok); }
.st-lost { background: #EEF0F3; color: var(--ic-muted); }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: #E3F4E9; color: var(--ic-ok); display: grid; place-items: center; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ic-navy); color: var(--ic-on-dark-muted); font-size: .92rem; --logo-bg: var(--ic-navy); }
.site-footer h2 { color: var(--ic-on-dark); font-size: 1rem; letter-spacing: 0; margin-bottom: .8rem; }
.site-footer a { color: var(--ic-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--ic-orange); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid var(--ic-navy-line); font-size: .82rem; }
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: var(--ic-wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(23, 126, 67, .35); z-index: 1030; transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; background: var(--ic-wa-dark); }
.toast-container { z-index: 1090; }

/* ---------- Nosotros ---------- */
.mv-card { background: #fff; border: 1px solid var(--ic-line); border-radius: 1.1rem; padding: 1.5rem; height: 100%; }
.mv-card .s-icon { margin-bottom: .8rem; }
.data-list { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .6rem 1rem; margin: 0; }
.data-list dt { color: var(--ic-muted); font-weight: 600; }
.data-list dd { margin: 0; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .steps, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { position: static; }
  .site-nav .navbar-collapse { padding: .5rem 0 1rem; }
}
@media (max-width: 575.98px) {
  .steps, .trust, .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-line img, .hero-line .hl-icon { width: 88px; height: 66px; }
  .brand-sub { display: none; }
  .line-item { grid-template-columns: 56px minmax(0, 1fr); }
  .line-item > .text-end { grid-column: 2; text-align: left !important; }
  .line-thumb { width: 56px; height: 44px; }
  .opt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { padding: 1.5rem; }
  .data-list { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .data-list dd { margin-bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* =========================================================================
   v2 · Tienda: cabecera, catálogo, tarjetas y portada
   ========================================================================= */
/* Cabecera en dos filas */
.site-header { background: var(--ic-navy); z-index: 1030; box-shadow: 0 1px 0 var(--ic-navy-line); }
.hdr-main { padding-block: .7rem; }
.hdr-brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; flex-shrink: 0; }
.hdr-brand:hover { color: #fff; }
.hdr-search { position: relative; flex: 1; max-width: 640px; display: flex; align-items: center; gap: .5rem; background: #fff; border-radius: .8rem;
  padding: .25rem .3rem .25rem .8rem; color: var(--ic-muted); border: 2px solid transparent; }
.hdr-search:focus-within { border-color: var(--ic-electric); }
.hdr-search input { border: 0; outline: none; flex: 1; min-width: 0; min-height: 38px; color: var(--ic-ink); background: transparent; }
.hdr-search input::-webkit-search-cancel-button { display: none; }
.hdr-wa { white-space: nowrap; }
.hdr-nav { background: var(--ic-navy-2); border-top: 1px solid var(--ic-navy-line); }
.hdr-nav .nav-link { color: var(--ic-on-dark); font-weight: 700; padding: .7rem .85rem !important; white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
.hdr-nav .nav-link:hover, .hdr-nav .nav-link.active { color: var(--ic-orange); }
.hdr-nav .cat-trigger { background: var(--ic-electric); color: #fff !important; border-radius: .6rem; margin-block: .35rem; padding: .45rem .9rem !important; }
.hdr-nav .cat-trigger:hover { background: #3A7DFF; }
.nav-note { color: var(--ic-on-dark-muted); font-size: .85rem; display: inline-flex; gap: .4rem; align-items: center; }
.mega-menu { border: 0; border-radius: 1rem; box-shadow: 0 24px 60px rgba(8, 18, 36, .28); padding: 1.2rem; width: min(960px, 92vw); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.4rem; }
.mega-col { display: flex; flex-direction: column; gap: .15rem; }
.mega-root { display: flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--ic-ink); text-decoration: none; padding: .25rem 0; }
.mega-root .ic { color: var(--ic-electric); }
.mega-root:hover, .mega-child:hover { color: var(--ic-electric-text); }
.mega-child { color: var(--ic-muted); text-decoration: none; font-size: .92rem; padding: .15rem 0 .15rem 1.6rem; }
.mega-all { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; font-weight: 800; color: var(--ic-electric-text); text-decoration: none; }
@media (max-width: 991.98px) {
  .hdr-nav .navbar-collapse { padding-bottom: .6rem; }
  .mega-menu { width: 100%; box-shadow: none; padding: .6rem; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .hdr-nav .cat-trigger { display: inline-flex; }
}
@media (max-width: 575.98px) { .mega-grid { grid-template-columns: 1fr; } .brand-sub { display: none; } }

/* Sugerencias del buscador */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1050; background: #fff; border-radius: .9rem; box-shadow: 0 20px 50px rgba(8, 18, 36, .25);
  list-style: none; margin: 0; padding: .4rem; max-height: 70vh; overflow: auto; }
.suggest a { display: flex; align-items: center; gap: .75rem; padding: .45rem .5rem; border-radius: .6rem; color: var(--ic-ink); text-decoration: none; }
.suggest li.is-active a, .suggest a:hover { background: var(--ic-electric-soft); }
.suggest img, .suggest .sg-ph { width: 44px; height: 44px; object-fit: contain; border-radius: .5rem; background: var(--ic-paper); flex-shrink: 0; }
.sg-txt { flex: 1; min-width: 0; }
.sg-txt strong { display: block; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-txt small { color: var(--ic-muted); }
.sg-price { font-weight: 800; font-family: var(--ic-display); white-space: nowrap; }
.suggest-all a { justify-content: center; font-weight: 700; color: var(--ic-electric-text); border-top: 1px solid var(--ic-line); border-radius: 0; margin-top: .3rem; }
.suggest-empty { padding: .7rem; color: var(--ic-muted); font-size: .92rem; }

/* Cabecera del catálogo y barra lateral */
.cat-head { background: #fff; border-bottom: 1px solid var(--ic-line); padding-block: 1.1rem 1.2rem; }
.cat-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 0; }
.cat-head .breadcrumb { font-size: .85rem; }
.side-box { background: #fff; border: 1px solid var(--ic-line); border-radius: 1rem; padding: 1rem; }
.side-title { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ic-muted); margin-bottom: .6rem; font-family: var(--ic-display); }
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree a { display: flex; align-items: center; gap: .55rem; padding: .45rem .55rem; border-radius: .6rem; color: var(--ic-ink); text-decoration: none; font-weight: 600; font-size: .94rem; }
.cat-tree a .ic { color: var(--ic-muted); }
.cat-tree a span { flex: 1; }
.cat-tree a em { font-style: normal; font-size: .75rem; color: var(--ic-muted); font-weight: 600; }
.cat-tree a:hover { background: var(--ic-paper); }
.cat-tree a.is-on { background: var(--ic-electric-soft); color: var(--ic-electric-text); }
.cat-tree a.is-on .ic { color: var(--ic-electric); }
.cat-tree ul { margin: .1rem 0 .3rem 1.5rem; border-left: 2px solid var(--ic-line); padding-left: .4rem; }
.cat-tree ul a { font-weight: 500; font-size: .9rem; padding-block: .35rem; }
.flt { border-top: 1px solid var(--ic-line); padding-top: .8rem; margin-top: .8rem; }
.flt legend { font-size: .85rem; font-weight: 800; margin-bottom: .45rem; float: none; }
.flt .form-check { font-size: .93rem; margin-bottom: .2rem; }
.flt-scroll { max-height: 220px; overflow-y: auto; padding-right: .3rem; }
.seg { display: flex; flex-wrap: wrap; gap: .35rem; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: .35rem .7rem; border: 1px solid var(--ic-line); border-radius: .6rem; font-size: .85rem; font-weight: 700; }
.seg input:checked + span { background: var(--ic-brand); border-color: var(--ic-brand); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--ic-orange); outline-offset: 2px; }
@media (min-width: 992px) { .cat-side { position: sticky; top: 132px; } }
@media (max-width: 991.98px) { .cat-side .side-box { border: 0; padding: 0; } }
.res-bar { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.res-bar .form-select { min-width: 190px; }
.results.loading { opacity: .5; transition: opacity .2s; }

/* Tarjeta de producto */
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 1rem; }
.pc { background: #fff; border: 1px solid var(--ic-line); border-radius: 1rem; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s, border-color .2s; height: 100%; }
.pc:hover { box-shadow: 0 16px 36px rgba(15, 30, 54, .12); border-color: #CDD6E4; }
.pc-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1.1rem; transition: transform .3s; }
.pc:hover .pc-media img { transform: scale(1.04); }
.pc-nophoto { position: absolute; inset: .7rem; border-radius: .8rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; text-align: center;
  background: repeating-linear-gradient(135deg, #F5F7FB 0 10px, #EFF3F9 10px 20px); color: #9AA8BE; }
.pc-nophoto span { font-family: var(--ic-display); font-weight: 800; color: #6E7E98; font-size: .95rem; padding-inline: .5rem; }
.pc-nophoto small { font-size: .75rem; color: #8A98AF; }
.pc-tags { position: absolute; top: .6rem; left: .6rem; right: .6rem; display: flex; justify-content: space-between; gap: .4rem; pointer-events: none; }
.pc-tag { font-size: .72rem; font-weight: 800; padding: .25rem .5rem; border-radius: .45rem; display: inline-flex; gap: .25rem; align-items: center; }
.pc-tag-offer { background: #E5372C; color: #fff; }
.pc-tag-up { background: #E3F4E9; color: var(--ic-ok); margin-left: auto; }
.pc-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; border-top: 1px solid var(--ic-line); }
.pc-meta { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ic-electric-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-code { color: var(--ic-muted); font-weight: 600; letter-spacing: 0; }
.pc-title { font-size: .98rem; font-weight: 700; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc-title a { color: var(--ic-ink); text-decoration: none; }
.pc-title a:hover { color: var(--ic-electric-text); }
.pc-specs { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; font-size: .82rem; }
.pc-specs li { display: flex; gap: .5rem; justify-content: space-between; }
.pc-specs span { color: var(--ic-muted); }
.pc-specs b { font-weight: 700; text-align: right; }
.pc-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.pc-chips li { font-size: .75rem; font-weight: 600; background: var(--ic-paper); color: #3D4B63; padding: .2rem .5rem; border-radius: .4rem; }
.pc-foot { margin-top: auto; display: grid; gap: .5rem; padding-top: .3rem; }
.pc-price { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.pc-price small { font-size: .75rem; color: var(--ic-muted); font-weight: 700; }
.pc-price strong { font-family: var(--ic-display); font-size: 1.45rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-price s { color: var(--ic-muted); font-size: .88rem; }
.pc-ask { font-weight: 800; color: var(--ic-muted); }
.pc-info { display: flex; gap: .75rem; align-items: center; font-size: .8rem; flex-wrap: wrap; }
.avail i { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; margin-right: .35rem; vertical-align: .05em; }
.pc-warranty { color: var(--ic-muted); display: inline-flex; gap: .25rem; align-items: center; }
.pc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.pc-actions .btn { --bs-btn-padding-x: .4rem; font-size: .85rem; min-height: 40px; }
@media (max-width: 575.98px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .pc-body { padding: .7rem; }
  .pc-price strong { font-size: 1.2rem; }
  .pc-actions { grid-template-columns: 1fr; }
  .pc-specs li:nth-child(n+3), .pc-chips li:nth-child(n+3) { display: none; }
}

/* Portada v2 */
.hero2 { position: relative; overflow: hidden; color: var(--ic-on-dark);
  background: radial-gradient(circle at 80% 20%, rgba(31, 107, 255, .45), transparent 45%), radial-gradient(circle at 10% 90%, rgba(242, 140, 40, .18), transparent 40%), var(--ic-navy); }
.hero2 h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; line-height: 1.05; }
.hero2 h1 span { color: var(--ic-orange); }
.hero2 .lead { color: var(--ic-on-dark-muted); font-size: 1.12rem; max-width: 36rem; }
.hero-card { background: #fff; color: var(--ic-ink); border-radius: 1.4rem; padding: 1.2rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); display: grid; gap: .8rem; text-decoration: none; }
.hero-card:hover { color: var(--ic-ink); }
.hero-card .hc-img { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--ic-paper); border-radius: 1rem; overflow: hidden; }
.hero-card .hc-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.hero-card .hc-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.hero-card strong { font-family: var(--ic-display); font-size: 1.15rem; }
.hero-card .hc-price { font-family: var(--ic-display); font-weight: 800; font-size: 1.6rem; color: var(--ic-electric-text); white-space: nowrap; }
.adv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.adv div { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ic-muted); }
.adv .ic { color: var(--ic-electric); margin-top: .1rem; }
.adv strong { display: block; color: var(--ic-ink); }
.adv-strip { background: #fff; border-bottom: 1px solid var(--ic-line); padding-block: 1.4rem; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.cat-tile { position: relative; background: #fff; border: 1px solid var(--ic-line); border-radius: 1rem; padding: 1rem; text-decoration: none; color: var(--ic-ink);
  display: flex; flex-direction: column; gap: .6rem; min-height: 190px; transition: border-color .2s, box-shadow .2s, transform .2s; overflow: hidden; }
.cat-tile:hover { border-color: var(--ic-electric); box-shadow: 0 12px 30px rgba(31, 107, 255, .12); transform: translateY(-2px); color: var(--ic-ink); }
.cat-tile .ct-img { height: 96px; display: grid; place-items: center; }
.cat-tile .ct-img img { max-width: 100%; max-height: 96px; object-fit: contain; }
.cat-tile .ct-icon { width: 64px; height: 64px; border-radius: 1rem; background: var(--ic-electric-soft); color: var(--ic-electric); display: grid; place-items: center; }
.cat-tile strong { font-family: var(--ic-display); font-size: 1rem; line-height: 1.2; }
.cat-tile small { color: var(--ic-muted); margin-top: auto; }
.biz { background: linear-gradient(135deg, var(--ic-brand), #0B3B8C); color: var(--ic-on-dark); border-radius: 1.6rem; padding: clamp(1.5rem, 4vw, 3rem); }
.biz h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.biz p { color: var(--ic-on-dark-muted); }
.biz .check-list .ic { color: var(--ic-orange); }
.biz-box { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 1.1rem; padding: 1.3rem; }
@media (max-width: 991.98px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .adv { grid-template-columns: 1fr; } }
.hdr-burger { width: 44px; height: 44px; border-radius: .7rem; border: 1px solid var(--ic-navy-line); background: transparent; color: #fff; display: grid; place-items: center; }
.hdr-burger:hover { background: var(--ic-navy-2); }
@media (max-width: 575.98px) { .res-bar .form-select { min-width: 0; } .res-bar > div { flex: 1; } }

/* Formulario de cotización rápida */
.qform .qf-step { border: 0; padding: 0; margin: 0 0 1rem; }
.qform legend { font-size: .95rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; float: none; }
.qf-n { width: 24px; height: 24px; border-radius: 50%; background: var(--ic-brand); color: #fff; font-size: .78rem; display: grid; place-items: center; flex-shrink: 0; }
.seg-lg span { padding: .5rem 1.4rem; font-size: .95rem; }
.qf-doc, .qf-name { position: relative; }
.qf-doc .spinner-border { position: absolute; right: .9rem; top: 50%; margin-top: -.5rem; }
.qf-doc input { font-size: 1.15rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.qf-name .btn { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); }
.qform input.is-confirmed { background: #EEF8F1; border-color: #9FD3B2; font-weight: 700; padding-right: 4.5rem; }
.qf-status { margin-top: .35rem; color: var(--ic-muted); min-height: 1.2em; }
.qf-status.is-ok { color: var(--ic-ok); font-weight: 700; }
.qf-status.is-warn { color: #9A5B00; font-weight: 600; }
.qf-more { border-top: 1px solid var(--ic-line); padding-top: .7rem; }
.qf-more summary { cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--ic-electric-text); }
.qf-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ic-line); margin: 1rem 0 .7rem; padding-top: .8rem; }
.qf-total strong { font-family: var(--ic-display); font-size: 1.4rem; font-weight: 800; }
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767.98px) { .steps.steps-3 { grid-template-columns: 1fr; } }
.ref-note { position: absolute; bottom: .7rem; right: .7rem; font-size: .72rem; font-weight: 700; color: var(--ic-muted); background: rgba(255, 255, 255, .9); border: 1px solid var(--ic-line); padding: .2rem .5rem; border-radius: .4rem; }
.ref-note[hidden] { display: none; }
.promo-note { display: flex; gap: .5rem; align-items: center; background: #FFF4E5; border: 1px solid #FFD8A8; color: #8A4209; border-radius: .8rem; padding: .6rem .8rem; font-weight: 700; }
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem 1.2rem; }
.feat-list li { display: flex; gap: .5rem; align-items: flex-start; background: #fff; border: 1px solid var(--ic-line); border-radius: .7rem; padding: .55rem .7rem; font-size: .93rem; }
.feat-list .ic { color: var(--ic-ok); margin-top: .15rem; }

/* ===== Panel interno (solo personal) ===== */
.staff-rail { position: fixed; top: 0; left: 0; bottom: 0; width: 264px; z-index: 1045; background: #0B1628; color: var(--ic-on-dark);
  border-right: 3px solid var(--ic-orange); display: flex; flex-direction: column; transition: transform .2s ease; font-size: .92rem; }
.staff-rail .sr-toggle { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .85rem 1rem; background: #13233D; color: #fff;
  border: 0; font-weight: 700; font-family: var(--ic-display); text-align: left; }
.staff-rail .sr-toggle:hover { background: #1A2E4F; }
.staff-rail .sr-body { overflow-y: auto; padding: .5rem .75rem 1.25rem; flex: 1; }
.sr-head { padding: .5rem .25rem .75rem; border-bottom: 1px solid var(--ic-navy-line); margin-bottom: .5rem; }
.sr-head strong { display: block; font-family: var(--ic-display); font-size: 1rem; }
.sr-eye { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--ic-orange); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.sr-sec { padding: .5rem 0 .25rem; border-bottom: 1px solid var(--ic-navy-line); }
.sr-sec h2 { display: flex; align-items: center; gap: .4rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ic-on-dark-muted); margin: .35rem .25rem .45rem; font-weight: 700; }
.sr-link { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .45rem .6rem; border-radius: .55rem; color: var(--ic-on-dark);
  text-decoration: none; background: none; border: 0; text-align: left; font: inherit; }
.sr-link:hover, .sr-link:focus-visible { background: #1A2E4F; color: #fff; }
.sr-primary { background: var(--ic-orange); color: #1B1205; font-weight: 700; margin: .15rem 0 .3rem; }
.sr-primary:hover { background: var(--ic-orange-hover); color: #1B1205; }
.sr-badge { margin-left: auto; background: var(--ic-orange); color: #1B1205; border-radius: 999px; padding: 0 .5rem; font-size: .75rem; font-weight: 700; }
.sr-badge-red { background: #E5534B; color: #fff; }
.sr-badge-muted { background: #2A3D5E; color: var(--ic-on-dark); }
.sr-mode { display: inline-block; margin: 0 .25rem .5rem; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.sr-mode-test { background: #2A5BA3; color: #fff; }
.sr-mode-live { background: var(--ic-wa); color: #fff; }
.sr-mode-off { background: #3A4A63; color: var(--ic-on-dark); }
.sr-kpi { margin: 0 .25rem .5rem; padding: .6rem .7rem; background: #13233D; border-radius: .65rem; }
.sr-kpi span, .sr-kpi small { display: block; color: var(--ic-on-dark-muted); font-size: .75rem; }
.sr-kpi strong { display: block; font-family: var(--ic-display); font-size: 1.25rem; color: #fff; }
.sr-foot { border-bottom: 0; }
.sr-logout { color: var(--ic-on-dark-muted); }
@media (min-width: 992px) {
  body.has-staff-rail:not(.staff-rail-closed) { padding-left: 264px; }
}
/* Plegado: solo queda un botón flotante para volver a abrirlo */
body.staff-rail-closed .staff-rail { top: auto; bottom: 1rem; width: auto; background: transparent; border-right: 0; }
body.staff-rail-closed .staff-rail .sr-body { display: none; }
body.staff-rail-closed .staff-rail .sr-toggle { border-radius: 0 .8rem .8rem 0; background: var(--ic-orange); color: #1B1205; box-shadow: var(--ic-shadow); }
@media (max-width: 991.98px) {
  .staff-rail { width: min(86vw, 300px); box-shadow: 0 0 40px rgba(0,0,0,.4); }
}
@media print { .staff-rail { display: none; } body.has-staff-rail { padding-left: 0; } }
