/* DURAMAT — ficha técnica industrial. Formato de catálogo B2B tipo Uline/Grainger: búsqueda dominante, filtros laterales, tablas de especificación. */
:root {
  --ink: #16191d;
  --steel: #1d2441;
  --steel-2: #2a3462;
  --paper: #f3f4f1;
  --panel: #ffffff;
  --line: #d9dcd7;
  --muted: #5d646b;
  --signal: #c73834;
  --signal-ink: #ffffff;
  --signal-lt: #ff8a80;
  --amber: #d99a00;
  --ok: #2e7d4f;
  --link: #0b5cad;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 1280px;
  --r: 4px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.03em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.top { background: var(--steel); color: #f3f4f1; position: sticky; top: 0; z-index: 30; border-bottom: 4px solid var(--signal); }
.top .row1 { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding-block: 12px; }
.logo { color: #f3f4f1; font-family: var(--display); font-weight: 900; font-size: 1.45rem; letter-spacing: 0.02em; font-variation-settings: "wdth" 125; display: inline-flex; gap: 10px; align-items: center; }
.logo:hover { text-decoration: none; }
.logo img { height: 50px; width: auto; display: block; }
footer.foot .logo img { height: 72px; }
.adm-top .logo { gap: 12px; font-size: 1.05rem; font-variation-settings: normal; font-weight: 700; }
.adm-top .logo img { height: 40px; }
.search { display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; font: inherit; padding: 11px 14px; border: 0; border-radius: var(--r) 0 0 var(--r); background: #fff; color: #16191d; }
.search button { border: 0; background: var(--signal); color: var(--signal-ink); font-weight: 700; padding: 0 18px; border-radius: 0 var(--r) var(--r) 0; cursor: pointer; font-family: var(--display); }
.actions { display: flex; gap: 16px; align-items: center; }
.actions a { color: #f3f4f1; font-size: 0.92rem; white-space: nowrap; }
.qbtn { background: var(--signal); color: var(--signal-ink) !important; padding: 9px 14px; border-radius: var(--r); font-family: var(--display); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.qbtn:hover { text-decoration: none; filter: brightness(1.05); }
.qcount { background: var(--steel); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 0.78rem; padding: 0 6px; }
.cats { background: var(--steel-2); }
.cats .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-height: 39px; }
/* v24 · FE-08: espacio reservado para la cabecera mientras el script la pinta (evita que la página salte). */
header#top:empty { display: block; min-height: 117px; background: var(--steel); border-bottom: 4px solid var(--signal); }
@media (max-width: 760px) { header#top:empty { min-height: 173px; } }
.cats a { color: #dfe2e4; font-size: 0.86rem; padding: 9px 12px; white-space: nowrap; }
.cats a:hover, .cats a[aria-current="page"] { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
@media (max-width: 760px) {
  .top .row1 { grid-template-columns: 1fr auto; }
  .search { grid-column: 1 / -1; order: 3; }
  .actions .hide-sm { display: none; }
  .actions { gap: 10px; }
  .logo { font-size: 1.2rem; gap: 7px; }
  .logo img { height: 40px; }
  .qbtn { padding: 8px 10px; }
}
@media (max-width: 480px) { .actions .acct-l { display: none; } .actions a[aria-label="Mi cuenta"] svg { width: 22px; height: 22px; margin: 0 !important; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 700; border: 0; cursor: pointer; padding: 11px 18px; border-radius: var(--r); font-size: 0.98rem; text-decoration: none !important; }
.btn-y { background: var(--signal); color: var(--signal-ink); }
.btn-d { background: var(--steel); color: #f3f4f1; }
.btn-o { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }

/* breadcrumbs */
.crumbs { font-size: 0.85rem; color: var(--muted); padding-block: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }

/* home */
.hero { background: var(--steel); color: #f3f4f1; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-block: 48px; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 900; font-variation-settings: "wdth" 72; text-transform: uppercase; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--signal-lt); }
.hero p { color: #cfd3d6; margin-top: 16px; max-width: 34rem; font-size: 1.08rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero .btn-o { color: #f3f4f1; border-color: #f3f4f1; }
.hero-img { border-radius: var(--r); background: #fff; aspect-ratio: 4 / 3; max-width: 100%; object-fit: contain; padding: 16px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 32px; } }
.strip { background: var(--signal); color: var(--signal-ink); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 14px 12px 14px 0; font-size: 0.88rem; }
.strip b { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 900; font-variation-settings: "wdth" 80; }
@media (max-width: 700px) { .strip .wrap { grid-template-columns: 1fr 1fr; } }
.section { padding-block: 44px; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; font-variation-settings: "wdth" 82; margin-bottom: 18px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.cat-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 10px; color: var(--ink); }
.cat-card:hover { border-color: var(--ink); text-decoration: none; }
.cat-card .ph { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; overflow: hidden; }
.cat-card .ph img { max-height: 100%; object-fit: contain; }
.cat-card b { font-family: var(--display); font-size: 1.02rem; }
.cat-card span { font-size: 0.82rem; color: var(--muted); }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; }
.sectors a { border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 500; font-size: 0.92rem; }
.sectors a:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.trust div { border-top: 4px solid var(--ink); padding-top: 12px; display: grid; gap: 4px; }
.trust b { font-family: var(--display); font-size: 1.15rem; }
.trust p { color: var(--muted); font-size: 0.94rem; }

/* listing */
.plp { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; padding-bottom: 60px; }
.filters { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow: auto; }
.filters h3 { font-size: 0.95rem; font-family: var(--body); font-weight: 600; margin: 14px 0 6px; }
.filters h3:first-child { margin-top: 0; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; padding: 3px 0; cursor: pointer; }
.filters label span { color: var(--muted); margin-left: auto; font-size: 0.8rem; }
.filters .clear { margin-top: 12px; font-size: 0.86rem; background: none; border: 0; color: var(--link); cursor: pointer; padding: 0; }
.plp-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 14px; }
.plp-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; font-variation-settings: "wdth" 82; }
.plp-head .meta { color: var(--muted); font-size: 0.9rem; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.plp-head select { font: inherit; font-size: 0.9rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.view-toggle button { border: 0; background: var(--panel); padding: 6px 10px; cursor: pointer; font: inherit; font-size: 0.85rem; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; gap: 8px; grid-template-rows: auto auto auto 1fr auto; min-width: 0; }
.card:hover { border-color: #9aa1a6; }
.card .ph { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.card .ph img { max-height: 100%; object-fit: contain; }
.card .ph .noimg { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); text-align: center; padding: 10px; }
.card .sku { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.card .name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.card .specs { font-size: 0.82rem; color: var(--muted); margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.card .row { display: flex; gap: 6px; align-items: center; }
.card .row input { width: 56px; font: inherit; font-size: 0.9rem; padding: 7px 6px; border: 1px solid var(--line); border-radius: var(--r); }
.card .row .btn { flex: 1; padding: 8px 10px; font-size: 0.9rem; }
.badge { display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); width: fit-content; }
.badge.duramat { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
/* list view (McMaster/Uline style table) */
.table-view { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); font-size: 0.9rem; }
.table-view th { text-align: left; background: #eceeea; padding: 8px 10px; font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-view td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-view td img { width: 54px; height: 54px; object-fit: contain; background: #fff; }
.table-view td.sku { font-family: var(--mono); font-size: 0.8rem; white-space: nowrap; }
.table-view input { width: 54px; font: inherit; padding: 5px; border: 1px solid var(--line); border-radius: var(--r); }
.tscroll { overflow-x: auto; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: var(--r); }
.ffab { display: none; }
@media (max-width: 900px) {
  .plp { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; }
  .filters.open { display: block; }
  .ffab { display: inline-flex; }
}

/* product */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; padding-bottom: 32px; }
.gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--r); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; padding: 20px; }
.gallery img { max-height: 100%; object-fit: contain; }
.buy { display: grid; gap: 14px; align-content: start; }
.buy h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; font-variation-settings: "wdth" 85; }
.buy .sku { font-family: var(--mono); color: var(--muted); font-size: 0.85rem; }
.buy ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.quote-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; }
.quote-box .qty { display: flex; gap: 8px; }
.quote-box input { width: 80px; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); }
.quote-box .btn { flex: 1; }
.quote-box small { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 0.85rem; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.facts b { display: block; font-family: var(--display); font-size: 1rem; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; background: #f6f7f4; font-weight: 600; font-size: 0.92rem; }
.pdp-sec { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.pdp-sec h2 { font-size: 1.35rem; font-weight: 800; }
.note-3p { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr; } }

/* quote page */
.qpage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding-bottom: 60px; align-items: start; }
.qlist { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.qitem { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.qitem img, .qitem .ph { width: 64px; height: 64px; object-fit: contain; background: #fff; }
.qitem input { width: 64px; font: inherit; padding: 6px; border: 1px solid var(--line); border-radius: var(--r); }
.qitem button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 0.85rem; }
.qform { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qform .full { grid-column: 1 / -1; }
.qform label { display: grid; gap: 4px; font-size: 0.85rem; color: var(--muted); }
.qform input, .qform select, .qform textarea { font: inherit; color: var(--ink); padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); width: 100%; min-width: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .qpage { grid-template-columns: 1fr; } .qform { grid-template-columns: 1fr; } .qitem { grid-template-columns: 52px 1fr auto; } .qitem button { grid-column: 2; justify-self: start; } }

/* toast */
.toast { position: fixed; bottom: max(18px, env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--steel); color: #fff; padding: 12px 18px; border-radius: var(--r); border-left: 4px solid var(--signal); z-index: 50; font-size: 0.94rem; box-shadow: 0 6px 24px rgba(0,0,0,.25); }

footer.foot { background: var(--steel); color: #b9bfc4; padding-block: 36px; font-size: 0.9rem; margin-top: 40px; }
footer.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 1000px) and (min-width: 761px) { footer.foot .wrap { grid-template-columns: 1fr 1fr; } }
footer.foot a { color: #dfe2e4; display: block; padding: 2px 0; }
footer.foot b { color: #fff; display: block; margin-bottom: 6px; }
@media (max-width: 760px) { footer.foot .wrap { grid-template-columns: 1fr; } }

/* ===== Mi cuenta y Back office ===== */
.acct { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; padding-block: 18px 48px; }
.acct-nav { position: sticky; top: 12px; display: grid; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.acct-nav button, .acct-nav a { all: unset; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: var(--r); font-size: .95rem; color: var(--ink); }
.acct-nav button:hover, .acct-nav a:hover { background: var(--paper); }
.acct-nav button[aria-current="page"] { background: var(--steel); color: #f3f4f1; }
.acct-nav .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.acct-nav .n { font-family: var(--mono); font-size: .75rem; opacity: .75; }
.acct-main { display: grid; gap: 16px; min-width: 0; }
.acct-main h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.panel > h3 { font-size: 1.1rem; margin-bottom: 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--steel); border-radius: var(--r); padding: 14px; display: grid; gap: 4px; }
.tile b { font-family: var(--display); font-size: clamp(1.3rem, 1.9vw, 1.8rem); overflow-wrap: anywhere; line-height: 1; font-variant-numeric: tabular-nums; }
.tile span { font-size: .82rem; color: var(--muted); }
.tile.warn { border-left-color: var(--amber); }
.tile.bad { border-left-color: #b3261e; }
.tile.ok { border-left-color: var(--ok); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--paper); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #fbfbf8; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .76rem; font-weight: 600; white-space: nowrap; background: #e7e9e4; color: var(--ink); }
.pill.recibido, .pill.nueva, .pill.pendiente, .pill.emitida { background: #fff3c4; color: #5a4300; }
.pill.confirmado, .pill.en_preparacion, .pill.enviada, .pill.parcial { background: #dde9f7; color: #0b3f75; }
.pill.enviado { background: #e3dcf5; color: #3b2a75; }
.pill.entregado, .pill.pagado, .pill.pagada, .pill.aceptada { background: #d9efe1; color: #1d5636; }
.pill.cancelado, .pill.cancelada, .pill.rechazada, .pill.vencida, .pill.reembolsado { background: #f6dcd9; color: #7a1c15; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 10px 0 4px; }
.track i { height: 6px; border-radius: 3px; background: var(--line); }
.track i.on { background: var(--ok); }
.track-l { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: .72rem; color: var(--muted); }
.order { display: grid; gap: 6px; }
.order + .order { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.order-h { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.order-h b { font-family: var(--display); font-size: 1.1rem; }
.lines { margin: 4px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid .full { grid-column: 1 / -1; }
.fgrid label { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); min-width: 0; }
.fgrid input, .fgrid select, .fgrid textarea { font: inherit; color: var(--ink); padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); width: 100%; min-width: 0; }
.fgrid input[readonly] { color: var(--muted); }
.fgrid .chk { display: flex; gap: 8px; align-items: center; color: var(--ink); }
.fgrid .chk input { width: auto; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-s { padding: 7px 12px; font-size: .88rem; }
.btn-link { all: unset; cursor: pointer; color: var(--link); font-size: .9rem; }
.btn-link:hover { text-decoration: underline; }
.btn-link.danger { color: #b3261e; }
.cardlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mini { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 4px; font-size: .9rem; background: var(--panel); }
.mini b { font-size: 1rem; }
.note { font-size: .85rem; color: var(--muted); }
.notice { border: 1px solid #e8d48a; background: #fff8dc; border-radius: var(--r); padding: 12px 14px; font-size: .92rem; }
.notice.err { border-color: #e5b3ae; background: #fdf0ee; color: #7a1c15; }
.login { max-width: 520px; margin: 40px auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; }
.login h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.login ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 1px solid #c7cbc4; border-radius: var(--r); background: #fff; font: 600 1rem var(--body); color: #1f1f1f; cursor: pointer; }
.gbtn:hover { background: #f7f8f6; }
.gbtn svg { width: 20px; height: 20px; }
.who { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); }
.who img { width: 28px; height: 28px; border-radius: 50%; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.toolbar .f { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar input, .toolbar select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); min-width: 0; }
dialog.dlg { border: 0; border-radius: 6px; padding: 0; width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog.dlg::backdrop { background: rgba(22,25,29,.55); }
dialog.dlg .dh { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 1; }
dialog.dlg .dh h3 { font-size: 1.15rem; }
dialog.dlg .db { padding: 18px; display: grid; gap: 14px; }
.lineed { display: grid; gap: 6px; }
.lineed .lr { display: grid; grid-template-columns: minmax(0, 1fr) 70px 110px 28px; gap: 6px; align-items: center; }
.lineed input { font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); min-width: 0; width: 100%; }
.adm-top { background: var(--steel); color: #f3f4f1; }
.adm-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.adm-top .logo { color: #f3f4f1; }
.adm-top a { color: #f3f4f1; }
.adm-top .who { color: #c9cdc6; }
@media (max-width: 860px) {
  .acct { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; overflow-x: auto; padding: 6px; }
  .acct-nav button, .acct-nav a { white-space: nowrap; }
  .acct-nav .sep, .acct-nav .who { display: none; }
  .track-l { font-size: .64rem; }
  .fgrid { grid-template-columns: 1fr; }
  .lineed .lr { grid-template-columns: minmax(0, 1fr) 56px 90px 24px; }
}

.acct-nav .grp { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 2px; }
.kanban { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.kcol { background: #eceee9; border-radius: var(--r); padding: 8px; display: grid; gap: 8px; align-content: start; min-height: 120px; }
.kcol h3 { font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 6px; padding: 2px 4px; }
.kcol h3 .mono { font-weight: 400; }
.kcard { all: unset; cursor: pointer; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; display: grid; gap: 3px; font-size: .86rem; }
.kcard:hover, .kcard:focus-visible { border-color: var(--steel); }
@media (max-width: 860px) { .acct-nav .grp { display: none; } }

.tile { min-width: 0; }
@media (max-width: 860px) { .tile b { font-size: clamp(1.2rem, 5.5vw, 1.8rem); overflow-wrap: anywhere; } }

/* ===== WhatsApp, guías y contenido didáctico ===== */
/* v24 · FE-16: verde con contraste 5.7:1 (blanco sobre #18763f); al pasar el cursor, 7.6:1. */
.btn-wa { background: #18763f; color: #fff; }
.btn-wa:hover { background: #12612f; }
.btn-wa svg { flex: none; }
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: #18763f; color: #fff !important; padding: 12px 16px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .95rem; box-shadow: 0 8px 24px rgba(0,0,0,.22); text-decoration: none !important; }
.wa-float:hover { background: #12612f; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
@media print { .wa-float { display: none; } }
.toast { bottom: max(84px, calc(env(safe-area-inset-bottom, 0px) + 84px)); }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.steps4 > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; align-content: start; }
.steps4 > div::before { counter-increment: st; content: counter(st); width: 34px; height: 34px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.steps4 b { font-family: var(--display); font-size: 1.05rem; }
.steps4 p { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }
.band { background: var(--steel); color: #f3f4f1; border-radius: var(--r); padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.band h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.band p { color: #c9cdd8; margin-top: 4px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; }
.faq details + details { margin-top: 8px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 1.2rem; color: var(--signal); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 14px; color: var(--muted); }
.tool { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 16px; scroll-margin-top: 140px; }
.tool > header h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.tool > header p { color: var(--muted); margin-top: 6px; max-width: 70ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: .92rem; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--steel); border-color: var(--steel); color: #fff; }
.sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.sliders label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); min-width: 0; }
.sliders output { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.sliders input[type=range] { width: 100%; accent-color: var(--signal); }
.sliders input[type=number] { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); width: 100%; min-width: 0; }
.reco { display: grid; gap: 8px; }
.reco-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px 8px 8px; background: #fff; }
.reco-row img, .reco-row .noimg { width: 64px; height: 64px; object-fit: contain; font-size: .6rem; }
.reco-row b { display: block; }
.reco-row .why { font-size: .82rem; color: var(--muted); }
.reco-row .q { font-family: var(--display); font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.colors button { all: unset; cursor: pointer; border-radius: var(--r); padding: 16px; display: grid; gap: 6px; color: #fff; min-height: 110px; align-content: end; box-shadow: inset 0 0 0 3px transparent; }
.colors button[aria-pressed="true"] { box-shadow: inset 0 0 0 4px #fff, 0 0 0 3px var(--ink); }
.colors button b { font-family: var(--display); font-size: 1.2rem; }
.colors button span { font-size: .85rem; opacity: .95; }
.col-r { background: #c0392b; } .col-y { background: #b7860b; } .col-b { background: #1f5fa8; } .col-g { background: #23804a; }
.col-detail { border-left: 5px solid var(--steel); background: var(--paper); padding: 14px 16px; border-radius: var(--r); }
.col-detail ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 760px) { .colors { grid-template-columns: 1fr 1fr; } }
.result { background: var(--paper); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; }
.result .big { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.video { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; }
.video .vframe { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video .vframe button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; background-size: cover; background-position: center; }
.video .vframe button::after { content: ''; width: 66px; height: 46px; border-radius: 12px; background: rgba(199,56,52,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") center/26px no-repeat; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .vt { padding: 12px 14px; display: grid; gap: 4px; }
.video .vt b { font-size: .98rem; }
.video .vt span { font-size: .85rem; color: var(--muted); }
.tips { background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--signal); border-radius: var(--r); padding: 16px 18px; }
.tips ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; color: var(--ink); }

/* ===== Back office v8: CRM, precios y mercado ===== */
.acct-main > * + * { margin-top: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .grid2 { grid-template-columns: 1fr; } }
.sem { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; }
.sem i { font-style: normal; font-size: .8rem; line-height: 1; }
.sem.ok i { color: var(--ok); } .sem.warn i { color: #b07800; } .sem.bad i { color: #b3261e; } .sem.na i { color: var(--muted); }
.palancas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.palancas li { display: grid; gap: 2px; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; gap: 10px; align-items: center; font-size: .86rem; }
.bar .bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .bt { position: relative; height: 12px; background: #eceee9; border-radius: 4px; }
.bar .bt i { position: absolute; inset: 0 auto 0 0; background: var(--steel); border-radius: 0 4px 4px 0; }
.bar .bt .ref { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #b3261e; }
.bar .bv { font-family: var(--mono); font-size: .76rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 520px) { .bar { grid-template-columns: 1fr auto; } .bar .bt { grid-column: 1 / -1; grid-row: 2; } }
.up { color: #1d5636; font-weight: 600; } .down { color: #0b3f75; font-weight: 600; }
td.bad, span.bad, .bad { color: #b3261e; font-weight: 600; } span.warn { color: #8a5d00; font-weight: 600; }
.strike { text-decoration: line-through; color: var(--muted); }
.cat { display: inline-block; min-width: 2.6em; text-align: center; padding: 1px 6px; border-radius: 3px; font-family: var(--mono); font-size: .7rem; font-weight: 700; background: #e7e9e4; }
.cat.cAAA { background: var(--steel); color: #fff; } .cat.cAA { background: #4a5590; color: #fff; } .cat.cA { background: #c9cee6; color: var(--steel); } .cat.cB { background: #e7e9e4; color: var(--muted); }
.kcard.late { border-left: 4px solid #b3261e; } .kcard.nostep { box-shadow: inset 0 -3px 0 #d99a00; }
.kcard.drag { opacity: .45; } .kcol.drop { outline: 2px dashed var(--steel); outline-offset: -2px; background: #e2e5ee; }
.kcard .badges { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 2px; }
.kcard b .cat { margin-right: 2px; }
.chip { all: unset; cursor: pointer; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: .84rem; background: var(--panel); }
.chip.on { background: var(--steel); color: #fff; border-color: var(--steel); }
.subtabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.subtabs button { all: unset; cursor: pointer; padding: 8px 12px; font-size: .92rem; border-bottom: 3px solid transparent; }
.subtabs button[aria-current="page"] { border-bottom-color: var(--signal); font-weight: 700; }
.mini4 { display: grid; grid-template-columns: repeat(2, auto); gap: 0 12px; font-size: .82rem; white-space: nowrap; }
.steps4.small > div { padding: 12px; } .steps4.small span { color: var(--muted); font-size: .86rem; }
details.cfg { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
details.cfg summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; }
.sim { display: grid; gap: 12px; }
.sim input[type=range] { width: 100%; accent-color: var(--steel); }
.fig { margin: 0; } .fig figcaption { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
svg.curve { width: 100%; height: auto; display: block; }
svg.curve .grid { stroke: #e2e4df; stroke-width: 1; } svg.curve .ax { font: 11px var(--mono); fill: var(--muted); }
svg.curve .ln { fill: none; stroke: var(--steel); stroke-width: 2; stroke-linejoin: round; }
svg.curve .hit { fill: transparent; } svg.curve .hit:hover { fill: rgba(29, 36, 65, .12); }
svg.curve .now { fill: var(--steel); stroke: #fff; stroke-width: 2; } svg.curve .best { fill: #fff; stroke: var(--steel); stroke-width: 2; }
.tbl.heat td.e0 { background: #f1f3f8; } .tbl.heat td.e1 { background: #d6dbec; } .tbl.heat td.e2 { background: #9aa5cf; color: #10142a; } .tbl.heat td.e3 { background: #2a3462; color: #fff; }
.heat-key.e0 { background: #f1f3f8; } .heat-key.e1 { background: #d6dbec; } .heat-key.e2 { background: #9aa5cf; } .heat-key.e3 { background: #2a3462; color: #fff; }
.agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.agent { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--steel); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; align-content: start; }
.agent header { display: flex; justify-content: space-between; gap: 8px; align-items: start; } .agent h3 { font-size: 1.05rem; }
.agent p { font-size: .9rem; margin: 0; }
.agent dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: .82rem; } .agent dt { color: var(--muted); } .agent dd { margin: 0; }
.agent-out { background: var(--paper); border-radius: var(--r); padding: 8px 10px; font-size: .86rem; }
.toolbar h3 { font-size: 1.05rem; }
.acct-main h3 + .tbl-wrap, .acct-main h3 + .empty { margin-top: 8px; }
.kcard[draggable="true"] { -webkit-user-drag: element; user-select: none; cursor: grab; }
.art { display: grid; gap: 1px; min-width: 0; } .art b { font-weight: 600; } .art .mono { color: var(--muted); font-size: .7rem; }
.sem.ok, .sem.warn, .sem.bad, .sem.na { color: var(--ink); }
.bar { grid-template-columns: minmax(110px, 34%) 1fr auto; }
.art { min-width: 170px; } .tbl td.num { white-space: nowrap; }
/* v9: accesos y abasto */
.tbl.matrix th { font-size: .7rem; text-align: center; vertical-align: bottom; min-width: 78px; }
.tbl.matrix th:first-child { text-align: left; min-width: 210px; }
.tbl.matrix td.cell { text-align: center; white-space: nowrap; }
.tbl.matrix td.cell label { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; margin: 0 3px; cursor: pointer; }
.tbl.matrix td.cell.editar { background: #e3f1e8; } .tbl.matrix td.cell.ver { background: #eef1f8; } .tbl.matrix td.cell.no { background: #fafafa; }
.tbl.matrix tr.dirty td:first-child { box-shadow: inset 4px 0 0 #d99a00; } .tbl.matrix tr.off { opacity: .55; }
.tbl.matrix select { font-size: .78rem; padding: 3px 6px; max-width: 200px; }
.notice.ro { background: #eef1f8; border-color: #c9cee6; }
.tbl.matrix th:first-child, .tbl.matrix td:first-child { position: sticky; left: 0; background: var(--panel); z-index: 1; }
.tbl td.num .art { min-width: 90px; white-space: normal; } .tbl td.num .art .note { font-size: .76rem; }
/* v9: sitio interactivo */
.kicker { color: var(--signal); letter-spacing: .08em; margin-bottom: 6px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-head h2 { margin: 0; }
.hero-v .wrap { grid-template-columns: 1.25fr .75fr; }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 36rem; }
.proof li { border-left: 3px solid var(--signal-lt); padding: 2px 0 2px 10px; font-size: .84rem; color: #cfd3d6; }
.proof b { display: block; font-family: var(--display); font-size: 1.35rem; color: #fff; font-variation-settings: "wdth" 80; }
.reel { margin: 0; justify-self: center; width: min(300px, 100%); position: relative; }
.reel .vframe { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; border: 6px solid #0e1328; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.reel video, .video.vert video, .video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { position: absolute; left: 16px; top: 16px; z-index: 2; background: rgba(199,56,52,.95); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; letter-spacing: .02em; }
.vsound { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; border: 0; cursor: pointer; background: rgba(14,19,40,.82); color: #fff; font: 600 .82rem var(--body); padding: 8px 14px; border-radius: 99px; white-space: nowrap; }
.vsound::before { content: '🔊 '; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.reels .video { scroll-snap-align: start; }
.video.vert .vframe { aspect-ratio: 9 / 16; }
.video .vt { padding: 10px 12px 12px; display: grid; gap: 3px; font-size: .88rem; }
.vdato { justify-self: start; background: var(--signal); color: #fff; font-family: var(--display); font-weight: 800; font-size: .82rem; padding: 2px 8px; border-radius: 3px; }
.vlinks { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; font-size: .84rem; font-weight: 600; }
.vs-sec { background: var(--panel); border-block: 1px solid var(--line); }
.vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.vs article { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; align-content: start; background: var(--paper); }
.vs article .pill { justify-self: start; } .vs article b { font-family: var(--display); font-size: 1.05rem; } .vs article p { margin: 0 0 6px; color: var(--muted); font-size: .92rem; }
.perf { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.perf h2 { margin-bottom: 14px; }
.perf-in { display: grid; gap: 6px; margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.perf-in output { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.perf-in input { width: 100%; accent-color: var(--signal); }
.perf-bars { display: grid; gap: 12px; }
.pb { display: grid; grid-template-columns: 1fr; gap: 4px; font-size: .88rem; }
.pb i { display: block; height: 14px; border-radius: 0 4px 4px 0; background: var(--steel); }
.pb.man i { background: #9aa0a6; } .pb b { font-family: var(--mono); font-size: .8rem; font-weight: 600; }
.perf-big { margin: 16px 0 12px; font-size: 1rem; } .perf-big b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--signal); }
@media (max-width: 860px) { .hero-v .wrap { grid-template-columns: 1fr; } .reel { width: min(260px, 80%); } .vs, .perf { grid-template-columns: 1fr; } .proof { grid-template-columns: repeat(3, 1fr); } .proof b { font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .reels { scroll-behavior: auto; } }
@media (max-width: 860px) { .hero-v .wrap { gap: 18px; padding-block: 18px 28px; } .hero-v .reel { order: -1; width: 100%; } .hero-v .reel .vframe { aspect-ratio: 16 / 10; border-width: 0; border-radius: 10px; box-shadow: none; } .hero-v h1 { font-size: clamp(2rem, 9vw, 2.6rem); } }
.video .vframe button.vsound { all: unset; box-sizing: border-box; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; cursor: pointer; background: rgba(14,19,40,.82); color: #fff; font: 600 .8rem var(--body); padding: 7px 13px; border-radius: 99px; white-space: nowrap; }
.video .vframe button.vsound::after { content: none; }
.video .vt .vdato { color: #fff; }

/* v10 · Equipo DURAMAT: centro de dirección y agentes en vivo */
.sem.run { color: #1e8e3e; font-weight: 700; }
.sem.run i { display: inline-block; animation: dm-pulse 1.2s ease-in-out infinite; }
@keyframes dm-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .sem.run i { animation: none; } }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed li { border-left: 3px solid var(--line); padding: 4px 0 4px 12px; display: grid; gap: 2px; }
.feed li.corriendo { border-left-color: #1e8e3e; }
.feed li.error { border-left-color: var(--signal); }
.feed li.parcial { border-left-color: #d39b00; }
.feed li p { margin: 0; font-size: .9rem; }
.feed .fh { display: flex; gap: 10px; align-items: center; font-size: .8rem; }
.pill.nueva { background: #fff4d6; } .pill.aprobada { background: #e3f1ff; } .pill.publicada { background: #e2f5e7; } .pill.descartada { background: #eee; color: #666; }
body.equipo { background: #f3f5f8; }
body.equipo .adm-top { background: #0f1c2e; }
.login .kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: -6px 0 6px; }
.staff-banner { background: #0f1c2e; color: #fff; border-radius: var(--r); padding: 14px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 16px 0; }
.staff-banner b { color: #fff; }

/* v11 · aviso de cookies y páginas legales */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; background: #0f1c2e; color: #fff; border-radius: var(--r); padding: 14px 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.consent p { margin: 0; font-size: .9rem; flex: 1 1 320px; }
.consent a { color: #ffd27a; }
.consent-b { display: flex; gap: 8px; }
.consent .btn-o { color: #fff; border-color: rgba(255,255,255,.5); }
.legal { max-width: 860px; }
.legal h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 6px; }
.legal h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.legal p, .legal li { line-height: 1.6; }
.legal table { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: .92rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
mark.pend { background: #fff1c2; padding: 0 4px; border-radius: 3px; }
.foot .legal-id { font-size: .8rem; opacity: .8; margin-top: 6px; }

/* v12 · Filtro por áreas en Equipo */
.acct-nav .areas { display: grid; gap: 4px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.acct-nav .areas .grp { padding-top: 4px; }
.acct-nav .chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 8px; }
.acct-nav .chips .chip { all: unset; cursor: pointer; font-size: .8rem; line-height: 1.2; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--panel); }
.acct-nav .chips .chip:hover { background: var(--paper); }
.acct-nav .chips .chip[aria-pressed="true"] { background: var(--steel); border-color: var(--steel); color: #f3f4f1; }
.acct-nav .chips .chip:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }
@media (max-width: 860px) {
  .acct-nav .areas { border-bottom: 0; border-right: 1px solid var(--line); padding: 0 6px 0 0; margin: 0 4px 0 0; align-content: center; }
  .acct-nav .areas .grp { display: none; }
  .acct-nav .chips { flex-wrap: nowrap; padding: 0; }
  .acct-nav .chips .chip { white-space: nowrap; }
}

/* v16 · precio público L1 con IVA */
.precio{display:block;min-height:1.2em;color:var(--ink,#1D2441)}.precio b{font-family:var(--display,inherit);font-weight:800;font-size:1.05rem}.precio small{color:var(--muted,#5b6178);font-size:.78rem}.precio.big{margin:6px 0 10px}.precio.big b{font-size:1.7rem}

/* v17 · Nuestro equipo de agentes */
.lema { font-size: 1rem; color: var(--muted); margin: -4px 0 14px; }
.eq-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.eq-chips { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.eq-chips b { width: 100%; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.eq-chips span { font-size: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.eq-k { font-family: var(--mono, ui-monospace, monospace); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #C73834; margin: 18px 0 8px; font-weight: 700; }
.eq-brain { border: 2px solid #1D2441; border-radius: var(--r); padding: 4px 14px 14px; background: linear-gradient(180deg, #F4F5FA, transparent); }
.eq-brain-in { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 14px; align-items: center; }
.eq-flow { display: flex; flex-wrap: wrap; gap: 8px; } .eq-flow span { background: #1D2441; color: #fff; border-radius: 999px; padding: 6px 12px; font-size: .84rem; }
.eq-flow span:last-child { background: #C73834; }
.eq-deptos { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.eq-depto { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid #1D2441; border-radius: var(--r); padding: 12px; display: grid; gap: 8px; align-content: start; }
.eq-depto h3 { font-size: 1rem; margin: 0; } .eq-depto > .note { margin: 0; }
.emps { display: grid; gap: 8px; }
.emp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; display: grid; gap: 6px; cursor: pointer; }
.emp:hover, .emp:focus { border-color: #1D2441; outline: none; box-shadow: 0 2px 10px rgba(29,36,65,.12); }
.emp.off { opacity: .78; border-style: dashed; }
.emp-hd { display: flex; gap: 10px; align-items: center; } .emp-hd > div { display: grid; gap: 1px; } .emp-hd b { font-size: 1rem; } .emp-hd span { font-size: .84rem; }
.av { display: inline-flex; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #D0D4E0; }
.ia { font-size: .7rem; color: #C73834; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.emp dl { display: grid; grid-template-columns: auto 1fr; gap: 1px 8px; margin: 0; font-size: .8rem; } .emp dt { color: var(--muted); } .emp dd { margin: 0; }
.emp .falta { font-size: .78rem; margin: 0; color: #8a5a00; }
.emp-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .9rem; } .emp-dl dt { color: var(--muted); } .emp-dl dd { margin: 0; }
.eq-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.eq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .eq-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 4px 0; font-size: .9rem; }
.eq-list .ok { color: #2f7d4f; } .eq-list .bad { color: #C73834; }
@media (max-width: 820px) { .eq-top, .eq-grid2, .eq-brain-in { grid-template-columns: 1fr; } .eq-deptos { grid-template-columns: 1fr; } }
/* v18 · mapa de colaboración */
.mapa { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mapa svg { display: block; width: 100%; min-width: 860px; height: auto; font-family: inherit; }
.mapa .lane { fill: #F5F6FA; stroke: #E1E4EE; } .mapa .lane.obs { fill: #FBF7EF; }
.mapa .lt { font-size: 12px; font-weight: 700; fill: #3D4560; text-transform: uppercase; letter-spacing: .04em; }
.mapa .mn rect { fill: #fff; stroke: #1D2441; stroke-width: 1.4; } .mapa .mn[data-id] { cursor: pointer; }
.mapa .mn[data-id]:hover rect, .mapa .mn[data-id]:focus rect { stroke-width: 2.6; } .mapa .mn:focus { outline: none; }
.mapa .mn.yo rect { fill: #FDECEB; stroke: #C73834; } .mapa .mn.ext rect { fill: #EEF0F5; stroke-dasharray: 4 3; }
.mapa .mn.dato rect { fill: #FFF7E0; stroke: #B07D00; } .mapa .mn.off rect { stroke-dasharray: 5 4; opacity: .75; }
.mapa .mn.dir rect { fill: #1D2441; stroke: #1D2441; } .mapa .w { fill: #fff !important; }
.mapa .mt { font-size: 12px; font-weight: 700; fill: #1D2441; } .mapa .ms { font-size: 10.5px; fill: #5B6178; } .mapa .mo { font-size: 9.5px; fill: #8a5a00; font-weight: 700; }
.mapa .ml { fill: none; stroke: #1D2441; stroke-width: 1.5; } .mapa .ml.or { stroke: #C73834; stroke-dasharray: 6 4; }
.mapa .mlab { font-size: 10px; fill: #3D4560; paint-order: stroke; stroke: #F5F6FA; stroke-width: 4px; } .mapa .mlab.r { fill: #C73834; }

/* v23 · compra fácil: búsqueda instantánea, carrito lateral, cantidad −/+, barra de compra y vistos recientemente */
.search { position: relative; }
.ac { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 14px 40px rgba(16, 20, 40, .28); z-index: 60; max-height: min(70vh, 560px); overflow: auto; padding: 6px 0; }
.ac-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 7px 12px; cursor: pointer; }
.ac-item.on, .ac-item:hover, .ac-line.on, .ac-line:hover, .ac-all.on, .ac-all:hover { background: #eef1f7; text-decoration: none; }
.ac-ph { width: 48px; height: 48px; background: #fff; border: 1px solid var(--line); border-radius: 3px; display: grid; place-items: center; overflow: hidden; font-family: var(--mono); font-size: .55rem; color: var(--muted); text-align: center; }
.ac-ph img { width: 100%; height: 100%; object-fit: contain; }
.ac-t { display: grid; gap: 2px; min-width: 0; color: var(--ink); text-decoration: none !important; }
.ac-t .n { font-weight: 600; font-size: .92rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ac-t .m { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.ac-add { border: 1.5px solid var(--signal); background: #fff; color: var(--signal); font-family: var(--display); font-weight: 700; font-size: .82rem; padding: 6px 10px; border-radius: var(--r); cursor: pointer; }
.ac-add:hover { background: var(--signal); color: #fff; }
.ac-line, .ac-all { display: block; padding: 9px 14px; color: var(--ink); font-size: .9rem; border-top: 1px solid var(--line); }
.ac-all { font-weight: 700; color: var(--link); }
.ac-empty { padding: 12px 14px; font-size: .9rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid #b9bec3; border-radius: var(--r); background: #fff; overflow: hidden; flex: none; }
.stepper button { width: 32px; border: 0; background: #f1f2ef; color: var(--ink); font-size: 1.05rem; font-weight: 700; cursor: pointer; line-height: 1; }
.stepper button:hover { background: #e3e5e1; }
.stepper input, .card .row .stepper input, .quote-box .stepper input, .qitem .stepper input { width: 46px; border: 0; border-radius: 0; text-align: center; font: inherit; font-size: .95rem; padding: 7px 2px; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quote-box .stepper button { width: 40px; }
.buy-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buy-btns .btn { width: 100%; }
.btn-dark { background: var(--steel); color: #fff; }
.btn-dark:hover { filter: brightness(1.15); }
html.dr-open { overflow: hidden; }
.dr-wrap { position: fixed; inset: 0; background: rgba(12, 15, 30, .45); z-index: 80; display: flex; justify-content: flex-end; }
.drawer { width: min(440px, 100%); height: 100%; background: var(--paper); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .25); animation: dr-in .18s ease-out; }
@keyframes dr-in { from { transform: translateX(40px); } to { transform: none; } }
.dr-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--steel); color: #fff; border-bottom: 4px solid var(--signal); font-family: var(--display); font-size: 1.1rem; }
.dr-x { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.dr-list { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1 1 auto; }
.dr-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--panel); }
.dr-item.nuevo { background: #fffbea; }
.dr-ph { width: 60px; height: 60px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; font-family: var(--mono); font-size: .55rem; color: var(--muted); }
.dr-ph img { width: 100%; height: 100%; object-fit: contain; }
.dr-info { display: grid; gap: 4px; min-width: 0; font-size: .9rem; }
.dr-info > a { color: var(--ink); font-weight: 600; line-height: 1.25; }
.dr-info .mono { color: var(--muted); }
.dr-row { display: flex; gap: 10px; align-items: center; }
.dr-quitar { background: none; border: 0; color: var(--link); cursor: pointer; font-size: .82rem; padding: 0; }
.dr-imp { font-size: .92rem; white-space: nowrap; }
.dr-vacio { padding: 24px 18px; color: var(--muted); flex: 1; }
.dr-sum { padding: 14px 18px 4px; display: grid; gap: 4px; background: var(--panel); border-top: 1px solid var(--line); }
.dr-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--display); }
.dr-tot b { font-size: 1.15rem; }
.dr-sum small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.dr-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 18px 16px; background: var(--panel); }
.dr-extra { padding: 14px 18px 22px; border-top: 1px solid var(--line); max-height: 36vh; overflow: auto; }
.dr-extra h3 { font-size: 1rem; margin-bottom: 10px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.drawer .mini-grid { grid-template-columns: repeat(3, 1fr); }
/* v24 · FE-17: antes .mini (chocaba con las tarjetas de Mi cuenta). */
.mini-prod { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; display: grid; gap: 5px; align-content: start; font-size: .82rem; min-width: 0; }
.mini-ph { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; font-family: var(--mono); font-size: .6rem; color: var(--muted); }
.mini-ph img { width: 100%; height: 100%; object-fit: contain; }
.mini-n { color: var(--ink); font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mini-p { font-weight: 700; }
.mini-add { border: 1.5px solid var(--signal); background: #fff; color: var(--signal); font-family: var(--display); font-weight: 700; font-size: .78rem; padding: 5px 6px; border-radius: var(--r); cursor: pointer; }
.mini-add:hover { background: var(--signal); color: #fff; }
.vistos { margin-top: 28px; }
.vistos h2 { font-size: 1.25rem; margin-bottom: 12px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--panel); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); display: flex; gap: 10px; align-items: center; padding: 10px max(16px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.sticky-buy .sb-t { flex: 1; min-width: 0; display: grid; font-size: .85rem; }
.sticky-buy .sb-t b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sticky-buy .btn { padding: 10px 14px; }
body.sb-on .wa-float { bottom: 84px; }
@media (min-width: 861px) { .sticky-buy { display: none; } body.sb-on .wa-float { bottom: max(16px, env(safe-area-inset-bottom, 0px)); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.chip { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 4px 10px; font-size: .82rem; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip b { font-weight: 700; }
.qsum { margin-top: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 6px; }
.qsum .dr-tot b { font-size: 1.25rem; }
.qsum small { color: var(--muted); }
.qitem .qimp { font-weight: 700; white-space: nowrap; font-size: .92rem; }
@media (max-width: 760px) { .ac { max-height: 62vh; } .ac-item { grid-template-columns: 42px 1fr auto; } .ac-ph { width: 42px; height: 42px; } }
.ac[hidden], .dr-wrap[hidden], .sticky-buy[hidden], .chips[hidden], .qsum[hidden], .vistos[hidden], #sugeridos[hidden] { display: none !important; }

/* v24b · Una sección de la ficha marcada hidden (por ejemplo «Video» sin videos) no se muestra: .pdp-sec trae display:grid. */
.pdp-sec[hidden] { display: none !important; }

/* v24b · «Se cotiza» (casetas y artículos sin precio público por decisión): etiqueta sobria y «Solicitar cotización» sin desbordar. */
.precio.sc b { color: var(--steel); }
.card .row { flex-wrap: wrap; }
.card .row .btn.sc { flex: 1 1 100%; }
.ac-add.sc { max-width: 8.5em; line-height: 1.15; white-space: normal; text-align: center; }
.mini-add.sc { line-height: 1.15; }
.sticky-buy .btn.sc { padding: 10px 12px; white-space: nowrap; }
.table-view .btn.sc { white-space: nowrap; }
.buy-btns .btn.sc { line-height: 1.2; }

/* ======================= v25 · Tienda: carrito con pago y pedido rápido (contrato v25 §5.3, §5.6 y §5.10) ======================= */
/* WCAG 2.5.8: «Quitar» del cajón (de cotización y de carrito) con objetivo de al menos 24 × 24 px. */
.dr-quitar { min-height: 24px; min-width: 24px; padding: 3px 4px; display: inline-flex; align-items: center; justify-content: center; }
.dr-nota { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.dr-nota[hidden], .dr-prueba[hidden] { display: none; }
.dr-cambio { color: #5a4300; background: #fff6d6; border-left: 3px solid var(--amber); padding: 3px 6px; }
.dr-aviso { font-size: .84rem; line-height: 1.4; color: var(--ink); }
.dr-prueba { margin: 0; padding: 8px 18px; background: #fff6d6; border-bottom: 1px solid #e8d48a; font-size: .84rem; font-weight: 600; color: #5a4300; }
.dr-btns-t { grid-template-columns: 1fr; }
.dr-btns-t .btn { min-height: 44px; width: 100%; text-align: center; line-height: 1.2; }
.dr-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 2px 18px 14px; background: var(--panel); font-size: .9rem; }
.dr-links a, .dr-seguir { min-height: 24px; display: inline-flex; align-items: center; }
.dr-seguir { background: none; border: 0; color: var(--link); cursor: pointer; font: inherit; padding: 0 2px; }
.dr-seguir:hover { text-decoration: underline; }
.drawer .dr-imp:empty { display: none; }
/* El cajón del carrito solo se desliza al abrir; al repintarse abierto no se mueve. Sin animación si la persona pidió reducir movimiento. */
.drawer.dr-tienda.sin-anim { animation: none; }
@media (prefers-reduced-motion: reduce) { .drawer.dr-tienda { animation: none; } }

.rapido { padding-bottom: 60px; }
.rapido h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 8px; }
.rp-lede { color: var(--muted); max-width: 62ch; margin-bottom: 18px; }
.rp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: start; }
.rp-entrada, .rp-resultado { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; min-width: 0; }
.rp-entrada label { font-weight: 600; }
.rp-entrada textarea { font-family: var(--mono); font-size: .9rem; width: 100%; min-height: 220px; padding: 10px 12px; border: 1px solid #b9bec3; border-radius: var(--r); background: #fff; color: var(--ink); resize: vertical; tab-size: 12; }
.rp-acc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rp-acc .btn { min-height: 44px; }
.rp-link { background: none; border: 0; color: var(--link); cursor: pointer; font: inherit; font-size: .9rem; min-height: 24px; min-width: 24px; padding: 0 4px; }
.rp-link:hover { text-decoration: underline; }
.rp-resultado h2 { font-size: 1.2rem; }
.rp-estado { font-size: .9rem; color: var(--muted); }
.rp-estado:empty, .rp-aviso[hidden] { display: none; }
.rp-tabla { width: 100%; border-collapse: collapse; font-size: .88rem; }
.rp-tabla th, .rp-tabla td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.rp-tabla th { font-family: var(--display); font-size: .82rem; color: var(--muted); font-weight: 700; }
.rp-tabla .rp-num { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.rp-tabla .rp-clave { font-family: var(--mono); font-size: .82rem; }
.rp-est { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .78rem; font-weight: 600; background: #e7e9e4; color: var(--ink); }
.rp-est.ok { background: #d9efe1; color: #1d5636; }
.rp-est.cotiza { background: #dde9f7; color: #0b3f75; }
.rp-est.mal { background: #f6dcd9; color: #7a1c15; }
.rp-nota { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.rp-sug { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; font-size: .8rem; color: var(--muted); }
.rp-sug button { min-height: 28px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 2px 10px; font: inherit; font-size: .8rem; cursor: pointer; color: var(--ink); }
.rp-sug button:hover { border-color: var(--ink); }
.rp-final { display: grid; gap: 8px; }
.rp-final .btn { min-height: 44px; width: 100%; }
@media (max-width: 860px) { .rp-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .rp-tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rp-tabla, .rp-tabla tbody, .rp-tabla tr, .rp-tabla td { display: block; width: 100%; }
  .rp-tabla tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .rp-tabla td { border: 0; padding: 2px 0; display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 8px; }
  .rp-tabla td::before { content: attr(data-label); font-size: .76rem; color: var(--muted); font-weight: 600; }
}

/* ======================= Portada v25.1 (29-oct-2026) · solo la portada: clases pv-* y body.pv-home =======================
   Héroe con buscador protagonista, una acción principal (rojo), una secundaria y WhatsApp discreto; mosaico de productos reales;
   franja de confianza; categorías con «desde $X con IVA». Contraste AA, foco visible, sin animaciones con prefers-reduced-motion. */
.pv-home { --pv-r: 14px; }
@media (max-width: 760px) { .pv-home #top .search { display: none; } .pv-home header#top:empty { min-height: 107px; } }
.pv-hero { background: radial-gradient(1100px 520px at 88% -12%, #36427e 0%, rgba(54, 66, 126, 0) 62%), linear-gradient(180deg, #1d2441 0%, #171d36 100%); color: #f3f4f1; }
.pv-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; padding-block: 34px 42px; }
.pv-kicker { font-family: var(--mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: #ffb4ae; }
.pv-hero h1 { margin-top: 10px; font-size: clamp(2.05rem, 4vw, 3.3rem); font-weight: 800; font-variation-settings: "wdth" 88; letter-spacing: -.015em; line-height: 1.04; color: #fff; }
.pv-hero h1 em { font-style: normal; color: #ff8a80; }
.pv-lede { margin-top: 14px; font-size: 1.08rem; color: #d5d9e4; max-width: 36rem; }
.pv-buscar { margin-top: 24px; max-width: 40rem; }
.pv-buscar label { display: block; font-family: var(--display); font-weight: 700; font-size: .95rem; margin-bottom: 8px; color: #fff; }
.pv-buscar-caja { position: relative; display: flex; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(5, 8, 20, .38); }
.pv-buscar-caja:focus-within { outline: 3px solid #ff8a80; outline-offset: 2px; }
.pv-lupa { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #5d646b; pointer-events: none; }
.pv-buscar input { flex: 1; min-width: 0; font: inherit; font-size: 1.06rem; padding: 18px 10px 18px 50px; border: 0; background: transparent; color: var(--ink); border-radius: 12px 0 0 12px; }
.pv-buscar input:focus { outline: none; }
.pv-buscar input::placeholder { color: #666c73; }
.pv-buscar input::-webkit-search-cancel-button { cursor: pointer; }
.pv-buscar button { flex: none; border: 0; margin: 6px; padding: 0 22px; border-radius: 9px; background: var(--steel); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1rem; cursor: pointer; transition: background-color .15s; }
.pv-buscar button:hover { background: var(--steel-2); }
.pv-buscar button:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.pv-buscar .pv-ac { color: var(--ink); text-align: left; }
.pv-ac a.ac-item { color: var(--ink); text-decoration: none; }
.pv-prueba { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: .88rem; color: #c6cbd8; }
.pv-prueba a { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); padding: 4px 12px; border-radius: 999px; min-height: 32px; display: inline-flex; align-items: center; transition: background-color .15s; }
.pv-prueba a:hover { background: rgba(255, 255, 255, .22); text-decoration: none; }
.pv-prueba a:focus-visible { outline: 3px solid #ff8a80; outline-offset: 2px; }
.pv-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font-family: var(--display); font-weight: 800; font-size: 1.06rem; text-decoration: none !important; transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.pv-btn-1 { background: var(--signal); color: #fff; box-shadow: 0 10px 24px rgba(199, 56, 52, .38); }
.pv-btn-1:hover { background: #b0302c; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(199, 56, 52, .45); }
.pv-btn-2 { color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; font-weight: 700; }
.pv-btn-2:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.pv-btn:focus-visible { outline: 3px solid #ff8a80; outline-offset: 3px; }
.pv-ayuda { margin-top: 16px; font-size: .92rem; color: #c6cbd8; }
.pv-ayuda a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pv-ayuda a:focus-visible { outline: 3px solid #ff8a80; outline-offset: 2px; }
/* Mosaico de productos reales del catálogo (fotos de /img, fondo blanco) */
.pv-mosaico { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pv-tile { position: relative; background: #fff; border-radius: var(--pv-r); padding: 12px 12px 10px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; color: var(--ink); text-decoration: none !important; aspect-ratio: 1 / 1; overflow: hidden; box-shadow: 0 10px 30px rgba(5, 8, 20, .3); transition: transform .18s, box-shadow .18s; }
.pv-tile-xl { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; padding: 20px 20px 16px; }
.pv-tile img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.pv-tile-t { display: grid; gap: 1px; min-width: 0; }
.pv-tile-t b { font-weight: 600; font-size: .8rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-tile-xl .pv-tile-t b { font-size: 1.02rem; white-space: normal; }
.pv-precio { font-family: var(--display); font-weight: 800; font-size: .96rem; color: var(--steel); min-height: 1.25em; }
.pv-tile-xl .pv-precio { font-size: 1.4rem; }
.pv-precio:not(:empty)::after { content: " con IVA"; font-family: var(--body); font-weight: 400; font-size: .72rem; color: var(--muted); }
.pv-precio.pv-sc { color: var(--muted); font-weight: 700; }
.pv-precio.pv-sc::after { content: none; }
.pv-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(5, 8, 20, .4); }
.pv-tile:focus-visible { outline: 3px solid #ff8a80; outline-offset: 3px; }
/* Franja de confianza */
.pv-confianza { background: #fff; border-bottom: 1px solid var(--line); }
.pv-conf-lista { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding-block: 20px; }
.pv-conf-lista li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.pv-conf-lista svg { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: #fbeceb; stroke: var(--signal); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pv-conf-lista b { display: block; font-family: var(--display); font-size: .98rem; line-height: 1.2; color: var(--ink); }
.pv-conf-lista span { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
/* Categorías */
.pv-cats-sec .sec-head h2, .pv-dest-sec .sec-head h2, .pv-sect-sec .sec-head h2 { margin: 0; }
.pv-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pv-cats li[hidden] { display: none; }
.pv-cat { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 12px; color: var(--ink); text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pv-cat-ph { aspect-ratio: 1 / 1; background: #f4f5f7; border-radius: 8px; display: grid; place-items: center; overflow: hidden; margin-bottom: 7px; }
.pv-cat-ph img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.pv-cat b { font-family: var(--display); font-size: 1rem; line-height: 1.2; }
.pv-desde { font-size: .86rem; color: var(--ink); align-self: end; padding-top: 4px; }
.pv-desde b { font-family: var(--display); font-size: 1.04rem; color: var(--signal); }
.pv-desde.pv-sc { color: var(--muted); }
.pv-n { font-size: .78rem; color: var(--muted); min-height: 1.15em; }
.pv-cat:hover { border-color: var(--steel); box-shadow: 0 10px 24px rgba(29, 36, 65, .12); transform: translateY(-2px); }
.pv-cat:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.pv-nota { margin-top: 14px; }
/* Sectores */
.pv-sect { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pv-sect a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none !important; transition: background-color .15s, color .15s, border-color .15s; }
.pv-sect a:hover { border-color: var(--steel); background: var(--steel); color: #fff; }
.pv-sect a:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
@media (min-width: 640px) { .pv-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pv-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .pv-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .pv-conf-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
  .pv-hero-in { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 36px; }
  .pv-mosaico { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pv-tile-xl { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1; padding: 12px 12px 10px; }
  .pv-tile-xl .pv-tile-t b { font-size: .8rem; white-space: nowrap; }
  .pv-tile-xl .pv-precio { font-size: .96rem; }
}
@media (max-width: 760px) {
  .pv-hero-in { padding-block: 20px 28px; gap: 24px; }
  .pv-kicker { font-size: .68rem; letter-spacing: .03em; }
  .pv-hero h1 { font-size: clamp(1.85rem, 8.2vw, 2.4rem); }
  .pv-lede { font-size: 1rem; margin-top: 10px; }
  .pv-buscar { margin-top: 18px; }
  .pv-buscar input { padding-block: 15px; font-size: 1rem; padding-left: 46px; }
  .pv-lupa { left: 14px; }
  .pv-buscar button { padding: 0 16px; }
  .pv-ctas { margin-top: 18px; gap: 10px; }
  .pv-btn { width: 100%; }
  .pv-conf-lista { grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-block: 16px; }
  .pv-conf-lista li:last-child { grid-column: 1 / -1; }
  .pv-conf-lista svg { width: 32px; height: 32px; padding: 6px; }
}
@media (max-width: 600px) {
  .pv-mosaico { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pv-tile { padding: 8px 8px 7px; border-radius: 10px; }
  .pv-tile-t b, .pv-tile-xl .pv-tile-t b { font-size: .72rem; }
  .pv-precio, .pv-tile-xl .pv-precio { font-size: .84rem; }
  .pv-precio:not(:empty)::after { content: none; }
  .pv-cat { padding: 8px 10px 10px; }
  .pv-cat b { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) { .pv-tile:hover, .pv-cat:hover, .pv-btn-1:hover { transform: none; } }
/* Portada v25.1 · tienda (29-oct-2026): política de envíos en el héroe, carrito en la cabecera y precio grande en las tarjetas */
.pv-envio { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 10px 14px; max-width: 40rem; border-radius: 10px; background: rgba(46, 125, 79, .18); border: 1px solid rgba(120, 200, 150, .45); color: #e6f4ea; font-size: .94rem; line-height: 1.4; }
.pv-envio svg { flex: none; width: 22px; height: 22px; margin-top: 1px; stroke: #8fd8a8; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pv-envio b { color: #fff; }
.pv-envio a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pv-envio a:focus-visible { outline: 3px solid #ff8a80; outline-offset: 2px; }
.pv-conf-lista b a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.qbtn svg { flex: none; }
.card .precio b { font-size: 1.35rem; letter-spacing: -.01em; }
/* Envíos y entregas (/envios.html) */
.env-page { padding-bottom: 56px; }
.env-page h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.env-lede { color: var(--muted); max-width: 64ch; margin-top: 8px; font-size: 1.05rem; }
.env-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.env-cards article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 6px; align-content: start; }
.env-cards b { font-family: var(--display); font-size: 1.15rem; }
.env-cards .env-big { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ok); }
.env-tabla-w { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.env-tabla { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.env-tabla th, .env-tabla td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.env-tabla thead th { font-family: var(--display); background: #f4f5f7; }
.env-tabla tr:last-child td, .env-tabla tr:last-child th { border-bottom: 0; }
.env-page h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; margin: 32px 0 12px; }
.env-page ul.env-lista { padding-left: 1.2rem; display: grid; gap: 6px; max-width: 72ch; }
.env-faq details { border-top: 1px solid var(--line); padding: 12px 0; max-width: 78ch; }
.env-faq summary { cursor: pointer; font-weight: 600; }
.env-faq details p { margin-top: 8px; color: var(--ink); }
@media (max-width: 760px) { .env-cards { grid-template-columns: 1fr; } }
/* v25.1b · Desglose del carrito (cajón y /cotizacion.html), envío rápido opcional y páginas Cómo pagar y Contacto */
.dr-fila { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; padding: 3px 0; }
.dr-fila b { font-family: var(--display); text-align: right; }
.dr-fila.dr-envio b { color: var(--ok); font-family: var(--body); font-weight: 600; font-size: .88rem; }
.dr-fila.dr-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; font-size: 1rem; }
.dr-fila.dr-total b { font-size: 1.2rem; }
.dr-falta { margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff6e0; color: #6b4b00; font-size: .86rem; }
#rapido-w[hidden] { display: none !important; }
.info-page { padding-bottom: 56px; max-width: 900px; }
.info-page h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.info-page h2 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-weight: 800; margin: 28px 0 10px; }
.info-page p, .info-page li { max-width: 72ch; }
.info-page ul, .info-page ol { padding-left: 1.2rem; display: grid; gap: 6px; }
.info-aviso { border-left: 4px solid var(--signal); background: #fff; padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 18px 0; }
.info-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 20px 0; }
.info-datos article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 4px; }
.info-datos b { font-family: var(--display); font-size: 1.05rem; }
.info-datos a { overflow-wrap: anywhere; }
/* v25.1c · Aviso de privacidad simplificado junto a cada punto donde se piden datos */
.aviso-datos { font-size: .8rem; line-height: 1.45; color: var(--muted); max-width: 80ch; }
.aviso-datos a { color: var(--link); }
/* v25.2 · Mosaico vivo de la portada (site.js › D.mosaicoVivo) y panel del buscador vacío (recomendados y búsquedas recientes) */
.pv-mosaico { position: relative; }
.pv-tile { transition: opacity .26s ease, transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.pv-tile.pv-cambia { opacity: 0; }
.pv-dato { font-size: .68rem; line-height: 1.3; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-tile-xl .pv-dato { font-size: .82rem; white-space: normal; }
.pv-tile video { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 8px; background: #0e1424; }
.pv-vid-chip { justify-self: start; font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: #fff; background: var(--signal); border-radius: 999px; padding: 2px 8px; }
.pv-mos-pausa { position: absolute; right: 6px; bottom: -34px; font: 600 .74rem var(--body); color: #dfe3ee; background: transparent; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.pv-mos-pausa:hover, .pv-mos-pausa:focus-visible { background: rgba(255, 255, 255, .12); outline: 2px solid #ff8a80; outline-offset: 2px; }
.ac-sec { padding: 8px 14px 4px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); }
.ac-sec:first-child { border-top: 0; }
.ac-rec { border-top: 0; padding-block: 6px; }
.ac-rec b { font-weight: 600; }
.ac-rec::before { content: "↺ "; color: var(--muted); }
#ac-pv { max-height: min(70vh, 520px); overflow-y: auto; }
@media (max-width: 900px) { .pv-mos-pausa { bottom: -30px; } }
/* v25.2 · Formulario de pedido de tienda: domicilio, empresa y factura solo cuando aplican */
.qf-dir, .qf-emp, .qf-fac { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.qf-dir[hidden], .qf-emp[hidden], .qf-fac[hidden] { display: none; }
.qf-dir .full { grid-column: 1 / -1; }
.qf-grupo { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.qf-grupo legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
@media (max-width: 640px) { .qf-dir, .qf-emp, .qf-fac { grid-template-columns: 1fr; } }
.qform label.chk { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .92rem; }
.qform label.chk > input[type=radio], .qform label.chk > input[type=checkbox] { width: auto; flex: none; margin: 0; }
/* v25.2 · Dirección sugerida y mapa de confirmación en el carrito */
.qf-calle { position: relative; display: grid; }
.qf-calle .ac { top: calc(100% + 2px); max-height: 280px; overflow-y: auto; }
.qf-calle .ac-item { grid-template-columns: 1fr; }
.qf-mapa { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; background: var(--paper); }
.qf-mapa[hidden] { display: none; }
.qf-mapa-t { margin: 0; font-size: .9rem; color: var(--ink); }
.qf-mapa-t span { color: var(--muted); }
.qf-mapa iframe { width: 100%; height: 240px; border: 0; border-radius: 8px; }
.qf-mapa-b { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qf-mapa-b a { font-size: .85rem; }

/* ======================= v25.4 (31-oct-2026) · Marca con energía en la portada ======================= */
.pv-hero4 { position: relative; background: radial-gradient(900px 480px at 92% -10%, #2a3462 0%, rgba(42, 52, 98, 0) 60%), linear-gradient(180deg, #121732 0%, #1d2441 100%);
  border-top: 4px solid #c73834; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); padding-bottom: 34px; }
.pv-hero4 .pv-hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; padding-block: 34px 22px; }
.pv-hero4 .pv-kicker { font-family: inherit; font-weight: 700; letter-spacing: .12em; color: #fff; opacity: .9; display: flex; align-items: center; gap: 10px; }
.pv-hero4 .pv-kicker::before { content: ""; width: 28px; height: 4px; background: #c73834; border-radius: 2px; flex: none; }
.pv-hero4 h1 { text-transform: uppercase; font-weight: 900; font-variation-settings: "wdth" 75; letter-spacing: -.005em; line-height: .98; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.pv-hero4 h1 em { display: block; margin-top: 6px; color: #ff5a4f; }
.pv-hero4 .pv-lede { margin-top: 14px; color: #d9dcea; max-width: 46ch; }
.pv-hero4 .pv-buscar { margin-top: 18px; }
.pv-hero4 .pv-btn-1 { background: #c73834; text-transform: uppercase; letter-spacing: .03em; font-weight: 800; box-shadow: 0 10px 24px -12px rgba(199, 56, 52, .9); }
.pv-hero4 .pv-btn-1:hover { background: #a82b28; transform: translateY(-1px); }
.pv-hero-media { position: relative; border-radius: 16px; overflow: hidden; background: #0d1128; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); aspect-ratio: 4 / 3; outline: 1px solid rgba(255, 255, 255, .08); }
.pv-hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-hero-tag { position: absolute; left: 14px; top: 14px; background: #c73834; color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.pv-catbar { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; padding-bottom: 6px; }
.pv-cb { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 10px; background: #fff; border-radius: 12px; color: #16191d; text-decoration: none; text-align: center;
  border-bottom: 3px solid transparent; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.pv-cb:hover, .pv-cb:focus-visible { transform: translateY(-3px); border-bottom-color: #c73834; box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .55); }
.pv-cb:focus-visible { outline: 3px solid #ff5a4f; outline-offset: 2px; }
.pv-cb-ph { width: 72px; height: 72px; border-radius: 50%; background: #eceef3; display: grid; place-items: center; overflow: hidden; }
.pv-cb-ph img { width: 62px; height: 62px; object-fit: contain; mix-blend-mode: multiply; }
.pv-cb b { font-size: .82rem; line-height: 1.15; font-weight: 700; }
.pv-sc, .precio.sc b, .ag-precio-g { color: #1d2441; }
.precio.sc b, .pv-desde.pv-sc { display: inline-flex; align-items: center; gap: 6px; background: #eef0f7; border: 1px solid #c9cee0; color: #1d2441; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 960px) {
  .pv-hero4 .pv-hero-in { grid-template-columns: 1fr; gap: 22px; }
  .pv-hero-media { order: 2; aspect-ratio: 16 / 9; }
  .pv-catbar { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 2px 16px 10px; margin-inline: -16px; scrollbar-width: none; }
  .pv-catbar::-webkit-scrollbar { display: none; }
  .pv-cb { flex: 0 0 38%; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .pv-hero4 { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 0 100%); }
  .pv-hero4 h1 { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .pv-hero4 .pv-hero-media { display: none; }
  .pv-hero4 .pv-catbar { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .pv-cb, .pv-hero4 .pv-btn-1 { transition: none; } .pv-cb:hover { transform: none; } }
@media (max-width: 560px) { .pv-hero4 { display: flex; flex-direction: column; } .pv-hero4 .pv-catbar { order: -1; padding-top: 14px; } .pv-hero4 .pv-lede { display: none; } }
@media (max-width: 960px) { .pv-hero4 .pv-catbar { margin-inline: 0; padding-inline: 16px; scroll-padding-inline: 16px; } }

/* ======================= v25.5 (1-nov-2026) · Cabecera de tienda retail ======================= */
.top .row1 { display: flex; align-items: center; gap: 14px; }
.top .enviar { display: flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; padding: 6px 8px; border: 1px solid transparent; border-radius: 6px; line-height: 1.1; flex: none; }
.top .enviar:hover { border-color: rgba(255, 255, 255, .45); }
.top .enviar small, .top .acct2 small { display: block; font-size: .7rem; color: #c9cee0; font-weight: 500; }
.top .enviar b, .top .acct2 b { display: block; font-size: .86rem; font-weight: 800; color: #fff; }
.top .search-r { flex: 1; display: flex; min-width: 0; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px transparent; }
.top .search-r:focus-within { box-shadow: 0 0 0 3px #ff5a4f; }
.top .search-r select { flex: none; max-width: 150px; border: 0; border-right: 1px solid #d9dcd7; background: #eceef3; color: #16191d; font: inherit; font-size: .82rem; padding: 0 8px; cursor: pointer; }
.top .search-r input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font: inherit; }
.top .search-r input:focus { outline: none; }
.top .search-r button { flex: none; border: 0; background: #c73834; color: #fff; padding: 0 16px; cursor: pointer; display: grid; place-items: center; }
.top .search-r button:hover { background: #a82b28; }
.top .acct2 { display: flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; padding: 6px 8px; border: 1px solid transparent; border-radius: 6px; line-height: 1.1; }
.top .acct2:hover { border-color: rgba(255, 255, 255, .45); }
.cats-r { position: relative; }
.cats-r-in { display: flex; align-items: center; gap: 4px; overflow: hidden; }
.deptos-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; border: 1px solid transparent; border-radius: 6px; padding: 8px 10px; font: inherit; font-weight: 800; cursor: pointer; }
.deptos-btn:hover, .deptos-btn[aria-expanded="true"] { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.cats-rapidos { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.cats-rapidos::-webkit-scrollbar { display: none; }
.cats-rapidos a { padding: 8px 10px; border-radius: 6px; border: 1px solid transparent; }
.cats-rapidos a:hover { border-color: rgba(255, 255, 255, .45); }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: #fff; color: #16191d; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .45); border-top: 3px solid #c73834; }
.mega-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 18px; padding-block: 18px 22px; }
.mega-in a { color: #16191d; padding: 8px 6px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.mega-in a:hover, .mega-in a[aria-current="page"] { background: #eceef3; color: #c73834; }
@media (max-width: 960px) { .mega-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .top .acct2 .acct-l { display: none; } }
@media (max-width: 560px) { .top .row1 { flex-wrap: wrap; } .top .search-r { order: 5; flex-basis: 100%; } .deptos-btn { font-size: .85rem; padding: 7px 8px; } }
.cats .mega-in { display: grid; overflow: visible; min-height: 0; } .cats .mega-in a { color: #16191d; white-space: normal; }
/* v25.5 · Carruseles de producto tipo retail */
.pv-dest-sec #featured { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.pv-dest-sec #featured > .card, .carrusel-pista > .card { flex: 0 0 232px; scroll-snap-align: start; }
.carrusel { position: relative; }
.carrusel-pista { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.carrusel-pista::-webkit-scrollbar { display: none; }
.carrusel-btn { position: absolute; top: 40%; z-index: 2; width: 42px; height: 64px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .95); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); font-size: 2rem; line-height: 1; color: #1d2441; cursor: pointer; }
.carrusel-btn.prev { left: -10px; } .carrusel-btn.next { right: -10px; }
.carrusel-btn:hover { color: #c73834; }
.carrusel-sec { padding-block: 22px; }
@media (max-width: 760px) { .carrusel-btn { display: none; } .pv-dest-sec #featured > .card, .carrusel-pista > .card { flex-basis: 46%; } }
/* v25.5 · «Solicita tu precio» compacto en tarjetas (sin la frase larga) */
.card .precio.sc b, .card .precio b:only-child { font-size: .9rem; }
.card .precio small { display: none; }
.card .precio.sc b { padding: 4px 10px; }

/* v26 · Ofertas con vigencia (ofertas_publicas): insignia -X%, precio anterior tachado, ahorro y vigencia. Solo aparecen con oferta autorizada. */
.precio.of { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.precio.of .of-pct { background: #c73834; color: #fff; font-weight: 800; font-size: .82rem; padding: 2px 7px; border-radius: 5px; align-self: center; }
.precio.of b { color: #b42318; }
.precio.of .of-det { flex-basis: 100%; font-size: .8rem; color: var(--muted, #5b6178); }
.precio.of .of-det s { color: var(--muted, #5b6178); }
.precio.of .of-ah { color: #1d6b3a; font-weight: 700; }
.precio.of .of-vig { flex-basis: 100%; font-size: .78rem; font-weight: 700; color: #b42318; }
.precio.of .of-vig-l { flex-basis: 100%; font-size: .78rem; color: var(--muted, #5b6178); }
.card:has(.precio.of) { box-shadow: inset 0 3px 0 #c73834; }
.cats-rapidos .cr-of { color: #ff8a80; font-weight: 800; }
#ofertas .sec-head .of-nota { font-size: .85rem; color: var(--muted, #5b6178); }
#ofertas { background: linear-gradient(180deg, #fff4f3 0, transparent 220px); }
/* v30 · Máquinas en renta: botón «Pedir demostración» (enlace a WhatsApp) y aviso en el carrito */
a.rn-demo { justify-content: center; text-align: center; text-decoration: none; }
a.mini-add.rn-demo, a.ac-add.rn-demo { display: inline-block; line-height: 1.15; }
.rn-aviso { border: 1.5px solid var(--signal); border-radius: 4px; padding: 12px; margin-bottom: 12px; display: grid; gap: 8px; }
.rn-aviso p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
