/* ============================================================================
   PRIDO — Columna de compra del PDP (buy-box) · rediseño · r8 (2026-09-03)
   r8: bloque "Medios de pago con beneficio" (Mercado Pago 12 cuotas + 5% transferencia),
       fila WhatsApp ejecutivo, grilla de confianza 2×2, ficha técnica destacada (PDF),
       chips/CTA pulidos. Reglas nuevas al final (§ r8).
   ----------------------------------------------------------------------------
   Capa de presentación SCOPEADA a `.prido-bb` (= la columna derecha
   `.prido-product-details`). Re-skin del diseño "Columna Producto PRIDO"
   mapeado sobre el markup vivo de producción:
     [prido_product_info] (.prido-pi-…), el form nativo de WooCommerce,
     [prido_product_actions] (.prido-actions / .prido-logistics / .prido-share),
     el cotizador (.prido-cotizar-…), la barra de modales (.prido-product-info-bar)
     y los acordeones inline (.prido-bb-acc).
   - NO reescribe el form de WooCommerce: los <select> de variación quedan
     ocultos pero funcionales; los chips los controlan vía JS (prido-buybox.js).
   - Tema por DOS señales: :root[data-theme="dark"] y body.woodmart-dark.
   - Carga después de css-maestro → gana empates; usa !important donde compite.
   ============================================================================ */

.prido-bb, .prido-bb *, .prido-bb *::before, .prido-bb *::after { box-sizing: border-box; }

/* ---------- TOKENS (light) ---------- */
.prido-bb {
  --bb-fh: 'Outfit', system-ui, sans-serif;
  --bb-fb: var(--prido-font-body, 'Noto Sans', system-ui, sans-serif);
  --bb-mono: 'JetBrains Mono', ui-monospace, monospace;
  --bb-teal: var(--prido-secondary, var(--prido-teal, #2dc6c1));
  --bb-teal-600: #20a9a4;
  /* 2026-08-31 · WCAG 1.4.3. El teal de marca (#2dc6c1) da 2,11:1 con texto
     blanco; se exige 4,5:1. Se introduce un token EXCLUSIVO para superficies
     con texto encima, tomado de la escala que el sistema ya define:
     --prido-teal-700 = #0E7E7A -> 4,9:1. El teal de marca NO se toca: sigue
     usándose en bordes, sombras y acentos, donde el requisito es 3:1. */
  --bb-cta-bg: var(--prido-teal-700, #0E7E7A);
  --bb-cta-bg-hover: #0B6A67;
  --bb-ri: 12px; --bb-rc: 14px; --bb-rp: 999px;
  --bb-ease: cubic-bezier(.2, 0, .2, 1);

  --bb-ink:#0f1a26; --bb-ink-soft:#1a2a3a; --bb-muted:#5e6f80; --bb-faint:#8a9aae;
  --bb-line:#e4e9ef; --bb-line-soft:#eef1f5; --bb-line-strong:#cfd6df;
  --bb-page:#ffffff; --bb-surface:#ffffff; --bb-surface-2:#f6f8fb; --bb-surface-3:#eef2f6;
  --bb-info-bg:#e8f9f8; --bb-info-fg:#147068;       /* AA-safe sobre claro */
  --bb-success:#157a4d; --bb-success-bg:#e8f5ee;     /* AA-safe sobre success-bg/blanco */
  --bb-danger:#c0392f;
  --bb-quote:#b0561a; --bb-quote-600:#a4511a;        /* naranjo AA-safe (#fff ≥4.5:1) */
  --bb-shadow-sm:0 1px 2px rgba(15,26,38,.05);
  --bb-shadow-md:0 10px 30px -12px rgba(15,26,38,.16), 0 2px 6px rgba(15,26,38,.05);
}

/* ---------- TOKENS (dark) — dos señales ---------- */
:root[data-theme="dark"] .prido-bb,
body.woodmart-dark .prido-bb {
  --bb-ink:#ecf2f7; --bb-ink-soft:#d8e2ec; --bb-muted:#8d9eb2; --bb-faint:#6b7c91;
  --bb-line:rgba(255,255,255,.10); --bb-line-soft:rgba(255,255,255,.06); --bb-line-strong:rgba(255,255,255,.22);
  --bb-page:#101822; --bb-surface:#18222e; --bb-surface-2:#1d2835; --bb-surface-3:#243042;
  --bb-info-bg:rgba(45,198,193,.14); --bb-info-fg:#3fd6d0;
  --bb-success:#46c98b; --bb-success-bg:rgba(70,201,139,.14);
  --bb-danger:#ff6b66;
  --bb-quote:#e08a4f; --bb-quote-600:#eb9a63;
  --bb-shadow-sm:0 1px 2px rgba(0,0,0,.3);
  --bb-shadow-md:0 14px 34px -14px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.4);
}

/* ============================================================================
   SHELL / RITMO VERTICAL
   ============================================================================ */
.prido-bb {
  font-family: var(--bb-fb);
  color: var(--bb-ink);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* Aplanamos ambos wrappers (display:contents) para INTERCALAR sus hijos con
   `order` y lograr el orden del mockup: …form -> cotizar -> retiro -> badges.
   #prido-pi-container queda display:contents pero su DOM intacto -> el JS de
   precio/cuota (pridoInfoContainer.querySelector) sigue funcionando. */
.prido-bb .prido-pi-wrapper,
.prido-bb .prido-actions-wrapper { display: contents !important; }
.prido-bb .prido-pi-title { order: 1; }
.prido-bb .prido-pi-subtitle { order: 2; }
.prido-bb .prido-pi-meta-row { order: 3; }
.prido-bb .prido-pi-stock-row { order: 3; }   /* r8: stock + tiempos de entrega bajo la meta */
.prido-bb .prido-pi-divider { order: 3; }
.prido-bb .prido-pi-pricing-block { order: 4; }
.prido-bb .prido-pi-payments { order: 4; }        /* r8: medios de pago con beneficio, pegado al precio */
.prido-bb .prido-woo-native-form { order: 5; }
.prido-bb .prido-cotizar-wrap { order: 6; }       /* Cotizar: debajo del selector de cantidad */
.prido-bb .prido-pi-whatsapp { order: 7; }        /* r8: ejecutivo por WhatsApp bajo el cotizar */
.prido-bb .prido-logistics-glass { order: 8; }    /* Retiro */
.prido-bb .prido-pi-trust { order: 9; }           /* r8: 4 badges de confianza (factura / garantía / envío / cert) */
.prido-bb .prido-share-section { order: 11; }
.prido-bb .prido-product-info-bar { order: 12; }
.prido-bb .prido-bb-acc { order: 13; }

/* ============================================================================
   HEADER
   ============================================================================ */
.prido-bb .prido-pi-title {
  font-family: var(--bb-fh) !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  letter-spacing: -.025em !important;
  color: var(--bb-ink) !important;
  line-height: 1.12 !important;
  margin: 0 !important;
}
.prido-bb .prido-pi-subtitle {
  font-size: 13px !important;
  color: var(--bb-muted) !important;
  margin: -8px 0 0 !important;
  line-height: 1.5 !important;
}
.prido-bb .prido-pi-meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
}
.prido-bb .prido-pi-reviews-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 5px 11px !important;
  border-radius: var(--bb-rp) !important;
  background: var(--bb-surface-2) !important;
  border: 1px solid var(--bb-line) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--bb-ink-soft) !important;
  text-decoration: none !important;
  transition: border-color .16s var(--bb-ease), background .16s var(--bb-ease);
}
.prido-bb .prido-pi-reviews-link:hover { border-color: var(--bb-line-strong) !important; }
.prido-bb .prido-pi-star { display: inline-flex; align-items: center; gap: 4px; color: var(--bb-teal) !important; }
.prido-bb .prido-pi-star svg { width: 13px; height: 13px; }
.prido-bb .prido-pi-reviews-text { color: inherit !important; }
.prido-bb .prido-pi-sku {
  font-size: 12px !important;
  color: var(--bb-muted) !important;
  font-variant-numeric: tabular-nums;
}
.prido-bb .prido-pi-sku .sku {
  font-family: var(--bb-mono) !important;
  font-weight: 500;
  color: var(--bb-ink-soft) !important;
}
/* Pill de stock en la meta (lo añade el shortcode info) */
.prido-bb .prido-bb-stock {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--bb-rp);
  background: var(--bb-success-bg);
  color: var(--bb-success);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
}
.prido-bb .prido-bb-stock .d {
  width: 6px; height: 6px; border-radius: 999px; background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent);
}
.prido-bb .prido-bb-stock.is-out { background: color-mix(in srgb, var(--bb-danger) 12%, transparent); color: var(--bb-danger); }
.prido-bb .prido-pi-divider { display: none !important; }

/* ============================================================================
   PRECIO
   ============================================================================ */
.prido-bb .prido-pi-pricing-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  margin: 0 !important;
}
.prido-bb .prido-pi-prices { display: flex !important; flex-direction: column; gap: 2px; }
.prido-bb .prido-pi-price-reg-wrap { margin: 0 !important; }
.prido-bb #prido-pi-reg-val,
.prido-bb .prido-pi-price-reg-wrap del {
  font-size: 16px !important;
  color: var(--bb-faint) !important;
  text-decoration: line-through;
  font-weight: 500 !important;
}
.prido-bb .prido-pi-price-main-wrap {
  display: flex !important;
  align-items: center !important;   /* precio + badge de ahorro en la misma línea */
  gap: 12px !important;
  flex-wrap: wrap;
  margin: 0 !important;
}
.prido-bb #prido-pi-main-val {
  font-family: var(--bb-fh) !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
  color: var(--bb-ink) !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}
.prido-bb .prido-price-tax-note {
  display: block !important;
  margin: 2px 0 0 !important;
  font-size: 12.5px !important;
  color: var(--bb-muted) !important;
  font-weight: 400 !important;
}
.prido-bb .prido-pi-badge-ahorro {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  padding: 4px 11px !important;
  border-radius: var(--bb-rp) !important;
  background: color-mix(in srgb, var(--bb-quote) 14%, transparent) !important;
  color: var(--bb-quote) !important;
  border: 0 !important;
  font-family: var(--bb-fh) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
:root[data-theme="dark"] .prido-bb .prido-pi-badge-ahorro,
body.woodmart-dark .prido-bb .prido-pi-badge-ahorro { color: var(--bb-quote-600) !important; }
.prido-bb .prido-pi-badge-ahorro svg { width: 13px; height: 13px; }
/* Ocultar el badge cuando el descuento es 0% (sin oferta). Se hace por CLASE con
 * especificidad de ID porque el base `display:inline-flex !important` (y reglas de
 * css-maestro sobre .prido-onsale) pisan cualquier inline display:none del PHP.
 * PHP añade .prido-ahorro-empty en carga; prido-buybox.js la togglea por variación. */
.prido-bb #prido-pi-badge-ahorro.prido-ahorro-empty { display: none !important; }
/* Mensaje de stock nativo de WC bajo el precio ("Hay existencias"/"Agotado"):
 * redundante — el buy-box ya muestra la píldora .prido-bb-stock junto al SKU. */
.prido-bb p.stock,
.prido-bb .prido-woo-native-form > p.stock,
.prido-bb .woocommerce-variation-availability { display: none !important; }

/* ============================================================================
   FORM WC: VARIACIONES (chips sobre selects), CANTIDAD, AÑADIR
   ============================================================================ */
.prido-bb .prido-woo-native-form { margin: 0 !important; }
.prido-bb .prido-woo-native-form form.cart { margin: 0 !important; }
/* Form variable: apila variaciones + área de compra */
.prido-bb .prido-woo-native-form form.variations_form { display: flex; flex-direction: column; gap: 16px; }

/* --- Variaciones: tabla → bloques apilados --- */
.prido-bb table.variations { display: block !important; margin: 0 !important; border: 0 !important; }
.prido-bb table.variations tbody { display: block !important; }
.prido-bb table.variations tr {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;   /* anula el align-items:center que filtra el tr{display:grid} de css-maestro */
  gap: 9px !important;
  margin: 0 0 16px !important;
  border: 0 !important;
}
.prido-bb table.variations tr:last-child { margin-bottom: 0 !important; }
.prido-bb table.variations th.label { display: none !important; }   /* el chip-field trae su propia etiqueta */
.prido-bb table.variations td.value {
  display: block !important;
  width: 100% !important;
  position: relative;
  padding: 0 !important;
  border: 0 !important;
}
/* el <select> nativo queda funcional pero oculto (lo controlan los chips) */
.prido-bb table.variations td.value select {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}

/* campo (label + chips) generado por el filtro PHP.
   Especificidad bajo td.value para ganar al `td.value>div{...!important}` de css-maestro. */
.prido-bb table.variations td.value .bb-field-head {
  display: flex !important; align-items: baseline !important; justify-content: space-between;
  gap: 8px; margin: 0 !important; padding: 0 !important;
}
.prido-bb .bb-field-label { font-size: 13px; font-weight: 700; color: var(--bb-ink-soft); }
.prido-bb .bb-field-label .bb-fv { color: var(--bb-muted); font-weight: 500; }
/* "Limpiar" por atributo (en cada .bb-field-head, alineado a la derecha por el
   space-between de la cabecera). Oculto salvo cuando el grupo tiene selección
   (.bb-head-dirty, togglada por prido-buybox.js). Reemplaza al reset global de WC. */
.prido-bb table.variations td.value .bb-clear-attr {
  flex: 0 0 auto; margin-left: auto; display: none;
  align-items: center; gap: 5px;
  font-family: var(--bb-fb); font-size: 12px; font-weight: 600;
  letter-spacing: 0; text-transform: none;   /* mockup: "Limpiar", no MAYÚSCULAS */
  color: var(--bb-muted); background: transparent; border: 0;
  padding: 5px 11px; border-radius: var(--bb-rp); line-height: 1.2;  /* píldora */
  cursor: pointer; transition: background .16s var(--bb-ease), color .16s var(--bb-ease);
}
.prido-bb table.variations td.value .bb-field-head.bb-head-dirty .bb-clear-attr { display: inline-flex; }
.prido-bb table.variations td.value .bb-clear-attr svg { width: 12px; height: 12px; flex-shrink: 0; }
.prido-bb table.variations td.value .bb-clear-attr:hover { background: var(--bb-surface-2); color: var(--bb-ink); }
.prido-bb table.variations td.value .bb-clear-attr:focus-visible { outline: 2px solid var(--bb-teal); outline-offset: 2px; }
.prido-bb table.variations td.value .bb-chips {
  display: flex !important; gap: 8px !important; flex-wrap: wrap !important;
  margin: 9px 0 0 !important; padding: 0 !important;
}
.prido-bb .bb-chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 15px;
  background: var(--bb-surface); border: 1.5px solid var(--bb-line);
  border-radius: var(--bb-ri); font-family: var(--bb-fb);
  font-size: 13.5px; font-weight: 600; color: var(--bb-ink);
  cursor: pointer; transition: all .16s var(--bb-ease);
}
.prido-bb .bb-chip:hover { border-color: var(--bb-line-strong); background: var(--bb-surface-2); }
.prido-bb .bb-chip.is-active {
  border-color: var(--bb-teal); background: var(--bb-info-bg); color: var(--bb-ink);
  box-shadow: 0 0 0 1px var(--bb-teal);
}
.prido-bb .bb-chip:focus-visible { outline: 2px solid var(--bb-teal); outline-offset: 2px; }
.prido-bb .bb-chip[aria-disabled="true"] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.prido-bb .bb-swatch {
  width: 17px; height: 17px; border-radius: 50%;
  border: 1px solid var(--bb-line-strong); flex-shrink: 0;
  background-size: cover; background-position: center;
}
/* Ícono paleta "colores de madera" (mu-plugin prido-cubierta-palette.php): lo
   cuelga FUERA de .bb-chips → con td.value en block caía en su propia línea.
   Solo en el td que LO contiene, hacemos grid [chips | paleta] para que quede en
   la MISMA FILA que los chips (y como 3ª columna abajo si los chips hacen wrap).
   :has() acota el cambio a ese td; los demás grupos siguen en block. CSS-only. */
.prido-bb table.variations td.value:has(> .prido-cubierta-palette) {
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-areas: "head head" "chips palette";
  column-gap: 10px;
  align-items: end;
}
.prido-bb table.variations td.value:has(> .prido-cubierta-palette) .bb-field-head { grid-area: head; }
.prido-bb table.variations td.value:has(> .prido-cubierta-palette) .bb-chips { grid-area: chips; margin-top: 9px !important; }
.prido-bb table.variations td.value > .prido-cubierta-palette { grid-area: palette; align-self: end; margin: 0; }
/* Reestiliza la paleta para parear con los chips (44px, radio de chip) en vez del
   círculo de 38px del mu-plugin; !important para ganar a su <style> de wp_footer. */
.prido-bb .prido-cubierta-palette {
  width: 44px !important; height: 44px !important;
  border: 1.5px solid var(--bb-line) !important;
  border-radius: var(--bb-ri) !important;
  background: var(--bb-surface) !important;
}
.prido-bb .prido-cubierta-palette:hover {
  border-color: var(--bb-teal) !important;
  box-shadow: 0 0 0 1px var(--bb-teal) !important;
  transform: none !important;
}
/* "Limpiar" global nativo de WC (.reset_variations): OCULTO — lo reemplazan los
   botones "Limpiar" por atributo (.bb-clear-attr). display:none!important gana al
   `visibility:visible` inline de WC. NO se borra del DOM (WC lo usa internamente). */
.prido-bb table.variations td.value .reset_variations { display: none !important; }

/* --- single_variation (precio/disponibilidad WC) — el precio ya vive en el header --- */
.prido-bb .single_variation_wrap { margin: 0 !important; }
.prido-bb .single_variation .woocommerce-variation-price { display: none !important; }
.prido-bb .single_variation .woocommerce-variation-availability {
  margin: 0 0 12px !important; font-size: 13px !important; color: var(--bb-muted) !important;
}
.prido-bb .single_variation .woocommerce-variation-availability .stock.in-stock { color: var(--bb-success) !important; }
.prido-bb .single_variation .woocommerce-variation-availability .stock.out-of-stock { color: var(--bb-danger) !important; }

/* --- fila de compra: cantidad + añadir --- */
.prido-bb .woocommerce-variation-add-to-cart,
.prido-bb form.cart:not(.variations_form) {
  display: flex !important;
  align-items: stretch;
  gap: 10px !important;
  flex-wrap: wrap;
}
.prido-bb form.cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bb-surface) !important;
  border: 1.5px solid var(--bb-line) !important;
  border-radius: var(--bb-ri) !important;
  overflow: hidden !important;
  flex: 0 0 auto;
}
/* Botones +/− del stepper: los inyecta js-maestro (.qty-btn), aquí solo se estilizan */
.prido-bb form.cart .quantity .qty-btn {
  width: 42px !important; min-width: 42px !important; height: 100% !important;
  padding: 0 !important; margin: 0 !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  color: var(--bb-ink-soft) !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  cursor: pointer; transition: background .16s var(--bb-ease);
  font-family: var(--bb-fh) !important; font-size: 18px !important; font-weight: 600 !important;
  line-height: 1 !important; border-radius: 0 !important;
}
.prido-bb form.cart .quantity .qty-btn:hover { background: var(--bb-surface-2) !important; color: var(--bb-ink) !important; }
.prido-bb form.cart .quantity input.qty {
  width: 44px !important; height: 100% !important; min-height: 0 !important;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  text-align: center !important;
  font-family: var(--bb-fh) !important; font-size: 16px !important; font-weight: 700 !important;
  color: var(--bb-ink) !important; outline: none;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.prido-bb form.cart .quantity input.qty::-webkit-outer-spin-button,
.prido-bb form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.prido-bb .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center; justify-content: center; gap: 10px;
  flex: 1 1 auto;
  min-width: 200px;
  height: 56px !important;
  padding: 0 22px !important;
  background: var(--bb-cta-bg) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--bb-ri) !important;
  cursor: pointer;
  font-family: var(--bb-fh) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -.005em !important;
  text-transform: none !important;
  box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--bb-cta-bg) 55%, transparent) !important;
  transition: all .16s var(--bb-ease) !important;
}
.prido-bb .single_add_to_cart_button:hover { background: var(--bb-cta-bg-hover) !important; transform: translateY(-1px); }
.prido-bb .single_add_to_cart_button:disabled,
.prido-bb .single_add_to_cart_button.disabled,
.prido-bb .single_add_to_cart_button.wc-variation-selection-needed { opacity: .45 !important; cursor: not-allowed; box-shadow: none !important; transform: none !important; }
.prido-bb .single_add_to_cart_button svg { width: 19px; height: 19px; flex-shrink: 0; }
.prido-bb .single_add_to_cart_button > span { display: inline-flex; align-items: center; gap: 10px; }
.prido-bb .single_add_to_cart_button .prido-btn-text { font: inherit; color: inherit; }
/* DARK: css-maestro tiene un override (0,4,0)!important; lo superamos en especificidad */
:root[data-theme="dark"] .prido-bb .prido-woo-native-form .single_add_to_cart_button,
body.woodmart-dark .prido-bb .prido-woo-native-form .single_add_to_cart_button {
  background: var(--bb-teal) !important;
  color: #fff !important;
}
:root[data-theme="dark"] .prido-bb .prido-woo-native-form .single_add_to_cart_button:hover,
body.woodmart-dark .prido-bb .prido-woo-native-form .single_add_to_cart_button:hover {
  background: var(--bb-teal-600) !important;
}

/* ============================================================================
   COTIZAR
   ============================================================================ */
.prido-bb .prido-cotizar-wrap { position: relative; margin: 0 !important; }
.prido-bb .prido-cotizar-btn {
  display: inline-flex !important;
  align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  height: 54px;
  padding: 0 22px;
  background: #c8631f !important;   /* naranjo del mockup (.bb-quote --quote) */
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--bb-ri) !important;
  cursor: pointer;
  font-family: var(--bb-fh) !important;
  font-size: 15px !important; font-weight: 700 !important;
  letter-spacing: .01em; text-transform: uppercase;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, #c8631f 60%, transparent) !important;
  transition: all .16s var(--bb-ease);
}
.prido-bb .prido-cotizar-btn:hover { background: #ad5316 !important; transform: translateY(-1px); }
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn,
body.woodmart-dark .prido-bb .prido-cotizar-btn { background: var(--bb-quote) !important; }
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn:hover,
body.woodmart-dark .prido-bb .prido-cotizar-btn:hover { background: var(--bb-quote-600) !important; }
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn,
body.woodmart-dark .prido-bb .prido-cotizar-btn { color: #1a1205 !important; }
.prido-bb .prido-cotizar-btn svg { width: 18px; height: 18px; }
.prido-bb .prido-cotizar-btn--disabled { opacity: .9 !important; cursor: default; }
.prido-bb .prido-cotizar-btn--disabled:hover { transform: none; background: var(--bb-quote) !important; }

/* ============================================================================
   RETIRO EN TIENDA
   ============================================================================ */
.prido-bb .prido-logistics-glass { margin: -6px 0 0 !important; background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.prido-bb .prido-logistic-badge {
  display: flex !important;
  align-items: center; gap: 9px; justify-content: center;
  width: 100%;
  font-size: 16px !important; line-height: 1.3 !important; color: var(--bb-ink) !important;
  background: transparent !important; border: 0 !important; padding: 0 !important;
}
/* css-maestro fija `stroke:var(--prido-muted)` (gris) en el svg → hay que setear
   STROKE con !important, no solo color/currentColor, o el pin sale gris. */
.prido-bb .prido-logistic-badge svg { width: 20px; height: 20px; color: var(--bb-teal) !important; stroke: var(--bb-teal) !important; flex-shrink: 0; }
:root[data-theme="dark"] .prido-bb .prido-logistic-badge svg,
body.woodmart-dark .prido-bb .prido-logistic-badge svg { color: var(--bb-teal) !important; stroke: var(--bb-teal) !important; }
.prido-bb .prido-logistic-badge strong { color: var(--bb-ink) !important; font-weight: 700 !important; }
.prido-bb .prido-logistic-badge small { color: var(--bb-muted) !important; font-size: inherit; font-weight: 400 !important; }

/* ============================================================================
   ASSURANCES (cuotas / garantía / certificación)
   ============================================================================ */
.prido-bb .prido-pi-financing-glass,
.prido-bb .prido-pi-warranty-glass {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: var(--bb-surface-2) !important;
  border: 1px solid var(--bb-line) !important;
  border-radius: var(--bb-ri) !important;
  box-shadow: none !important;
}
.prido-bb .prido-pi-fin-icon,
.prido-bb .prido-pi-war-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 11px;
  background: var(--bb-info-bg) !important;
  color: var(--bb-info-fg) !important;
  display: inline-flex !important; align-items: center; justify-content: center;
}
.prido-bb .prido-pi-fin-icon svg,
.prido-bb .prido-pi-war-icon svg { width: 22px; height: 22px; }
/* Estructura de 2 líneas: título (negrita, tinta) + subtítulo (tenue, normal) */
.prido-bb .prido-pi-fin-text,
.prido-bb .prido-pi-war-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--bb-ink) !important;
  line-height: 1.3 !important;
}
.prido-bb .prido-pi-line-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--bb-ink) !important;
  line-height: 1.3 !important;
}
.prido-bb .prido-pi-line-sub {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--bb-muted) !important;
  line-height: 1.3 !important;
}
/* Financiamiento: énfasis teal AA-safe (info-fg: #147068 light / #3fd6d0 dark) */
.prido-bb .prido-pi-fin-text .prido-pi-line-title strong { color: var(--bb-info-fg) !important; font-weight: 700 !important; }
/* Garantía/certificación: el título va en tinta oscura (no teal), como el mockup */
.prido-bb .prido-pi-war-text .prido-pi-line-title strong { color: var(--bb-ink) !important; font-weight: 700 !important; }
/* DARK: el fondo/borde del rediseño los pisa css-maestro (0,3,0)!important → subir especificidad */
:root[data-theme="dark"] .prido-bb .prido-pi-financing-glass,
:root[data-theme="dark"] .prido-bb .prido-pi-warranty-glass,
body.woodmart-dark .prido-bb .prido-pi-financing-glass,
body.woodmart-dark .prido-bb .prido-pi-warranty-glass {
  background: var(--bb-surface-2) !important;
  border-color: var(--bb-line) !important;
}

/* ============================================================================
   COMPARTIR
   ============================================================================ */
.prido-bb .prido-share-section {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
}
.prido-bb .prido-share-title {
  font-size: 11px !important; font-weight: 700 !important;
  letter-spacing: .1em !important; text-transform: uppercase !important;
  color: var(--bb-muted) !important;
}
.prido-bb .prido-share-links { display: flex !important; gap: 6px !important; margin-left: auto !important; }
.prido-bb .prido-share-links a,
.prido-bb .prido-copy-link-btn {
  width: 34px; height: 34px;
  border-radius: 999px !important;
  background: var(--bb-surface-2) !important;
  border: 1px solid var(--bb-line) !important;
  color: var(--bb-ink-soft) !important;
  cursor: pointer;
  display: inline-flex !important; align-items: center; justify-content: center;
  transition: all .16s var(--bb-ease);
}
.prido-bb .prido-share-links a:hover,
.prido-bb .prido-copy-link-btn:hover { background: var(--bb-teal) !important; color: #fff !important; border-color: var(--bb-teal) !important; }
.prido-bb .prido-share-links a svg,
.prido-bb .prido-copy-link-btn svg { width: 15px; height: 15px; }

/* ============================================================================
   GRID DE MODALES (.prido-product-info-bar → tarjetas)
   ============================================================================ */
.prido-bb .prido-product-info-bar {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--bb-line-soft) !important;
}
.prido-bb .prido-info-bar-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 13px !important;
  text-align: left !important;
  text-decoration: none !important;
  background: var(--bb-surface) !important;
  border: 1px solid var(--bb-line) !important;
  border-radius: var(--bb-ri) !important;
  font-family: var(--bb-fb) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--bb-ink-soft) !important;
  line-height: 1.25 !important;
  transition: all .16s var(--bb-ease) !important;
}
.prido-bb .prido-info-bar-item:hover { border-color: var(--bb-teal) !important; background: var(--bb-info-bg) !important; color: var(--bb-ink) !important; transform: translateY(-1px); }
.prido-bb .prido-info-bar-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 8px;
  background: var(--bb-surface-2) !important;
  color: var(--bb-info-fg) !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  transition: background .16s;
}
.prido-bb .prido-info-bar-item:hover .prido-info-bar-icon { background: #fff !important; }
:root[data-theme="dark"] .prido-bb .prido-info-bar-item:hover .prido-info-bar-icon,
body.woodmart-dark .prido-bb .prido-info-bar-item:hover .prido-info-bar-icon { background: var(--bb-surface-3) !important; }
.prido-bb .prido-info-bar-icon svg { width: 15px !important; height: 15px !important; }
.prido-bb .prido-info-bar-label { font: inherit !important; color: inherit !important; }
/* DARK: css-maestro tiene `:root[data-theme=dark] .prido-info-bar-item` (0,3,0); subimos a (0,4,0) */
:root[data-theme="dark"] .prido-bb .prido-info-bar-item,
body.woodmart-dark .prido-bb .prido-info-bar-item {
  background: var(--bb-surface) !important;
  border-color: var(--bb-line) !important;
  color: var(--bb-ink-soft) !important;
}
:root[data-theme="dark"] .prido-bb .prido-info-bar-item:hover,
body.woodmart-dark .prido-bb .prido-info-bar-item:hover {
  background: var(--bb-info-bg) !important;
  border-color: var(--bb-teal) !important;
  color: var(--bb-ink) !important;
}
:root[data-theme="dark"] .prido-bb .prido-info-bar-icon,
body.woodmart-dark .prido-bb .prido-info-bar-icon {
  background: var(--bb-surface-2) !important;
  color: var(--bb-info-fg) !important;
}

/* ============================================================================
   ACORDEONES INLINE (.prido-bb-acc / <details>)
   ============================================================================ */
.prido-bb .prido-bb-acc { display: flex; flex-direction: column; margin: 4px 0 0; }
.prido-bb .bb-acc-item { border-top: 1px solid var(--bb-line); }
.prido-bb .bb-acc-item:last-child { border-bottom: 1px solid var(--bb-line); }
.prido-bb .bb-acc-bar {
  width: 100%; list-style: none;
  background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 4px; text-align: left;
  font-family: var(--bb-fh); font-size: 14.5px; font-weight: 700; color: var(--bb-ink);
}
.prido-bb .bb-acc-bar::-webkit-details-marker { display: none; }
.prido-bb .bb-acc-bar:focus-visible { outline: 2px solid var(--bb-teal); outline-offset: -2px; }
.prido-bb .bb-acc-bar .chev { color: var(--bb-muted); display: inline-flex; transition: transform .22s var(--bb-ease); flex-shrink: 0; }
.prido-bb .bb-acc-bar .chev svg { width: 17px; height: 17px; }
.prido-bb .bb-acc-item[open] .bb-acc-bar .chev { transform: rotate(180deg); }
.prido-bb .bb-acc-body { padding: 0 4px 18px; font-size: 13.5px; line-height: 1.6; color: var(--bb-muted); }
.prido-bb .bb-acc-body p { margin: 0 0 12px; color: var(--bb-muted); }
.prido-bb .bb-acc-body p:last-child { margin-bottom: 0; }
.prido-bb .bb-acc-body strong, .prido-bb .bb-acc-body b { color: var(--bb-ink-soft); font-weight: 600; }
.prido-bb .bb-acc-body a { color: var(--bb-info-fg); }
.prido-bb .bb-acc-body img { max-width: 100%; height: auto; border-radius: 10px; }
.prido-bb .prido-bb-medida { margin: 0 0 12px; padding: 0; }
.prido-bb .prido-bb-medida:last-child { margin-bottom: 0; }
.prido-bb .prido-bb-medida img { display: block; width: 100%; }
/* ---- DETALLES DEL PRODUCTO (descripción larga estructurada) → look mockup ---- */
/* Oculta el título de producto redundante y la etiqueta "DESCRIPCIÓN:" del contenido */
.prido-bb .bb-acc-body > h3,
.prido-bb .bb-acc-body .product-description > h3:first-child { display: none !important; }
.prido-bb .bb-acc-body .descripcion,
.prido-bb .bb-acc-body .descripcion + br { display: none !important; }
.prido-bb .bb-acc-body .product-description { font-size: 13.5px; line-height: 1.6; color: var(--bb-muted); }
.prido-bb .bb-acc-body .product-description > p { margin: 0 0 12px; }
.prido-bb .bb-acc-body .cuerpo { color: var(--bb-muted); }
.prido-bb .bb-acc-body .product-description strong:not(.section-title):not(.descripcion),
.prido-bb .bb-acc-body .product-description b { color: var(--bb-ink-soft); font-weight: 600; }
/* Encabezados de sección (Componentes:, Medidas:, Peso:…) */
.prido-bb .bb-acc-body .section-title {
  display: block; margin: 16px 0 6px;
  font-family: var(--bb-fh); font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--bb-ink-soft);
}
.prido-bb .bb-acc-body .product-description > p:first-child .section-title,
.prido-bb .bb-acc-body .product-description > p:first-of-type:has(.section-title) { margin-top: 0; }
.prido-bb .bb-acc-body p:has(> .section-title) { margin: 0; }
/* Listas de viñetas con marcador teal */
.prido-bb .bb-acc-body .product-list { list-style: none; margin: 0 0 4px; padding: 0; }
.prido-bb .bb-acc-body .product-list li {
  position: relative; padding: 2px 0 2px 18px;
  font-size: 13.5px; line-height: 1.55; color: var(--bb-muted);
}
.prido-bb .bb-acc-body .product-list li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 5px; height: 5px; border-radius: 999px; background: var(--bb-teal);
}
/* Nota legal de-enfatizada */
.prido-bb .bb-acc-body .product-note {
  margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--bb-line-soft);
  font-size: 12px; line-height: 1.5; color: var(--bb-faint); font-style: normal;
}

/* ---- INFORMACIÓN ADICIONAL (tabla de atributos WC) → grilla limpia mockup ---- */
.prido-bb .bb-acc-body table.shop_attributes { width: 100% !important; border: 0 !important; border-collapse: collapse !important; margin: 0 !important; }
.prido-bb .bb-acc-body table.shop_attributes tr,
.prido-bb .bb-acc-body table.shop_attributes tr:nth-child(even) td,
.prido-bb .bb-acc-body table.shop_attributes tr:nth-child(even) th,
.prido-bb .bb-acc-body table.shop_attributes tr:nth-child(odd) td,
.prido-bb .bb-acc-body table.shop_attributes tr:nth-child(odd) th { background: transparent !important; }
.prido-bb .bb-acc-body table.shop_attributes th,
.prido-bb .bb-acc-body table.shop_attributes td {
  text-align: left !important; padding: 8px 0 !important; border: 0 !important;
  line-height: 1.4 !important; vertical-align: top !important; font-style: normal !important;
}
/* Etiqueta: gris tenue, peso normal, menor que el valor (jerarquía del mockup) */
.prido-bb .bb-acc-body table.shop_attributes th {
  color: var(--bb-muted) !important; font-weight: 400 !important;
  font-size: 14px !important; width: 42% !important; padding-right: 16px !important; white-space: nowrap;
}
/* Valor: oscuro, negrita y más grande para que destaque */
.prido-bb .bb-acc-body table.shop_attributes td {
  color: var(--bb-ink) !important; font-weight: 700 !important; font-size: 15.5px !important;
}
.prido-bb .bb-acc-body table.shop_attributes td p { margin: 0 !important; padding: 0 !important; font-style: normal !important; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
/* el grid de modales a 2 columnas en mobile/columna estrecha */
@media (max-width: 600px) {
  .prido-bb .prido-product-info-bar { grid-template-columns: 1fr 1fr !important; }
  .prido-bb .prido-pi-title { font-size: 24px !important; }
  .prido-bb #prido-pi-main-val { font-size: 34px !important; }
  .prido-bb .single_add_to_cart_button { min-width: 0; }
}
@media (max-width: 380px) {
  .prido-bb .woocommerce-variation-add-to-cart,
  .prido-bb form.cart:not(.variations_form) { gap: 8px !important; }
  .prido-bb .single_add_to_cart_button { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .prido-bb .single_add_to_cart_button,
  .prido-bb .prido-cotizar-btn,
  .prido-bb .prido-info-bar-item,
  .prido-bb .bb-chip { transition: none !important; }
  .prido-bb .single_add_to_cart_button:hover,
  .prido-bb .prido-cotizar-btn:hover,
  .prido-bb .prido-info-bar-item:hover { transform: none !important; }
}

/* ============================================================================
   LAYOUT DESKTOP — ancho total y reparto de columnas (feedback 2026-06-16)
   Override de css-maestro (.prido-product-page 1320px / .prido-product-layout
   55%/45%). Se vive aquí (asset dedicado del PDP) para no re-hashear el monolito.
   1) ancho total +10%: 1320 → 1452px.
   2) +10 puntos a la galería, −10 a la columna derecha: 55/45 → 65/35.
   Solo ≥1025px (a ≤1024px el layout colapsa a 1 columna en el monolito).
   ============================================================================ */
@media (min-width: 1025px) {
  .prido-product-page { max-width: 1452px !important; }
  /* fr (no %) para que el gap se descuente antes del reparto y no haya overflow;
     minmax(0,…) evita blowout si un hijo trae min-content ancho. Ratio 65/35. */
  .prido-product-layout { grid-template-columns: minmax(0, 65fr) minmax(0, 35fr) !important; }
}


/* ==========================================================================
   2026-08-31 · Foco visible en el CTA de compra (WCAG 2.4.7)
   El botón no tenía :focus-visible. Se reutiliza el anillo que el tema ya
   define para controles secundarios, sobre el teal oscuro del CTA.
   ========================================================================== */
.prido-bb .single_add_to_cart_button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bb-cta-bg) 80%, #fff);
  outline-offset: 3px;
}


/* ============================================================================
   § r8 · 2026-09-03 · Rediseño B2B/CRO (prototipo "Ficha de Producto Prido B2B")
   ============================================================================ */

/* ---------- Precio: neto para empresas ---------- */
.prido-bb .prido-price-tax-note { font-size: 12px !important; color: var(--bb-muted) !important; }
.prido-bb .prido-pi-net strong { color: var(--bb-ink-soft) !important; font-weight: 600 !important; }

/* ---------- Medios de pago con beneficio ---------- */
.prido-bb .prido-pi-payments {
  display: flex; /* sin !important: el JS lo oculta (display:none inline) cuando no hay precio */
  flex-direction: column !important;
  margin: 0 !important; padding: 0 !important;
  background: var(--bb-surface) !important;
  border: 1px solid color-mix(in srgb, var(--bb-teal) 45%, var(--bb-line)) !important;
  border-radius: var(--bb-rc) !important;
  box-shadow: 0 8px 24px -14px rgba(14, 126, 122, .35), var(--bb-shadow-sm) !important;
  overflow: hidden;
}
.prido-bb .prido-pi-payments-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 14px;
  background: var(--bb-info-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--bb-teal) 30%, var(--bb-line));
  font-family: var(--bb-fb); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bb-info-fg);
}
.prido-bb .prido-pi-payments-head svg { flex-shrink: 0; }
.prido-bb .prido-pi-pay-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
}
.prido-bb .prido-pi-pay-row--mp { border-bottom: 1px solid var(--bb-line); }
.prido-bb .prido-pi-pay-row--transfer { background: color-mix(in srgb, var(--bb-teal) 6%, var(--bb-surface)); }
.prido-bb .prido-pi-pay-mark {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px;
  background: #fff; border: 1px solid var(--bb-line);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.prido-bb .prido-pi-pay-mark img { width: 38px; height: auto; display: block; }
.prido-bb .prido-pi-pay-mark svg { display: block; }
.prido-bb .prido-pi-pay-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.prido-bb .prido-pi-pay-text .prido-pi-line-title { font-size: 13px !important; font-weight: 600 !important; line-height: 1.3 !important; color: var(--bb-ink) !important; }
.prido-bb .prido-pi-pay-text .prido-pi-line-title strong { color: var(--bb-ink) !important; font-weight: 700 !important; }
.prido-bb .prido-pi-pay-row--transfer .prido-pi-line-title { font-weight: 700 !important; }
.prido-bb .prido-pi-pay-text .prido-pi-line-sub { font-size: 12px !important; color: var(--bb-muted) !important; line-height: 1.3 !important; }
.prido-bb .prido-pi-pay-amount { flex: 0 0 auto; text-align: right; white-space: nowrap; display: flex; flex-direction: column; gap: 3px; }
.prido-bb .prido-pi-pay-amount strong { font-family: var(--bb-fh); font-size: 15px; font-weight: 700; line-height: 1; color: var(--bb-ink); }
.prido-bb .prido-pi-pay-row--transfer .prido-pi-pay-amount strong { font-size: 17px; font-weight: 800; color: var(--bb-info-fg); }
.prido-bb .prido-pi-pay-amount small { font-size: 11px; color: var(--bb-faint); line-height: 1; }
:root[data-theme="dark"] .prido-bb .prido-pi-payments,
body.woodmart-dark .prido-bb .prido-pi-payments { background: var(--bb-surface) !important; border-color: color-mix(in srgb, var(--bb-teal) 40%, var(--bb-line)) !important; }
:root[data-theme="dark"] .prido-bb .prido-pi-pay-mark,
body.woodmart-dark .prido-bb .prido-pi-pay-mark { background: #fff; border-color: rgba(255,255,255,.14); }

/* ---------- WhatsApp ejecutivo ---------- */
.prido-bb .prido-pi-whatsapp {
  display: flex !important; align-items: center; gap: 10px;
  padding: 10px 12px; margin: 0 !important;
  border-radius: var(--bb-ri);
  background: var(--bb-surface-2) !important;
  border: 1px solid var(--bb-line-soft);
  color: var(--bb-ink-soft) !important;
  font-family: var(--bb-fb); font-size: 13px; line-height: 1.35;
  text-decoration: none !important;
  transition: border-color .16s var(--bb-ease), background .16s var(--bb-ease);
}
.prido-bb .prido-pi-whatsapp:hover { border-color: var(--bb-success); background: var(--bb-success-bg) !important; }
.prido-bb .prido-pi-whatsapp > svg:first-child { width: 20px; height: 20px; flex-shrink: 0; color: var(--bb-success); }
.prido-bb .prido-pi-whatsapp > span { flex: 1 1 auto; min-width: 0; }
.prido-bb .prido-pi-whatsapp strong { color: var(--bb-ink) !important; font-weight: 600 !important; }
.prido-bb .prido-pi-whatsapp-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--bb-muted); }

/* ---------- Grilla de confianza 2×2 ---------- */
.prido-bb .prido-pi-trust {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; margin: 0 !important;
}
.prido-bb .prido-pi-trust-item,
.prido-bb .prido-pi-trust-item.prido-pi-warranty-glass,
.prido-bb .prido-pi-trust-item.prido-pi-cert-glass {
  display: flex !important; align-items: flex-start; gap: 10px;
  margin: 0 !important; padding: 12px !important;
  background: var(--bb-surface) !important;
  border: 1px solid var(--bb-line) !important;
  border-radius: var(--bb-ri) !important;
  box-shadow: none !important;
}
.prido-bb .prido-pi-trust-item > svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--bb-info-fg); }
.prido-bb .prido-pi-trust-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prido-bb .prido-pi-trust-text strong { font-family: var(--bb-fb); font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--bb-ink) !important; }
.prido-bb .prido-pi-trust-text span { font-size: 12px; line-height: 1.35; color: var(--bb-muted); }
:root[data-theme="dark"] .prido-bb .prido-pi-trust-item,
body.woodmart-dark .prido-bb .prido-pi-trust-item { background: var(--bb-surface) !important; border-color: var(--bb-line) !important; }

/* ---------- Ficha técnica destacada (info-bar .is-primary) ---------- */
.prido-bb .prido-info-bar-item.is-primary {
  grid-column: 1 / -1;
  order: -1; /* la ficha técnica encabeza la grilla de tarjetas */
  flex-direction: row !important; align-items: center !important; gap: 12px !important;
  border: 1.5px solid var(--bb-cta-bg) !important;
  position: relative;
}
.prido-bb .prido-info-bar-item.is-primary .prido-info-bar-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bb-info-bg) !important; color: var(--bb-info-fg) !important;
}
.prido-bb .prido-info-bar-item.is-primary .prido-info-bar-icon svg { width: 18px !important; height: 18px !important; }
.prido-bb .prido-info-bar-item.is-primary .prido-info-bar-label { font-size: 14px !important; font-weight: 600 !important; }
.prido-bb .prido-info-bar-item.is-primary .prido-info-bar-label::after {
  content: "Especificaciones y medidas · PDF";
  display: block; margin-top: 2px;
  font-size: 12px; font-weight: 400; color: var(--bb-muted);
}
.prido-bb .prido-info-bar-badge {
  order: 3; margin-left: auto; flex-shrink: 0;
  padding: 4px 8px; border-radius: 6px;
  background: var(--bb-cta-bg); color: #fff;
  font-family: var(--bb-fh); font-size: 11px; font-weight: 700; line-height: 1;
}
.prido-bb .prido-info-bar-item.is-primary:hover { background: var(--bb-info-bg) !important; }

/* ---------- Pulido: chips y CTA ---------- */
.prido-bb .bb-chip { min-height: 44px !important; border-radius: var(--bb-ri) !important; }
.prido-bb .single_add_to_cart_button { min-height: 52px !important; border-radius: var(--bb-ri) !important; }

/* ---------- Responsive (móvil) ---------- */
@media (max-width: 575px) {
  .prido-bb .prido-pi-pay-row { gap: 10px; padding: 12px; }
  .prido-bb .prido-pi-pay-mark { width: 44px; height: 44px; }
  .prido-bb .prido-pi-pay-amount strong { font-size: 14px; }
  .prido-bb .prido-pi-pay-row--transfer .prido-pi-pay-amount strong { font-size: 16px; }
}
@media (max-width: 400px) {
  .prido-bb .prido-pi-trust { grid-template-columns: 1fr; }
}


/* ============================================================================
   § r8b · Fidelidad al prototipo "Ficha de Producto Prido B2B" (valores 1:1)
   ============================================================================ */
/* ---- Header ---- */
.prido-bb { gap: 18px !important; }
.prido-bb .prido-pi-title { font-size: 30px !important; font-weight: 600 !important; letter-spacing: -.01em !important; line-height: 1.1 !important; }
.prido-bb .prido-pi-meta-row { gap: 6px 14px !important; font-size: 13px !important; color: var(--bb-muted) !important; margin-top: -8px !important; }
.prido-bb .prido-pi-cat { font-family: var(--bb-fb); font-size: 13px; font-weight: 500; color: var(--prido-primary, #5e81a2) !important; text-decoration: none !important; }
.prido-bb .prido-pi-cat:hover { color: var(--bb-cta-bg) !important; }
.prido-bb .prido-pi-reviews-link {
  padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important;
  gap: 4px !important; font-size: 13px !important; font-weight: 400 !important; color: var(--prido-primary, #5e81a2) !important;
}
.prido-bb .prido-pi-reviews-link:hover { color: var(--bb-cta-bg) !important; }
.prido-bb .prido-pi-star { color: #f2b01e !important; gap: 1px !important; }
.prido-bb .prido-pi-star svg { width: 13px !important; height: 13px !important; }
.prido-bb .prido-pi-reviews-text { margin-left: 4px; color: inherit !important; }
.prido-bb .prido-pi-sku { font-size: 13px !important; color: var(--bb-muted) !important; }
.prido-bb .prido-pi-sku .sku { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; color: var(--bb-ink-soft) !important; }
.prido-bb .prido-pi-stock-row { display: flex !important; align-items: center; gap: 10px; flex-wrap: wrap; margin: -6px 0 0 !important; }
.prido-bb .prido-bb-stock { padding: 5px 10px 5px 8px !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1 !important; }
.prido-bb .prido-bb-stock .d { width: 7px !important; height: 7px !important; box-shadow: none !important; }
.prido-bb .prido-pi-tiempos-link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--bb-fb); font-size: 12px; color: var(--bb-muted) !important; text-decoration: none !important; }
.prido-bb .prido-pi-tiempos-link:hover { color: var(--bb-ink) !important; }

/* ---- Precio: una sola línea (precio · tachado · badge) + nota debajo, con divisor ---- */
.prido-bb .prido-pi-pricing-block { padding-bottom: 18px !important; border-bottom: 1px solid var(--bb-line) !important; gap: 6px !important; }
.prido-bb .prido-pi-prices { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: wrap !important; gap: 6px 12px !important; }
.prido-bb .prido-pi-price-main-wrap { display: contents !important; }
.prido-bb #prido-pi-main-val { order: 1; font-size: 34px !important; letter-spacing: -.02em !important; }
.prido-bb .prido-pi-price-reg-wrap { order: 2; align-items: center; }
.prido-bb #prido-pi-reg-val,
.prido-bb .prido-pi-price-reg-wrap del { font-family: var(--bb-fb) !important; font-size: 16px !important; font-weight: 400 !important; }
.prido-bb #prido-pi-badge-ahorro { order: 3; }
.prido-bb .prido-pi-badge-ahorro {
  padding: 4px 8px !important; border-radius: 6px !important; gap: 5px !important;
  background: var(--bb-info-bg) !important; color: var(--bb-info-fg) !important;
  font-family: var(--bb-fb) !important; font-size: 12px !important; font-weight: 700 !important;
  text-transform: none !important; letter-spacing: 0 !important; line-height: 1 !important;
}
:root[data-theme="dark"] .prido-bb .prido-pi-badge-ahorro,
body.woodmart-dark .prido-bb .prido-pi-badge-ahorro { color: var(--bb-info-fg) !important; }
.prido-bb .prido-pi-badge-ahorro svg { width: 14px !important; height: 14px !important; }
.prido-bb .prido-price-tax-note { order: 4; flex-basis: 100% !important; margin: 0 !important; font-size: 12px !important; }

/* ---- Variaciones ---- */
.prido-bb .bb-field-label { font-size: 13px !important; font-weight: 600 !important; color: var(--bb-ink) !important; }
.prido-bb .bb-field-label .bb-fv { font-weight: 400 !important; color: var(--bb-muted) !important; }
.prido-bb table.variations td.value .bb-clear-attr { padding: 0 !important; font-weight: 400 !important; font-size: 12px !important; background: transparent !important; }
.prido-bb table.variations td.value .bb-clear-attr:hover { color: var(--bb-ink) !important; background: transparent !important; }
.prido-bb table.variations td.value .bb-chips { margin-top: 10px !important; }
.prido-bb .bb-chip {
  min-height: 44px !important; padding: 0 16px !important;
  border: 1px solid var(--bb-line-strong) !important; border-radius: var(--bb-ri) !important;
  background: var(--bb-surface) !important; font-size: 14px !important; font-weight: 500 !important; color: var(--bb-ink) !important;
  transition: border-color .18s var(--bb-ease), background .18s var(--bb-ease), box-shadow .18s var(--bb-ease) !important;
}
.prido-bb .bb-chip:hover { border-color: var(--bb-teal-600) !important; background: var(--bb-surface-2) !important; }
.prido-bb .bb-chip.is-active {
  border-color: var(--bb-cta-bg) !important; background: var(--bb-surface) !important; font-weight: 600 !important;
  box-shadow: 0 0 0 1px var(--bb-cta-bg) inset, 0 0 0 3px var(--bb-info-bg) !important;
}
.prido-bb .bb-swatch { width: 18px !important; height: 18px !important; border: 1px solid rgba(0,0,0,.18) !important; box-shadow: inset 0 0 0 2px var(--bb-surface); }

/* ---- Cantidad + Añadir ---- */
.prido-bb form.cart .quantity { height: 52px !important; border: 1px solid var(--bb-line-strong) !important; border-radius: var(--bb-ri) !important; }
.prido-bb form.cart .quantity .qty-btn { width: 44px !important; }
.prido-bb form.cart .quantity input.qty { width: 44px !important; font-size: 15px !important; font-weight: 600 !important; }
.prido-bb .single_add_to_cart_button {
  height: 52px !important; min-height: 52px !important; padding: 0 18px !important;
  font-size: 16px !important; font-weight: 600 !important; letter-spacing: .01em !important;
  box-shadow: var(--bb-shadow-sm) !important;
}
.prido-bb .single_add_to_cart_button:hover { box-shadow: var(--bb-shadow-md) !important; }

/* ---- Cotizar: outline naranjo (mockup) ---- */
.prido-bb .prido-cotizar-btn,
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn,
body.woodmart-dark .prido-bb .prido-cotizar-btn {
  height: 48px !important; padding: 0 18px !important;
  background: transparent !important; color: var(--bb-quote) !important;
  border: 1.5px solid var(--bb-quote) !important; border-radius: var(--bb-ri) !important;
  font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: none !important;
  transition: background .18s var(--bb-ease), color .18s var(--bb-ease) !important;
}
.prido-bb .prido-cotizar-btn:hover,
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn:hover,
body.woodmart-dark .prido-bb .prido-cotizar-btn:hover { background: var(--bb-quote) !important; color: #fff !important; transform: none !important; }
.prido-bb .prido-cotizar-btn--disabled:hover { background: transparent !important; color: var(--bb-quote) !important; }

/* ---- Retiro en tienda: ya vive en la tarjeta "Envío a todo Chile · retiro en tienda" ---- */
.prido-bb .prido-logistics-glass { display: none !important; }

/* ---- Compartir ---- */
.prido-bb .prido-share-section { gap: 10px !important; }
.prido-bb .prido-share-title { font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
.prido-bb .prido-share-links { margin-left: 0 !important; gap: 8px !important; }
.prido-bb .prido-share-links a,
.prido-bb .prido-copy-link-btn { width: 32px; height: 32px; background: transparent !important; }

/* ---- Info bar: botones horizontales de 44px en 3 columnas (ficha PDF destacada arriba) ---- */
.prido-bb .prido-product-info-bar { gap: 8px !important; padding: 0 !important; border-top: 0 !important; }
.prido-bb .prido-info-bar-item {
  flex-direction: row !important; align-items: center !important; gap: 8px !important;
  min-height: 44px !important; padding: 0 12px !important;
  font-size: 13px !important; font-weight: 500 !important; color: var(--bb-ink-soft) !important;
}
.prido-bb .prido-info-bar-item:hover { transform: none !important; border-color: var(--bb-teal-600) !important; background: var(--bb-surface-2) !important; }
.prido-bb .prido-info-bar-icon { width: 16px !important; height: 16px !important; border-radius: 0 !important; background: transparent !important; color: var(--bb-muted) !important; }
.prido-bb .prido-info-bar-item:hover .prido-info-bar-icon { background: transparent !important; }
.prido-bb .prido-info-bar-icon svg { width: 16px !important; height: 16px !important; }
.prido-bb .prido-info-bar-item.is-primary { min-height: 64px !important; padding: 12px 14px !important; }
.prido-bb .prido-info-bar-item.is-primary .prido-info-bar-icon { width: 36px !important; height: 36px !important; border-radius: 9px !important; background: var(--bb-info-bg) !important; color: var(--bb-info-fg) !important; }
.prido-bb .prido-info-bar-item.is-primary .prido-info-bar-icon svg { width: 18px !important; height: 18px !important; }

/* ---- Acordeones ---- */
.prido-bb .bb-acc-bar { padding: 16px 0 !important; font-size: 15px !important; font-weight: 600 !important; }
.prido-bb .bb-acc-bar .chev svg { width: 18px !important; height: 18px !important; }
.prido-bb .bb-acc-body { padding: 0 0 18px !important; font-size: 14px !important; line-height: 1.62 !important; color: var(--bb-ink-soft) !important; }

@media (max-width: 575px) {
  .prido-bb .prido-pi-title { font-size: 26px !important; }
  .prido-bb .prido-product-info-bar { grid-template-columns: 1fr !important; }
}


/* ============================================================================
   § r8c · Layout 1320 (mockup) + tipografía de acordeones / tabla de atributos
   ============================================================================ */
@media (min-width: 1025px) {
  .prido-product-page { max-width: 1320px !important; padding-left: 40px !important; padding-right: 40px !important; }
  .prido-product-layout { grid-template-columns: minmax(0, 65fr) minmax(0, 35fr) !important; column-gap: 48px !important; }
}
.prido-bb .bb-acc-body,
.prido-bb .bb-acc-body p,
.prido-bb .bb-acc-body li,
.prido-bb .bb-acc-body div { font-family: var(--bb-fb) !important; font-size: 14px !important; line-height: 1.62 !important; color: var(--bb-ink-soft) !important; }
.prido-bb .bb-acc-body p { margin: 0 0 12px !important; }
.prido-bb .bb-acc-body strong, .prido-bb .bb-acc-body b { color: var(--bb-ink) !important; font-weight: 600 !important; }
.prido-bb .bb-acc-body h2, .prido-bb .bb-acc-body h3, .prido-bb .bb-acc-body h4, .prido-bb .bb-acc-body h5 {
  font-family: var(--bb-fb) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase !important;
  color: var(--bb-ink) !important; margin: 16px 0 8px !important; line-height: 1.3 !important;
}
.prido-bb .bb-acc-body ul { margin: 0 0 12px !important; padding-left: 0 !important; list-style: none !important; display: flex; flex-direction: column; gap: 5px; }
.prido-bb .bb-acc-body ul li { position: relative; padding-left: 16px !important; margin: 0 !important; }
.prido-bb .bb-acc-body ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--bb-teal); }
.prido-bb .bb-acc-body hr { border: 0 !important; border-top: 1px solid var(--bb-line) !important; margin: 12px 0 !important; }
.prido-bb .bb-acc-body small, .prido-bb .bb-acc-body .prido-desc-note, .prido-bb .bb-acc-body p[style*="opacity"] { font-size: 12.5px !important; color: var(--bb-muted) !important; }
.prido-bb .bb-acc-body table.shop_attributes th { font-family: var(--bb-fb) !important; font-size: 14px !important; font-weight: 400 !important; color: var(--bb-muted) !important; width: 42% !important; padding: 6px 12px 6px 0 !important; line-height: 1.4 !important; vertical-align: top !important; }
.prido-bb .bb-acc-body table.shop_attributes td { font-family: var(--bb-fb) !important; font-size: 14px !important; font-weight: 500 !important; color: var(--bb-ink) !important; padding: 6px 0 !important; line-height: 1.4 !important; }
.prido-bb .bb-acc-body table.shop_attributes td p { margin: 0 !important; font-size: 14px !important; font-weight: 500 !important; color: var(--bb-ink) !important; }
/* r9b: la columna de galería sigue al ancho real del visor (--pg-fit, fijado por
   prido-gallery.js en :root) → el hueco entre columnas queda en 48px también en
   pantallas bajas; el buy-box toma el resto. */
@media (min-width: 1025px) {
  .prido-product-layout { grid-template-columns: minmax(0, min(63%, var(--pg-fit, 9999px))) minmax(0, 1fr) !important; /* sin calc(): el minificador quita los espacios y lo invalida */ }
}

/* ============================================================================
   § r11 · "Detalles del producto" ordenado (mockup): párrafo compacto, eyebrows
   discretos, listas en 2 columnas con punto teal, notas al pie en gris.
   ============================================================================ */
.prido-bb .bb-acc-body { padding: 0 0 16px !important; }
.prido-bb .bb-acc-body > *:first-child { margin-top: 0 !important; }
.prido-bb .bb-acc-body p { margin: 0 0 10px !important; font-size: 14px !important; line-height: 1.6 !important; text-wrap: pretty; }
.prido-bb .bb-acc-body h2, .prido-bb .bb-acc-body h3, .prido-bb .bb-acc-body h4, .prido-bb .bb-acc-body h5 {
  display: block; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .1em !important; text-transform: uppercase !important;
  color: var(--bb-muted) !important; margin: 14px 0 6px !important; line-height: 1.3 !important;
}
.prido-bb .bb-acc-body h2:first-child, .prido-bb .bb-acc-body h3:first-child, .prido-bb .bb-acc-body h4:first-child { margin-top: 0 !important; }
.prido-bb .bb-acc-body ul { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px !important; margin: 0 0 12px !important; }
.prido-bb .bb-acc-body ul li { font-size: 13.5px !important; line-height: 1.45 !important; padding-left: 14px !important; color: var(--bb-ink-soft) !important; }
.prido-bb .bb-acc-body ul li::before { width: 5px; height: 5px; top: .6em; left: 1px; }
.prido-bb .bb-acc-body ul li strong { font-weight: 600 !important; }
.prido-bb .bb-acc-body > p:last-child, .prido-bb .bb-acc-body p[style*="opacity"], .prido-bb .bb-acc-body small, .prido-bb .bb-acc-body em:only-child { font-size: 12.5px !important; color: var(--bb-muted) !important; }
.prido-bb .bb-acc-body hr { margin: 10px 0 !important; }
.prido-bb .bb-acc-body a { color: var(--prido-primary, #5e81a2) !important; text-decoration: underline; text-underline-offset: 2px; }
/* Acordeones internos que traen algunas descripciones (estándar Prido): plegados y sutiles */
.prido-bb .bb-acc-body details { border-bottom: 1px solid var(--bb-line-soft); }
.prido-bb .bb-acc-body details summary { padding: 10px 0 !important; font-size: 13.5px !important; font-weight: 600 !important; color: var(--bb-ink) !important; }
@media (max-width: 480px) { .prido-bb .bb-acc-body ul { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================================
   § r13 · Detalles: cada bloque (eyebrow + lista) como panel suave de una columna
   ============================================================================ */
.prido-bb .bb-acc-body ul {
  display: flex !important; flex-direction: column; gap: 6px !important;
  margin: 0 0 14px !important; padding: 12px 14px !important;
  background: var(--bb-surface-2) !important; border: 1px solid var(--bb-line) !important; border-radius: var(--bb-ri) !important;
}
.prido-bb .bb-acc-body ul li { padding-left: 16px !important; font-size: 13.5px !important; line-height: 1.5 !important; color: var(--bb-ink-soft) !important; }
.prido-bb .bb-acc-body ul li::before { left: 2px; top: .62em; width: 6px; height: 6px; background: var(--bb-teal); }
.prido-bb .bb-acc-body h2, .prido-bb .bb-acc-body h3, .prido-bb .bb-acc-body h4, .prido-bb .bb-acc-body h5 { margin: 6px 0 8px !important; font-size: 11px !important; letter-spacing: .1em !important; color: var(--bb-muted) !important; }
.prido-bb .bb-acc-body h2 + ul, .prido-bb .bb-acc-body h3 + ul, .prido-bb .bb-acc-body h4 + ul, .prido-bb .bb-acc-body h5 + ul { margin-top: 0 !important; }
.prido-bb .bb-acc-body > p { margin: 0 0 12px !important; }
.prido-bb .bb-acc-body > p:first-child { margin-bottom: 16px !important; }
.prido-bb .bb-acc-body hr { margin: 14px 0 !important; }
.prido-bb .bb-acc-body hr + p, .prido-bb .bb-acc-body > p:last-child { font-size: 12.5px !important; line-height: 1.5 !important; color: var(--bb-muted) !important; margin: 0 0 8px !important; }
:root[data-theme="dark"] .prido-bb .bb-acc-body ul, body.woodmart-dark .prido-bb .bb-acc-body ul { background: var(--bb-surface-2) !important; border-color: var(--bb-line) !important; }
@media (max-width: 480px) { .prido-bb .bb-acc-body ul { padding: 10px 12px !important; } }

/* ============================================================================
   § r14 · Móvil/tablet: sin desplazamiento horizontal (iOS Safari)
   - La barra sticky de ESCRITORIO seguía renderizada (fixed, desplazada con
     transform) en ≤1024px y su fila de acciones sobresalía 5px del viewport.
   - Se recorta cualquier desborde residual con overflow-x:clip (no crea
     contenedor de scroll, no rompe sticky) y se blindan los anchos fijos.
   ============================================================================ */
@media (max-width: 1024px) {
  #prido-sticky-buy-bar { display: none !important; }
  html.single-product-html, body.single-product { overflow-x: clip !important; max-width: 100vw; }
  body.single-product .prido-product-page,
  body.single-product .prido-product-layout,
  body.single-product .prido-product-gallery,
  body.single-product .prido-product-details { max-width: 100% !important; min-width: 0 !important; overflow-x: clip; }
  #prido-sticky-buy-bar-mobile { left: 0 !important; right: 0 !important; width: auto !important; max-width: 100% !important; box-sizing: border-box !important; }
  .prido-bb .prido-pi-pay-row > * { min-width: 0; }
  .prido-bb .prido-pi-pay-amount { white-space: normal !important; }
  .prido-bb .prido-pi-trust-text, .prido-bb .prido-pi-whatsapp > span { min-width: 0; overflow-wrap: anywhere; }
  .prido-bb .prido-pi-prices, .prido-bb .prido-pi-meta-row, .prido-bb .prido-pi-stock-row { max-width: 100%; }
  .prido-bs-carousel-wrapper, .prido-related-carousel-wrapper { max-width: 100% !important; overflow: hidden !important; }
}
@media (max-width: 360px) {
  .prido-bb .prido-pi-pay-row { flex-wrap: wrap; }
  .prido-bb .prido-pi-pay-amount { text-align: left !important; }
}

/* ============================================================================
   § r15 · Desktop: buy-box de ancho fijo (440px, como el mockup) y bloque
   galería + buy-box CENTRADO. El breadcrumb vive dentro de la grilla
   (grid-column 1/-1) para alinearse con el visor. Sin calc(): minificador.
   ============================================================================ */
@media (min-width: 1025px) {
  .prido-product-layout {
    grid-template-columns: minmax(0, min(63%, var(--pg-fit, 9999px))) 440px !important;
    justify-content: center !important;
    column-gap: 48px !important;
  }
  .prido-product-layout > .prido-product-breadcrumbs { grid-column: 1 / -1; }
  .prido-product-details { width: 440px; max-width: 440px; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
  .prido-product-layout { grid-template-columns: minmax(0, min(60%, var(--pg-fit, 9999px))) minmax(360px, 400px) !important; }
  .prido-product-details { width: auto; max-width: 400px; }
}

/* ============================================================================
   § r16 · Proporción del mockup: galería = resto del ancho (≈65%), buy-box 420px
   ============================================================================ */
@media (min-width: 1025px) {
  .prido-product-layout { grid-template-columns: minmax(0, 1fr) 420px !important; justify-content: normal !important; column-gap: 48px !important; }
  .prido-product-details { width: auto; max-width: 420px; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
  .prido-product-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, 380px) !important; }
  .prido-product-details { max-width: 380px; }
}


/* ============================================================================
   § r17 · Móvil 1:1 con el mockup: página con 16px de margen, galería sin
   flechas, barra sticky de UNA fila (precio + "IVA incl. · atributos" a la
   izquierda, botón "Añadir" teal a la derecha; sin stepper ni badge).
   ============================================================================ */
@media (max-width: 1024px) {
  .prido-sticky-buy-bar-mobile {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) !important;
    background: color-mix(in srgb, var(--prido-theme-surface, #ffffff) 92%, transparent) !important;
    -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important;
    border-top: 1px solid var(--prido-theme-border, #e4e9ef) !important;
    box-shadow: 0 -8px 24px -12px rgba(15, 26, 38, .18) !important;
  }
  .prido-sticky-buy-mobile-inner { display: flex !important; align-items: center !important; gap: 10px !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .prido-sticky-buy-mobile-row.prices-row { flex: 1 1 auto !important; min-width: 0 !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 3px !important; margin: 0 !important; }
  .prido-sticky-buy-mobile-prices-group { display: flex !important; align-items: baseline !important; gap: 8px !important; flex-wrap: wrap !important; }
  .prido-sticky-buy-mobile-sale-wrap { display: contents !important; }
  .prido-sticky-buy-mobile-sale, .prido-sticky-buy-mobile-sale.has-offer { order: 1; font-family: 'Outfit', system-ui, sans-serif !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1 !important; color: var(--prido-theme-ink, #0f1a26) !important; }
  .prido-sticky-buy-mobile-reg { order: 2; font-family: var(--prido-font-body, 'Noto Sans', sans-serif) !important; font-size: 12px !important; font-weight: 400 !important; color: var(--prido-theme-ink-faint, #8a9aae) !important; text-decoration: line-through !important; }
  .prido-sticky-buy-mobile-iva, .prido-sticky-buy-mobile-savings { display: none !important; }
  .prido-sticky-buy-mobile-attrs { display: block; max-width: 100%; font-family: var(--prido-font-body, 'Noto Sans', sans-serif); font-size: 11px; line-height: 1.2; color: var(--prido-theme-ink-muted, #5e6f80); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .prido-sticky-buy-mobile-row.actions-row { display: flex !important; flex: 0 0 auto !important; margin: 0 !important; grid-template-columns: none !important; }
  .prido-sticky-buy-mobile-qty { display: none !important; }
  .prido-sticky-buy-mobile-btn, :root[data-theme="dark"] .prido-sticky-buy-mobile-btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    height: 48px !important; padding: 0 18px !important; border: 0 !important; border-radius: 12px !important;
    background: var(--prido-teal-700, #0E7E7A) !important; color: #fff !important;
    font-family: 'Outfit', system-ui, sans-serif !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .01em !important; text-transform: none !important;
    box-shadow: 0 1px 2px rgba(15, 26, 38, .05) !important;
  }
  .prido-sticky-buy-mobile-btn:hover, :root[data-theme="dark"] .prido-sticky-buy-mobile-btn:hover { background: #0B6A67 !important; color: #fff !important; transform: none !important; }
  .prido-sticky-buy-mobile-btn svg { width: 18px !important; height: 18px !important; }
}
@media (max-width: 575px) {
  .prido-product-page { padding-left: 16px !important; padding-right: 16px !important; }
  .prido-product-gallery .prido-main-wrap .prido-gallery-arrow { display: none !important; }
  .prido-bb .prido-pi-title { font-size: 26px !important; }
  .prido-bb { gap: 16px !important; }
}
/* r18: la barra móvil es UNA fila (el base la apilaba en columna) */
@media (max-width: 1024px) {
  .prido-sticky-buy-mobile-inner { flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-between !important; }
  .prido-sticky-buy-mobile-row.actions-row { width: auto !important; }
  .prido-sticky-buy-mobile-btn { width: auto !important; min-width: 0 !important; white-space: nowrap; }
}

/* ============================================================================
   § r19 · "Información adicional" 1:1 con el mockup en TODOS los anchos:
   grilla etiqueta 42% / valor (el maestro apilaba th/td en móvil).
   ============================================================================ */
.prido-bb .bb-acc-body table.shop_attributes,
.prido-bb .bb-acc-body table.shop_attributes tbody { display: block !important; width: 100% !important; }
.prido-bb .bb-acc-body table.shop_attributes tr {
  display: grid !important; grid-template-columns: 42% minmax(0, 1fr) !important; column-gap: 12px !important; align-items: baseline !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important;
}
.prido-bb .bb-acc-body table.shop_attributes th,
.prido-bb .bb-acc-body table.shop_attributes td {
  display: block !important; width: auto !important; padding: 4px 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important;
  font-family: var(--bb-fb) !important; font-size: 14px !important; line-height: 1.5 !important; text-align: left !important;
}
.prido-bb .bb-acc-body table.shop_attributes th { font-weight: 400 !important; color: var(--bb-muted) !important; }
.prido-bb .bb-acc-body table.shop_attributes td, .prido-bb .bb-acc-body table.shop_attributes td p { font-weight: 500 !important; color: var(--bb-ink) !important; }
.prido-bb .bb-acc-body table.shop_attributes td::before, .prido-bb .bb-acc-body table.shop_attributes th::before { display: none !important; content: none !important; }

/* ============================================================================
   § r20 · Opción A "Compacta" (canvas CTA Buy-box Prido) 1:1:
   fila [cantidad 52px][Añadir 52px] gap 10 → Cotizar 52px outline a 10px.
   ============================================================================ */
.prido-bb form.cart .quantity { height: 52px !important; min-height: 52px !important; }
.prido-bb form.cart .quantity .qty-btn { width: 44px !important; height: 100% !important; font-size: 18px !important; color: var(--bb-muted) !important; }
.prido-bb form.cart .quantity input.qty { width: 44px !important; height: 100% !important; font: 600 15px var(--bb-fb) !important; color: var(--bb-ink) !important; border-left: 1px solid var(--bb-line) !important; border-right: 1px solid var(--bb-line) !important; }
.prido-bb .single_add_to_cart_button { height: 52px !important; min-height: 52px !important; font-size: 16px !important; font-weight: 600 !important; gap: 10px !important; }
.prido-bb .single_add_to_cart_button svg { width: 19px !important; height: 19px !important; }
.prido-bb .prido-woo-native-form form.cart, .prido-bb .prido-woo-native-form .woocommerce-variation-add-to-cart, .prido-bb .prido-woo-native-form { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.prido-bb .prido-cotizar-wrap { margin: -8px 0 0 !important; }   /* gap 18 del contenedor − 8 = 10px */
.prido-bb .prido-cotizar-btn,
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn,
body.woodmart-dark .prido-bb .prido-cotizar-btn { height: 52px !important; min-height: 52px !important; font-size: 15px !important; gap: 10px !important; }
.prido-bb .prido-cotizar-btn svg { width: 18px !important; height: 18px !important; }

/* ============================================================================
   § r21 · Barra sticky de compra (escritorio ≥1025px) — mismo sistema que el
   buy-box: vidrio claro, contenedor 1320, precio Outfit + IVA en línea,
   atributos debajo, cantidad 44px y "Añadir al carrito" teal sólido 48px.
   ============================================================================ */
@media (min-width: 1025px) {
  #prido-sticky-buy-bar {
    background: color-mix(in srgb, var(--prido-theme-surface, #ffffff) 92%, transparent) !important;
    -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important;
    border-top: 1px solid var(--prido-theme-border, #e4e9ef) !important;
    box-shadow: 0 -8px 24px -12px rgba(15, 26, 38, .18) !important;
    padding: 0 !important;
  }
  #prido-sticky-buy-bar .prido-sticky-buy-inner {
    max-width: 1320px !important; margin: 0 auto !important; padding: 12px 40px !important;
    display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important;
  }
  #prido-sticky-buy-bar .prido-sticky-buy-info { display: flex !important; flex-direction: column !important; gap: 4px !important; min-width: 0; }
  #prido-sticky-buy-bar .prido-sticky-buy-prices { display: flex !important; align-items: baseline !important; gap: 10px !important; flex-wrap: wrap !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-sale-wrap { display: contents !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-sale { order: 1; font-family: 'Outfit', system-ui, sans-serif !important; font-size: 22px !important; font-weight: 700 !important; letter-spacing: -.01em !important; line-height: 1 !important; color: var(--prido-theme-ink, #0f1a26) !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-reg { order: 2; font-family: var(--prido-font-body, 'Noto Sans', sans-serif) !important; font-size: 14px !important; font-weight: 400 !important; color: var(--prido-theme-ink-faint, #8a9aae) !important; text-decoration: line-through !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-iva { order: 3; font-family: var(--prido-font-body, 'Noto Sans', sans-serif) !important; font-size: 12px !important; color: var(--prido-theme-ink-muted, #5e6f80) !important; white-space: nowrap !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-attrs { font-family: var(--prido-font-body, 'Noto Sans', sans-serif) !important; font-size: 12px !important; color: var(--prido-theme-ink-muted, #5e6f80) !important; margin: 0 !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-attrs:empty { display: none !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-actions { display: flex !important; align-items: center !important; gap: 10px !important; flex: 0 0 auto !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-qty { display: inline-flex !important; align-items: center !important; height: 44px !important; border: 1px solid var(--prido-theme-border-strong, #cfd6df) !important; border-radius: 12px !important; background: var(--prido-theme-surface, #fff) !important; overflow: hidden !important; }
  #prido-sticky-buy-bar .prido-sticky-qty-btn { width: 40px !important; height: 100% !important; border: 0 !important; background: transparent !important; color: var(--prido-theme-ink-muted, #5e6f80) !important; font: 500 18px/1 var(--prido-font-body, 'Noto Sans', sans-serif) !important; cursor: pointer; }
  #prido-sticky-buy-bar .prido-sticky-qty-btn:hover { background: var(--prido-theme-surface-soft, #f6f8fb) !important; color: var(--prido-theme-ink, #0f1a26) !important; }
  #prido-sticky-buy-bar .prido-sticky-qty-input { width: 40px !important; height: 100% !important; border: 0 !important; border-left: 1px solid var(--prido-theme-border, #e4e9ef) !important; border-right: 1px solid var(--prido-theme-border, #e4e9ef) !important; border-radius: 0 !important; background: transparent !important; text-align: center !important; font: 600 15px var(--prido-font-body, 'Noto Sans', sans-serif) !important; color: var(--prido-theme-ink, #0f1a26) !important; -moz-appearance: textfield; appearance: textfield; }
  #prido-sticky-buy-bar .prido-sticky-buy-btn, :root[data-theme="dark"] #prido-sticky-buy-bar .prido-sticky-buy-btn {
    display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important;
    height: 48px !important; padding: 0 22px !important; border: 0 !important; border-radius: 12px !important;
    background: var(--prido-teal-700, #0E7E7A) !important; color: #fff !important;
    font-family: 'Outfit', system-ui, sans-serif !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .01em !important; text-transform: none !important;
    box-shadow: 0 1px 2px rgba(15, 26, 38, .05) !important; transition: background .16s ease, transform .16s ease !important;
  }
  #prido-sticky-buy-bar .prido-sticky-buy-btn:hover, :root[data-theme="dark"] #prido-sticky-buy-bar .prido-sticky-buy-btn:hover { background: #0B6A67 !important; color: #fff !important; transform: translateY(-1px); }
  #prido-sticky-buy-bar .prido-sticky-buy-btn.disabled, #prido-sticky-buy-bar .prido-sticky-buy-btn:disabled { opacity: .5 !important; transform: none !important; }
  #prido-sticky-buy-bar .prido-sticky-buy-btn svg { width: 18px !important; height: 18px !important; }
}
/* r22: en pantallas <1440 el botón de la barra sticky deja sitio a la burbuja del chat (abajo-derecha) */
@media (min-width: 1025px) and (max-width: 1439px) {
  #prido-sticky-buy-bar .prido-sticky-buy-inner { padding-right: 104px !important; }
}

/* ============================================================================
   § r23 · Cotizar estilo "soft" (Opción B del canvas): relleno naranjo suave,
   borde sutil, texto naranjo AA e ícono de lápiz (reemplaza el SVG del plugin).
   ============================================================================ */
.prido-bb .prido-cotizar-btn,
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn,
body.woodmart-dark .prido-bb .prido-cotizar-btn {
  background: #fbf1ea !important; border: 1px solid #f0d9c6 !important; color: #b0561a !important;
  box-shadow: none !important;
}
.prido-bb .prido-cotizar-btn:hover,
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn:hover,
body.woodmart-dark .prido-bb .prido-cotizar-btn:hover { background: #f7e6d8 !important; border-color: #e9c9ad !important; color: #a4511a !important; }
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn,
body.woodmart-dark .prido-bb .prido-cotizar-btn { background: rgba(224, 138, 79, .14) !important; border-color: rgba(224, 138, 79, .35) !important; color: #e08a4f !important; }
:root[data-theme="dark"] .prido-bb .prido-cotizar-btn:hover,
body.woodmart-dark .prido-bb .prido-cotizar-btn:hover { background: rgba(224, 138, 79, .22) !important; color: #eb9a63 !important; }
.prido-bb .prido-cotizar-btn--disabled:hover { background: #fbf1ea !important; color: #b0561a !important; }
/* Ícono lápiz (mask con currentColor); se oculta el svg que trae el botón */
.prido-bb .prido-cotizar-btn svg { display: none !important; }
.prido-bb .prido-cotizar-btn::before {
  content: ""; display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================================================
   § r24 · Info bar "Opción A · Lista" (canvas Info Bar Buy-box Prido) 1:1:
   ficha PDF → filas 48px con ícono teal + chevron → franja "Equipo" punteada.
   ============================================================================ */
.prido-bb .prido-product-info-bar.prido-info-bar--list { display: flex !important; flex-direction: column !important; gap: 14px !important; grid-template-columns: none !important; }
.prido-bb .prido-info-bar--list .prido-info-bar-item.is-primary { grid-column: auto; min-height: 0 !important; padding: 12px 14px !important; gap: 12px !important; }
.prido-bb .prido-info-bar--list .prido-info-bar-item.is-primary .prido-info-bar-icon svg { width: 19px !important; height: 19px !important; }
.prido-bb .prido-info-bar-list { display: flex; flex-direction: column; }
.prido-bb .prido-info-bar-row {
  display: flex !important; align-items: center; gap: 12px; height: 48px; padding: 0 4px;
  border-bottom: 1px solid var(--bb-line); background: transparent !important;
  font-family: var(--bb-fb) !important; font-size: 14px !important; font-weight: 500 !important; color: var(--bb-ink-soft) !important;
  text-decoration: none !important; transition: color .16s var(--bb-ease);
}
.prido-bb .prido-info-bar-row:last-child { border-bottom: 0; }
.prido-bb .prido-info-bar-row:hover { color: var(--bb-ink) !important; }
.prido-bb .prido-info-bar-row-icon { display: inline-flex; flex: 0 0 auto; color: var(--bb-info-fg); }
.prido-bb .prido-info-bar-row-icon svg { width: 18px; height: 18px; }
.prido-bb .prido-info-bar-row-label { flex: 1 1 auto; min-width: 0; }
.prido-bb .prido-info-bar-row-chev { display: inline-flex; flex: 0 0 auto; margin-left: auto; color: var(--bb-faint); transition: transform .16s var(--bb-ease); }
.prido-bb .prido-info-bar-row:hover .prido-info-bar-row-chev { transform: translateX(2px); }
.prido-bb .prido-info-bar-internal {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 10px; background: var(--bb-surface-2); border: 1px dashed var(--bb-line-strong);
  font-family: var(--bb-fb); font-size: 12.5px; font-weight: 500; color: var(--bb-muted);
}
.prido-bb .prido-info-bar-int { display: inline-flex; align-items: center; gap: 6px; color: var(--bb-muted) !important; text-decoration: none !important; }
.prido-bb .prido-info-bar-int:hover { color: var(--bb-ink) !important; }
.prido-bb .prido-info-bar-int svg { width: 15px; height: 15px; }
.prido-bb .prido-info-bar-internal-sep { opacity: .5; }
.prido-bb .prido-info-bar-internal-tag { margin-left: auto; padding: 3px 7px; border-radius: 999px; background: var(--bb-surface-3); color: var(--bb-muted); font: 600 10.5px/1 var(--bb-fb); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 575px) { .prido-bb .prido-product-info-bar.prido-info-bar--list { grid-template-columns: none !important; } }
/* r25: el ícono de la ficha es de trazo (el maestro forzaba fill en la info bar) */
.prido-bb .prido-info-bar-icon svg, .prido-bb .prido-info-bar-row-icon svg, .prido-bb .prido-info-bar-int svg { fill: none !important; stroke: currentColor !important; }
/* r26: accesos internos como dos botones separados, cada uno con candado; sin etiqueta "Equipo" */
.prido-bb .prido-info-bar-internal { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; border: 0; background: transparent; }
.prido-bb .prido-info-bar-int {
  display: flex !important; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 12px;
  border: 1px dashed var(--bb-line-strong); border-radius: 10px; background: var(--bb-surface-2);
  font-family: var(--bb-fb); font-size: 13px; font-weight: 500; color: var(--bb-muted) !important; transition: color .16s var(--bb-ease), border-color .16s var(--bb-ease);
}
.prido-bb .prido-info-bar-int:hover { color: var(--bb-ink) !important; border-color: var(--bb-muted); }
.prido-bb .prido-info-bar-int svg { width: 15px; height: 15px; }
.prido-bb .prido-info-bar-internal-sep, .prido-bb .prido-info-bar-internal-tag { display: none !important; }
