/* ════════════════════════════════════════════════════════════════
   PAPEL MEMBRETADO A4 · /css/papel-membretado.css  (2026-10-06)
   Solo para /imprenta-offset/impresion-papel-membretado/
   Todo va bajo #pm o con prefijo .pm- para no tocar header, menú,
   pie ni el resto del sitio. Paleta del sitio: negro + lima #bdff06.
   ════════════════════════════════════════════════════════════════ */
#pm, .pm-bar, .pm-skip {
  --pm-lima: #bdff06;
  --pm-lima-2: #a6e000;
  --pm-lima-txt: #4a7300;      /* lima legible sobre blanco (≈5:1) */
  --pm-negro: #111;
  --pm-negro-2: #1c1c1c;
  --pm-texto: #3b3b3b;
  --pm-suave: #6a6a6a;
  --pm-linea: #e6e6e2;
  --pm-gris: #f5f5f2;
  --pm-wa: #25d366;
  --pm-wa-2: #1da851;
  --pm-marfil: #efe5cc;
  --pm-r: 14px;
  --pm-ff-h: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --pm-ff: 'Open Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ── Base aislada ───────────────────────────────────────────── */
#pm { text-align: left; font-family: var(--pm-ff); color: var(--pm-texto); font-size: 16px; line-height: 1.6; background: #fff; clear: both; }
#pm *, #pm *::before, #pm *::after { box-sizing: border-box; }
#pm h1, #pm h2, #pm h3, #pm p, #pm ul, #pm ol, #pm dl, #pm dd, #pm figure, #pm fieldset, #pm table { margin: 0; padding: 0; }
#pm ul, #pm ol { list-style: none; }
#pm h1, #pm h2, #pm h3, #pm p, #pm dt, #pm dd, #pm figure { text-align: inherit; }
/* main.css: «ul li» trae viñeta, line-height fijo y alineación propia */
#pm li { list-style: none; line-height: inherit; font-size: inherit; font-weight: inherit; text-align: inherit; text-indent: 0; }
#pm img { display: block; max-width: 100%; height: auto; }
#pm a { color: inherit; }
#pm button, #pm input { font: inherit; }
#pm fieldset { border: 0; min-width: 0; }
#pm [hidden] { display: none !important; }
#pm :focus-visible { outline: 3px solid var(--pm-lima-2); outline-offset: 2px; }

.pm-skip { position: absolute; left: 8px; top: -60px; z-index: 100000; background: #bdff06; color: #111 !important; padding: 10px 16px;
  border-radius: 0 0 8px 8px; font: 700 14px/1.2 'Open Sans', Arial, sans-serif; text-decoration: none; transition: top .2s; }
.pm-skip:focus { top: 0; }
.pm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#pm .pm-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
#pm .pm-wrap--md { max-width: 860px; }
#pm .pm-sec { padding: 56px 0; scroll-margin-top: 72px; }
#pm .pm-sec--gris { background: var(--pm-gris); }
#pm .pm-head { margin-bottom: 28px; }

#pm .pm-eyebrow { display: inline-block; font: 700 12px/1 var(--pm-ff); letter-spacing: .12em; text-transform: uppercase;
  color: var(--pm-negro); background: var(--pm-lima); padding: 6px 9px; border-radius: 4px; margin-bottom: 12px; }
#pm .pm-h2 { font: 600 clamp(1.6rem, 4.6vw, 2.35rem)/1.15 var(--pm-ff-h); color: var(--pm-negro); letter-spacing: .01em; text-transform: uppercase; }
#pm .pm-h2--sm { font-size: clamp(1.4rem, 3.6vw, 1.8rem); margin-bottom: 10px; }
#pm .pm-lead { margin-top: 10px; font-size: 1.02rem; color: var(--pm-suave); max-width: 640px; }

/* ── Botones ────────────────────────────────────────────────── */
#pm .pm-btn, .pm-bar .pm-bar-b {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  font: 700 15px/1.2 var(--pm-ff); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
#pm .pm-btn svg { flex: none; }
#pm .pm-btn:hover { transform: translateY(-1px); }
#pm .pm-btn:active { transform: none; }
#pm .pm-btn--lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
#pm .pm-btn--xl { width: 100%; min-height: 58px; font-size: 17px; }
#pm .pm-btn--lime { background: var(--pm-lima); color: var(--pm-negro); }
#pm .pm-btn--lime:hover { background: #ccff3d; box-shadow: 0 8px 24px rgba(189,255,6,.28); }
#pm .pm-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
#pm .pm-btn--ghost:hover { border-color: var(--pm-wa); color: #fff; background: rgba(37,211,102,.12); }
#pm .pm-btn--ghost svg { color: var(--pm-wa); }
#pm .pm-btn--wa { background: var(--pm-wa); color: #fff; }
#pm .pm-btn--wa:hover { background: var(--pm-wa-2); box-shadow: 0 8px 24px rgba(37,211,102,.3); }
#pm .pm-btn--dark { background: var(--pm-negro); color: #fff; }
#pm .pm-btn--dark:hover { background: #000; }
#pm .pm-link { background: none; border: 0; padding: 0; color: var(--pm-negro); font-weight: 700; text-decoration: underline;
  text-decoration-color: var(--pm-lima-2); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
#pm .pm-link:hover { color: #000; text-decoration-color: var(--pm-negro); }

/* ═══ 1 · HERO ═══════════════════════════════════════════════
   Claro, para separarse del menú negro. Escritorio: la foto ocupa todo
   el fondo (su lado izquierdo es luz y deja leer el texto). Móvil: texto
   arriba y foto debajo. */
#pm .pm-hero { position: relative; background: #f4f2ee; color: var(--pm-negro); overflow: hidden; border-bottom: 1px solid var(--pm-linea); }
#pm .pm-hero-in { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 28px; }
#pm .pm-hero-txt { max-width: 600px; }
#pm .pm-hero-bg img { width: 100%; height: auto; aspect-ratio: 1916 / 821; object-fit: cover; }
#pm .pm-bc ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--pm-suave); margin-bottom: 16px; }
#pm .pm-bc li + li::before { content: '/'; margin-right: 4px; color: #a8a8a2; }
#pm .pm-bc a { color: var(--pm-suave); text-decoration: none; }
#pm .pm-bc a:hover { color: var(--pm-negro); text-decoration: underline; }
#pm .pm-bc [aria-current] { color: var(--pm-negro); font-weight: 600; }
#pm .pm-h1 { font: 600 clamp(2.15rem, 8.4vw, 3.7rem)/1.04 var(--pm-ff-h); color: var(--pm-negro); text-transform: uppercase; letter-spacing: .005em; }
#pm .pm-hero-sub { margin-top: 14px; font-size: clamp(1rem, 2.6vw, 1.15rem); color: var(--pm-texto); max-width: 540px; }
#pm .pm-hero-precio { margin-top: 18px; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 11px 16px;
  border-radius: 10px; background: var(--pm-negro); color: rgba(255,255,255,.85); font-size: 15px; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
#pm .pm-hero-precio strong { color: var(--pm-lima); font: 600 1.45rem/1 var(--pm-ff-h); letter-spacing: .01em; }
#pm .pm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#pm .pm-badges li { font-size: 12.5px; font-weight: 600; color: var(--pm-negro); padding: 6px 11px; border-radius: 999px; border: 1px solid #d9d7d0;
  background: rgba(255,255,255,.85); white-space: nowrap; }
#pm .pm-badges li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pm-lima-2); margin: 0 7px 1px 0; vertical-align: middle; }
#pm .pm-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
#pm .pm-hero .pm-btn--lime { box-shadow: 0 8px 22px rgba(120,160,0,.25); }
#pm .pm-hero .pm-btn--ghost { background: #fff; color: var(--pm-negro); border-color: var(--pm-negro); }
#pm .pm-hero .pm-btn--ghost:hover { background: var(--pm-negro); color: #fff; border-color: var(--pm-negro); }
#pm .pm-hero .pm-btn--ghost svg { color: var(--pm-wa); }

@media (max-width: 559px) {
  #pm .pm-hero-cta .pm-btn { width: 100%; }
}
@media (max-width: 859px) {
  /* Móvil: foto vertical a sangre y texto blanco sobre el degradado inferior */
  #pm .pm-hero { display: flex; flex-direction: column; background: #0e0e0e; color: #fff; border-bottom: 0; }
  #pm .pm-hero-bg { order: 0; position: relative; display: block; }
  #pm .pm-hero-bg img { aspect-ratio: 941 / 1500; object-fit: cover; object-position: 50% 0; }
  #pm .pm-hero-bg::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(14,14,14,.35) 0%, rgba(14,14,14,0) 14%, rgba(14,14,14,0) 62%, rgba(14,14,14,.82) 82%, #0e0e0e 100%); }
  #pm .pm-hero-in { order: 1; margin-top: -132px; padding-top: 0; padding-bottom: 30px; }
  #pm .pm-bc { display: none; }
  #pm .pm-h1 { color: #fff; font-size: clamp(2.05rem, 9.6vw, 2.9rem); text-shadow: 0 2px 18px rgba(0,0,0,.45); }
  #pm .pm-hero-sub { color: rgba(255,255,255,.86); margin-top: 8px; }
  #pm .pm-hero-precio { background: rgba(189,255,6,.1); border: 1px solid rgba(189,255,6,.45); box-shadow: none; margin-top: 12px; }
  #pm .pm-badges { margin-top: 12px; gap: 6px; }
  #pm .pm-badges li { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); font-size: 12px; padding: 5px 10px; }
  #pm .pm-badges li::before { background: var(--pm-lima); }
  #pm .pm-hero-cta { margin-top: 16px; }
  #pm .pm-hero .pm-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
  #pm .pm-hero .pm-btn--ghost:hover { background: rgba(37,211,102,.14); border-color: var(--pm-wa); }
}
@media (min-width: 860px) {
  /* Alto según la proporción de la foto (1916×821): la hoja se ve completa en cualquier ancho */
  #pm .pm-hero { min-height: clamp(480px, 42.8vw, 820px); display: flex; align-items: center; }
  #pm .pm-hero-bg { position: absolute; inset: 0; z-index: 0; }
  #pm .pm-hero-bg img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 65% 40%; }
  /* Velo de luz solo detrás del texto: la hoja queda limpia y protagonista */
  #pm .pm-hero-bg::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(248,247,244,.92) 0%, rgba(248,247,244,.78) 30%, rgba(248,247,244,0) 50%); }
  #pm .pm-hero-in { padding-top: 28px; padding-bottom: 36px; width: 100%; }
  /* Bloque de texto compacto */
  #pm .pm-hero-txt { max-width: 500px; }
  #pm .pm-bc ol { margin-bottom: 10px; }
  #pm .pm-h1 { font-size: clamp(2.4rem, 3.6vw, 3.25rem); line-height: 1; }
  #pm .pm-hero-sub { margin-top: 10px; font-size: 1.05rem; }
  #pm .pm-hero-precio { margin-top: 14px; padding: 9px 14px; }
  #pm .pm-hero-precio strong { font-size: 1.3rem; }
  #pm .pm-badges { margin-top: 12px; gap: 6px; }
  #pm .pm-badges li { padding: 5px 10px; font-size: 12px; }
  #pm .pm-hero-cta { margin-top: 18px; gap: 10px; }
  #pm .pm-hero .pm-btn--lg { min-height: 50px; padding: 12px 22px; font-size: 15px; }
}

/* ═══ 2 · COTIZADOR ══════════════════════════════════════════ */
#pm .pm-cot { padding-top: 48px; }
#pm .pm-cot-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) {
  #pm .pm-cot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 32px; }
  #pm .pm-res { position: sticky; top: 88px; }
}
#pm .pm-pasos { display: grid; gap: 18px; min-width: 0; }
#pm .pm-paso { background: #fff; border: 1px solid var(--pm-linea); border-radius: var(--pm-r); padding: 18px 16px 18px; }
#pm .pm-paso legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 600 1.15rem/1.2 var(--pm-ff-h); text-transform: uppercase; letter-spacing: .02em; color: var(--pm-negro); }
#pm .pm-paso legend + * { clear: both; }
#pm .pm-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pm-negro); color: var(--pm-lima);
  font: 700 14px/1 var(--pm-ff); flex: none; }

/* Opciones (radio accesible) */
#pm .pm-opc { position: relative; display: block; cursor: pointer; }
#pm .pm-opc input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
#pm .pm-opc-in { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 12px; background: #fff;
  border: 2px solid var(--pm-linea); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
#pm .pm-opc:hover .pm-opc-in { border-color: #bdbdb6; }
#pm .pm-opc input:checked + .pm-opc-in { border-color: var(--pm-negro); background: #fbffef; box-shadow: inset 0 0 0 1px var(--pm-negro); }
#pm .pm-opc input:focus-visible + .pm-opc-in { outline: 3px solid var(--pm-lima-2); outline-offset: 2px; }
#pm .pm-opc b { display: block; color: var(--pm-negro); font-weight: 700; line-height: 1.25; }
#pm .pm-opc small { display: block; font-size: 13px; color: var(--pm-suave); line-height: 1.3; }

#pm .pm-papeles { display: grid; gap: 10px; }
@media (min-width: 560px) { #pm .pm-papeles { grid-template-columns: 1fr 1fr; } }
#pm .pm-opc--papel .pm-opc-in { min-height: 72px; }
#pm .pm-opc-txt { flex: 1 1 auto; min-width: 0; }
#pm .pm-opc-desde { flex: none; font-size: 12.5px; font-weight: 600; color: var(--pm-suave); white-space: nowrap; }
#pm .pm-opc--reco .pm-opc-txt small { display: inline-block; margin-top: 3px; padding: 3px 6px; border-radius: 4px; background: var(--pm-lima); color: var(--pm-negro); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: 10.5px; line-height: 1.1; }
#pm .pm-sw { flex: none; width: 30px; height: 38px; border-radius: 3px; border: 1px solid #d6d6cf; box-shadow: 2px 2px 0 #e7e7e1; background: #fff; }
#pm .pm-sw--marfil { background: var(--pm-marfil); border-color: #dccfae; box-shadow: 2px 2px 0 #ece2c8; }

#pm .pm-cants { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 420px) { #pm .pm-cants { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { #pm .pm-cants { grid-template-columns: repeat(5, 1fr); } }
#pm .pm-opc--cant .pm-opc-in { flex-direction: column; justify-content: center; gap: 2px; padding: 10px 6px; text-align: center; min-height: 64px; }
#pm .pm-opc--cant b { font-size: 1.05rem; }
#pm .pm-opc--cant small { font-weight: 600; }

#pm .pm-arch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#pm .pm-opc--arch .pm-opc-in { flex-direction: column; align-items: flex-start; gap: 2px; }

#pm .pm-nota { margin-top: 12px; font-size: 14px; color: var(--pm-suave); }

/* Precio por millar (mini gráfico de barras, una sola serie) */
#pm .pm-mil { margin-top: 14px; padding: 14px 14px 12px; border-radius: 12px; background: var(--pm-gris); border: 1px solid var(--pm-linea); }
#pm .pm-mil-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
#pm .pm-mil-tit { width: 100%; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-suave); }
#pm .pm-mil-dato { font-size: 14px; color: var(--pm-suave); }
#pm .pm-mil-dato b { font: 600 1.5rem/1.1 var(--pm-ff-h); color: var(--pm-negro); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
#pm .pm-mil-ahorro { font-size: 12px; font-weight: 800; color: var(--pm-negro); background: var(--pm-lima); padding: 3px 8px; border-radius: 999px; }
#pm .pm-mil-graf { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; align-items: end; height: 118px; margin-top: 10px;
  border-bottom: 1px solid #cfcfc8; }
#pm .pm-mil-b { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; padding: 0; margin: 0;
  border: 0; background: transparent; cursor: pointer; font: inherit; }
#pm .pm-mil-b i { display: block; width: 100%; max-width: 30px; border-radius: 4px 4px 0 0; background: #d3d3cb; transition: height .35s cubic-bezier(.2,.8,.2,1), background .15s ease; }
#pm .pm-mil-b:hover i { background: #9d9d95; }
#pm .pm-mil-b.on i { background: var(--pm-negro); box-shadow: inset 0 3px 0 var(--pm-lima); }
#pm .pm-mil-b:focus-visible { outline: 3px solid var(--pm-lima-2); outline-offset: 1px; border-radius: 4px; }
/* Etiqueta directa solo en la barra elegida; el resto, en el tooltip */
#pm .pm-mil-b em { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 11.5px; font-weight: 700;
  color: var(--pm-negro); background: #fff; border: 1px solid var(--pm-linea); padding: 2px 6px; border-radius: 6px; pointer-events: none; opacity: 0; transition: opacity .15s; }
#pm .pm-mil-b.on em, #pm .pm-mil-b:hover em, #pm .pm-mil-b:focus-visible em { opacity: 1; }
#pm .pm-mil-b:hover em, #pm .pm-mil-b:focus-visible em { z-index: 2; }
#pm .pm-mil-ejes { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 5px; font-size: 11px; color: var(--pm-suave); text-align: center; font-variant-numeric: tabular-nums; }
#pm .pm-mil-ejes span.on { color: var(--pm-negro); font-weight: 800; }
#pm .pm-mil-tip { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--pm-texto); min-height: 1.45em; }
#pm .pm-mil-tip b { color: var(--pm-negro); }
#pm .pm-mil-tip button { margin-left: 4px; }
#pm .pm-res-mil { margin: -6px 0 12px; font-size: 13.5px; color: rgba(255,255,255,.72); }
#pm .pm-res-mil b { color: #fff; }

/* Lista completa de precios */
#pm .pm-lista { background: #fff; border: 1px solid var(--pm-linea); border-radius: var(--pm-r); }
#pm .pm-lista > summary { list-style: none; cursor: pointer; padding: 16px; font-weight: 700; color: var(--pm-negro); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#pm .pm-lista > summary::-webkit-details-marker { display: none; }
#pm .pm-lista > summary::after { content: '+'; font: 400 24px/1 var(--pm-ff); color: var(--pm-negro); }
#pm .pm-lista[open] > summary::after { content: '−'; }
#pm .pm-lista > summary:focus-visible { outline-offset: -3px; border-radius: var(--pm-r); }
#pm .pm-lista .pm-nota { margin: 10px 16px 16px; }
#pm .pm-tabla-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 16px; border: 1px solid var(--pm-linea); border-radius: 10px; }
#pm .pm-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
#pm .pm-tabla caption { caption-side: top; text-align: left; font-size: 12.5px; color: var(--pm-suave); padding: 10px 12px; }
#pm .pm-tabla--precios th, #pm .pm-tabla--precios td { padding: 0; border-top: 1px solid var(--pm-linea); text-align: center; white-space: nowrap; }
#pm .pm-tabla--precios thead th { background: var(--pm-negro); color: #fff; font-weight: 600; font-size: 12.5px; padding: 10px 8px; border: 0; }
#pm .pm-tabla--precios tbody th { font-weight: 700; color: var(--pm-negro); padding: 0 10px; background: var(--pm-gris); text-align: left; }
#pm .pm-tabla--precios td button { width: 100%; min-height: 40px; padding: 8px; border: 0; background: transparent; cursor: pointer; color: var(--pm-texto); font-variant-numeric: tabular-nums; }
#pm .pm-tabla--precios td button:hover { background: #f4ffd6; color: var(--pm-negro); }
#pm .pm-tabla--precios td button.on { background: var(--pm-lima); color: var(--pm-negro); font-weight: 700; }

/* Resultado */
#pm .pm-res-card { background: var(--pm-negro); color: #fff; border-radius: 18px; padding: 22px 20px 20px; box-shadow: 0 22px 50px rgba(0,0,0,.18); }
#pm .pm-res-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-lima); margin-bottom: 8px; }
#pm .pm-res-tit { font: 600 1.45rem/1.15 var(--pm-ff-h); color: #fff; text-transform: uppercase; letter-spacing: .01em; }
#pm .pm-res-mat { margin-top: 6px; font-weight: 700; font-size: 1.05rem; color: #fff; }
#pm .pm-res-imp { font-size: 14px; color: rgba(255,255,255,.7); }
#pm .pm-res-precio { margin: 18px 0 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
#pm .pm-res-sub { font: 600 clamp(2.1rem, 8vw, 2.6rem)/1 var(--pm-ff-h); color: var(--pm-lima); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
#pm .pm-res-igv { font-weight: 700; color: #fff; font-size: 1rem; }
#pm .pm-res-tot { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
#pm .pm-res-tot > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: rgba(255,255,255,.82); }
#pm .pm-res-tot dt { font-weight: 400; }
#pm .pm-res-tot dd { font-weight: 600; color: #fff; }
#pm .pm-res-tot .pm-res-total { margin-top: 4px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.2); font-size: 18px; color: #fff; }
#pm .pm-res-tot .pm-res-total dt, #pm .pm-res-tot .pm-res-total dd { font-weight: 800; }
#pm .pm-res-inc { margin: 18px 0 18px; display: grid; gap: 7px; font-size: 14.5px; }
#pm .pm-res-inc li { display: flex; align-items: center; gap: 9px; }
#pm .pm-res-inc .si svg { color: var(--pm-lima); }
#pm .pm-res-inc .no { color: rgba(255,255,255,.62); }
#pm .pm-res-inc .no svg { color: #ff7a6b; }
#pm .pm-res-pie { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.6); text-align: center; }
/* «Agregar a mi pedido» (js/pedido.js) dentro de la tarjeta oscura */
#pm .pm-res-card .rs-ped-add { width: 100%; margin-top: 10px; }
#pm .pm-res-sub.pm-flash { animation: pmFlash .45s ease; }
@keyframes pmFlash { 0% { opacity: .35; transform: translateY(3px); } 100% { opacity: 1; transform: none; } }

/* ═══ 4 · COMPARADOR ═════════════════════════════════════════ */
#pm .pm-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { #pm .pm-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { #pm .pm-cards { grid-template-columns: repeat(4, 1fr); } }
#pm .pm-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pm-linea); border-radius: 16px; padding: 22px 20px 20px;
  transition: transform .2s ease, box-shadow .2s ease; }
#pm .pm-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.08); }
#pm .pm-card--reco { border: 2px solid var(--pm-negro); box-shadow: 0 0 0 4px rgba(189,255,6,.55); }
#pm .pm-card-tag { position: absolute; top: -12px; left: 20px; background: var(--pm-lima); color: var(--pm-negro); font: 800 11px/1 var(--pm-ff);
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 5px; }
#pm .pm-card-tit { font: 600 1.35rem/1.2 var(--pm-ff-h); color: var(--pm-negro); text-transform: uppercase; margin-top: 16px; }
#pm .pm-card-lema { margin-top: 4px; font-style: italic; color: var(--pm-texto); }
#pm .pm-card-ideal { margin-top: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pm-suave); }
#pm .pm-card-lst { margin-top: 6px; display: grid; gap: 4px; font-size: 14.5px; }
#pm .pm-card-lst li { position: relative; padding-left: 18px; }
#pm .pm-card-lst li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--pm-lima-2); }
#pm .pm-card-desde { margin: 18px 0 14px; padding-top: 14px; border-top: 1px solid var(--pm-linea); font-size: 14px; color: var(--pm-suave); margin-top: auto; }
#pm .pm-card-lst { margin-bottom: 18px; }
#pm .pm-card-desde b { display: block; font: 600 1.35rem/1.2 var(--pm-ff-h); color: var(--pm-negro); }
#pm .pm-card .pm-btn { width: 100%; }

/* Hoja ilustrada: tono + cuerpo (líneas de grosor) */
#pm .pm-hoja { position: relative; width: 74px; height: 92px; margin-top: 4px; }
#pm .pm-hoja i { position: absolute; inset: 0; border-radius: 4px; background: #fff; border: 1px solid #d9d9d2; }
#pm .pm-hoja i:nth-child(1) { z-index: 3; box-shadow: 0 6px 14px rgba(0,0,0,.07); }
#pm .pm-hoja i:nth-child(1)::before { content: ''; position: absolute; left: 9px; top: 10px; width: 22px; height: 6px; border-radius: 2px; background: var(--pm-negro); }
#pm .pm-hoja i:nth-child(1)::after { content: ''; position: absolute; left: 9px; right: 9px; top: 24px; height: 40px;
  background: repeating-linear-gradient(to bottom, #d8d8d2 0 2px, transparent 2px 8px); opacity: .9; }
#pm .pm-hoja i:nth-child(2) { z-index: 2; transform: translate(3px, 3px); display: none; }
#pm .pm-hoja i:nth-child(3) { z-index: 1; transform: translate(6px, 6px); display: none; }
#pm .pm-hoja--c2 i:nth-child(2), #pm .pm-hoja--c3 i:nth-child(2), #pm .pm-hoja--c3 i:nth-child(3) { display: block; }
#pm .pm-hoja--marfil i { background: var(--pm-marfil); border-color: #d8caa6; }

/* ═══ 5 · OFFSET ═════════════════════════════════════════════ */
#pm .pm-off { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { #pm .pm-off { grid-template-columns: 1fr 1fr; gap: 48px; } }
#pm .pm-ventajas { margin-top: 22px; display: grid; gap: 12px; }
@media (min-width: 560px) { #pm .pm-ventajas { grid-template-columns: 1fr 1fr; } }
#pm .pm-ventajas li { padding: 14px 16px 14px 18px; border-left: 4px solid var(--pm-lima); background: var(--pm-gris); border-radius: 0 10px 10px 0; }
#pm .pm-ventajas b { display: block; color: var(--pm-negro); }
#pm .pm-ventajas span { display: block; font-size: 14.5px; color: var(--pm-suave); line-height: 1.45; margin-top: 2px; }
#pm .pm-off-img img { width: 100%; border-radius: 18px; aspect-ratio: 840 / 530; object-fit: cover; }

/* ═══ MEDIDAS Y CARACTERÍSTICAS (A4) ═════════════════════════ */
#pm .pm-med-in { display: grid; gap: 34px; align-items: start; }
@media (min-width: 960px) { #pm .pm-med-in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 52px; align-items: center; } }
/* Foto de apoyo + ficha A4 dibujada con CSS (a escala 21 : 29.7) */
#pm .pm-med-fig { position: relative; margin: 0; }
#pm .pm-med-foto { border-radius: 18px; overflow: hidden; background: #f1efea; box-shadow: 0 18px 44px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.05); }
#pm .pm-med-foto img { width: 100%; height: auto; aspect-ratio: 1242 / 941; object-fit: cover; }
#pm .pm-a4d { position: relative; width: 214px; padding: 34px 40px 18px 46px; background: #fff; border: 1px solid #e5e5e5; border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12); margin: -60px 0 0 auto; z-index: 2; }
@media (min-width: 960px) { #pm .pm-a4d { position: absolute; right: -26px; bottom: -40px; margin: 0; } }
@media (max-width: 959px) { #pm .pm-a4d { margin: -56px 16px 0 auto; } }
@media (max-width: 559px) {
  /* Celular: la ficha A4 baja y solo roza la foto; la hoja de la foto queda a la vista */
  #pm .pm-a4d { width: 168px; padding: 30px 30px 14px 38px; margin: -22px auto 0; }
  #pm .pm-a4d-h { left: 38px; right: 30px; top: 8px; }
  #pm .pm-a4d-v { top: 30px; bottom: 14px; left: 10px; }
  #pm .pm-a4d-sello { width: 64px; height: 64px; right: -30px; }
  #pm .pm-a4d-sello b { font-size: 1.3rem; } #pm .pm-a4d-sello small { font-size: 8.5px; }
  #pm .pm-med-no { padding-left: 0; border-left: 0; }
}
#pm .pm-a4d-hoja { position: relative; display: block; width: 100%; aspect-ratio: 21 / 29.7; background: #fff; border: 1px solid #dcdcd6; border-radius: 3px;
  box-shadow: 3px 3px 0 #f0f0eb, 0 6px 14px rgba(0,0,0,.06); overflow: hidden; }
/* membrete: marca + líneas de texto (abstracto, sin texto real) */
#pm .pm-a4d-hoja em { position: absolute; left: 14%; right: 14%; top: 9%; height: 30%;
  background:
    radial-gradient(circle at 50% 18%, #2e9e3f 0 9%, transparent 9.5%),
    linear-gradient(#1d64c8, #1d64c8) 50% 42% / 46% 7% no-repeat,
    repeating-linear-gradient(180deg, #e3e3dd 0 3px, transparent 3px 9px) 0 100% / 100% 42% no-repeat; }
#pm .pm-a4d-hoja u { position: absolute; left: 0; right: 0; bottom: 0; height: 17%; background: linear-gradient(180deg, #4caf32 0 32%, #1f6fd1 32%); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
#pm .pm-a4d-h, #pm .pm-a4d-v { position: absolute; display: flex; align-items: center; gap: 6px; color: var(--pm-negro); }
#pm .pm-a4d-h { left: 46px; right: 40px; top: 10px; }
#pm .pm-a4d-v { top: 34px; bottom: 18px; left: 12px; flex-direction: column; }
#pm .pm-a4d-h i, #pm .pm-a4d-v i { position: relative; flex: 1; background: var(--pm-negro); }
#pm .pm-a4d-h i { height: 1.5px; } #pm .pm-a4d-v i { width: 1.5px; }
#pm .pm-a4d-h i:first-child::before, #pm .pm-a4d-h i:last-child::after,
#pm .pm-a4d-v i:first-child::before, #pm .pm-a4d-v i:last-child::after { content: ''; position: absolute; width: 7px; height: 7px; border: solid var(--pm-negro); }
#pm .pm-a4d-h i:first-child::before { left: 0; top: -3.5px; border-width: 0 0 1.5px 1.5px; transform: rotate(45deg); }
#pm .pm-a4d-h i:last-child::after { right: 0; top: -3.5px; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
#pm .pm-a4d-v i:first-child::before { top: 0; left: -3px; border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); }
#pm .pm-a4d-v i:last-child::after { bottom: 0; left: -3px; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
#pm .pm-a4d-h b, #pm .pm-a4d-v b { flex: none; font: 600 .9rem/1 var(--pm-ff-h); letter-spacing: .02em; white-space: nowrap; }
#pm .pm-a4d-v b { writing-mode: vertical-rl; transform: rotate(180deg); }
#pm .pm-a4d-sello { position: absolute; right: -22px; top: 46%; display: grid; place-items: center; align-content: center; width: 78px; height: 78px; border-radius: 50%;
  background: var(--pm-lima); color: var(--pm-negro); box-shadow: 0 0 0 5px #fff, 0 10px 22px rgba(0,0,0,.14); text-align: center; }
#pm .pm-a4d-sello b { font: 600 1.6rem/1 var(--pm-ff-h); }
#pm .pm-a4d-sello small { font-size: 9.5px; font-weight: 700; margin-top: 2px; }

#pm .pm-med-txt .pm-h2 { max-width: 600px; font-size: clamp(1.55rem, 3.2vw, 2rem); }
#pm .pm-mc { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 560px) { #pm .pm-mc { grid-template-columns: 1fr 1fr; } }
#pm .pm-mc-it { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; padding: 14px 14px 13px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 6px 16px rgba(0,0,0,.03); transition: border-color .18s ease, transform .18s ease; }
#pm .pm-mc-it:hover { border-color: #cfcfca; transform: translateY(-1px); }
#pm .pm-mc-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f1fbd9; color: var(--pm-negro); }
#pm .pm-ico-l { stroke: #7fae00; }
#pm .pm-mc-it h3 { font: 700 .78rem/1.2 var(--pm-ff); letter-spacing: .09em; text-transform: uppercase; color: var(--pm-negro); margin-bottom: 4px; }
#pm .pm-mc-it p { font-size: 14.5px; line-height: 1.45; color: var(--pm-suave); }
#pm .pm-mc-it b, #pm .pm-mc-lst b { color: var(--pm-negro); font-weight: 700 !important; }
#pm .pm-mc-it p:first-of-type b { font-size: 1.04rem; }
#pm .pm-mc-it p:first-of-type { color: var(--pm-texto); }
#pm .pm-mc-lst { display: grid; gap: 1px; font-size: 14.5px; line-height: 1.45; color: var(--pm-texto); }
#pm .pm-cmyk { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 11.5px !important; font-weight: 700; letter-spacing: .08em; color: var(--pm-suave) !important; }
#pm .pm-cmyk i { width: 12px; height: 12px; border-radius: 50%; background: #00a8e8; }
#pm .pm-cmyk i:nth-child(2) { background: #e6007e; } #pm .pm-cmyk i:nth-child(3) { background: #ffd500; } #pm .pm-cmyk i:nth-child(4) { background: #111; margin-right: 4px; }
@media (min-width: 560px) {
  #pm .pm-mc-it--ancho { grid-column: 1 / -1; }
  #pm .pm-mc-it--ancho .pm-mc-lst { grid-template-columns: 1fr 1fr; column-gap: 18px; }
}
#pm .pm-mc-lst li { position: relative; padding-left: 13px; }
#pm .pm-mc-lst li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #a6e000; }
#pm .pm-med-fin { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(90deg, #f6fde6, #fbfdf5); border: 1px solid #e3f2bf; }
#pm .pm-med-pro { flex: 1 1 280px; display: flex; gap: 12px; align-items: center; }
#pm .pm-med-pro h3 { font: 700 1rem/1.2 var(--pm-ff); color: var(--pm-negro); }
#pm .pm-med-pro p { font-size: 14px; color: var(--pm-suave); line-height: 1.4; }
#pm .pm-med-pro .pm-mc-ico { background: #fff; }
#pm .pm-med-no { margin-top: 0; padding-left: 16px; border-left: 1px solid #d9e9b4; font-size: 14px; font-weight: 600; color: var(--pm-negro); display: inline-flex; align-items: center; gap: 8px; }
#pm .pm-med-no::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #d4483b; }

/* ═══ 7 · ARCHIVO · 8 · ENTREGA ══════════════════════════════ */
#pm .pm-duo { display: grid; gap: 18px; }
@media (min-width: 860px) { #pm .pm-duo { grid-template-columns: 1fr 1fr; gap: 24px; } }
#pm .pm-box { background: #fff; border: 1px solid var(--pm-linea); border-radius: 18px; padding: 24px 20px; scroll-margin-top: 72px; }
#pm .pm-box > p { margin-top: 6px; }
#pm .pm-check { margin: 12px 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
#pm .pm-check li { position: relative; padding-left: 28px; font-weight: 600; color: var(--pm-negro); }
#pm .pm-check li::before { content: ''; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%; background: var(--pm-lima); }
#pm .pm-check li::after { content: ''; position: absolute; left: 6px; top: calc(.2em + 5px); width: 7px; height: 4px; border-left: 2px solid #111; border-bottom: 2px solid #111; transform: rotate(-45deg); }
#pm .pm-aviso { padding: 12px 14px; background: #f4ffd6; border-radius: 10px; color: var(--pm-negro); font-weight: 600; }
#pm .pm-letra { font-size: 13.5px; color: var(--pm-suave); margin: 8px 0 16px; }
#pm .pm-ent { display: grid; gap: 12px; margin-top: 14px; }
#pm .pm-ent-it { padding: 14px 16px; border-radius: 12px; background: var(--pm-gris); }
#pm .pm-ent-it b { display: block; font: 600 1.05rem/1.2 var(--pm-ff-h); text-transform: uppercase; letter-spacing: .03em; color: var(--pm-negro); margin-bottom: 4px; }
#pm .pm-ent-it p { font-size: 15px; }

/* ═══ 9 · FAQ ════════════════════════════════════════════════ */
#pm .pm-faq { display: grid; gap: 10px; }
#pm .pm-faq details { background: #fff; border: 1px solid var(--pm-linea); border-radius: 12px; }
#pm .pm-faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative; font-weight: 700; color: var(--pm-negro); line-height: 1.4; }
#pm .pm-faq summary::-webkit-details-marker { display: none; }
#pm .pm-faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pm-gris); font: 400 20px/1 var(--pm-ff); color: var(--pm-negro); }
#pm .pm-faq details[open] summary::after { content: '−'; background: var(--pm-lima); }
#pm .pm-faq summary:focus-visible { outline-offset: -3px; border-radius: 12px; }
#pm .pm-faq details p { padding: 0 18px 16px; color: var(--pm-texto); }

/* ═══ 10 · CTA FINAL ═════════════════════════════════════════ */
#pm .pm-final { background: var(--pm-negro); color: #fff; padding: 56px 0; text-align: center; }
#pm .pm-final .pm-h2 { color: #fff; max-width: 760px; margin: 0 auto; }
#pm .pm-final p { margin: 12px auto 0; max-width: 560px; color: rgba(255,255,255,.78); }
#pm .pm-final-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
@media (max-width: 559px) { #pm .pm-final-btns .pm-btn { width: 100%; } }

/* Un solo botón flotante: el del asistente (js/asistente-chat-core.js).
   El globo global de includes/whatsapp.php no se muestra en esta página,
   así no aparecen dos estilos distintos según cuánto se haya bajado. */
body.pm-body .btn-whatsapp { display: none !important; }
/* Máximo 2 accesos a WhatsApp a la vez: fuera el de la barra lateral derecha
   (Facebook, Instagram, TikTok, Productos y Mi pedido siguen igual). */
body.pm-body .rs-rail-wa { display: none !important; }
/* WhatsApp del header: solo en escritorio */
@media (max-width: 900px) {
  body.pm-body #contenedor header span:has(> img[alt^="WhatsApp"]) { display: none !important; }
}

/* ═══ 11 · BARRA FIJA EN MÓVIL ═══════════════════════════════ */
.pm-bar { display: none; }
@media (max-width: 767px) {
  .pm-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9994;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid #e3e3e3; box-shadow: 0 -6px 22px rgba(0,0,0,.12);
    transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .pm-bar.on { transform: none; visibility: visible; }
  .pm-bar .pm-bar-b { min-height: 48px; padding: 10px 12px; font-size: 15px; width: 100%; }
  .pm-bar .pm-bar-b--calc { background: #111; color: #bdff06; }
  .pm-bar .pm-bar-b--wa { background: #25d366; color: #fff; }
  .pm-bar .pm-bar-b:focus-visible { outline: 3px solid #a6e000; outline-offset: 2px; }
  /* El contenido final no queda tapado por la barra */
  body.pm-body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  /* La barra ya trae WhatsApp: el globo flotante global sobra aquí */
  body.pm-body .btn-whatsapp { display: none !important; }
/* Máximo 2 accesos a WhatsApp a la vez: fuera el de la barra lateral derecha
   (Facebook, Instagram, TikTok, Productos y Mi pedido siguen igual). */
body.pm-body .rs-rail-wa { display: none !important; }
/* WhatsApp del header: solo en escritorio */
@media (max-width: 900px) {
  body.pm-body #contenedor header span:has(> img[alt^="WhatsApp"]) { display: none !important; }
}
  /* Elementos flotantes globales: por encima de la barra */
  body.pm-body .rs-chat-nudge { bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }
  body.pm-body .rs-ped-toast { bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }
  html.rs-cq-abierto .pm-bar, html.rs-prod-abierto .pm-bar { visibility: hidden; }
}

@media (min-width: 768px) {
  #pm .pm-sec { padding: 72px 0; }
  #pm .pm-wrap { padding: 0 24px; }
  #pm .pm-paso { padding: 22px 22px 22px; }
  #pm .pm-res-card { padding: 26px 26px 22px; }
  #pm .pm-box { padding: 30px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  #pm *, .pm-bar { transition: none !important; animation: none !important; }
}
#pm .pm-mc-it--no .pm-mc-ico { background: #fdecea; }
#pm .pm-mc-it--no .pm-ico-l { stroke: #d4483b; }

/* Cotización formal por correo (franja compacta, reemplaza el formulario) */
#pm .pm-correo { background: #fff; border-top: 1px solid var(--pm-linea); padding: 22px 0; }
#pm .pm-correo-in { display: flex; align-items: center; gap: 14px; justify-content: center; }
#pm .pm-correo-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f1fbd9; color: var(--pm-negro); }
#pm .pm-correo p { font-size: 15px; color: var(--pm-texto); line-height: 1.5; }
#pm .pm-correo p b { color: var(--pm-negro); margin-right: 4px; }
#pm .pm-correo .pm-link { font-size: inherit; }
@media (max-width: 559px) { #pm .pm-correo-in { align-items: flex-start; } #pm .pm-correo p span { display: block; } }

/* Ventana «¡Tu cotización está lista!» en pantallas bajas (laptops ~650 px):
   todo más compacto para que el TOTAL nunca quede tapado por los botones fijos */
@media (max-height: 820px) {
  body.pm-body .rs-cq-caja { padding-top: 16px; }
  body.pm-body .rs-cq-caja .rs-cq-prod { padding: 8px 10px; margin-top: 10px; }
  body.pm-body .rs-cq-caja .rs-cq-prod img { width: 44px; height: 44px; }
  body.pm-body .rs-cq-caja .rs-cq-fila { padding-top: 7px; padding-bottom: 7px; }
  body.pm-body .rs-cq-acc .rs-cq-btn--wa { min-height: 46px; }
  body.pm-body .rs-cq-acc .rs-cq-comp button { min-height: 38px; }
  body.pm-body .rs-cq-acc .rs-cq-btns > * + * { margin-top: 6px; }
}
