/* Témpora PDP v2 — CSS extraído verbatim de template-pdp-v2.php (L84-1450 + L1454-1460).
   Fuente de verdad visual. NO editar a mano salvo overrides marcados. */

/* FIDELIDAD: reserva inferior mobile para la barra sticky fija (bespoke L1459: body{padding-bottom:76px}).
   Scopeado a la clase de body que añade inc/elementor-pdp.php cuando Elementor gobierna la PDP. */
@media (max-width: 768px) {
  body.tempora-pdp-elementor { padding-bottom: 76px !important; }
}


    /* === ISOLATION: Override Elementor global CSS === */
    .tempora-pdp-v2-content {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 0 !important; /* FIDELIDAD: era 56px arriba, pero al partir en widgets se repetía 10x (drift). El gap de 56px va solo en el hero (override abajo), como el bespoke con 1 wrapper. */
      background-color: #303E48 !important;
      float: none !important;
      position: relative !important;
      box-sizing: border-box !important;
      font-family: 'Manrope', sans-serif !important;
    }
    /* FIDELIDAD: gap superior header→primera sección solo en el hero (bespoke = 1 wrapper, 56px una vez).
       Incluye el hero del set EDITABLE (tempora-hero-edit), cuyo wrapper es distinto. Aditivo: no afecta a 6588. */
    .elementor-widget-tempora-hero .tempora-pdp-v2-content,
    .elementor-widget-tempora-hero-edit .tempora-pdp-v2-content {
      padding-top: 56px !important;
    }
    .tempora-pdp-v2-content *,
    .tempora-pdp-v2-content *::before,
    .tempora-pdp-v2-content *::after {
      box-sizing: border-box !important;
    }
    .tempora-pdp-v2-content section {
      display: block !important;
      width: 100% !important;
      float: none !important;
      clear: both !important;
    }
    .tempora-pdp-v2-content .tpdp-container {
      max-width: 1200px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      width: 100% !important;
      display: block !important;
      float: none !important;
    }
    /* Force grid layouts with high specificity */
    .tempora-pdp-v2-content .product-hero-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 48px !important;
      align-items: start !important;
    }
    /* PDF2 M6: franja trust+testimonio full-width debajo del hero
       Izquierda: .trust-grid (2×2) | Derecha: .specialist-note */
    .tempora-pdp-v2-content .trust-specialist-strip {
      display: block !important;
      width: 100% !important;
      background: #303E48 !important;
      padding-top: 36px !important;
      padding-bottom: 16px !important;
    }
    .tempora-pdp-v2-content .trust-specialist-inner {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 40px !important;
      align-items: stretch !important;
    }
    /* En la franja: trust-grid debe ser 2×2 (no hereda el 1fr 1fr del hero-grid) */
    .tempora-pdp-v2-content .trust-specialist-strip .trust-grid {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
      align-content: start !important;
    }
    /* specialist-note ocupa toda su celda verticalmente */
    .tempora-pdp-v2-content .trust-specialist-strip .specialist-note {
      height: 100% !important;
    }
    @media (max-width: 768px) {
      .tempora-pdp-v2-content .trust-specialist-inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
      }
      .tempora-pdp-v2-content .trust-specialist-strip {
        padding-bottom: 18px !important;
      }
    }
    .tempora-pdp-v2-content .trust-strip {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .trust-items {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 16px !important;
    }
    .tempora-pdp-v2-content .trust-item {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      gap: 8px !important;
    }
    .tempora-pdp-v2-content .specialist-note {
      display: flex !important;
      gap: 20px !important;
      align-items: flex-start !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .clinical-benefits {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .benefits-grid {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 20px !important;
    }
    .tempora-pdp-v2-content .benefit-card {
      display: flex !important;
      flex-direction: column !important;
      gap: 12px !important;
    }
    .tempora-pdp-v2-content .comparison-section {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .comparison-table {
      width: 100% !important;
      display: table !important;
      border-collapse: collapse !important;
    }
    .tempora-pdp-v2-content .comparison-table th,
    .tempora-pdp-v2-content .comparison-table td {
      display: table-cell !important;
    }
    .tempora-pdp-v2-content .comparison-table tr {
      display: table-row !important;
    }
    .tempora-pdp-v2-content .comparison-table thead {
      display: table-header-group !important;
    }
    .tempora-pdp-v2-content .comparison-table tbody {
      display: table-row-group !important;
    }
    /* Standalone sections */
    .tempora-pdp-v2-content .ingredients-standalone {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .ingredients-standalone > div {
      max-width: 1200px !important;
      margin: 0 auto !important;
      padding: 0 24px !important;
    }
    .tempora-pdp-v2-content .ingredients-standalone > div > div:last-child {
      display: grid !important;
      grid-template-columns: repeat(5, 1fr) !important;
      gap: 20px !important;
    }
    .tempora-pdp-v2-content .ingredients-standalone article {
      display: flex !important;
      flex-direction: column !important;
    }
    .tempora-pdp-v2-content .faq-standalone {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .faq-standalone details {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .faq-standalone summary {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      cursor: pointer !important;
      list-style: none !important;
    }
    .tempora-pdp-v2-content .faq-standalone summary::-webkit-details-marker {
      display: none !important;
    }
    /* Tabs */
    .tempora-pdp-v2-content .detail-tabs {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .tabs-nav {
      display: flex !important;
      gap: 0 !important;
      width: 100% !important;
      justify-content: center !important; /* PDF2 M8: centrar tabs horizontalmente */
      flex-wrap: wrap !important;         /* PDF2 M8: wrap para que fila 2 tambien quede centrada */
    }
    .tempora-pdp-v2-content .tab-btn {
      display: inline-flex !important;
      cursor: pointer !important;
    }
    .tempora-pdp-v2-content .tab-panel {
      display: none !important;
    }
    .tempora-pdp-v2-content .tab-panel.active {
      display: block !important;
    }
    /* Timeline */
    .tempora-pdp-v2-content .timeline-section {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .timeline-grid {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 24px !important;
    }
    /* Stats */
    .tempora-pdp-v2-content .stats-section {
      display: block !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .stats-grid {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 32px !important;
    }
    /* CTA */
    .tempora-pdp-v2-content .final-cta {
      display: block !important;
      width: 100% !important;
      text-align: center !important;
    }
    .tempora-pdp-v2-content .cta-buttons {
      display: flex !important;
      gap: 16px !important;
      justify-content: center !important;
      flex-wrap: wrap !important;
    }
    /* Gallery */
    .tempora-pdp-v2-content .gallery-col {
      display: block !important;
    }
    .tempora-pdp-v2-content .gallery-main {
      display: block !important;
    }
    .tempora-pdp-v2-content .gallery-main img {
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .tempora-pdp-v2-content .gallery-thumbs {
      display: flex !important;
      gap: 10px !important;
    }
    /* Purchase row — qty + cart en fila, COMPRAR AHORA abajo */
    .tempora-pdp-v2-content .purchase-row {
      display: grid !important;
      grid-template-columns: auto 1fr !important;
      gap: 10px !important;
      width: 100% !important;
    }
    .tempora-pdp-v2-content .purchase-row__qty-row { grid-column: 1; grid-row: 1; }
    .tempora-pdp-v2-content .purchase-row form { grid-column: 2; grid-row: 1; display: flex; align-items: stretch; }
    .tempora-pdp-v2-content .purchase-row .btn-buy-now { grid-column: 1 / -1; grid-row: 2; }
    .tempora-pdp-v2-content .qty-control {
      display: flex !important;
      align-items: center !important;
    }
    /* Sticky bars */
    .tempora-pdp-v2-content .sticky-atc-bar {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      z-index: 9999 !important;
      transform: translateY(-100%) !important;
      transition: transform 0.3s ease !important;
    }
    .tempora-pdp-v2-content .sticky-atc-bar.visible {
      transform: translateY(0) !important;
    }
    .tempora-pdp-v2-content .sticky-mobile-cta {
      position: fixed !important;
      bottom: 0 !important;
      left: 0 !important;
      right: 0 !important;
      z-index: 9998 !important;
      transform: translateY(100%) !important;
      transition: transform 0.3s ease !important;
      display: none !important;
    }
    .tempora-pdp-v2-content .sticky-mobile-cta.visible {
      transform: translateY(0) !important;
    }
    /* Responsive */
    @media (max-width: 768px) {
      .tempora-pdp-v2-content .product-hero-grid {
        grid-template-columns: 1fr !important;
      }
      .tempora-pdp-v2-content .trust-items {
        grid-template-columns: repeat(2, 1fr) !important;
      }
      .tempora-pdp-v2-content .benefits-grid {
        grid-template-columns: 1fr !important;
      }
      .tempora-pdp-v2-content .timeline-grid {
        grid-template-columns: 1fr !important;
      }
      .tempora-pdp-v2-content .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
      }
      .tempora-pdp-v2-content .ingredients-standalone > div > div:last-child {
        grid-template-columns: repeat(2, 1fr) !important;
      }
      .tempora-pdp-v2-content .sticky-mobile-cta {
        display: block !important;
      }
    }
    @media (max-width: 480px) {
      .tempora-pdp-v2-content .stats-grid {
        grid-template-columns: 1fr !important;
      }
      .tempora-pdp-v2-content .ingredients-standalone > div > div:last-child {
        grid-template-columns: 1fr !important;
      }
    }
    :root {
      /* ── DARK THEME — Clínica Témpora ── */
      --color-primary:                 #303E48;   /* dark blue-gray — hero, promo, timeline, footer bg */
      --color-on-primary:              #ffffff;
      --color-secondary:               #586400;   /* dark olive — installment text */
      --color-secondary-container:     #D6EF48;   /* lime green — buttons, accents */
      --color-on-secondary-container:  #586400;   /* dark olive — text on lime buttons */
      --color-accent-green:            #D6EF48;   /* lime — section labels, accent text */
      --color-accent-lime:             #D6EF48;   /* lime — timeline checks */
      --color-surface:                 #3C4C57;   /* medium dark — cards on dark bg */
      --color-surface-low:             #F5F3F3;   /* light gray — alternating light sections */
      --color-surface-lowest:          #FBF9F9;   /* off-white — cards on light sections */
      --color-on-surface:              #1F2937;   /* near black — text on light bg */
      --color-on-surface-variant:      #444747;   /* dark gray — secondary text on light bg */
      --color-outline-variant:         rgba(27, 28, 28, 0.15);
      --color-success:                 #10B981;   /* green */
      --color-star:                    #D6EF48;   /* lime stars */
      --radius-base:   0.75rem;
      --radius-card:   1rem;
      --radius-pill:   100px;
      --font:          'Manrope', sans-serif;
      --transition:    0.2s ease;
      --shadow-cloud:  0 20px 40px rgba(48, 62, 72, 0.2);
      --shadow-cloud-sm: 0 8px 24px rgba(48, 62, 72, 0.16);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    .tempora-pdp-v2-content { font-family: var(--font); color: #1F2937; background: #1b1c1c; line-height: 1.6; -webkit-font-smoothing: antialiased; }
    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; text-decoration: none; }
    button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
    ul { list-style: none; }
    .tempora-pdp-v2-content .tpdp-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

    /* PROMO BAR */
    .promo-bar { background: var(--color-primary); color: var(--color-on-primary); text-align: center; padding: 11px 24px; font-family: var(--font); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; }
    .promo-bar em { font-style: normal; font-weight: 700; color: var(--color-secondary-container); }
    .promo-bar .separator { margin: 0 14px; opacity: 0.35; }

    /* BREADCRUMB — light section */
    .breadcrumb { background: #F5F3F3; padding: 13px 0; }
    .breadcrumb nav { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #444747; flex-wrap: wrap; }
    .breadcrumb nav a { color: #444747; transition: color var(--transition); }
    .breadcrumb nav a:hover { color: #303E48; }
    .breadcrumb nav .sep { opacity: 0.4; font-size: 12px; }
    .breadcrumb nav .current { color: #1F2937; font-weight: 600; }

    /* HERO — dark background */
    .product-hero { padding: 56px 0 32px; background: #303E48; }
    .product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
    /* PDF2 D1: top ya no aplica (sticky removido) */
    .gallery-col { top: auto; }
    .gallery-main { background: #3C4C57; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
    .gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 28px; transition: opacity 0.25s ease; }
    .gallery-thumbs { display: flex; gap: 12px; }
    .gallery-thumb { flex: 1; background: #3C4C57; border-radius: var(--radius-base); overflow: hidden; aspect-ratio: 1 / 1; cursor: pointer; transition: box-shadow var(--transition), background var(--transition); display: flex; align-items: center; justify-content: center; padding: 8px; }
    .gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
    .gallery-thumb:hover { background: #2a3740; box-shadow: 0 0 0 2.5px #D6EF48; }
    .gallery-thumb.active { background: #2a3740; box-shadow: 0 0 0 2.5px #D6EF48; }
    .info-col { display: flex; flex-direction: column; gap: 32px; padding-left: 8px; }
    .badges { display: flex; gap: 8px; flex-wrap: wrap; }
    .badge { display: inline-flex; align-items: center; padding: 4px 14px; border-radius: var(--radius-pill); font-family: var(--font); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
    .badge-moss { background: rgba(214,239,72,0.15); color: #D6EF48; }
    .badge-new { background: rgba(214,239,72,0.2); color: #D6EF48; }
    .badge-stock { background: rgba(16,185,129,0.15); color: #10B981; }
    .product-title-block { display: flex; flex-direction: column; gap: 6px; }
    .product-title { font-family: var(--font); font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: #ffffff; line-height: 1.15; letter-spacing: -0.02em; }
    .product-subtitle { font-family: var(--font); font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.65); }
    .rating-row { display: flex; align-items: center; gap: 10px; }
    .stars { display: flex; gap: 2px; }
    .star { color: #D6EF48; font-size: 16px; line-height: 1; }
    .star.half { opacity: 0.45; }
    .rating-score { font-family: var(--font); font-size: 14px; font-weight: 700; color: #ffffff; }
    .rating-count { font-size: 13px; color: rgba(255,255,255,0.6); }
    .rating-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }
    .price-block { background: #3C4C57; border-radius: var(--radius-card); padding: 22px 28px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
    .price-main { font-family: var(--font); font-size: 38px; font-weight: 700; color: #ffffff; letter-spacing: -0.03em; line-height: 1; margin-bottom: 7px; }
    .price-installments { font-size: 14px; color: rgba(255,255,255,0.6); }
    .price-installments strong { color: #D6EF48; font-weight: 700; }
    .short-desc { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.75; }
    /* PDF2-fix C3: renombrada de .benefits-list a .pdp-benefits-list para NO colisionar con un snippet ajeno (PDP CUSTOM SCF) que pinta .benefits-list li::before/::after (circulo verde + check) = marcador duplicado sobre nuestro check SVG. */
    .pdp-benefits-list { display: flex; flex-direction: column; gap: 11px; }
    .benefit-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 400; line-height: 1.55; }
    .benefit-check { width: 20px; height: 20px; min-width: 20px; background: #D6EF48; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
    .benefit-check svg { width: 11px; height: 11px; stroke: #586400; }
    /* ============================================================
       PURCHASE ROW — Ronda A
       Layout: [stepper izq] → [btn-buy-now lima sólido] → [btn-cart outline]
       Regla anti-ambigüedad: NUNCA dos botones lima sólido simultáneos.
    ============================================================ */
    .purchase-row {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 10px;
      width: 100%;
    }
    /* Qty + Agregar al carrito en la misma fila */
    .purchase-row__qty-row {
      grid-column: 1;
      grid-row: 1;
      display: flex;
      align-items: center;
    }
    .purchase-row form {
      grid-column: 2;
      grid-row: 1;
      display: flex;
      align-items: stretch;
    }
    .purchase-row form .btn-cart {
      width: 100%;
    }
    /* COMPRAR AHORA ocupa toda la fila */
    .purchase-row .btn-buy-now {
      grid-column: 1 / -1;
      grid-row: 2;
    }
    .qty-control { display: flex; align-items: center; border-radius: var(--radius-base); overflow: hidden; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }
    .qty-btn { width: 42px; height: 50px; background: transparent; border: none; font-size: 18px; color: #ffffff; font-family: var(--font); font-weight: 400; transition: background var(--transition); display: flex; align-items: center; justify-content: center; }
    .qty-btn:hover { background: rgba(255,255,255,0.12); }
    .qty-btn:focus-visible { outline: 2px solid #D6EF48; outline-offset: -2px; }
    .qty-input { width: 50px; height: 50px; border: none; background: rgba(255,255,255,0.15); text-align: center; font-family: var(--font); font-size: 15px; font-weight: 700; color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; -moz-appearance: textfield; }
    .qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

    /* "Comprar ahora" — CTA primario: lima sólido, pill, 54px */
    .btn-buy-now {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 54px;
      background: #D6EF48;
      color: #586400;
      border: none;
      border-radius: var(--radius-pill);
      font-family: var(--font);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      transition: filter var(--transition), transform var(--transition);
    }
    .btn-buy-now:hover { filter: brightness(0.93); transform: translateY(-1px); }
    .btn-buy-now:active { transform: translateY(0); }
    .btn-buy-now:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

    /* "Agregar al carrito" — CTA secundario: outline ghost, pill, 50px */
    .btn-cart {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 50px;
      background: transparent;
      color: #ffffff;
      box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55);
      border: none;
      border-radius: var(--radius-pill);
      font-family: var(--font);
      font-size: 15px;
      font-weight: 600;
      /* NO uppercase: diferenciador visual del primario */
      letter-spacing: 0.01em;
      text-decoration: none;
      cursor: pointer;
      transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
    }
    .btn-cart:hover { box-shadow: inset 0 0 0 2px #D6EF48; background: rgba(255,255,255,0.05); transform: translateY(-1px); }
    .btn-cart:active { transform: translateY(0); }
    .btn-cart:focus-visible { outline: 2px solid #D6EF48; outline-offset: 2px; }

    /* P3 FIX: Safari iOS <15.4 saca del árbol a11y a form con display:contents.
       display:flex + width:100% preserva el layout de columna y es cross-browser. */
    .purchase-row form { display: flex; width: 100%; }
    .trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .trust-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.07); border-radius: var(--radius-base); padding: 13px 15px; }
    .trust-icon { width: 34px; height: 34px; min-width: 34px; border-radius: 9px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
    .trust-icon svg { width: 16px; height: 16px; }
    .trust-text strong { display: block; font-family: var(--font); font-size: 12px; font-weight: 700; color: #ffffff; line-height: 1.3; }
    .trust-text span { font-size: 11px; color: rgba(255,255,255,0.6); line-height: 1.3; }
    .specialist-note { background: rgba(255,255,255,0.07); border-radius: var(--radius-card); padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; border: 1px solid rgba(255,255,255,0.1); }
    .specialist-avatar { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; background: #D6EF48; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .specialist-avatar svg { width: 22px; height: 22px; stroke: #586400; }
    .specialist-quote { font-size: 13.5px; color: rgba(255,255,255,0.8); line-height: 1.75; font-style: italic; margin-bottom: 10px; }
    .specialist-meta { font-family: var(--font); font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; }
    .specialist-meta strong { color: #D6EF48; font-weight: 700; }

    /* DETAIL TABS — dark background */
    .detail-tabs { padding: 0 0 32px; background: #303E48; } /* PDF2 M7: padding-top eliminado — la franja trust-specialist-strip ya provee 40px de separacion, evitar doble gap franja→tabs */
    .tabs-nav { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; margin-bottom: 52px; padding-bottom: 2px; }
    .tabs-nav::-webkit-scrollbar { display: none; }
    .tab-btn { position: relative; padding: 14px 26px; background: transparent; font-family: var(--font); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.5); white-space: nowrap; transition: color var(--transition); letter-spacing: 0.01em; }
    .tab-btn::after { content: ''; position: absolute; bottom: 0; left: 26px; right: 26px; height: 2.5px; background: transparent; border-radius: 2px; transition: background var(--transition); }
    .tab-btn:hover { color: #D6EF48; }
    .tab-btn.active { color: #D6EF48; }
    .tab-btn.active::after { background: #D6EF48; }
    .tabs-nav-wrap { position: relative; margin-bottom: 52px; }
    .tabs-nav-wrap .tabs-nav { margin-bottom: 0; }
    .tabs-nav-wrap::after { content: ''; display: block; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }
    /* TAB "Descripción": el contenido sale de get_description() (editor de
       WooCommerce) sin color propio y heredaba NEGRO sobre el fondo oscuro
       #303E48. Se iguala al resto de los paneles (texto claro). !important
       para ganarle a un color inline negro que pueda traer el editor. */
    #tab-descripcion,
    #tab-descripcion p,
    #tab-descripcion li,
    #tab-descripcion span { color: rgba(255,255,255,0.72) !important; }
    #tab-descripcion h1, #tab-descripcion h2, #tab-descripcion h3,
    #tab-descripcion h4, #tab-descripcion h5,
    #tab-descripcion strong, #tab-descripcion b { color: #fff !important; }
    #tab-descripcion a { color: #D6EF48 !important; }
    .desc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
    .desc-col h2 { font-family: var(--font); font-size: 22px; font-weight: 700; color: #D6EF48; margin-bottom: 18px; letter-spacing: -0.02em; }
    .desc-col p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 16px; }
    .for-who-list { display: flex; flex-direction: column; gap: 16px; }
    .for-who-item { display: flex; gap: 14px; align-items: flex-start; }
    .for-who-icon { width: 38px; height: 38px; min-width: 38px; border-radius: 10px; background: rgba(214,239,72,0.15); display: flex; align-items: center; justify-content: center; }
    .for-who-icon svg { width: 18px; height: 18px; stroke: #D6EF48; }
    /* PDF2-fix C1: el .for-who-icon venia VACIO (el contenido del producto no trae SVG, y tempora_clean_html ademas elimina svgs). Inyectamos un check lima para que el cuadro no quede vacio. */
    .for-who-icon::after { content: "\2713"; color: #D6EF48; font-size: 18px; font-weight: 700; line-height: 1; }
    /* PDF2 D2: Separacion bold/descripcion en cards "Para quien es" */
    .for-who-text strong { display: block; font-family: var(--font); font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 6px; }
    .for-who-text span { display: block; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
    .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
    .step-card { background: #3C4C57; border-radius: var(--radius-card); padding: 30px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: box-shadow var(--transition), transform var(--transition); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
    .step-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.3); transform: translateY(-3px); }
    .step-number { width: 36px; height: 36px; background: #D6EF48; color: #586400; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font); font-size: 14px; font-weight: 700; }
    .step-icon { font-size: 32px; }
    .step-title { font-family: var(--font); font-size: 15px; font-weight: 700; color: #ffffff; }
    .step-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
    .usage-note { background: rgba(214,239,72,0.08); border-radius: var(--radius-card); padding: 22px 26px; display: flex; gap: 16px; align-items: flex-start; border: 1px solid rgba(214,239,72,0.2); }
    .usage-note-icon { width: 38px; height: 38px; min-width: 38px; background: #D6EF48; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
    .usage-note-icon svg { width: 18px; height: 18px; stroke: #586400; }
    .usage-note-text strong { display: block; font-family: var(--font); font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 5px; }
    .usage-note-text span { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.75; }
    .ingredients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .ingredient-card { background: #3C4C57; border-radius: var(--radius-card); padding: 30px 24px; transition: box-shadow var(--transition), transform var(--transition); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
    .ingredient-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.3); transform: translateY(-3px); }
    .ingredient-emoji { font-size: 30px; margin-bottom: 14px; }
    .ingredient-name { font-family: var(--font); font-size: 15px; font-weight: 700; color: #ffffff; margin-bottom: 7px; }
    .ingredient-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.65; }
    .reviews-layout { display: grid; grid-template-columns: 280px 1fr; gap: 52px; align-items: start; }
    .review-summary { background: #3C4C57; border-radius: var(--radius-card); padding: 36px 28px; text-align: center; box-shadow: 0 16px 48px rgba(0,0,0,0.25); }
    .review-score-big { font-family: var(--font); font-size: 64px; font-weight: 700; color: #D6EF48; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
    .review-stars-big { display: flex; justify-content: center; gap: 3px; margin-bottom: 9px; }
    .review-stars-big .star { font-size: 20px; }
    .review-count-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 28px; }
    .review-bars { display: flex; flex-direction: column; gap: 8px; }
    .review-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.55); }
    .review-bar-label { width: 36px; text-align: right; white-space: nowrap; }
    .review-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.1); border-radius: var(--radius-pill); overflow: hidden; }
    .review-bar-fill { height: 100%; background: #D6EF48; border-radius: var(--radius-pill); }
    .review-bar-num { width: 20px; }
    .review-cards { display: flex; flex-direction: column; gap: 16px; }
    .review-card { background: #3C4C57; border-radius: var(--radius-card); padding: 26px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); transition: box-shadow var(--transition); }
    .review-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
    .review-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 13px; }
    .reviewer-name { font-family: var(--font); font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 3px; }
    .reviewer-location { font-size: 12px; color: rgba(255,255,255,0.5); }
    .review-card-stars { display: flex; gap: 2px; }
    .review-card-stars .star { font-size: 14px; }
    .review-text { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 13px; }
    .verified-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(16,185,129,0.15); color: #10B981; font-family: var(--font); font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: var(--radius-pill); }
    .verified-badge svg { width: 11px; height: 11px; stroke: #10B981; }
    .faq-list { display: flex; flex-direction: column; gap: 0; }
    .faq-item { background: #3C4C57; border-radius: var(--radius-base); margin-bottom: 8px; overflow: hidden; }
    .faq-question { width: 100%; background: transparent; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font-family: var(--font); font-size: 15px; font-weight: 600; color: #ffffff; text-align: left; gap: 16px; transition: color var(--transition); }
    .faq-question:hover { color: #D6EF48; }
    .faq-arrow { width: 22px; height: 22px; min-width: 22px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: transform var(--transition), background var(--transition); }
    .faq-arrow svg { width: 10px; height: 10px; stroke: rgba(255,255,255,0.6); transition: stroke var(--transition); }
    .faq-item.open .faq-arrow { transform: rotate(180deg); background: #D6EF48; }
    .faq-item.open .faq-arrow svg { stroke: #586400; }
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
    .faq-answer-inner { padding: 0 24px 22px; font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.8; }

    /* TIMELINE — dark background */
    .timeline-section { background: #303E48; padding: 48px 0; }
    .timeline-header { text-align: center; margin-bottom: 32px; }
    .timeline-label { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #D6EF48; margin-bottom: 14px; }
    .timeline-title { font-family: var(--font); font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; color: #ffffff; letter-spacing: -0.02em; line-height: 1.15; }
    .timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
    .timeline-grid::before { content: ''; position: absolute; top: 38px; left: calc(12.5% + 8px); right: calc(12.5% + 8px); height: 2px; background: linear-gradient(to right, #D6EF48, rgba(214,239,72,0.18)); }
    .timeline-card { background: rgba(255,255,255,.05); border-radius: var(--radius-card); padding: 34px 24px; position: relative; transition: background var(--transition), transform var(--transition); }
    .timeline-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
    .timeline-dot { width: 14px; height: 14px; background: #D6EF48; border-radius: 50%; margin-bottom: 26px; border: 3px solid #303E48; box-shadow: 0 0 0 2px #D6EF48; }
    .timeline-period { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: #D6EF48; text-transform: uppercase; margin-bottom: 9px; }
    .timeline-card-title { font-family: var(--font); font-size: 17px; font-weight: 700; color: #ffffff; margin-bottom: 10px; line-height: 1.3; }
    .timeline-card-desc { font-size: 13.5px; color: rgba(255,255,255,.58); line-height: 1.7; margin-bottom: 18px; }
    .timeline-check { display: flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 12px; font-weight: 700; color: #D6EF48; }
    .timeline-check svg { width: 14px; height: 14px; stroke: #D6EF48; }

    /* SOCIAL PROOF — dark background */
    .social-proof { background: #1b1c1c; padding: 48px 0; }
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
    .stat-item { text-align: center; padding: 0 32px; }
    .stat-value { font-family: var(--font); font-size: clamp(32px, 4vw, 50px); font-weight: 700; color: #D6EF48; letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
    .stat-value span { color: #B2CA04; }
    .stat-label { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.45; }
    .stat-item:not(:last-child) { box-shadow: inset -1px 0 0 rgba(255,255,255,0.1); }

    /* CTA FINAL — dark background */
    /* PDF2 D3: Igualar margen superior e inferior de banda CTA final */
    .cta-final { background: #303E48; padding: 48px 0; }
    .cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
    .cta-label { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #D6EF48; margin-bottom: 18px; }
    .cta-title { font-family: var(--font); font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: #ffffff; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 16px; }
    .cta-subtitle { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 40px; line-height: 1.7; }
    .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 15px 34px; background: #D6EF48; color: #586400; border-radius: var(--radius-base); font-family: var(--font); font-size: 15px; font-weight: 700; border: none; transition: filter var(--transition), transform var(--transition); }
    .btn-primary:hover { filter: brightness(0.93); transform: translateY(-2px); }
    .btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 15px 34px; background: transparent; color: #ffffff; border-radius: var(--radius-base); font-family: var(--font); font-size: 15px; font-weight: 600; border: 2px solid rgba(255,255,255,0.6); transition: background var(--transition), border-color var(--transition), transform var(--transition); text-decoration: none; }
    .btn-outline:hover { background: rgba(255,255,255,0.08); outline-color: #D6EF48; transform: translateY(-2px); }

    /* FOOTER — dark */
    .footer-minimal { background: #1b1c1c; color: rgba(255,255,255,.50); text-align: center; padding: 26px; font-size: 13px; }
    .footer-minimal a { color: rgba(255,255,255,.70); }
    .footer-minimal a:hover { color: #ffffff; }

    /* SECTION HEADERS — default (used in dark sections like tabs, timeline) */
    .section-header { text-align: center; margin-bottom: 32px; }
    .section-label { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #D6EF48; margin-bottom: 12px; }
    .section-title { font-family: var(--font); font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: #ffffff; letter-spacing: -0.02em; line-height: 1.2; }
    /* Section headers on light backgrounds override */
    .comparison-section .section-title,
    .comparison-section .section-label { color: #1F2937; }
    .comparison-section .section-label { color: #586400; background: #D6EF48; display: inline-block; padding: 3px 12px; border-radius: 100px; font-size: 10px; }

    /* ============================================================
       NUEVOS BLOQUES CRO
    ============================================================ */

    /* A. STICKY ADD-TO-CART BAR — dark */
    .sticky-atc-bar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      background: #303E48;
      box-shadow: 0 2px 20px rgba(0,0,0,0.4);
      border-bottom: 2px solid #D6EF48;
      padding: 12px 0;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
    }
    .sticky-atc-bar.visible { transform: translateY(0); }
    .sticky-atc-inner {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .sticky-atc-thumb {
      width: 44px;
      height: 44px;
      min-width: 44px;
      background: #3C4C57;
      border-radius: var(--radius-base);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .sticky-atc-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
    .sticky-atc-name {
      font-family: var(--font);
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      flex: 1;
    }
    .sticky-atc-price {
      font-family: var(--font);
      font-size: 16px;
      font-weight: 700;
      color: #D6EF48;
      white-space: nowrap;
    }
    .sticky-atc-btn {
      background: #D6EF48;
      color: #586400;
      border: none;
      border-radius: var(--radius-base);
      padding: 10px 22px;
      font-family: var(--font);
      font-size: 14px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 7px;
      transition: filter var(--transition), transform var(--transition);
      white-space: nowrap;
    }
    .sticky-atc-btn:hover { filter: brightness(0.93); transform: translateY(-1px); }
    @media (max-width: 480px) {
      .sticky-atc-name { display: none; }
    }

    /* E. GARANTIA + ENVIO STRIP — dark */
    .trust-strip {
      background: #1b1c1c;
      padding: 18px 0;
    }
    .trust-strip-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      flex-wrap: wrap;
    }
    .trust-strip-item {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 8px 24px;
      font-family: var(--font);
      font-size: 13px;
      font-weight: 600;
      color: rgba(255,255,255,0.85);
    }
    .trust-strip-item:not(:last-child) {
      box-shadow: inset -1px 0 0 rgba(255,255,255,0.1);
    }
    .trust-strip-icon {
      width: 28px;
      height: 28px;
      min-width: 28px;
      background: rgba(255,255,255,0.1);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .trust-strip-icon svg { width: 14px; height: 14px; }
    @media (max-width: 768px) {
      .trust-strip-inner { gap: 0; }
      .trust-strip-item { padding: 8px 14px; font-size: 12px; }
    }
    @media (max-width: 480px) {
      .trust-strip-inner { flex-direction: column; align-items: flex-start; padding: 0 18px; gap: 4px; }
      .trust-strip-item { box-shadow: none; padding: 6px 0; }
    }

    /* C. BENEFICIOS EXPANDIDOS */
    .clinical-benefits {
      background: #303E48;
      padding: 48px 0;
    }
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .benefit-card {
      background: #3C4C57;
      border-radius: var(--radius-card);
      padding: 30px 24px;
      transition: box-shadow var(--transition), transform var(--transition);
      box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    .benefit-card:hover {
      box-shadow: 0 16px 40px rgba(0,0,0,0.3);
      transform: translateY(-3px);
    }
    .benefit-card-icon {
      width: 44px;
      height: 44px;
      background: rgba(214,239,72,0.15);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }
    .benefit-card-icon svg { width: 22px; height: 22px; stroke: #D6EF48; }
    .benefit-card-title {
      font-family: var(--font);
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
    }
    .benefit-card-desc {
      font-size: 13px;
      color: rgba(255,255,255,0.6);
      line-height: 1.65;
    }
    @media (max-width: 768px) {
      .benefits-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 480px) {
      .benefits-grid { grid-template-columns: 1fr; }
      .clinical-benefits { padding: 52px 0; }
    }

    /* B. TABLA COMPARATIVA */
    .comparison-section {
      background: var(--color-surface-lowest);
      padding: 48px 0;
    }
    .comparison-table-wrap {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      border-radius: var(--radius-card);
      /* PDF2-fix B1: position:relative para anclar el fade de scroll en mobile */
      position: relative;
    }
    .comparison-table {
      width: 100%;
      min-width: 560px;
      border-collapse: separate;
      border-spacing: 0;
      background: var(--color-surface-lowest);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-cloud);
    }
    .comparison-table thead tr th {
      padding: 22px 20px;
      font-family: var(--font);
      font-size: 14px;
      font-weight: 700;
      text-align: center;
      background: var(--color-surface-low);
      color: var(--color-on-surface);
    }
    .comparison-table thead tr th:first-child {
      text-align: left;
      width: 34%;
      background: var(--color-surface-low);
      border-radius: var(--radius-base) 0 0 0;
    }
    .comparison-table thead tr th.col-highlight {
      background: var(--color-secondary-container);
      color: var(--color-on-secondary-container);
      position: relative;
    }
    .comparison-table thead tr th.col-highlight .col-badge {
      display: block;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      background: var(--color-primary);
      color: var(--color-on-primary);
      border-radius: var(--radius-pill);
      padding: 3px 10px;
      margin-top: 6px;
      display: inline-block;
    }
    .comparison-table tbody tr td {
      padding: 16px 20px;
      font-size: 14px;
      color: var(--color-on-surface-variant);
      text-align: center;
      border-top: 1px solid var(--color-outline-variant);
    }
    .comparison-table tbody tr td:first-child {
      text-align: left;
      font-weight: 600;
      color: var(--color-on-surface);
      font-size: 13.5px;
    }
    .comparison-table tbody tr td.col-highlight {
      background: rgba(214, 239, 72, 0.06);
      font-weight: 700;
    }
    .comparison-table tbody tr:last-child td:first-child { border-radius: 0 0 0 var(--radius-base); }
    .comparison-table tbody tr:last-child td:last-child { border-radius: 0 0 var(--radius-base) 0; }
    .cmp-check { color: var(--color-success); font-size: 17px; font-weight: 700; }
    .cmp-cross { color: var(--color-outline-variant); font-size: 17px; }
    .cmp-partial { color: var(--color-star); font-size: 15px; font-weight: 700; }
    .cmp-text { font-size: 13px; color: var(--color-on-surface-variant); }
    @media (max-width: 480px) {
      .comparison-section { padding: 52px 0; }
    }

    /* PDF2 D1: Galeria estatica en desktop — quitar sticky */
    @media (min-width: 769px) {
      .gallery-col { position: static; align-self: flex-start; }
    }
    /* RESPONSIVE ORIGINAL */
    @media (max-width: 768px) {
      .product-hero-grid { grid-template-columns: 1fr; gap: 36px; }
      .info-col { padding-left: 0; }
      .desc-grid { grid-template-columns: 1fr; gap: 36px; }
      .steps-grid { grid-template-columns: 1fr 1fr; }
      .ingredients-grid { grid-template-columns: 1fr 1fr; }
      .reviews-layout { grid-template-columns: 1fr; }
      .review-summary { max-width: 360px; margin: 0 auto; }
      .timeline-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
      .timeline-grid::before { display: none; }
      .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
      .stat-item { box-shadow: none; padding: 0; }
      .stat-item:nth-child(odd) { box-shadow: inset -1px 0 0 rgba(255,255,255,0.1); padding-right: 24px; }
      .stat-item:nth-child(even) { padding-left: 24px; }
      .promo-bar .separator { display: none; }
      .promo-bar { font-size: 12px; }
    }
    @media (max-width: 480px) {
      .tempora-pdp-v2-content .tpdp-container { padding: 0 18px; }
      .product-hero { padding: 32px 0 52px; }
      .steps-grid { grid-template-columns: 1fr; }
      .ingredients-grid { grid-template-columns: 1fr; }
      .timeline-grid { grid-template-columns: 1fr; }
      .tabs-nav { gap: 0; }
      /* PDF2-fix A2: mantener borde de tabs (M3) tambien en <480px */
      .tab-btn { padding: 12px 16px; font-size: 13px; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; }
      .tab-btn.active { border-color: #D6EF48; }
      .tab-btn::after { left: 16px; right: 16px; }
      .trust-grid { grid-template-columns: 1fr; }
      /* Ronda A: purchase-row ya es columna full-width, no necesita flex-wrap */
      .cta-buttons { flex-direction: column; align-items: stretch; }
      .btn-primary, .btn-outline { text-align: center; justify-content: center; }
      .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
      .stat-item:nth-child(odd) { box-shadow: inset -1px 0 0 var(--color-outline-variant); }
      .social-proof { padding: 52px 0; }
      .timeline-section { padding: 60px 0; }
      .cta-final { padding: 32px 0; }
      .detail-tabs { padding: 44px 0; }
    }
    .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
    .gallery-main img.fade-out { opacity: 0; }
    .gallery-main img.fade-in  { opacity: 1; }

    /* ==============================================
       PDF2 — CAMBIOS MOBILE
       Breakpoint principal: max-width 768px
    ============================================== */

    /* PDF2 M1: Titulo antes de la imagen en mobile.
       Approach: se agrega .product-title-block-mobile en el markup (ver linea ~897)
       visible solo en mobile, encima de gallery-col.
       El .product-title-block original se oculta en mobile para evitar duplicado.
    */
    .product-title-block-mobile { display: none; }
    @media (max-width: 768px) {
      .product-title-block-mobile {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 16px;
      }
      .product-title-block { display: none; }
    }

    /* Mobile: misma fila qty + cart, COMPRAR AHORA abajo */
    @media (max-width: 768px) {
      .purchase-row {
        grid-template-columns: auto 1fr;
        gap: 8px;
      }
      .purchase-row__qty-row { grid-column: 1; grid-row: 1; }
      .purchase-row form { grid-column: 2; grid-row: 1; }
      .purchase-row .btn-buy-now { grid-column: 1 / -1; grid-row: 2; }
      .qty-btn {
        width: 38px;
        height: 44px;
      }
      .qty-input {
        width: 40px;
        height: 44px;
        font-size: 14px;
      }
      .btn-buy-now {
        height: 52px;
        font-size: 14px;
      }
      .btn-cart {
        height: 48px;
        font-size: 14px;
      }
    }

    /* PDF2 M3: Tabs con borde en mobile */
    @media (max-width: 768px) {
      .tab-btn {
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 6px;
        margin: 2px;
        padding: 10px 14px;
        font-size: 13px;
      }
      .tab-btn.active {
        border-color: #D6EF48;
      }
      .tabs-nav {
        flex-wrap: wrap;
        justify-content: center; /* PDF2 M8: centrar también en mobile */
        gap: 4px;
        margin-bottom: 32px;
      }
      .tabs-nav-wrap::after {
        display: none;
      }
      .tab-btn::after {
        display: none;
      }
    }

    /* PDF2 M4: Reduccion de margenes verticales excesivos en mobile.
       Zonas afectadas:
       1. Aire arriba/abajo de "Para quien es" (dentro del tab-panel, el .for-who-list y .desc-grid)
       2. Aire arriba/abajo de .clinical-benefits
       3. Aire entre .benefit-card y boton CTA dentro de la seccion
       4. Aire arriba de .ingredients-standalone
       5. Aire debajo de cards de ingredientes (antes de .social-proof)
       6. Aire arriba/abajo de .faq-standalone
       7. Aire debajo del boton "Comprar ahora" (.cta-final) antes del footer
    */
    @media (max-width: 768px) {
      /* Seccion hero */
      .product-hero { padding: 32px 0 36px; }

      /* Tabs section */
      .detail-tabs { padding: 36px 0; }

      /* Desc-grid dentro de tab (seccion "Para quien es") */
      .desc-grid { gap: 24px; }
      .for-who-list { gap: 14px; }

      /* Beneficios clinicos — zonas 2 y 3 */
      .clinical-benefits { padding: 48px 0; }
      .section-header { margin-bottom: 36px; }
      .benefits-grid { gap: 12px; }

      /* Comparativa */
      .comparison-section { padding: 48px 0; }

      /* Timeline */
      .timeline-section { padding: 48px 0; }
      .timeline-header { margin-bottom: 36px; }

      /* Social proof */
      .social-proof { padding: 40px 0; }

      /* FAQ standalone — zona 6 */
      .faq-standalone { padding: 48px 0 !important; }

      /* CTA final — zona 7 */
      .cta-final { padding: 32px 0; }
      .cta-subtitle { margin-bottom: 28px; }

      /* Ingredients standalone — zona 4 y 5 */
      .ingredients-standalone { padding: 48px 0 !important; }
    }

    /* PDF2-fix B1: Affordance de scroll en tabla comparativa (mobile) */
    .scroll-hint {
      display: none;
    }
    @media (max-width: 768px) {
      /* Fade en borde derecho del wrap para indicar contenido cortado */
      .comparison-table-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 48px;
        background: linear-gradient(to right, transparent, rgba(251,249,249,0.95));
        pointer-events: none;
        border-radius: 0 var(--radius-card) var(--radius-card) 0;
      }
      /* Hint de texto */
      .scroll-hint {
        display: block;
        text-align: center;
        font-size: 12px;
        color: #586400;
        font-weight: 600;
        margin-top: 10px;
        letter-spacing: 0.02em;
      }
    }

    /* PDF2-fix B2: Contraste texto secundario — opacidades subidas */
    /* Selectores de TEXTO (no bordes ni decorativos) */
    /* producto-subtitle: 0.65 → 0.75 */
    .product-subtitle { color: rgba(255,255,255,0.75) !important; }
    /* for-who-text: el texto descriptivo va SUELTO (no en span). Heredaba rgb(31,41,55) oscuro sobre fondo oscuro → casi ilegible. Se fuerza texto claro (el strong mantiene su #fff propio). */
    .for-who-text span { color: rgba(255,255,255,0.75) !important; }
    .for-who-text { color: rgba(255,255,255,0.75) !important; }
    /* trust-text span: 0.6 → 0.72 */
    .trust-text span { color: rgba(255,255,255,0.72) !important; }
    /* benefit-card-desc: 0.6 → 0.72 */
    .benefit-card-desc { color: rgba(255,255,255,0.72) !important; }
    /* desc-col: el parrafo va SUELTO (no en <p>). Heredaba rgb(31,41,55) oscuro sobre fondo oscuro. Se fuerza texto claro en el contenedor (el h2 mantiene su color propio). */
    .desc-col p { color: rgba(255,255,255,0.78) !important; }
    .desc-col { color: rgba(255,255,255,0.78) !important; }
    /* step-desc (modo de uso): 0.6 → 0.72 */
    .step-desc { color: rgba(255,255,255,0.72) !important; }
    /* usage-note-text span: 0.65 → 0.75 */
    .usage-note-text span { color: rgba(255,255,255,0.75) !important; }
    /* ingredient-desc (tab ingredientes): 0.6 → 0.72 */
    .ingredient-desc { color: rgba(255,255,255,0.72) !important; }
    /* review-text (opiniones): 0.65 → 0.75 */
    .review-text { color: rgba(255,255,255,0.75) !important; }
    /* faq-answer-inner: 0.65 → 0.75 */
    .faq-answer-inner { color: rgba(255,255,255,0.75) !important; }
    /* cta-subtitle: 0.65 → 0.75 */
    .cta-subtitle { color: rgba(255,255,255,0.75) !important; }
    /* NO subidos (no son texto de parrafo): .rating-count, .price-installments (metadata), .faq-arrow svg (decorativo), .btn-outline border (decorativo) */

    /* PDF2-fix B3a: btn-outline borde mas visible */
    .btn-outline { border-color: rgba(255,255,255,0.9) !important; }
    /* PDF2-fix C4: el TEXTO e ICONO de "Agendar evaluacion" salian oscuros sobre fondo oscuro
       (heredaban color via `a { color: inherit }` en vez del #fff del .btn-outline). Forzar claro. */
    .tempora-pdp-v2-content .btn-outline { color: #ffffff !important; }
    .tempora-pdp-v2-content .btn-outline svg { stroke: #ffffff !important; }

    /* PDF2-fix B3b: col-badge "Recomendado por especialistas" en <480px */
    @media (max-width: 480px) {
      .comparison-table thead tr th.col-highlight .col-badge {
        font-size: 8px;
        letter-spacing: 0.02em;
        padding: 2px 7px;
      }
    }

    /* PDF2-fix C5: Estado vacio de reviews */
    .reviews-empty {
      text-align: center;
      padding: 64px 24px;
    }
    .reviews-empty-icon {
      width: 56px;
      height: 56px;
      background: rgba(255,255,255,0.07);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }
    .reviews-empty-icon svg {
      width: 24px;
      height: 24px;
      stroke: rgba(255,255,255,0.35);
    }
    .reviews-empty-title {
      font-family: var(--font);
      font-size: 18px;
      font-weight: 700;
      color: rgba(255,255,255,0.75);
      margin-bottom: 8px;
    }
    .reviews-empty-sub {
      font-size: 14px;
      color: rgba(255,255,255,0.45);
      line-height: 1.6;
    }

    /* ============================================================
       CARDS LAYOUT HORIZONTAL — 2026-06-06
       Mobile (≤768px): convierte ícono→título→desc (vertical) a
       ícono | título en fila + descripción debajo.
       Desktop (≥769px): intacto.
       Cards convertidas: .benefit-card, .ingredient-card, .step-card
       Cards sin tocar: .for-who-item (ya horizontal), .trust-item
       (badge compacto intencional), .timeline-card (dot decorativo)
       ============================================================ */

    @media (max-width: 768px) {

      /* --- BENEFIT CARD --- */
      /* Antes: flex column (ícono arriba, título, desc) */
      /* Después: grid 44px | 1fr  /  desc full-width abajo */
      /* Especificidad: .tempora-pdp-v2-content .benefit-card sobrescribe con !important,
         por lo que igualamos con mismo selector */
      .tempora-pdp-v2-content .benefit-card {
        display: grid !important;
        grid-template-columns: 44px 1fr !important;
        grid-template-rows: auto auto !important;
        column-gap: 12px !important;
        row-gap: 6px !important;
        flex-direction: unset !important;
        padding: 20px !important;
      }
      .benefit-card-icon {
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin-bottom: 0 !important;
        align-self: start !important;
        flex-shrink: 0 !important;
      }
      .benefit-card-title {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        margin-bottom: 0 !important;
      }
      .benefit-card-desc {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        margin-top: 0 !important;
      }

      /* --- INGREDIENT CARD --- */
      /* Antes: display:block (emoji arriba, nombre, desc) */
      /* Después: grid 40px | 1fr  /  desc full-width abajo */
      .ingredient-card {
        display: grid !important;
        grid-template-columns: 40px 1fr !important;
        grid-template-rows: auto auto !important;
        column-gap: 12px !important;
        row-gap: 6px !important;
        padding: 20px !important;
      }
      .ingredient-emoji {
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin-bottom: 0 !important;
        align-self: start !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
      }
      .ingredient-name {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        margin-bottom: 0 !important;
      }
      .ingredient-desc {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
      }

      /* --- STEP CARD --- */
      /* Antes: flex column centrado (número, emoji, título, desc) */
      /* Después: grid 36px | 1fr  /  desc full-width abajo */
      /* step-icon (emoji) se oculta en mobile: el número ya identifica el paso */
      .step-card {
        display: grid !important;
        grid-template-columns: 36px 1fr !important;
        grid-template-rows: auto auto !important;
        column-gap: 12px !important;
        row-gap: 6px !important;
        align-items: start !important;
        text-align: left !important;
        padding: 20px !important;
      }
      .step-number {
        grid-column: 1 !important;
        grid-row: 1 !important;
        flex-shrink: 0 !important;
        align-self: start !important;
      }
      .step-icon {
        display: none !important;
      }
      .step-title {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
      }
      .step-desc {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        text-align: left !important;
      }

      /* --- TIMELINE CARD --- */
      /* Layout: dot | period  (fila 1, encabezado)
         título / desc / check  (filas 2-4, col 1/-1 full-width)
         → título y desc alineados al mismo left (borde de la card) */
      .timeline-card {
        display: grid !important;
        grid-template-columns: 14px 1fr !important;
        grid-template-rows: auto auto auto auto !important;
        column-gap: 14px !important;
        row-gap: 0 !important;
        padding: 20px !important;
      }
      .timeline-dot {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: center !important;
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
      }
      .timeline-period {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        margin-bottom: 0 !important;
      }
      .timeline-card-title {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
      }
      .timeline-card-desc {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        margin-top: 8px !important;
        margin-bottom: 12px !important;
      }
      .timeline-check {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
      }

    } /* end @media (max-width: 768px) */

    /* ============================================================
       UX SPACING AUDIT — 2026-06-06
       Normaliza padding vertical de secciones del cuerpo + headers
       EXCLUIDO: .product-hero padding-top (~110-112px, compensa fixed header)
       ============================================================ */

    /* MOBILE ≤768px — secciones cuerpo a 32px top/bottom */
    @media (max-width: 768px) {
      .timeline-section     { padding-top: 32px !important; padding-bottom: 32px !important; }
      .clinical-benefits    { padding-top: 32px !important; padding-bottom: 32px !important; }
      .comparison-section   { padding-top: 32px !important; padding-bottom: 32px !important; }
      .ingredients-standalone { padding-top: 32px !important; padding-bottom: 32px !important; }
      .social-proof         { padding-top: 32px !important; padding-bottom: 32px !important; }
      .faq-standalone       { padding-top: 32px !important; padding-bottom: 32px !important; }

      /* Tabs nav */
      .tabs-nav-wrap        { margin-bottom: 28px !important; }
      .detail-tabs          { padding-bottom: 24px !important; }

      /* Section headers */
      .section-header       { margin-bottom: 24px !important; }
      .timeline-header      { margin-bottom: 24px !important; }

      /* Section labels */
      .section-label        { margin-bottom: 8px !important; }
      .timeline-label       { margin-bottom: 8px !important; }

      /* Ingredients header */
      .ingredients-standalone > div > div:first-child { margin-bottom: 36px !important; }
    }

    /* DESKTOP ≥769px — outliers solamente */
    @media (min-width: 769px) {
      /* ingredients-standalone estaba en 64px (outlier) → 48px */
      .ingredients-standalone { padding-top: 48px !important; padding-bottom: 48px !important; }

      /* Tabs nav desktop */
      .tabs-nav-wrap        { margin-bottom: 36px !important; }

      /* Ingredients header desktop */
      .ingredients-standalone > div > div:first-child { margin-bottom: 36px !important; }
    }

/* --- bloque 2 (sticky mobile) --- */
    .sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 14px 20px; background: var(--color-primary); z-index: 9998; align-items: center; justify-content: space-between; transform: translateY(100%); transition: transform 0.3s ease; }
    .sticky-mobile-cta.visible { transform: translateY(0); }
    .sticky-mobile-cta .sticky-price { font-family: var(--font); font-weight: 700; font-size: 18px; color: var(--color-on-primary); }
    .sticky-mobile-cta .sticky-buy-btn { background: var(--color-secondary-container); color: var(--color-on-secondary-container); border: none; border-radius: var(--radius-card); padding: 14px 26px; font-family: var(--font); font-weight: 700; font-size: 15px; min-height: 48px; cursor: pointer; transition: filter 0.2s; }
    .sticky-mobile-cta .sticky-buy-btn:hover { filter: brightness(0.93); }
    @media (max-width: 768px) { .sticky-mobile-cta { display: flex; } body { padding-bottom: 76px; } }
    @media (prefers-reduced-motion: reduce) { .sticky-mobile-cta { transition: none; } }

    /* ============================================================
       AUTO-CENTRADO DE CUADROS — solo widgets EDITABLES (-edit).
       Cuando el cliente borra ítems desde Elementor, la fila incompleta
       se centra (flex-wrap + justify-content:center). A full count se ve
       idéntico al golden (fila llena = sin espacio que repartir).
       Scopeado a -edit → 6588 / widgets SCF intactos.
       ============================================================ */

    /* Beneficios: 3 col → (≤768) 1 col */
    .elementor-widget-tempora-benefits-edit .benefits-grid {
      display: flex !important; flex-wrap: wrap !important;
      justify-content: center !important; gap: 20px !important;
    }
    .elementor-widget-tempora-benefits-edit .benefit-card {
      flex: 0 1 calc((100% - 2 * 20px) / 3) !important;
    }
    @media (max-width: 768px) {
      .elementor-widget-tempora-benefits-edit .benefit-card { flex-basis: 100% !important; }
    }

    /* Modo de uso (tabs): 4 col → (≤768) 2 → (≤480) 1 */
    .elementor-widget-tempora-tabs-edit .steps-grid {
      display: flex !important; flex-wrap: wrap !important;
      justify-content: center !important; gap: 16px !important;
    }
    .elementor-widget-tempora-tabs-edit .step-card {
      flex: 0 1 calc((100% - 3 * 16px) / 4) !important;
    }
    @media (max-width: 768px) {
      .elementor-widget-tempora-tabs-edit .step-card { flex-basis: calc((100% - 16px) / 2) !important; }
    }
    @media (max-width: 480px) {
      .elementor-widget-tempora-tabs-edit .step-card { flex-basis: 100% !important; }
    }

    /* Ingredientes (tab): 3 col → (≤768) 2 → (≤480) 1 */
    .elementor-widget-tempora-tabs-edit .ingredients-grid {
      display: flex !important; flex-wrap: wrap !important;
      justify-content: center !important; gap: 16px !important;
    }
    .elementor-widget-tempora-tabs-edit .ingredient-card {
      flex: 0 1 calc((100% - 2 * 16px) / 3) !important;
    }
    @media (max-width: 768px) {
      .elementor-widget-tempora-tabs-edit .ingredient-card { flex-basis: calc((100% - 16px) / 2) !important; }
    }
    @media (max-width: 480px) {
      .elementor-widget-tempora-tabs-edit .ingredient-card { flex-basis: 100% !important; }
    }

    /* Trust strip (hero): 2 col siempre */
    .elementor-widget-tempora-hero-edit .trust-specialist-strip .trust-grid {
      display: flex !important; flex-wrap: wrap !important;
      justify-content: center !important; gap: 10px !important;
    }
    .elementor-widget-tempora-hero-edit .trust-specialist-strip .trust-item {
      flex: 0 1 calc((100% - 10px) / 2) !important;
    }
    @media (max-width: 480px) {
      .elementor-widget-tempora-hero-edit .trust-specialist-strip .trust-item { flex-basis: 100% !important; }
    }

    /* Ingredientes (sección destacada): 5 col → (≤768) 2 → (≤480) 1.
       Reemplaza el auto-fit inline (que estiraba) por flex centrado. */
    .elementor-widget-tempora-ingredients-edit .tpdp-ing-edit-grid {
      display: flex !important; flex-wrap: wrap !important;
      justify-content: center !important; gap: 20px !important;
    }
    .elementor-widget-tempora-ingredients-edit .tpdp-ing-edit-grid > article {
      flex: 0 1 calc((100% - 4 * 20px) / 5) !important;
    }
    @media (max-width: 768px) {
      .elementor-widget-tempora-ingredients-edit .tpdp-ing-edit-grid > article { flex-basis: calc((100% - 20px) / 2) !important; }
    }
    @media (max-width: 480px) {
      .elementor-widget-tempora-ingredients-edit .tpdp-ing-edit-grid > article { flex-basis: 100% !important; }
    }

    /* Ícono de ingrediente abierto (FontAwesome / SVG propio vía control ICONS):
       mismo tamaño visual que el emoji al que reemplaza dentro de .tpdp-ing-icon. */
    .elementor-widget-tempora-ingredients-edit .tpdp-ing-icon i {
      font-size: 24px; line-height: 1; color: #fff;
    }
    .elementor-widget-tempora-ingredients-edit .tpdp-ing-icon svg {
      width: 24px; height: 24px; fill: #fff;
    }

    /* Ícono de beneficio abierto (FontAwesome / SVG propio vía control ICONS):
       mismo tamaño visual que el SVG legado dentro de .benefit-card-icon. */
    .elementor-widget-tempora-benefits-edit .tpdp-benefit-icon i {
      font-size: 22px; line-height: 1; color: #D6EF48;
    }
    .elementor-widget-tempora-benefits-edit .tpdp-benefit-icon svg {
      width: 22px; height: 22px; fill: none; stroke: #D6EF48;
    }

    /* Ícono de trust-strip abierto (FontAwesome / SVG propio vía control ICONS):
       mismo tamaño visual que el SVG legado dentro de .trust-icon. */
    .elementor-widget-tempora-hero-edit .tpdp-trust-icon i {
      font-size: 16px; line-height: 1; color: #fff;
    }
    .elementor-widget-tempora-hero-edit .tpdp-trust-icon svg {
      width: 16px; height: 16px; fill: #fff;
    }
