/* ==========================================================================
   PRIDO — Ficha de producto v2 (lienzo «Nueva PDP Prido», octubre 2026) · r16
   Solo en productos con la v2 activa (body.prido-pdp-v2).
   Reglas de producción: sin calc() con sumas/restas ni color-mix() (el
   minificador de LiteSpeed los rompe); cambios = nuevo .rN.
   !important solo para ganarle a estilos en línea que ponen WooCommerce o los
   plugins por JS (reset_variations, single_variation, tooltip del cotizador,
   variable del chat), a reglas con !important de otros módulos (header, barra
   fija v1, lanzador del chat) y en utilidades (.pdp2-sr, [hidden], honeypot,
   movimiento reducido). La descripción llega sin estilos en línea (los quita
   prido_pdp2_description), así que sus reglas no lo usan.
   ========================================================================== */

/* -------------------------------------------------------------- tokens */
body.prido-pdp-v2 {
	--p2-ink: #0f1a26;
	--p2-ink-soft: #1a2a3a;
	--p2-muted: #5e6f80;
	--p2-faint: #5b6b7d;
	--p2-deco: #8a9aae;
	--p2-line: #e4e9ef;
	--p2-line-soft: #eef1f5;
	--p2-line-strong: #cfd6df;
	--p2-page: #ffffff;
	--p2-canvas: #f8fafc;
	--p2-surface: #ffffff;
	--p2-surface-2: #f6f8fb;
	--p2-surface-3: #eef2f6;
	--p2-teal: #2dc6c1;
	--p2-teal-600: #20a9a4;
	--p2-cta: #0e7e7a;
	--p2-cta-hover: #0b6a67;
	--p2-on-cta: #ffffff;
	--p2-info-bg: #e8f9f8;
	--p2-info-fg: #147068;
	--p2-info-line: #a9e3e1;
	--p2-success: #157a4d;
	--p2-success-bg: #e8f5ee;
	--p2-danger: #c0392f;
	--p2-danger-bg: #fbeceb;
	--p2-danger-line: #e4928b;
	--p2-warn: #8a4b00;
	--p2-warn-bg: #fdf1de;
	--p2-quote: #b0561a;
	--p2-quote-bg: #fbf1ea;
	--p2-quote-line: #f0d9c6;
	--p2-quote-hover: #f6e3d6;
	--p2-ring: #0e7e7a;
	--p2-star: #d99a06;
	--p2-overlay: rgba(10, 19, 27, .55);
	--p2-bar: rgba(255, 255, 255, .97);
	--p2-shadow-sm: 0 1px 2px rgba(15, 26, 38, .05);
	--p2-shadow-md: 0 10px 30px -12px rgba(15, 26, 38, .16), 0 2px 6px rgba(15, 26, 38, .05);
	--p2-shadow-up: 0 -10px 30px -14px rgba(15, 26, 38, .22);
	--p2-ri: 12px;
	--p2-rc: 14px;
	--p2-fh: 'Outfit', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
	--p2-fb: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
	--p2-fm: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
[data-theme="dark"] body.prido-pdp-v2 {
	--p2-ink: #ecf2f7;
	--p2-ink-soft: #d8e2ec;
	--p2-muted: #8d9eb2;
	--p2-faint: #93a4b8;
	--p2-deco: #6b7c91;
	--p2-line: rgba(255, 255, 255, .10);
	--p2-line-soft: rgba(255, 255, 255, .06);
	--p2-line-strong: rgba(255, 255, 255, .22);
	--p2-page: #101822;
	--p2-canvas: #0a131b;
	--p2-surface: #18222e;
	--p2-surface-2: #1d2835;
	--p2-surface-3: #243042;
	--p2-info-bg: rgba(45, 198, 193, .14);
	--p2-info-fg: #3fd6d0;
	--p2-info-line: rgba(63, 214, 208, .35);
	--p2-success: #46c98b;
	--p2-success-bg: rgba(70, 201, 139, .14);
	--p2-danger: #ff6b66;
	--p2-danger-bg: rgba(255, 107, 102, .13);
	--p2-danger-line: rgba(255, 107, 102, .45);
	--p2-warn: #f0b65a;
	--p2-warn-bg: rgba(240, 182, 90, .13);
	--p2-quote: #e08a4f;
	--p2-quote-bg: rgba(224, 138, 79, .14);
	--p2-quote-line: rgba(224, 138, 79, .35);
	--p2-quote-hover: rgba(224, 138, 79, .22);
	--p2-ring: #3fd6d0;
	--p2-star: #f2b63c;
	--p2-overlay: rgba(4, 8, 12, .74);
	--p2-bar: rgba(16, 24, 34, .97);
	--p2-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
	--p2-shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .6), 0 2px 8px rgba(0, 0, 0, .4);
	--p2-shadow-up: 0 -12px 30px -14px rgba(0, 0, 0, .7);
}

/* --------------------------------------------------------------- base */
.pdp2,
.pdp2-bar,
.pdp2-mbar,
.pdp2-dialog {
	font-family: var(--p2-fb);
	font-size: 15px;
	line-height: 1.5;
	color: var(--p2-ink);
	-webkit-font-smoothing: antialiased;
}
.pdp2 { background: var(--p2-canvas); padding-bottom: 64px; }
.pdp2 *, .pdp2 *::before, .pdp2 *::after,
.pdp2-bar *, .pdp2-mbar *, .pdp2-dialog * { box-sizing: border-box; }
.pdp2 :where(h1, h2, h3, h4, p, ul, ol, figure, fieldset, blockquote, dl, dd),
.pdp2-bar :where(p), .pdp2-mbar :where(p), .pdp2-dialog :where(h2, ul, p) { margin: 0; padding: 0; }
.pdp2 :where(ul, ol), .pdp2-dialog :where(ul) { list-style: none; }
/* prido-design-tokens fija :where(p, li, dd, dt, blockquote){font-size:16px}: aquí heredan del bloque. */
.pdp2 :where(p, li, dd, dt, blockquote, label, figcaption, small), .pdp2-bar :where(p, small), .pdp2-mbar :where(p), .pdp2-dialog :where(p, li) { font-size: inherit; line-height: inherit; }
.pdp2 fieldset { border: 0; min-width: 0; }
.pdp2 legend { padding: 0; }
.pdp2 :where(button, input, textarea, select),
.pdp2-bar :where(button, input), .pdp2-mbar :where(button), .pdp2-dialog :where(button) { font: inherit; color: inherit; letter-spacing: inherit; }
.pdp2 :where(button), .pdp2-bar :where(button), .pdp2-mbar :where(button), .pdp2-dialog :where(button) { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
.pdp2 :where(a) { color: inherit; text-decoration: none; }
.pdp2 :where(img), .pdp2-bar :where(img), .pdp2-mbar :where(img), .pdp2-dialog :where(img) { display: block; max-width: 100%; height: auto; }
.pdp2 :focus-visible, .pdp2-bar :focus-visible, .pdp2-mbar :focus-visible, .pdp2-dialog :focus-visible { outline: 2px solid var(--p2-ring); outline-offset: 2px; }
.pdp2-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pdp2-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdp2 [hidden], .pdp2-bar [hidden], .pdp2-mbar [hidden], .pdp2-dialog[hidden], .pdp2-dialog [hidden] { display: none !important; }

.pdp2-wrap { max-width: 1320px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.pdp2-h1 { font-family: var(--p2-fh); font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.12; color: var(--p2-ink); text-wrap: balance; }
.pdp2-h2 { font-family: var(--p2-fh); font-size: 24px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: var(--p2-ink); }
.pdp2-h3 { font-family: var(--p2-fh); font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--p2-ink); }
.pdp2-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p2-info-fg); }
.pdp2-help { font-size: 12.5px; line-height: 1.45; color: var(--p2-muted); }
.pdp2-lnk { color: var(--p2-info-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pdp2-lnk:hover { color: var(--p2-ink); }
.pdp2-lnk-q { color: var(--p2-muted); text-decoration: underline; text-decoration-color: var(--p2-line-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pdp2-lnk-q:hover { color: var(--p2-ink); text-decoration-color: currentColor; }

/* -------------------------------------------------------------- botones */
.pdp2-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 44px; padding: 0 18px; border-radius: var(--p2-ri); border: 1px solid transparent;
	font-family: var(--p2-fb); font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; text-align: center; text-decoration: none;
	transition: background-color .16s, border-color .16s, box-shadow .16s, color .16s; white-space: nowrap;
}
.pdp2-btn-lg { height: 52px; min-height: 52px; font-size: 16px; }
.pdp2-btn-sm { min-height: 40px; height: 40px; padding: 0 12px; font-size: 13.5px; width: 100%; }
.pdp2-btn-primary, .pdp2 .single_add_to_cart_button.pdp2-btn-primary { background: var(--p2-cta); color: var(--p2-on-cta); box-shadow: var(--p2-shadow-sm); }
.pdp2-btn-primary:hover, .pdp2 .single_add_to_cart_button.pdp2-btn-primary:hover { background: var(--p2-cta-hover); color: var(--p2-on-cta); box-shadow: var(--p2-shadow-md); }
.pdp2-btn-ghost { background: var(--p2-surface); border-color: var(--p2-line-strong); color: var(--p2-ink); }
.pdp2-btn-ghost:hover { border-color: var(--p2-teal-600); background: var(--p2-surface-2); color: var(--p2-ink); }
.pdp2-btn-ghost.is-disabled, .pdp2-btn-ghost[aria-disabled="true"] { color: var(--p2-muted); background: var(--p2-surface-2); border-color: var(--p2-line); cursor: not-allowed; }
.pdp2-btn-text { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; border-radius: 8px; color: var(--p2-muted); font-size: 13px; font-weight: 500; }
.pdp2-btn-text:hover { color: var(--p2-ink); background: var(--p2-surface-2); }
.pdp2-icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none; border-radius: 999px; background: var(--p2-surface); border: 1px solid var(--p2-line); color: var(--p2-ink); box-shadow: var(--p2-shadow-sm); text-decoration: none; }
.pdp2-icon-btn:hover { border-color: var(--p2-line-strong); background: var(--p2-surface-2); color: var(--p2-ink); }
.pdp2-icon-btn.pdp2-on-photo { background: #ffffff; color: #0f1a26; border-color: #e4e9ef; }
.pdp2-icon-btn.pdp2-flat { box-shadow: none; }

/* ------------------------------------------------------------- migas */
.pdp2-crumbs { padding: 18px 0 22px; }
.pdp2-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--p2-muted); }
.pdp2-crumbs a:hover { color: var(--p2-ink); text-decoration: underline; text-underline-offset: 3px; }
.pdp2-crumbs [aria-current="page"] { color: var(--p2-ink); }

/* -------------------------------------------------------------- grilla */
.pdp2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 48px; align-items: start; }
.pdp2-media { position: sticky; top: 24px; min-width: 0; }
body.admin-bar .pdp2-media { top: 56px; }

/* -------------------------------------------------------------- galería */
.pdp2-gal { display: flex; flex-direction: column; gap: 12px; }
.pdp2-viewer { position: relative; aspect-ratio: 1 / 1; background: #ffffff; border: 1px solid var(--p2-line); border-radius: var(--p2-rc); overflow: hidden; touch-action: pan-y; }
.pdp2-viewer .pdp2-main { width: 100%; height: 100%; object-fit: contain; }
.pdp2-gbadge { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: #0f1a26; color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pdp2-offer { position: absolute; top: 16px; left: 16px; display: none; align-items: center; padding: 7px 12px; border-radius: 999px; background: #e8f9f8; color: #147068; font-size: 12.5px; font-weight: 700; }
.pdp2-offer.is-visible { display: inline-flex; }
.pdp2-gprev, .pdp2-gnext { position: absolute; top: 50%; transform: translateY(-50%); }
.pdp2-gprev { left: 16px; }
.pdp2-gnext { right: 16px; }
.pdp2-tools { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
/* Guía de color: botón con texto sobre la foto y diálogo con los muestrarios. */
.pdp2 .pdp2-tools .pdp2-guide-btn { width: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px 0 12px; font-size: 13px; font-weight: 600; }
.pdp2-guide-card { max-width: 760px; }
/* Pantallas muy angostas: solo el ícono, para no pisar el contador de imágenes. */
@media (max-width: 360px) {
	.pdp2 .pdp2-tools .pdp2-guide-btn { width: 44px; padding: 0; justify-content: center; }
	.pdp2 .pdp2-tools .pdp2-guide-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
.pdp2-guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 18px 20px 22px; }
.pdp2-guide-fig { margin: 0; }
.pdp2-guide-fig img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; border: 1px solid var(--p2-line); border-radius: 12px; background: #ffffff; }
.pdp2-guide-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--p2-muted); text-align: center; }
.pdp2-tools .prido-gallery-compare-button.is-added, .pdp2-tools .prido-gallery-compare-button[aria-pressed="true"] { background: #e8f9f8; color: #147068; border-color: #a9e3e1; }
.pdp2-count { position: absolute; right: 16px; bottom: 23px; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid #e4e9ef; color: #0f1a26; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdp2-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp2-thumb { display: block; width: 80px; height: 80px; flex: none; padding: 4px; border-radius: 10px; border: 1px solid var(--p2-line); background: #ffffff; overflow: hidden; }
.pdp2-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp2-thumb:hover { border-color: var(--p2-line-strong); }
.pdp2-thumb[aria-current="true"] { border-color: var(--p2-cta); box-shadow: inset 0 0 0 1px var(--p2-cta), 0 0 0 3px var(--p2-info-bg); }

/* ---------------------------------------------------- columna de compra */
.pdp2-buy { display: flex; flex-direction: column; min-width: 0; }
.pdp2-notices:empty { display: none; }
.pdp2-notices .woocommerce-message, .pdp2-notices .woocommerce-error, .pdp2-notices .woocommerce-info { margin: 0 0 14px; }
/* Favoritos va pegado al final del nombre (fluye con la última línea del título). */
.pdp2-titlerow { display: block; }
.pdp2-titlerow .pdp2-h1 { display: block; }
/* Última palabra + corazón sin cortes: si no caben en la línea, bajan juntos. */
.pdp2-h1-end { white-space: nowrap; }
.pdp2 .pdp2-fav.prido-fav-btn { position: static; width: 44px; height: 44px; display: grid; place-items: center; flex: none; margin: 0; border-radius: 999px; background: var(--p2-info-bg); border: 1px solid var(--p2-info-line); color: var(--p2-info-fg); box-shadow: none; }
.pdp2 .pdp2-fav.prido-fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.pdp2 .pdp2-titlerow .pdp2-fav.prido-fav-btn { display: inline-grid; vertical-align: middle; width: 40px; height: 40px; margin: -6px 0 0 10px; }
.pdp2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--p2-muted); }
.pdp2 .pdp2-meta .prido-pi-reviews-link { display: inline; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 13px; }
.pdp2-star-sm { display: inline-flex; vertical-align: -2px; margin-right: 3px; color: var(--p2-star); }
.pdp2-star-sm .pdp2-i { fill: currentColor; width: 14px; height: 14px; }
.pdp2-sku { display: inline-flex; gap: 6px; align-items: baseline; }
.pdp2-sku .sku { font-family: var(--p2-fm); font-size: 12.5px; color: var(--p2-ink); }

.pdp2-price { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.pdp2-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp2-desde { font-size: 15px; font-weight: 600; color: var(--p2-muted); }
.pdp2-amount { font-family: var(--p2-fh); font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--p2-ink); font-variant-numeric: tabular-nums; }
.pdp2-reg del { font-size: 16px; color: var(--p2-muted); }
.pdp2-ahorro { align-items: center; padding: 4px 9px; border-radius: 999px; background: var(--p2-info-bg); color: var(--p2-info-fg); font-size: 12px; font-weight: 700; }
/* Insignia de ahorro destacada; el % exacto y el monto, en un tooltip al pasar o enfocar. */
.pdp2 .pdp2-ahorro { position: relative; padding: 5px 11px; background: var(--p2-cta); color: var(--p2-on-cta); font-size: 13px; font-weight: 800; letter-spacing: .01em; line-height: 1.2; cursor: help; box-shadow: var(--p2-shadow-sm); }
.pdp2 .pdp2-ahorro:focus-visible { outline: 2px solid var(--p2-teal-600); outline-offset: 2px; }
.pdp2 .pdp2-ahorro .pdp2-tip { position: absolute; left: 50%; bottom: 100%; z-index: 6; width: max-content; max-width: 240px; margin-bottom: 9px; padding: 7px 11px; border-radius: 8px; background: var(--p2-ink); color: var(--p2-surface); font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 1.35; text-align: center; white-space: normal; box-shadow: var(--p2-shadow-md); transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.pdp2 .pdp2-ahorro .pdp2-tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--p2-ink); }
.pdp2 .pdp2-ahorro .pdp2-tip:empty { display: none; }
.pdp2 .pdp2-ahorro:hover .pdp2-tip, .pdp2 .pdp2-ahorro:focus .pdp2-tip { opacity: 1; }
.pdp2-price-note { font-size: 12.5px; color: var(--p2-muted); }

.pdp2-stock { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pdp2-st { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.pdp2-st::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; flex: none; }
.pdp2-st-ok { background: var(--p2-success-bg); color: var(--p2-success); }
.pdp2-st-out { background: var(--p2-danger-bg); color: var(--p2-danger); }
.pdp2-st-wait { background: var(--p2-surface-3); color: var(--p2-muted); }
.pdp2-st-back { background: var(--p2-warn-bg); color: var(--p2-warn); }
.pdp2-st-text { font-size: 13px; line-height: 1.45; color: var(--p2-ink-soft); }

/* Medios de pago: junto al precio, con los logos originales. El JS de v1 fija display:flex. */
.pdp2-pay { margin-top: 18px; flex-direction: column; background: var(--p2-surface); border: 1px solid var(--p2-line); border-radius: var(--p2-rc); }
.pdp2-pay-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; }
.pdp2-pay-row + .pdp2-pay-row { border-top: 1px solid var(--p2-line); }
.pdp2-pay-mark { width: 40px; height: 30px; display: grid; place-items: center; }
.pdp2-pay-mark img, .pdp2-pay-mark svg { width: 38px; height: auto; max-height: 28px; }
.pdp2-pay-t { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--p2-ink); }
.pdp2-pay-t strong { font-weight: 700; }
.pdp2-pay-s { margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--p2-faint); }
.pdp2-pay-a { text-align: right; font-family: var(--p2-fh); font-size: 16px; font-weight: 700; line-height: 1.15; color: var(--p2-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pdp2-pay-a small { display: block; margin-top: 2px; font-family: var(--p2-fb); font-size: 12px; font-weight: 500; color: var(--p2-faint); }
.pdp2-pay-a .pdp2-d { font-family: var(--p2-fb); font-size: 12px; font-weight: 500; color: var(--p2-faint); margin-right: 4px; }

/* ------------------------------------------------------------ opciones */
.pdp2-purchase { margin-top: 24px; }
.pdp2-purchase > .stock { margin: 0 0 12px; }
.pdp2-form { margin: 0; }
.pdp2-opts { position: relative; display: grid; gap: 22px; }
.pdp2-opts .pdp2-clear { position: absolute; top: -10px; right: -8px; z-index: 1; }
.pdp2-fs { position: relative; }
.pdp2-fs-head { float: left; width: 100%; display: flex; align-items: baseline; gap: 4px; min-height: 24px; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--p2-ink); padding-right: 150px; }
.pdp2-fs-v { font-weight: 400; color: var(--p2-muted); }
.pdp2-chips { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pdp2-chip { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--p2-line-strong); border-radius: var(--p2-ri); background: var(--p2-surface); font-size: 14px; font-weight: 500; color: var(--p2-ink); cursor: pointer; transition: border-color .16s, background-color .16s, box-shadow .16s; user-select: none; }
.pdp2-chip:hover { border-color: var(--p2-teal-600); background: var(--p2-surface-2); }
.pdp2-chip.is-on { border-color: var(--p2-cta); font-weight: 600; box-shadow: inset 0 0 0 1px var(--p2-cta), 0 0 0 3px var(--p2-info-bg); }
.pdp2-chip.is-focus { outline: 2px solid var(--p2-ring); outline-offset: 2px; }
.pdp2-chip.is-out .pdp2-chip-l { color: var(--p2-muted); }
.pdp2-chip.is-off { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.pdp2-chip.is-off:hover { border-color: var(--p2-line-strong); background: var(--p2-surface); }
/* Valor que vuelve a mostrarse al cambiar la opción de un grupo anterior (prido-pdp-v2 r11). */
.pdp2-chip.is-in { animation: pdp2-chip-in .18s ease-out; }
@keyframes pdp2-chip-in { from { opacity: 0; transform: translateY(4px); } }
.pdp2-chip-n { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--p2-muted); }
.pdp2-chip-ck { margin-left: auto; color: var(--p2-cta); display: none; }
.pdp2-chip.is-on:not(.is-out) .pdp2-chip-ck { display: inline-flex; }
.pdp2-chip .pdp2-chip-n:not([hidden]) + .pdp2-chip-ck { display: none; }
.pdp2-sw { position: relative; width: 18px; height: 18px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 2px var(--p2-surface); flex: none; }
[data-theme="dark"] .pdp2-sw { border-color: rgba(255, 255, 255, .4); }
.pdp2-chip.is-out .pdp2-sw::after { content: ""; position: absolute; left: 7.5px; top: -3px; width: 1.5px; height: 22px; background: var(--p2-danger); transform: rotate(45deg); }
.pdp2-fs-msg { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--p2-danger); }
.pdp2-fs.is-pending .pdp2-chip { border-color: var(--p2-danger-line); }
.pdp2-native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.pdp2-form .reset_variations { visibility: hidden !important; }
.pdp2-form .single_variation_wrap { margin-top: 24px; }
.pdp2-form .woocommerce-variation.single_variation { display: none !important; }

/* ------------------------------------------------------- cantidad + CTA */
.pdp2-buyrow { display: flex; gap: 10px; align-items: stretch; }
.pdp2-qty { display: inline-flex; align-items: stretch; height: 52px; border: 1px solid var(--p2-line-strong); border-radius: var(--p2-ri); background: var(--p2-surface); overflow: hidden; flex: none; }
.pdp2-qty .quantity { display: flex; margin: 0; }
.pdp2-qty .quantity label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.pdp2-qty-btn { width: 44px; display: grid; place-items: center; color: var(--p2-ink); }
.pdp2-qty-btn:hover { background: var(--p2-surface-2); }
.pdp2-qty-btn:disabled { color: var(--p2-deco); background: transparent; cursor: not-allowed; }
.pdp2-qty input.qty, .pdp2-qty .pdp2-qty-i { width: 52px; height: auto; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--p2-line); border-right: 1px solid var(--p2-line); border-radius: 0; background: transparent; text-align: center; font-weight: 600; font-size: 15px; color: var(--p2-ink); -moz-appearance: textfield; appearance: textfield; box-shadow: none; }
.pdp2-qty input::-webkit-outer-spin-button, .pdp2-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp2 .single_add_to_cart_button.pdp2-btn { flex: 1 1 auto; margin: 0; float: none; width: auto; text-transform: none; }
body.prido-pdp-v2 .pdp2 .pdp2-form button.single_add_to_cart_button.pdp2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; float: none; height: 52px; min-height: 52px; margin: 0; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; background: #0e7e7a; background: var(--p2-cta); color: var(--p2-on-cta); font-family: var(--p2-fb); font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; text-transform: none; box-shadow: var(--p2-shadow-sm); opacity: 1; vertical-align: middle; }
body.prido-pdp-v2 .pdp2 .pdp2-form button.single_add_to_cart_button.pdp2-btn:hover { background: var(--p2-cta-hover); color: var(--p2-on-cta); }
body.prido-pdp-v2 .pdp2 .pdp2-form button.single_add_to_cart_button.pdp2-btn.disabled,
body.prido-pdp-v2 .pdp2 .pdp2-form button.single_add_to_cart_button.pdp2-btn.wc-variation-selection-needed,
body.prido-pdp-v2 .pdp2 .pdp2-form button.single_add_to_cart_button.pdp2-btn.is-choose { background: var(--p2-cta); color: var(--p2-on-cta); opacity: 1; cursor: pointer; }
body.prido-pdp-v2 .pdp2 .pdp2-form button.single_add_to_cart_button.pdp2-btn.is-blocked { background: var(--p2-surface-3); color: var(--p2-muted); border-color: var(--p2-line-strong); box-shadow: none; opacity: 1; cursor: not-allowed; }
body.prido-pdp-v2 .pdp2 .pdp2-form button.single_add_to_cart_button.pdp2-btn.added:not(.is-loading) { background: var(--p2-success-bg); color: var(--p2-success); border-color: var(--p2-success); box-shadow: none; }
body.prido-pdp-v2 .pdp2 .pdp2-form button.single_add_to_cart_button.pdp2-btn .pdp2-i { width: 19px; height: 19px; }
/* WooCommerce: márgenes y flotados de form.cart dentro de div.product. */
.pdp2 .pdp2-purchase form.cart.pdp2-form { margin: 0; }
.pdp2 .pdp2-form .pdp2-qty div.quantity { float: none; margin: 0; display: flex; }
.pdp2 .pdp2-form .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; margin: 0; }
.pdp2 .single_add_to_cart_button.pdp2-btn.is-blocked { background: var(--p2-surface-3); color: var(--p2-muted); border-color: var(--p2-line-strong); box-shadow: none; cursor: not-allowed; }
.pdp2 .single_add_to_cart_button.pdp2-btn.is-choose { background: var(--p2-cta); color: var(--p2-on-cta); opacity: 1; cursor: pointer; }
.pdp2 .single_add_to_cart_button.disabled, .pdp2 .single_add_to_cart_button.wc-variation-selection-needed { opacity: 1; }
.pdp2-cta-busy, .pdp2-cta-done { display: none; }
.pdp2 .single_add_to_cart_button.is-loading .pdp2-cta-ic, .pdp2 .single_add_to_cart_button.added .pdp2-cta-ic { display: none; }
.pdp2 .single_add_to_cart_button.is-loading .pdp2-cta-busy { display: inline-block; animation: pdp2-spin .9s linear infinite; }
.pdp2 .single_add_to_cart_button.added:not(.is-loading) .pdp2-cta-done { display: inline-block; }
.pdp2 .single_add_to_cart_button.added:not(.is-loading) { background: var(--p2-success-bg); color: var(--p2-success); border-color: var(--p2-success); box-shadow: none; }
.pdp2 .single_add_to_cart_button.is-blocked .pdp2-cta-ic, .pdp2 .single_add_to_cart_button.is-choose .pdp2-cta-ic { display: none; }
.pdp2 .single_add_to_cart_button::after { display: none !important; }
.pdp2 .added_to_cart { display: none !important; }
.pdp2 [data-pdp2-qty-help] { margin-top: 8px; }
@keyframes pdp2-spin { to { transform: rotate(360deg); } }

/* Cotizar (HTML y JS del cotizador; solo cambia la piel). */
.pdp2-quote { margin-top: 10px; }
.pdp2 .pdp2-quote .prido-cotizar-wrap { display: block; position: relative; margin: 0; width: 100%; }
.pdp2-quote .prido-cotizar-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 0 18px; border-radius: var(--p2-ri); border: 1px solid var(--p2-quote-line); background: var(--p2-quote-bg); color: var(--p2-quote); font-family: var(--p2-fb); font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: .01em; text-decoration: none; opacity: 1; box-shadow: none; cursor: pointer; }
.pdp2-quote .prido-cotizar-btn:hover { background: var(--p2-quote-hover); color: var(--p2-quote); }
.pdp2-quote .prido-cotizar-btn svg { width: 18px; height: 18px; }
.pdp2-quote .prido-cotizar-btn--disabled { opacity: 1; filter: none; pointer-events: auto; }
.pdp2-quote .prido-cotizar-btn--nostock { cursor: not-allowed; opacity: .6; }
.pdp2-quote .prido-cotizar-tooltip { display: none !important; }

/* ---------------------------------------------------- despacho y demás */
.pdp2-ship { margin-top: 16px; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: var(--p2-ri); background: var(--p2-surface-2); border: 1px solid var(--p2-line-soft); }
.pdp2-ship > .pdp2-i { color: var(--p2-info-fg); margin-top: 1px; width: 20px; height: 20px; }
.pdp2-ship-t { font-size: 13px; font-weight: 600; color: var(--p2-ink); }
.pdp2-ship-l { margin-top: 4px; display: grid; gap: 2px; font-size: 13px; color: var(--p2-ink-soft); }
.pdp2-ship-n { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--p2-faint); }

.pdp2-lrow { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--p2-line); border-radius: var(--p2-ri); background: var(--p2-surface); font-size: 14px; font-weight: 400; color: var(--p2-ink-soft); line-height: 1.35; text-decoration: none; }
.pdp2-lrow:hover { border-color: var(--p2-line-strong); background: var(--p2-surface-2); color: var(--p2-ink-soft); }
.pdp2-lrow strong { font-weight: 600; color: var(--p2-ink); }
.pdp2-lrow .pdp2-chev { margin-left: auto; color: var(--p2-muted); width: 16px; height: 16px; }
.pdp2-wa { margin-top: 12px; }
.pdp2-wa-logo { flex: none; display: block; }

.pdp2-trust { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pdp2-trust li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--p2-line); border-radius: var(--p2-ri); background: var(--p2-surface); }
.pdp2-trust .pdp2-i { color: var(--p2-info-fg); margin-top: 1px; }
.pdp2-trust-t { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--p2-ink); }
.pdp2-trust-s { margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--p2-muted); }

/* Barra de información v1 (envuelta en .prido-bb para conservar su piel): sin caja propia. */
.pdp2 .pdp2-infobar.prido-bb { margin: 12px 0 0; padding: 0; border: 0; background: none; box-shadow: none; position: static; display: block; width: auto; max-width: none; gap: 0; }
.pdp2 .pdp2-infobar.prido-bb > .prido-product-info-bar { margin: 0; }

.pdp2-share { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pdp2-share-t { font-size: 13px; font-weight: 600; color: var(--p2-ink-soft); margin-right: 4px; }
.pdp2-share .pdp2-brand { display: block; }
.pdp2-share .prido-copy-link-btn { min-width: 0; }
.pdp2-share .prido-copy-link-btn.copied, .pdp2-share .prido-copy-link-btn.is-copied { border-color: var(--p2-teal-600); color: var(--p2-info-fg); }

/* Descripción corta y acordeones en recuadros (antes texto suelto). */
.pdp2-desc { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--p2-line); border-radius: 14px; background: var(--p2-surface); }
.pdp2-desc .pdp2-prose { margin-top: 10px; }
/* «Descripción» con la misma tipografía, tamaño, peso y color que «Detalles del producto». */
.pdp2-desc .pdp2-kicker { font-family: var(--p2-fh); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: normal; text-transform: none; color: var(--p2-ink); }
.pdp2-prose { font-size: 14px; line-height: 1.62; color: var(--p2-ink-soft); }
.pdp2-prose p { margin: 0; text-align: left; }
.pdp2-prose p + p { margin-top: 12px; }
.pdp2-prose strong { font-weight: 600; color: var(--p2-ink); }
.pdp2-prose a { color: var(--p2-info-fg); text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------- acordeones */
.pdp2-accs { margin-top: 14px; border: 1px solid var(--p2-line); border-radius: 14px; background: var(--p2-surface); overflow: hidden; }
.pdp2-accs .pdp2-acc { border-top: 1px solid var(--p2-line); border-bottom: 0; }
.pdp2-accs .pdp2-acc:first-child { border-top: 0; }
.pdp2-accs .pdp2-acc > summary { padding: 0 18px; }
.pdp2-accs .pdp2-acc-b { padding: 0 18px 18px; }
.pdp2-acc { border-top: 1px solid var(--p2-line); }
.pdp2-acc:last-child { border-bottom: 1px solid var(--p2-line); }
.pdp2-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; list-style: none; font-family: var(--p2-fh); font-size: 18px; font-weight: 600; color: var(--p2-ink); }
.pdp2-acc > summary::-webkit-details-marker { display: none; }
.pdp2-acc > summary .pdp2-i { width: 20px; height: 20px; transition: transform .18s; }
.pdp2-acc[open] > summary .pdp2-i { transform: rotate(180deg); }
.pdp2-acc-b { padding: 0 0 22px; }
.pdp2 .pdp2-long .product-description { font-size: inherit; line-height: inherit; }
.pdp2 .pdp2-long ul, .pdp2 .pdp2-long ol { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pdp2 .pdp2-long li { position: relative; margin: 0; padding-left: 15px; }
.pdp2-long li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 999px; background: var(--p2-teal-600); }
/* Secciones de la descripción (Beneficios, Componentes…): filas plegables, como en la ficha anterior. */
.pdp2-long .pdp2-desc-sec { margin-top: 14px; border: 1px solid var(--p2-line); border-radius: 10px; background: var(--p2-surface-2); }
.pdp2-long .pdp2-desc-sec + .pdp2-desc-sec { margin-top: 8px; }
.pdp2-long .pdp2-desc-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--p2-ink); }
.pdp2-long .pdp2-desc-sum::-webkit-details-marker { display: none; }
.pdp2-long .pdp2-desc-sum:focus-visible { outline: 2px solid var(--p2-teal-600); outline-offset: -2px; border-radius: 10px; }
.pdp2-long .pdp2-desc-chev { flex: none; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid var(--p2-muted); border-bottom: 2px solid var(--p2-muted); transform: rotate(45deg); transition: transform .18s ease; }
.pdp2-long .pdp2-desc-sec[open] > .pdp2-desc-sum .pdp2-desc-chev { margin-top: 3px; transform: rotate(-135deg); }
.pdp2-long .pdp2-desc-body { padding: 0 14px 14px; }
.pdp2-long .pdp2-desc-body > :first-child { margin-top: 0; }
/* Separación entre bloques (antes venía en márgenes en línea, que ya no llegan). */
.pdp2-long .pdp2-desc-sec + div, .pdp2-long .pdp2-desc-sec + p { margin-top: 18px; }
.pdp2-long div + p, .pdp2-long p + div { margin-top: 12px; }
.pdp2-long .pdp2-sub { margin: 0 0 6px; font-family: var(--p2-fb); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--p2-muted); }
.pdp2 .pdp2-long .product-note { margin-top: 14px; font-size: 12.5px; color: var(--p2-faint); }
.pdp2-long img { border-radius: 10px; }
.pdp2-spec table, .pdp2-spec-t { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.pdp2-spec th, .pdp2-spec td, .pdp2-spec-t th, .pdp2-spec-t td { padding: 11px 0; border: 0; border-bottom: 1px solid var(--p2-line); font-size: 14px; text-align: left; vertical-align: top; background: none; }
.pdp2-spec th, .pdp2-spec-t th { width: 42%; font-weight: 400; color: var(--p2-muted); padding-right: 16px; }
.pdp2-spec td, .pdp2-spec-t td { font-weight: 500; color: var(--p2-ink); font-style: normal; }
.pdp2-spec td p { margin: 0; padding: 0; }
.pdp2 .pdp2-spec table.shop_attributes { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.pdp2 .pdp2-spec table.shop_attributes tr th, .pdp2 .pdp2-spec table.shop_attributes tr td,
.pdp2 .pdp2-spec table.shop_attributes tr:nth-child(even) th, .pdp2 .pdp2-spec table.shop_attributes tr:nth-child(even) td { display: table-cell; padding: 11px 0; border: 0; border-bottom: 1px solid var(--p2-line); background: none; font-size: 14px; font-style: normal; line-height: 1.45; text-align: left; vertical-align: top; }
.pdp2 .pdp2-spec table.shop_attributes tr th { width: 42%; padding-right: 16px; font-weight: 400; color: var(--p2-muted); }
.pdp2 .pdp2-spec table.shop_attributes tr td { font-weight: 500; color: var(--p2-ink); }
.pdp2 .pdp2-spec table.shop_attributes tr td p { margin: 0; padding: 0; font-size: 14px; font-style: normal; }
/* woocommerce-smallscreen.css (≤768 px) pone las filas en display:block y cada una tomaba su propio ancho. */
.pdp2 .pdp2-spec table.shop_attributes tr { display: table-row; }
/* Sin línea en la última fila: el borde del acordeón ya cierra (antes quedaban dos). */
.pdp2 .pdp2-spec table.shop_attributes tr:last-child th, .pdp2 .pdp2-spec table.shop_attributes tr:last-child td,
.pdp2 .pdp2-spec-t tr:last-child th, .pdp2 .pdp2-spec-t tr:last-child td { border-bottom: 0; }
.pdp2-medidas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pdp2-medidas.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdp2-medidas figure { margin: 0; border: 1px solid var(--p2-line); border-radius: 12px; background: #ffffff; padding: 8px; }
.pdp2-medidas img { width: 100%; height: auto; }
/* Dibujos de Medidas: al hacer clic se abren en la galería grande. */
.pdp2-med-btn { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; background: none; cursor: zoom-in; }
.pdp2-med-btn:focus-visible { outline: 2px solid var(--p2-teal-600); outline-offset: 2px; }
.pdp2-medidas figure:hover { border-color: var(--p2-line-strong); }
@keyframes pdp2-flash { 0% { box-shadow: 0 0 0 0 rgba(32, 169, 164, .55); } 100% { box-shadow: 0 0 0 14px rgba(32, 169, 164, 0); } }
.pdp2-gal.is-flash .pdp2-viewer { animation: pdp2-flash .7s ease-out; }
.pdp2-spec-t { margin-top: 12px; }

/* ----------------------------------------------------------- preguntas */
.pdp2-qa { margin-top: 64px; padding: 56px 0; background: var(--p2-page); border-top: 1px solid var(--p2-line); border-bottom: 1px solid var(--p2-line); }
.pdp2-qa-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
.pdp2-qa-note { margin-top: 10px; font-size: 14px; color: var(--p2-muted); }
.pdp2-qa-ask { margin-top: 20px; }
.pdp2-qa-ask .pdp2-i { width: 18px; height: 18px; }
.pdp2-qa-item { border-top: 1px solid var(--p2-line); }
.pdp2-qa-item:last-child { border-bottom: 1px solid var(--p2-line); }
.pdp2-qa-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 8px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--p2-ink); }
.pdp2-qa-item > summary::-webkit-details-marker { display: none; }
.pdp2-qa-item > summary .pdp2-i { width: 20px; height: 20px; transition: transform .18s; }
.pdp2-qa-item[open] > summary .pdp2-i { transform: rotate(180deg); }
.pdp2-qa-a { padding: 0 48px 18px 0; font-size: 14px; line-height: 1.62; color: var(--p2-ink-soft); }
.pdp2-qa-a a { color: var(--p2-info-fg); text-decoration: underline; text-underline-offset: 3px; }
.pdp2-qa-a strong { color: var(--p2-ink); font-weight: 600; }

/* ---------------------------------------- opiniones frente a recomendados */
.pdp2-duo { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.pdp2-col-a { padding-right: 48px; min-width: 0; }
.pdp2-col-b { padding-left: 48px; border-left: 1px solid var(--p2-line); min-width: 0; }
.pdp2-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 44px; }

.pdp2-rev-sum { margin-top: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px; border-radius: var(--p2-rc); background: var(--p2-surface-2); }
.pdp2-avg { font-family: var(--p2-fh); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--p2-ink); }
.pdp2-stars-s { display: flex; gap: 2px; margin-top: 6px; color: var(--p2-line-strong); }
.pdp2-stars-s .pdp2-i { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.pdp2-stars-s .pdp2-i.is-on { color: var(--p2-star); }
.pdp2-rev-n { margin-top: 6px; font-size: 13px; color: var(--p2-muted); }
.pdp2-dist { display: grid; gap: 7px; }
.pdp2-dist li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--p2-muted); }
.pdp2-bar-t { display: block; height: 6px; border-radius: 999px; background: var(--p2-surface-3); overflow: hidden; }
.pdp2-bar-f { display: block; height: 100%; border-radius: 999px; background: var(--p2-star); }
.pdp2-rev-list { margin-top: 8px; }
.pdp2-rev { padding: 18px 0; border-top: 1px solid var(--p2-line); display: grid; gap: 8px; }
.pdp2-rev:first-child { border-top: 0; }
.pdp2-rev-head { display: flex; align-items: center; gap: 12px; }
.pdp2-avatar { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--p2-info-bg); color: var(--p2-info-fg); font-weight: 700; font-size: 14px; }
.pdp2-rev-name { font-size: 14px; font-weight: 600; color: var(--p2-ink); }
.pdp2-rev-date { font-size: 12.5px; color: var(--p2-muted); }
.pdp2-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1; background: var(--p2-surface-3); color: var(--p2-muted); white-space: nowrap; }
.pdp2-rev .pdp2-stars-s { margin-top: 0; }
.pdp2-rev-txt { font-size: 14px; line-height: 1.6; color: var(--p2-ink-soft); }
.pdp2-rev-txt p { margin: 0; }
.pdp2-rev-empty { margin-top: 18px; padding: 18px 20px; border-radius: var(--p2-rc); background: var(--p2-surface-2); font-size: 13.5px; line-height: 1.5; color: var(--p2-muted); }
.pdp2-rev-empty-t { font-size: 15px; font-weight: 600; color: var(--p2-ink); margin-bottom: 4px; }
.pdp2-rev-open { margin-top: 18px; width: 100%; }
.pdp2-rev-open .pdp2-i { width: 18px; height: 18px; }

.pdp2-rev-form { margin-top: 22px; padding: 22px; border: 1px solid var(--p2-line); border-radius: var(--p2-rc); background: var(--p2-surface); display: grid; gap: 18px; }
.pdp2-rev-form-h .pdp2-help { margin-top: 4px; }
.pdp2-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--p2-ink); }
.pdp2-opt { font-weight: 400; color: var(--p2-muted); }
.pdp2-stars { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.pdp2-star { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 8px; color: var(--p2-deco); cursor: pointer; }
.pdp2-star .pdp2-i { width: 26px; height: 26px; }
.pdp2-star:hover { background: var(--p2-surface-2); }
.pdp2-star.is-on { color: var(--p2-star); }
.pdp2-star.is-on .pdp2-i { fill: currentColor; }
.pdp2-star.is-focus { outline: 2px solid var(--p2-ring); outline-offset: 1px; }
.pdp2-rate-v { margin-left: 8px; font-size: 13px; color: var(--p2-muted); }
.pdp2-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pdp2-inp { width: 100%; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid var(--p2-line-strong); border-radius: 10px; background: var(--p2-surface); color: var(--p2-ink); font-size: 14px; box-shadow: none; }
.pdp2-inp:hover { border-color: var(--p2-deco); }
.pdp2-inp[aria-invalid="true"] { border-color: var(--p2-danger); box-shadow: 0 0 0 3px var(--p2-danger-bg); }
textarea.pdp2-inp { min-height: 104px; resize: vertical; line-height: 1.5; }
.pdp2-err { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--p2-danger); }
.pdp2-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pdp2-form-act { display: flex; align-items: center; gap: 12px; }
.pdp2-form-act .pdp2-btn[aria-busy="true"] { cursor: progress; opacity: .85; }
.pdp2-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--p2-ri); font-size: 13.5px; line-height: 1.45; }
.pdp2-note.is-ok { background: var(--p2-success-bg); color: var(--p2-success); }
.pdp2-note.is-err { background: var(--p2-danger-bg); color: var(--p2-danger); }

.pdp2-tabs { margin-top: 14px; display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--p2-line); overflow-x: auto; scrollbar-width: none; }
.pdp2-tabs::-webkit-scrollbar { display: none; }
.pdp2-tab { position: relative; display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--p2-muted); white-space: nowrap; }
.pdp2-tab:hover { color: var(--p2-ink); }
.pdp2-tab[aria-selected="true"] { color: var(--p2-ink); font-weight: 600; }
.pdp2-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--p2-cta); }
[data-theme="dark"] .pdp2-tab[aria-selected="true"]::after { background: var(--p2-info-fg); }
.pdp2-n { font-size: 11px; font-weight: 600; color: var(--p2-muted); background: var(--p2-surface-3); border-radius: 999px; padding: 2px 7px; }
.pdp2-rpanel { margin-top: 20px; }
.pdp2-rpanel:focus-visible { outline-offset: 4px; }
.pdp2-rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.pdp2-rcard { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pdp2-rmedia { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; border: 1px solid var(--p2-line); background: #ffffff; overflow: hidden; }
.pdp2-rmedia img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.pdp2-rmedia-link { display: block; width: 100%; height: 100%; }
.pdp2-rank { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid #e4e9ef; font-family: var(--p2-fh); font-size: 12.5px; font-weight: 600; line-height: 1.2; color: #4f5f70; }
.pdp2-rbadge { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: #0f1a26; color: #ffffff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pdp2 .pdp2-rfav.prido-fav-btn { position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; margin: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid #e4e9ef; color: #147068; box-shadow: none; }
.pdp2 .pdp2-rfav.prido-fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.pdp2-rcat { font-size: 11.5px; line-height: 1.3; color: var(--p2-muted); }
.pdp2-rname { font-family: var(--p2-fb); font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--p2-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.pdp2-rname a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pdp2-rprice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.pdp2-rprice .pdp2-desde { font-size: 12px; }
.pdp2-rprice .prido-recs__price, .pdp2-rprice .prido-recs__price .amount { font-family: var(--p2-fh); font-size: 17px; font-weight: 700; color: var(--p2-ink); font-variant-numeric: tabular-nums; }
.pdp2-rprice .prido-recs__reg { font-size: 12.5px; color: var(--p2-muted); }
.pdp2-rprice .prido-recs__off { font-size: 11.5px; font-weight: 700; color: var(--p2-info-fg); background: var(--p2-info-bg); border-radius: 999px; padding: 2px 7px; }
.pdp2-ropts { display: flex; flex-wrap: wrap; gap: 6px; }
.pdp2-ropt { display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 0 10px; border: 1px solid var(--p2-line-strong); border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--p2-ink); background: var(--p2-surface); cursor: pointer; }
.pdp2-ropt:hover { border-color: var(--p2-teal-600); }
.pdp2-ropt.is-on { border-color: var(--p2-cta); box-shadow: inset 0 0 0 1px var(--p2-cta); font-weight: 600; }
.pdp2-ropt.is-focus { outline: 2px solid var(--p2-ring); outline-offset: 2px; }
.pdp2-ropt.is-out { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.pdp2-rcta { margin-top: auto; display: grid; gap: 4px; }
.pdp2-rcta .pdp2-btn, .pdp2-rcta a { width: 100%; }
.pdp2-rcta .prido-cart-btn-label { pointer-events: none; }
.pdp2-rhint { font-size: 11.5px; color: var(--p2-muted); text-align: center; }
.pdp2-rcard .prido-recs__add:not(.is-disabled) + .pdp2-rhint { display: none; }

/* ------------------------------------------------------- barras fijas */
.pdp2-bar.prido-sticky-buy-bar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 990; display: block; height: auto; padding: 0; background: var(--p2-bar); border-top: 1px solid var(--p2-line); box-shadow: var(--p2-shadow-up); transform: translateY(110%); visibility: hidden; opacity: 1; transition: transform .22s ease, visibility 0s linear .22s; }
.pdp2-bar.prido-sticky-buy-bar.is-visible { transform: translateY(0); visibility: visible; transition: transform .22s ease, visibility 0s; }
.pdp2-bar-in { max-width: 1320px; margin: 0 auto; padding: 12px 40px; display: flex; align-items: center; gap: 16px; }
.pdp2-bar-img { width: 48px; height: 48px; flex: none; object-fit: contain; border: 1px solid var(--p2-line); border-radius: 10px; background: #ffffff; padding: 3px; }
.pdp2-bar-info { min-width: 0; flex: 1 1 auto; }
.pdp2-bar-name { font-size: 14px; font-weight: 600; color: var(--p2-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp2-bar-attrs { font-size: 12.5px; color: var(--p2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp2-bar-price { text-align: right; }
.pdp2-bar-price p { display: flex; align-items: baseline; gap: 6px; justify-content: flex-end; }
.pdp2-bar-price strong { font-family: var(--p2-fh); font-size: 20px; font-weight: 700; color: var(--p2-ink); font-variant-numeric: tabular-nums; }
.pdp2-bar-price small { display: block; font-size: 11.5px; color: var(--p2-muted); }
.pdp2-bar-price .pdp2-desde { font-size: 12.5px; }
.pdp2-qty-sm { height: 44px; }
.pdp2-qty-sm .pdp2-qty-btn { width: 36px; }
.pdp2-qty-sm .pdp2-qty-i { width: 44px; }
.pdp2-bar .pdp2-btn { height: 44px; min-height: 44px; }
.pdp2-bar .pdp2-btn.is-blocked, .pdp2-mbar .pdp2-btn.is-blocked { background: var(--p2-surface-3); color: var(--p2-muted); border-color: var(--p2-line-strong); box-shadow: none; cursor: not-allowed; }
.pdp2-bar .pdp2-btn.is-quote, .pdp2-mbar .pdp2-btn.is-quote { background: var(--p2-quote-bg); color: var(--p2-quote); border-color: var(--p2-quote-line); box-shadow: none; }
.pdp2-bar .pdp2-btn.is-done, .pdp2-mbar .pdp2-btn.is-done { background: var(--p2-success-bg); color: var(--p2-success); border-color: var(--p2-success); box-shadow: none; }
.pdp2-bar .pdp2-btn .pdp2-i, .pdp2-mbar .pdp2-btn .pdp2-i { width: 18px; height: 18px; }
.pdp2-bar .pdp2-btn.no-ic .pdp2-i, .pdp2-mbar .pdp2-btn.no-ic .pdp2-i { display: none; }

.pdp2-mbar.prido-sticky-buy-bar-mobile { display: none; }

/* El chat sube sobre la barra de escritorio (variable que lee el widget; la fija el JS). */
html.pdp2-bar-on { --prido-chat-offset-d: var(--pdp2-chat-up, 88px) !important; }
html.pdp2-bar-on #prido-chat-root { --prido-chat-offset-d: var(--pdp2-chat-up, 88px) !important; }

/* ------------------------------------------------------ diálogo zoom */
.pdp2-dialog { position: fixed; inset: 0; z-index: 100000; display: flex; justify-content: center; align-items: flex-start; padding: 64px 40px 40px; overflow-y: auto; }
.pdp2-dialog-ov { position: fixed; inset: 0; background: var(--p2-overlay); }
.pdp2-dialog-card { position: relative; width: 100%; max-width: 980px; background: var(--p2-surface); border: 1px solid var(--p2-line); border-radius: 22px; overflow: hidden; box-shadow: var(--p2-shadow-md); }
.pdp2-dialog-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 24px; border-bottom: 1px solid var(--p2-line); }
.pdp2-dialog-h .pdp2-h3 { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pdp2-dialog-n { font-family: var(--p2-fb); font-size: 13px; font-weight: 500; color: var(--p2-muted); }
.pdp2-dialog-stage { position: relative; background: #ffffff; touch-action: pan-y; }
.pdp2-dialog-stage img { width: 100%; height: 620px; max-height: 70vh; object-fit: contain; }
.pdp2-dialog-thumbs { padding: 12px 16px; border-top: 1px solid var(--p2-line); justify-content: center; }
.pdp2-dialog-thumbs .pdp2-thumb { width: 64px; height: 64px; }
html.pdp2-noscroll, html.pdp2-noscroll body { overflow: hidden; }

/* =================================================== tablet 768–1024 */
/* Header de producto fijo del sitio (.prido-hs-pmh): header-product-mobile.r2.css reserva
   62/54 px en .main-page-wrapper, pero con el CSS combinado de LiteSpeed header-system-v3
   (excluido del bundle) carga después y su padding-top:0 !important gana: el header tapaba
   las migas. Mismos valores y cortes que header-product-mobile, con más especificidad. */
@media (max-width: 1024px) {
	body.prido-pdp-v2.prido-hs-product .main-page-wrapper { padding-top: 62px !important; }
}
@media (max-width: 768px) {
	body.prido-pdp-v2.prido-hs-product .main-page-wrapper { padding-top: 54px !important; }
}

@media (max-width: 1024px) {
	.pdp2-wrap { padding-left: 24px; padding-right: 24px; }
	.pdp2-grid { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 28px; }
	.pdp2-media { position: sticky; top: 16px; }
	.pdp2-h1 { font-size: 26px; }
	.pdp2-amount { font-size: 32px; }
	.pdp2-chip { padding: 0 12px; gap: 8px; }
	.pdp2-thumbs { gap: 8px; }
	.pdp2-thumb { width: 56px; height: 56px; padding: 3px; }
	.pdp2-fs-head { padding-right: 132px; }
	.pdp2-qa-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.pdp2-duo { grid-template-columns: minmax(0, 1fr); }
	.pdp2-col-a { padding-right: 0; }
	.pdp2-col-b { padding-left: 0; border-left: 0; border-top: 1px solid var(--p2-line); margin-top: 40px; padding-top: 40px; }
	.pdp2-rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pdp2 { padding-bottom: 96px; }
	.pdp2-bar.prido-sticky-buy-bar { display: none !important; }
	.pdp2-mbar.prido-sticky-buy-bar-mobile { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 990; display: flex; align-items: center; gap: 10px; height: auto; padding: 12px 16px 16px; background: var(--p2-bar); border-top: 1px solid var(--p2-line); box-shadow: var(--p2-shadow-up); }
	.pdp2-mbar-chat { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 999px; overflow: hidden; background: var(--p2-info-bg); border: 1px solid var(--p2-info-line); color: var(--p2-info-fg); }
	.pdp2-mbar-chat img { width: 100%; height: 100%; object-fit: cover; }
	.pdp2-mbar-info { min-width: 0; flex: 1 1 auto; }
	.pdp2-mbar-p { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
	.pdp2-mbar-p strong { font-family: var(--p2-fh); font-size: 18px; font-weight: 700; line-height: 1.1; color: var(--p2-ink); font-variant-numeric: tabular-nums; }
	.pdp2-mbar-p .pdp2-desde { font-size: 12px; }
	.pdp2-mbar-s { margin-top: 3px; font-size: 12px; line-height: 1.3; color: var(--p2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.pdp2-mbar .pdp2-btn { height: 48px; min-height: 48px; padding: 0 16px; flex: none; white-space: nowrap; }
	/* Chat dentro de la barra: en reposo, el lanzador flotante no tapa la ficha (en llamada se mantiene). */
	body.prido-pdp-v2 .prido-chat-pill:not([data-state="call"]):not([data-state="talk"]):not([data-state="resume"]):not([data-state="resuming"]):not([data-state="nav"]):not([data-open="1"]) { display: none !important; }
	body.prido-pdp-v2 .prido-chat-teaser { display: none !important; }
}

/* =================================================== móvil ≤ 767 */
@media (max-width: 767px) {
	/* Tooltip de ahorro bajo la fila del precio, alineado a la izquierda: nunca sale de la pantalla. */
	.pdp2-price-row { position: relative; }
	.pdp2 .pdp2-ahorro { position: static; }
	.pdp2 .pdp2-ahorro .pdp2-tip { left: 0; bottom: auto; top: 100%; max-width: 100%; margin: 8px 0 0; transform: none; }
	.pdp2 .pdp2-ahorro .pdp2-tip::after { display: none; }
	.pdp2-wrap { padding-left: 16px; padding-right: 16px; }
	.pdp2-crumbs { padding: 12px 0 14px; }
	.pdp2-crumbs li:not(:nth-last-child(-n+3)) { display: none; }
	.pdp2-grid { grid-template-columns: minmax(0, 1fr); }
	.pdp2-media { position: static; margin: 0 -16px; }
	.pdp2-viewer { border-radius: 0; border-left: 0; border-right: 0; }
	.pdp2-gprev, .pdp2-gnext { display: none; }
	.pdp2-tools { left: 12px; bottom: 12px; }
	.pdp2-count { right: 12px; bottom: 19px; }
	.pdp2-thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 4px; }
	.pdp2-thumbs::-webkit-scrollbar { display: none; }
	.pdp2-thumb { width: 64px; height: 64px; }
	.pdp2-buy { margin-top: 18px; }
	.pdp2-h1 { font-size: 26px; }
	.pdp2-price { margin-top: 16px; }
	.pdp2-price-row { gap: 8px; }
	.pdp2-amount { font-size: 32px; }
	.pdp2-price .pdp2-price-row + .pdp2-price-note { margin-top: 0; }
	.pdp2-pay-row { grid-template-columns: 40px minmax(0, 1fr); }
	.pdp2-pay-a { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
	.pdp2-pay-a small { display: inline; margin: 0; }
	.pdp2-fs-head { padding-right: 96px; }
	.pdp2-opts .pdp2-clear { top: -12px; right: -6px; }
	.pdp2-opts .pdp2-clear span { font-size: 0; }
	.pdp2-opts .pdp2-clear span::after { content: "Limpiar"; font-size: 13px; }
	.pdp2-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pdp2-trust li { padding: 10px; }
	.pdp2-qa { margin-top: 40px; padding: 40px 0; }
	.pdp2-qa-a { padding-right: 0; }
	.pdp2-qa-ask { width: 100%; }
	.pdp2-duo { margin-top: 40px; }
	.pdp2-rev-sum { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.pdp2-fields { grid-template-columns: minmax(0, 1fr); }
	.pdp2-rev-form { padding: 16px; }
	.pdp2-rgrid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
	.pdp2-rgrid::-webkit-scrollbar { display: none; }
	.pdp2-rgrid .pdp2-rcard { flex: 0 0 156px; scroll-snap-align: start; }
	.pdp2-tabs { border-bottom: 0; gap: 8px; }
	.pdp2-tab { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--p2-line-strong); background: var(--p2-surface); color: var(--p2-ink-soft); }
	.pdp2-tab[aria-selected="true"] { background: var(--p2-ink); border-color: var(--p2-ink); color: var(--p2-page); }
	.pdp2-tab[aria-selected="true"]::after { display: none; }
	.pdp2-tab[aria-selected="true"] .pdp2-n { background: transparent; color: inherit; opacity: .75; }
	.pdp2-dialog { padding: 0; align-items: stretch; }
	.pdp2-dialog-card { border-radius: 0; max-width: none; min-height: 100%; }
	.pdp2-dialog-stage img { height: auto; max-height: 64vh; }
}

@media (prefers-reduced-motion: reduce) {
	.pdp2 *, .pdp2-bar, .pdp2-bar *, .pdp2-mbar *, .pdp2-dialog * { transition: none !important; animation-duration: 2.4s !important; }
	.pdp2-chip.is-in { animation: none !important; }
}
