
    /* ============================================================
       CSS VARIABLES & RESET  (shared — identical to PLP/Home)
    ============================================================ */
    :root {
      --blue: #2A4D9F;
      --blue-dark: #122b6e;
      /* #008200 y no el #4CAF50 de antes: con letra blanca aquel da 2,78:1 y el
       minimo son 4,5. Este archivo NO es una maqueta muerta: sus <style> se
       inyectan en la ficha de producto real desde `reference-pdp.ts`, asi que un
       color de aqui es un color de produccion. De todo lo verde que define, en la
       ficha solo se pintan dos cosas: `.green` (via esta variable) y
       `.pdp-ver-oferta-btn`. Medido en el navegador el 2026-08-10. */
    --green: #008200;
      --green-dark: #388E3C;
      --red: #e53935;
      --bg: #e0e0e0;
      --white: #ffffff;
      --text: #1a1a1a;
      /* #727272, el MISMO gris que el resto del sitio (`content-muted` en
         frontend/tailwind.config.js). La ficha se quedó con un #888888 propio al
         migrar el diseño en 4506b0d, y ese gris da 3,54:1 sobre blanco cuando el
         mínimo accesible son 4,5:1 — por eso la barra de paginación y la última
         miga fallaban `color-contrast` en escritorio. #727272 da 4,81:1.
         Sus 28 usos son todos texto oscuro sobre fondo claro, así que oscurecerlo
         solo mejora; no hay ninguno sobre fondo oscuro. */
      --text-muted: #727272;
      --border: #e0e0e0;
      --shadow: rgba(0,0,0,0.12) 0px 1px 2px 0px;
      --shadow-lg: rgba(0,0,0,0.2) 0px 4px 8px 0px;
      --radius-sm: 2px;
      --radius: 6px;
      --radius-lg: 6px;
      --radius-pill: 9999px;
      --max-width: 1200px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { overflow-x: clip; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      font-size: 16px;
      line-height: 1.4;
    }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* ============================================================
       BUTTONS  (shared — identical to PLP/Home)
    ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      border-radius: var(--radius-pill);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      border: 2px solid transparent;
      white-space: nowrap;
      min-height: 40px;
      transition: opacity 0.15s;
    }
    .btn:hover { opacity: 0.88; }
    .btn--white { background: var(--white); color: var(--text); border-color: rgba(255,255,255,0.8); }
    .btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
    .btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
    .btn--sm { padding: 6px 12px; font-size: 12px; min-height: 32px; }
    .btn--lg { padding: 10px 22px; font-size: 15px; min-height: 44px; }
    .header .btn--white { padding: 9px 22px; font-size: 14px; font-weight: 700; border: 2px solid rgba(255,255,255,0.6); min-height: 46px; color: var(--blue); }

    /* ── PDP-specific button variants ── */
    .btn--green { background: var(--green); color: var(--white); border-color: var(--green); border-radius: var(--radius); }
    .btn--green:hover { background: var(--green-dark); opacity: 1; }
    .btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); border-radius: var(--radius); }
    .btn--blue:hover { background: var(--blue-dark); opacity: 1; }

    /* ============================================================
       BADGES  (shared — identical to PLP/Home)
    ============================================================ */
    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius-sm);
      font-size: 11px;
      font-weight: 700;
      padding: 2px 7px;
      line-height: 1.2;
    }
    .badge--green { background: #67AD3F; color: var(--white); }
    .badge--red { background: var(--red); color: var(--white); border-radius: var(--radius-pill); padding: 4px 12px; font-size: 12px; }

    /* ============================================================
       HEADER  (shared — identical to PLP/Home)
    ============================================================ */
    .sticky-top-wrapper {
      position: sticky;
      top: 0;
      z-index: 9999;
      background: var(--blue);
    }
    .header {
      background: var(--blue);
      box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    }
    .header-inner {
      display: grid;
      grid-template-columns: auto auto 1fr auto;
      align-items: center;
      column-gap: 20px;
      padding: 8px 30px;
      max-width: var(--max-width);
      margin: 0 auto;
      height: 80px;
    }
    .header-cat-btn { flex-shrink: 0; }
    .header-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--white);
      font-weight: 900;
      font-size: 20px;
      letter-spacing: -0.5px;
      flex-shrink: 0;
    }
    .header-center {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .header-search {
      flex: 1;
      display: flex;
      align-items: center;
      background: var(--white);
      border-radius: 999px;
      padding: 0 16px;
      gap: 10px;
      height: 46px;
    }
    .header-search input {
      flex: 1;
      border: none;
      outline: none;
      font-size: 16px;
      color: var(--text);
      background: transparent;
    }
    .header-search input::placeholder { color: var(--text-muted); }
    .header-search .search-icon { color: var(--text-muted); font-size: 16px; display: flex; align-items: center; }
    .header-search .search-icon svg { stroke: var(--text-muted); }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    /* ============================================================
       CHIPS BAR  (shared — identical to PLP/Home)
    ============================================================ */
    .chips-bar {
      display: none;
    }
    .chips-bar-inner {
      display: flex;
      align-items: center;
      max-width: var(--max-width);
      margin: 0 auto;
      height: 40px;
      position: relative;
    }
    .chips-scroll {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      flex: 1;
      padding: 6px 32px;
      scrollbar-width: none;
    }
    .chips-scroll::-webkit-scrollbar { display: none; }
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #2A4D9F;
      color: #ffffff;
      border-radius: var(--radius-pill);
      padding: 3px 12px 3px 5px;
      font-size: 13px;
      font-weight: 400;
      border: none;
      outline: none;
      white-space: nowrap;
      cursor: pointer;
      transition: opacity 0.15s;
      flex-shrink: 0;
    }
    .chip:hover { opacity: 0.82; }
    a.chip { text-decoration: none; color: #ffffff; }
    .chip-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      overflow: hidden;
      flex-shrink: 0;
    }
    .chips-bar-inner::before,
    .chips-bar-inner::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 80px;
      pointer-events: none;
      z-index: 1;
      opacity: 0;
      transition: opacity 0.2s;
    }
    .chips-bar-inner::before {
      left: 0;
      background: linear-gradient(to right, #3D5EA7 30%, transparent);
    }
    .chips-bar-inner::after {
      right: 0;
      background: linear-gradient(to left, #3D5EA7 30%, transparent);
    }
    .chips-bar-inner.fade-left::before  { opacity: 1; }
    .chips-bar-inner.fade-right::after  { opacity: 1; }
    .chip-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: #ffffff;
      cursor: pointer;
      transition: opacity 0.2s ease;
      z-index: 2;
    }
    .chip-arrow:hover { opacity: 0.75; }
    .chip-arrow--left  { left: 0; }
    .chip-arrow--right { right: 0; }
    .chip-arrow.hidden { display: none; }
    .pdp-chip-nav { padding: 3px 12px; font-size: 12px; font-weight: 500; }

    /* ============================================================
       PRODUCT CARD  (shared — identical to PLP/Home)
    ============================================================ */
    .product-card {
      background: var(--white);
      border-radius: var(--radius);
      border: none;
      box-shadow: var(--shadow);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1);
    }
    @media (hover: hover) {
      .product-card:hover {
        box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
      }
      .product-card:hover .product-card-img {
        transform: scale(1.06);
      }
    }
    .product-card-img {
      width: 100%;
      aspect-ratio: 1 / 1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      position: relative;
      background: var(--white) !important;
      overflow: hidden;
      transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    }
    .product-card-img .badge--green {
      position: absolute;
      top: 8px;
      right: 8px;
      font-size: 11px;
    }
    .product-card-body {
      padding: 10px 12px 12px;
      flex: 1;
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-rows: auto auto auto auto auto;
      column-gap: 4px;
    }
    .product-card-brand {
      font-size: 11px;
      font-weight: 700;
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      grid-column: 1 / -1;
      grid-row: 1;
    }
    .product-card-name {
      font-size: 12px;
      font-weight: 400;
      color: var(--text);
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      line-height: 1.3;
      grid-column: 1 / -1;
      grid-row: 2;
      margin-top: 2px;
    }
    .product-card-price {
      font-size: 14px;
      font-weight: 700;
      color: #000000;
      grid-column: 1;
      grid-row: 3;
      margin-top: 6px;
      line-height: 1;
    }
    .product-card-footer {
      display: contents;
    }
    .product-card-original {
      font-size: 12px;
      color: var(--text-muted);
      text-decoration: line-through;
      grid-column: 1;
      grid-row: 4;
      margin-top: 2px;
      line-height: 1.2;
    }
    .product-card-footer .badge--green {
      background: #e8f5e0;
      color: #4a8a2a;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 600;
      flex-shrink: 0;
      padding: 0;
      grid-column: 2;
      grid-row: 3 / span 2;
      align-self: center;
    }
    .product-card-footer .badge--red {
      background: #fdecea;
      color: #c62828;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 600;
      flex-shrink: 0;
      padding: 0;
      grid-column: 2;
      grid-row: 3 / span 2;
      align-self: center;
    }
    .product-card-retailer {
      grid-column: 1 / -1;
      grid-row: 5;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: 8px;
      padding-top: 8px;
      border-top: 1px solid #f0f0f0;
      font-size: 10px;
      color: var(--text-muted);
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .product-card-retailer img {
      width: 22px;
      height: 22px;
      border-radius: 4px;
      border: 1px solid #f0f0f0;
      object-fit: cover;
    }
    .product-card-retailer strong {
      font-weight: 600;
      color: var(--text);
    }

    /* ============================================================
       FOOTER  (shared — identical to PLP/Home)
    ============================================================ */
    .footer {
      background: var(--blue);
    }
    .footer-inner {
      display: grid;
      grid-template-columns: 1fr 2fr 1fr;
      max-width: var(--max-width);
      margin: 0 auto;
    }
    .footer-col {
      padding: 32px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }
    .footer-col + .footer-col {
      border-left: 1px solid rgba(255,255,255,0.25);
    }
    .footer-col-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--white);
      text-align: center;
      margin-bottom: 4px;
    }
    .social-row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .social-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s;
    }
    .social-icon:hover { background: rgba(255,255,255,0.15); }

    /* ============================================================
       BREADCRUMBS  (shared — identical to PLP)
    ============================================================ */
    .breadcrumbs {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 12px 30px 0;
      font-size: 12px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }
    .pdp-breadcrumbs { grid-column: 1 / -1; padding: 0; margin: 0; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
    .pdp-breadcrumbs .bc-ellipsis { display: none; color: var(--text-muted); }
    .pdp-breadcrumbs.bc-collapsed .bc-middle { display: none; }
    .pdp-breadcrumbs.bc-collapsed .bc-ellipsis { display: inline; }
    .breadcrumbs a {
      color: var(--blue);
      font-weight: 500;
    }
    .breadcrumbs a:hover { text-decoration: underline; }
    .breadcrumbs .bc-sep { color: var(--text-muted); }
    .breadcrumbs .bc-current { color: var(--text); font-weight: 600; }

    /* ============================================================
       PDP LAYOUT
    ============================================================ */
    .pdp-main { max-width: var(--max-width); margin: 0 auto; padding: 8px 30px 40px; }

    /* ── Product Pagination Bar (desktop only) ── */
    .pdp-pagination-bar { display: flex; align-items: center; justify-content: space-between; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 12px 24px; margin-bottom: 12px; }
    .pdp-pagination-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); transition: color .15s; min-width: 0; max-width: 35%; }
    .pdp-pagination-link:hover { color: var(--blue); }
    .pdp-pagination-arrow { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; }
    .pdp-pagination-text { display: flex; flex-direction: column; min-width: 0; }
    .pdp-pagination-label { font-size: 13px; font-weight: 700; }
    .pdp-pagination-name { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pdp-pagination-link:hover .pdp-pagination-name { color: var(--blue); }
    .pdp-pagination-link--next { flex-direction: row-reverse; text-align: right; }
    .pdp-pagination-center { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue); font-size: 13px; font-weight: 700; transition: opacity .15s; }
    .pdp-pagination-center:hover { opacity: 0.75; }
    .pdp-pagination-center svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }

    /* ── Product Hero ── */
    .pdp-hero { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 24px; row-gap: 6px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 12px 24px 24px; margin-bottom: 16px; }

    /* Gallery area (image + side actions) */
    .pdp-gallery-area { display: flex; gap: 16px; }
    .pdp-gallery { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
    /* Action bar above gallery */
    .pdp-action-bar {
      display: flex; align-items: center; gap: 10px;
      padding: 8px 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
      grid-column: 1 / -1; justify-content: flex-end;
    }
    .pdp-action-bar-item {
      display: flex; align-items: center; gap: 8px;
      padding: 7px 14px; height: 44px; box-sizing: border-box;
      border: 1px solid var(--border); border-radius: 8px;
      background: var(--white); font-size: 13px; font-weight: 600; color: var(--text);
      cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s;
    }
    .pdp-action-bar-item:hover { background: #f5f5f5; }
    .pdp-action-bar-item svg { width: 18px; height: 18px; flex-shrink: 0; }
    .pdp-action-bar-price { color: var(--green); }
    .pdp-action-bar-info {
      width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #ccc;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; color: #ccc; flex-shrink: 0;
      cursor: pointer;
    }
    .pdp-action-bar-alert { flex: 0 0 auto; }
    .pdp-action-bar-bell {
      width: 28px; height: 28px; border-radius: 50%; background: #ccc;
      display: inline-flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: background .2s;
    }
    .pdp-action-bar-bell svg { width: 16px; height: 16px; stroke: #fff; }
    .pdp-action-bar-bell.active { background: #F5BB4C; }
    .pdp-action-bar-alert .pdp-toggle { margin-left: 4px; }
    .pdp-action-bar-adjust {
      background: #ececec; border: none; cursor: pointer; padding: 8px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%; width: 28px; height: 28px; box-sizing: border-box;
    }
    .pdp-action-bar-adjust svg { width: 16px; height: 16px; stroke: var(--text); }
    .pdp-action-bar-spacer { flex: 1; }
    .pdp-action-bar-icon {
      width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px;
      background: var(--white); display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background .15s;
    }
    .pdp-action-bar-icon:hover { background: #f5f5f5; }
    .pdp-action-bar-icon svg { width: 18px; height: 18px; stroke: var(--text); fill: none; }
    /* Deal badge on gallery */
    .pdp-deal-wrap {
      display: none; position: absolute; top: -14px; left: -10px; z-index: 3;
      align-items: center; gap: 4px;
    }
    .pdp-deal-badge {
      display: flex; align-items: center; gap: 6px;
      background: #4CAF50; color: var(--white);
      padding: 6px 14px 6px 6px; border-radius: 20px;
      font-size: 13px; font-weight: 700; line-height: 1;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    }
    .pdp-deal-icon {
      width: 22px; height: 22px; border-radius: 50%;
      background: rgba(255,255,255,0.3);
      display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .pdp-deal-icon svg { width: 13px; height: 13px; stroke: var(--white); fill: none; }
    .pdp-deal-info {
      width: 22px; height: 22px; border-radius: 50%;
      border: 1.5px solid #ccc; background: var(--white); color: #ccc;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; cursor: pointer; flex-shrink: 0;
    }
    .pdp-deal-wrap-mobile {
      display: none; align-items: center; gap: 4px; width: fit-content;
    }
    .pdp-deal-badge-mobile {
      display: flex; background: #4CAF50; color: var(--white);
      padding: 6px 14px; border-radius: 20px;
      font-size: 13px; font-weight: 700; line-height: 1;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
      align-items: center; gap: 6px;
    }
    .pdp-deal-badge-mobile svg { width: 16px; height: 16px; stroke: var(--white); fill: none; }
    .pdp-gallery-main { position: relative; width: 85%; aspect-ratio: 1/1; background: var(--white); border-radius: var(--radius); overflow: visible; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
    .pdp-gallery-main img { clip-path: inset(0 round var(--radius)); }
    .pdp-gallery-main img { max-width: 90%; max-height: 90%; object-fit: contain; transition: opacity 0.22s ease; }
    .pdp-gallery-main img.gallery-fade { opacity: 0; }

    /* ── Progressive image loading ── */
    .pdp-gallery-main.img-loading {
      background: #e8e8e8;
      position: relative;
      overflow: hidden;
    }
    .pdp-gallery-main.img-loading::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
      animation: pdp-shimmer 1.5s infinite;
      z-index: 1;
      border-radius: var(--radius);
    }
    .pdp-gallery-main img.img-pending { opacity: 0; }
    .pdp-gallery-main img.img-loaded { opacity: 1; }

    .pdp-thumb.img-loading {
      position: relative;
      overflow: hidden;
      background: #e8e8e8;
    }
    .pdp-thumb.img-loading::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
      animation: pdp-shimmer 1.5s infinite;
    }
    .pdp-thumb.img-loading img { opacity: 0; }
    .pdp-thumb img { transition: opacity 0.2s ease; }

    .product-card-img.img-loading {
      background: #e8e8e8;
      position: relative;
      overflow: hidden;
    }
    .product-card-img.img-loading::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
      animation: pdp-shimmer 1.5s infinite;
    }
    .product-card-img img { transition: opacity 0.25s ease; }
    .product-card-img.img-loading img { opacity: 0; }
    .product-card-img img.img-loaded { opacity: 1; }

    .pdp-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: none; background: rgba(255,255,255,0.85); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,0.15); opacity: 0; transition: opacity 0.2s; z-index: 2; font-size: 14px; color: var(--text); }
    .pdp-gallery-arrow--prev { left: 10px; }
    .pdp-gallery-arrow--next { right: 10px; }
    .pdp-gallery-main:hover .pdp-gallery-arrow { opacity: 1; }
    .pdp-gallery-arrow:hover { background: #fff; }
    .pdp-thumbs { display: flex; gap: 8px; flex: 1; overflow-x: auto; scrollbar-width: none; }
    .pdp-thumbs::-webkit-scrollbar { display: none; }
    .pdp-thumb { width: 56px; height: 56px; border-radius: var(--radius-sm); border: 2px solid var(--border); overflow: hidden; cursor: pointer; flex-shrink: 0; background: #fafafa; display: flex; align-items: center; justify-content: center; }
    .pdp-thumb.active { border-color: var(--blue); }
    .pdp-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; }

    /* Side action buttons (next to gallery) */
    .pdp-side-actions { display: none; }
    .pdp-side-action { display: flex; flex-direction: row; align-items: center; cursor: pointer; background: #fafafa; border: 2px solid transparent; padding: 3px 18px 3px 3px; text-decoration: none; color: var(--text); border-radius: 30px 12px 12px 30px; height: auto; transition: border-color 0.2s, color 0.2s; }
    .pdp-side-action:hover { border-color: #F5BB4C; }
    .pdp-side-action:hover .pdp-side-action-icon { background: #F5BB4C; }
    .pdp-side-action:hover .pdp-side-action-label { color: var(--blue); }
    .pdp-side-action-icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(180,180,180,0.7); }
    .pdp-side-action-icon--gray { background: rgba(180,180,180,0.7); }
    .pdp-side-action-icon--gold { background: rgba(180,180,180,0.7); }
    .pdp-side-action-icon svg { width: 22px; height: 22px; }
    .pdp-side-action-icon--gray svg { stroke: var(--white); fill: none; }
    .pdp-side-action-icon--gold svg { stroke: var(--white); fill: none; }
    .pdp-side-action-label { font-size: 13px; font-weight: 700; line-height: 1.3; padding-left: 12px; color: var(--text); }
    .pdp-side-action-alert.active { border-color: #F5BB4C; }
    .pdp-side-action-alert.active .pdp-side-action-icon { background: #F5BB4C; }
    .pdp-side-action-alert.active .pdp-side-action-label { color: var(--blue); }
    .pdp-side-action-alert.active .pdp-side-action-icon svg { fill: var(--white); stroke: var(--white); }

    /* Product Info */
    .pdp-info { display: flex; flex-direction: column; gap: 8px; }
    .pdp-brand { font-size: 14px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
    .pdp-brand:hover { text-decoration: underline; }
    .pdp-title { font-size: 20px; font-weight: 400; color: var(--text); line-height: 1.3; }

    /* Price box — 3-column layout (sizes based on knasta.cl reference) */
    .pdp-price-box { border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; overflow: hidden; }
    .pdp-price-col { padding: 8px 18px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
    .pdp-price-col + .pdp-price-col { border-left: 1px solid var(--border); }
    .pdp-price-col--old { flex-shrink: 0; }
    .pdp-price-col--current { flex: 1; }
    .pdp-price-col--badge { flex-shrink: 0; padding: 8px 12px; display: flex; align-items: center; justify-content: center; }
    .pdp-price-old-label { font-size: 12px; color: var(--text-muted); font-weight: 400; text-decoration: line-through; }
    .pdp-price-old-value { font-size: 16px; font-weight: 400; color: var(--text-muted); text-decoration: line-through; }
    .pdp-price-label { font-size: inherit; color: inherit; font-weight: inherit; }
    .pdp-price-current { font-size: 26px; font-weight: 600; color: var(--text); display: flex; align-items: baseline; gap: 0; white-space: nowrap; }
    .pdp-price-card { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
    .pdp-price-card:empty { display: none; }
    .pdp-price-badge { width: 42px; height: 42px; border-radius: 50%; background: #e8f5e0; color: #4a8a2a; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .pdp-retailer { display: none; }
    .pdp-retailer img { width: 28px; height: 28px; border-radius: 4px; border: 1px solid #f0f0f0; object-fit: contain; }
    .pdp-retailer strong { color: var(--text); font-weight: 600; }
    .pdp-best-price-label { display: none; font-size: 10px; color: var(--text); font-weight: 400; margin-bottom: 4px; }
    .pdp-best-price-label .green { color: var(--green); font-weight: 700; }
    /* El veredicto sigue el código de color del sitio (ver claseDelVeredicto): «Precio razonable» y «Todavía no
       podemos juzgar este precio» en azul; «Precio alto» en rojo, el mismo de su zona (#DC2B29 en price-zones.ts). */
    .pdp-best-price-label .azul { color: var(--blue); font-weight: 700; }
    .pdp-best-price-label .rojo { color: #DC2B29; font-weight: 700; }

    /* Store comparison table */
    .pdp-stores { margin-top: 12px; }
    .pdp-stores-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 0; text-align: center; border: 1px solid var(--border); border-bottom: none; border-radius: 8px 8px 0 0; padding: 6px 0; }
    .pdp-store-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 0 0 8px 8px; overflow: hidden; }
    .pdp-store-table th { font-size: 12px; font-weight: 700; color: var(--text); text-align: center; padding: 6px 8px; border-bottom: 1px solid var(--border); background: var(--white); }
    .pdp-store-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; text-align: center; }
    .pdp-store-table tbody tr:last-child td { border-bottom: none; }
    .pdp-store-table tbody tr:nth-child(n+5) { display: none; }
    .pdp-store-name { font-weight: 600; }
    .pdp-store-name a, .pdp-store-table td a:not(.pdp-store-btn) { color: inherit; text-decoration: none; }
    .pdp-store-name a:hover, .pdp-store-table td a:not(.pdp-store-btn):hover { color: var(--blue); text-decoration: underline; }
    .pdp-store-name--best { color: #4a8a2a; }
    .pdp-store-price--best { color: #4a8a2a; font-weight: 700; }
    .pdp-store-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 36px; width: 170px; justify-content: center; border-radius: var(--radius); font-size: 11px; font-weight: 600; color: var(--white); background: var(--blue); border: 1px solid var(--blue); cursor: pointer; text-decoration: none; white-space: nowrap; box-sizing: border-box; transition: opacity .15s; }
    .pdp-store-btn:hover { opacity: 0.85; }
    .pdp-store-btn--best { background: var(--green); border-color: var(--green); color: var(--white); }
    .pdp-store-btn-logo { width: 22px; height: 22px; min-width: 22px; min-height: 22px; max-width: 22px; max-height: 22px; border-radius: 4px; border: 1px solid #f0f0f0; object-fit: contain; object-position: center; flex-shrink: 0; background: #fff; }
    .pdp-store-more { display: block; text-align: center; font-size: 12px; color: var(--blue); font-weight: 600; margin-top: 8px; cursor: pointer; background: none; border: 1px solid var(--border); border-radius: var(--radius); width: 100%; padding: 8px 0; }
    .pdp-store-more:hover { text-decoration: underline; }

    /* ============================================================
       TABS — sticky + scroll spy
    ============================================================ */
    .pdp-tabs-wrapper {
      position: sticky;
      top: 120px; /* header 80px + chips 40px */
      z-index: 9998;
      background: var(--bg);
      width: 100vw;
      margin-left: calc(-50vw + 50%);
      margin-bottom: 16px;
      padding: 6px calc(50vw - 50%) 0;
      border-bottom: 1.5px solid var(--blue);
    }
    .pdp-tabs { display: flex; gap: 10px; max-width: none; margin: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; }
    .pdp-tabs::-webkit-scrollbar { display: none; }
    .pdp-tab { flex: 1; display: flex; flex-direction: row-reverse; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; font-size: 15px; font-weight: 700; color: var(--blue); background: var(--white); border: 1.5px solid var(--border); border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
    .pdp-tab:hover { background: #f0f4ff; }
    .pdp-tab.active { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 0 2px 8px rgba(42,77,159,0.3); }
    .pdp-tab svg { width: 18px; height: 18px; stroke: currentColor; }

    /* ============================================================
       SECTION CARDS
    ============================================================ */
    .pdp-section { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; margin-bottom: 16px; }
    .pdp-section-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 16px; }

    /* ── Price History (Buscape-inspired) ── */
    .pdp-history-content { display: flex; gap: 24px; }
    .pdp-chart-area { flex: 1; min-width: 0; }
    .pdp-chart-wrap { position: relative; width: 100%; height: 300px; cursor: crosshair; }
    .pdp-chart-wrap canvas { width: 100%; height: 100%; display: block; }
    .pdp-chart-tooltip { position: absolute; top: 0; pointer-events: none; display: none; z-index: 5; }
    .pdp-chart-tooltip-line { position: absolute; top: 0; bottom: 0; width: 1px; border-left: 1px dashed var(--text-muted); }
    .pdp-chart-tooltip-box { position: absolute; left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 10px; text-align: center; white-space: nowrap; box-shadow: var(--shadow-lg); z-index: 6; }
    .pdp-chart-tooltip-price { font-size: 16px; font-weight: 800; color: var(--text); }
    .pdp-chart-tooltip-date { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
    .pdp-chart-tooltip-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--text); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--text); transform: translate(-50%, -50%); }

    /* "AHORA" persistent tooltip */
    .pdp-chart-now { position: absolute; top: 0; pointer-events: none; z-index: 3; }
    .pdp-chart-now-line { position: absolute; top: 0; bottom: 0; width: 1px; border-left: 1px dashed #ccc; }
    .pdp-chart-now-box { position: absolute; left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 14px; text-align: center; white-space: nowrap; box-shadow: var(--shadow); }
    .pdp-chart-now-price { font-size: 16px; font-weight: 800; color: var(--text); }
    .pdp-chart-now-label { font-size: 11px; color: var(--green); font-weight: 700; letter-spacing: 0.02em; }
    .pdp-chart-now-sublabel { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

    /* Alert price line on chart */
    .pdp-chart-alert-line { position: absolute; left: 0; right: 0; height: 0; pointer-events: none; z-index: 2; border-top: 2px dashed #F5BB4C; }
    .pdp-chart-alert-label { position: absolute; right: 0; top: -10px; display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.92); padding: 1px 4px 1px 8px; border-radius: 8px 0 0 8px; font-size: 10px; font-weight: 700; color: #F5BB4C; white-space: nowrap; box-shadow: var(--shadow); }

    .pdp-time-chips { display: flex; gap: 8px; margin-top: 12px; }
    .pdp-time-chip { padding: 6px 20px; border-radius: var(--radius); border: 1.5px solid var(--blue); background: var(--white); font-size: 12px; font-weight: 700; color: var(--blue); cursor: pointer; transition: all 0.15s; }
    .pdp-time-chip:hover { border-color: var(--blue-dark); }
    .pdp-time-chip.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

    .pdp-history-sidebar { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }

    /* Price tip card */
    .pdp-price-tip { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
    .pdp-price-tip-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
    .pdp-price-tip-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .pdp-price-tip-icon svg { width: 14px; height: 14px; stroke: var(--white); fill: none; }
    .pdp-price-tip-title { font-size: 15px; font-weight: 700; color: var(--text); }
    .pdp-price-tip-title strong { color: var(--green); }
    .pdp-price-tip-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }

    /* Price range bar */
    .pdp-price-range { position: relative; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #4CAF50 0%, #388E3C 15%, #2E7D32 30%, #2A4D9F 50%, #F57C00 75%, #F57C00 100%); margin: 0; }
    .pdp-price-range-marker { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #4CAF50; border: none; transform: translate(-50%, -50%); }
    .pdp-price-range-marker::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 6px solid var(--marker-color, #4CAF50); margin-top: 1px; }

    /* Alert toggle card */
    .pdp-alert-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; position: relative; }
    .pdp-alert-badge {
      display: none; position: absolute; top: -1px; left: -1px;
      background: var(--green); color: var(--white);
      padding: 5px 14px; border-radius: 12px 0 10px 0;
      font-size: 12px; font-weight: 400; line-height: 1;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    }
    .pdp-alert-badge[style*="block"] + .pdp-alert-card-row { margin-top: 18px; }
    .pdp-alert-badge span { font-weight: 700; margin-left: 4px; }
    .pdp-alert-card-row { display: flex; align-items: center; gap: 12px; }
    .pdp-alert-card-icon { width: 32px; height: 32px; border-radius: 50%; background: #F5BB4C; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .pdp-alert-card-icon svg { width: 18px; height: 18px; stroke: var(--white); fill: none; }
    .pdp-alert-card-text { flex: 1; min-width: 0; }
    .pdp-alert-card-title { font-size: 14px; font-weight: 700; color: var(--text); }
    .pdp-alert-card-desc { font-size: 12px; color: var(--text-muted); }
    .pdp-alert-edit-btn {
      margin-top: 12px; padding: 8px 20px;
      border: 1.5px solid var(--border); border-radius: 8px;
      display: flex; align-items: center; gap: 6px;
      background: var(--white); color: var(--text);
      font-size: 13px; font-weight: 700; cursor: pointer;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
      transition: background .15s;
    }
    .pdp-alert-edit-btn:hover { background: #f5f5f5; }
    /* Toggle switch */
    .pdp-toggle { position: relative; width: 36px; height: 20px; flex-shrink: 0; }
    .pdp-toggle input { opacity: 0; width: 0; height: 0; }
    .pdp-toggle-slider { position: absolute; inset: 0; background: #ccc; border-radius: 10px; cursor: pointer; transition: background 0.2s; }
    .pdp-toggle-slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: var(--white); border-radius: 50%; transition: transform 0.2s; }
    .pdp-toggle input:checked + .pdp-toggle-slider { background: var(--blue); }
    .pdp-toggle input:checked + .pdp-toggle-slider::before { transform: translateX(16px); }

    /* ── Search chips ── */
    .pdp-search-chips { display: flex; gap: 8px; flex-wrap: wrap; }
    .pdp-search-chip { padding: 6px 16px; border-radius: var(--radius-pill); background: var(--blue); color: var(--white); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
    .pdp-search-chip:hover { opacity: 0.85; }

    /* ── Store comparison full ── */
    .pdp-compare-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; transition: border-color 0.15s; position: relative; overflow: hidden; }
    .pdp-compare-badge { position: absolute; top: 0; left: 0; background: var(--green); color: var(--white); padding: 4px 12px; border-radius: 0 0 10px 0; font-size: 11px; font-weight: 700; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; z-index: 1; }
    .pdp-compare-card:has(.pdp-compare-badge) { padding-top: 28px; }
    .pdp-compare-card:hover { border-color: var(--blue); }
    .pdp-compare-card.pdp-compare-best:hover { border-color: var(--green); }
    .pdp-compare-img { width: 56px; height: 56px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; background: #fafafa; display: flex; align-items: center; justify-content: center; order: 3; }
    .pdp-compare-img--product { order: 1; }
    .pdp-compare-img img { max-width: 90%; max-height: 90%; object-fit: contain; border-radius: var(--radius); }
    .pdp-compare-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; order: 2; }
    .pdp-compare-action { flex-shrink: 0; order: 4; }
    .pdp-compare-price-internet, .pdp-compare-price-card, .pdp-compare-seller { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pdp-compare-price-internet { font-size: 14px; font-weight: 700; color: var(--text); }
    .pdp-compare-price-card { font-size: 12px; color: var(--text-muted); }
    .pdp-compare-seller { font-size: 10px; color: var(--text); font-weight: 400; }
    .pdp-compare-seller strong { font-weight: 700; }
    /* El vendedor tercero, cuando la tienda es un marketplace: «Elektra · Systore».
       Va atenuado porque la tienda es lo que el comprador reconoce y donde paga;
       el vendedor desempata, sobre todo cuando la misma tienda aparece varias
       veces con vendedores distintos. */
    .pdp-compare-seller-3p { color: var(--text-muted); }
    .pdp-compare-logo { display: none; }
    .pdp-compare-action .btn { width: 142.23px; height: 32.8px; min-height: 32.8px; padding: 0; justify-content: center; box-sizing: border-box; }
    .pdp-ver-mas-ofertas { display: block; margin: 16px auto 0; padding: 10px 32px; }

    /* ── Characteristics ── */
    .pdp-chars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .pdp-chars-table { width: 100%; border-collapse: collapse; }
    .pdp-chars-table th, .pdp-chars-table td { padding: 8px 10px; font-size: 13px; text-align: left; border-bottom: 1px solid #f0f0f0; }
    .pdp-chars-table th { font-weight: 600; color: var(--text); width: 40%; }
    .pdp-chars-table td { color: var(--text-muted); }
    .pdp-chars-table td a { color: var(--blue); text-decoration: none; }
    .pdp-chars-table td a:hover { text-decoration: underline; }
    .pdp-chars-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
    .pdp-chars-desc-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
    .pdp-chars-toggle { display: block; margin: 12px auto 0; font-size: 13px; font-weight: 600; color: var(--blue); background: none; border: none; cursor: pointer; }
    .pdp-chars-toggle:hover { text-decoration: underline; }

    /* ── Pros y Contras ── */
    .pdp-pros-contras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .pdp-pros-col, .pdp-contras-col { padding: 16px; border-radius: var(--radius); }
    .pdp-pros-col { background: #f0faf0; border: 1px solid #c8e6c9; }
    .pdp-contras-col { background: #fef0f0; border: 1px solid #ffcdd2; }
    .pdp-pros-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
    .pdp-pros-col .pdp-pros-title { color: var(--green); }
    .pdp-contras-col .pdp-pros-title { color: var(--red); }
    .pdp-pros-list { list-style: none; padding: 0; }
    .pdp-pros-list li { font-size: 13px; color: var(--text); padding: 4px 0; line-height: 1.5; }
    .pdp-pros-list li::before { margin-right: 6px; font-weight: 700; }
    .pdp-pros-col .pdp-pros-list li::before { content: '\2713'; color: var(--green); }
    .pdp-contras-col .pdp-pros-list li::before { content: '\2717'; color: var(--red); }
    .pdp-ai-note { font-size: 11px; color: var(--text-muted); margin-top: 12px; padding: 8px 12px; background: #fff8e1; border-radius: var(--radius); border: 1px solid #ffe082; }

    /* ── Product grids ── */
    .pdp-products-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
    .pdp-products-grid .product-card {
      width: auto;
      min-width: 0;
      max-width: none;
      min-height: 0;
    }

    /* ── Mobile: "Compare" button ── */
    .pdp-compare-btn-mobile { display: none; }
    .pdp-compare-link-mobile { display: none; text-align: center; color: var(--blue); font-weight: 700; font-size: 13px; text-decoration: none; padding: 4px 0; border: 1.5px solid var(--border); border-radius: var(--radius); }
    .pdp-ver-oferta-btn { display: none; align-items: center; justify-content: center; position: relative; width: 100%; padding: 10px 16px; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700; border-radius: var(--radius); text-decoration: none; margin-top: 4px; box-sizing: border-box; }
    .pdp-ver-oferta-btn svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
    .pdp-ver-oferta-btn:hover { opacity: 0.9; }
    .pdp-ver-oferta-logo { display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 6px; padding: 4px 6px; }
    .pdp-ver-oferta-logo img { height: 20px; width: auto; }

    /* pdp-best-price-label defined in Price box section above */

    /* ── Breadcrumbs: inside hero ── */

    /* ── Gallery dots ── */
    .hero-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0; position: static; }
    .hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background 0.2s; border: none; padding: 0; }
    .hero-dot--active { background: var(--text-muted); }

    /* ── Mobile: floating action icons ── */
    .pdp-float-alert { display: none; position: absolute; bottom: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(180,180,180,0.7); border: none; cursor: pointer; z-index: 2; align-items: center; justify-content: center; transition: background 0.2s; }
    .pdp-float-alert svg { width: 22px; height: 22px; stroke: var(--white); fill: none; }
    .pdp-float-alert.active { background: #F5BB4C; }
    .pdp-float-alert.active svg { fill: var(--white); }
    .pdp-float-history { display: none; position: absolute; bottom: 56px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(180,180,180,0.7); border: none; cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0; z-index: 2; }
    .pdp-float-history svg { width: 22px; height: 22px; stroke: var(--white); fill: none; }

    /* ── Mobile: product nav buttons ── */
    .pdp-product-nav { display: none; }
    /* La franja «Ir a comprar» solo existe en móvil, dentro de la barra de abajo. */
    .pdp-franja-compra { display: none; }
    .pdp-product-nav-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; text-decoration: none; flex: 1; justify-content: center; }
    .pdp-product-nav-btn:hover { border-color: var(--blue); color: var(--blue); }

    /* ============================================================
       MOBILE  (max-width: 767px)
    ============================================================ */
    @media (max-width: 767px) {
      /* ── HEADER (shared — identical to PLP/Home) ── */
      .header-inner {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 24px 10px 8px;
        gap: 0;
        height: auto;
      }
      .header-cat-btn { margin-left: 2px; }
      .header-center { margin-left: 8px; }
      .header-actions { margin-left: 8px; }
      .header-logo { flex-shrink: 0; }
      .header-logo img { height: 58px !important; }
      .header-cat-btn,
      .header-login-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0;
        width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 1;
        box-sizing: border-box !important;
      }
      .header-cat-btn .btn-text,
      .header-login-btn .btn-text { display: none; }
      .header-center {
        flex: 1;
        min-width: 0;
      }
      .header-search {
        max-width: 100%;
        height: 40px;
        padding: 0 10px;
        overflow: hidden;
        min-width: 0;
      }
      .header-search input {
        font-size: 12px;
        min-width: 0;
        width: 100%;
      }
      .header-search .search-icon svg { width: 16px; height: 16px; flex-shrink: 0; }
      .header-actions { flex-shrink: 0; }


      /* ── PDP MAIN ── */
      .pdp-main { padding: 8px 10px 70px; }

      /* Pagination bar: hide on mobile */
      .pdp-pagination-bar { display: none; }

      /* Hero: stack */
      .pdp-hero { grid-template-columns: 1fr; padding: 14px; gap: 8px; }

      /* Gallery: hide side actions & thumbs, show dots & floating icons */
      .pdp-gallery-area { flex-direction: column; }
      .pdp-action-bar { display: none; }
      .pdp-side-actions { display: none; }
      .pdp-gallery-arrow { display: none; }
      .pdp-gallery-main { width: 100%; aspect-ratio: 4/3; position: relative; margin: 0; overflow: hidden; }
      .pdp-deal-wrap { display: none !important; }
      .pdp-deal-wrap-mobile { margin: 4px 0 2px 0; }
      .pdp-deal-badge-mobile { padding: 4px 10px 4px 4px; font-size: 11px; border-radius: 16px; }
      .pdp-deal-badge-mobile .pdp-deal-icon { width: 18px; height: 18px; }
      .pdp-deal-badge-mobile .pdp-deal-icon svg { width: 11px; height: 11px; }
      .pdp-deal-info { width: 18px; height: 18px; font-size: 10px; }
      .pdp-deal-badge-mobile svg { width: 12px; height: 12px; }
      .pdp-float-alert { display: flex; width: 38px; height: 38px; bottom: 10px; right: 10px; z-index: 2; }
      .pdp-float-alert svg { width: 18px; height: 18px; }

      /* Brand row: brand + floating history icon */
      .pdp-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
      .pdp-float-history { display: flex; width: 38px; height: 38px; bottom: 68px; right: 10px; }
      .pdp-float-history svg { width: 18px; height: 18px; }
      .pdp-brand { font-size: 13px; }
      .pdp-title { font-size: 16px; font-weight: 400; line-height: 1.3; }

      /* Best price label visible on mobile, retailer hidden */
      .pdp-best-price-label { display: block; font-size: 12px; order: 10; }
      .pdp-retailer { display: none; }

      /* Price box */
      .pdp-price-box { height: 60px; }
      .pdp-price-col { padding: 8px 10px; }
      .pdp-price-old-label { font-size: 10px; }
      .pdp-price-old-value { font-size: 13px; }
      .pdp-price-current { font-size: 14px; }
      .pdp-price-card { font-size: 11px; }
      .pdp-price-badge { width: 36px; height: 36px; font-size: 11px; }

      /* Compare button */
      .pdp-compare-btn-mobile { display: none; }
      .pdp-ver-oferta-btn { display: flex; order: 9; background: #008200; } /* solo existe en movil: en escritorio es display:none. Desde el 3-oct-2026 la ficha React ya no lo pinta: lo hace la franja «Ir a comprar» */
      /* El cuadro de precio no se muestra en móvil: la franja «Ir a comprar» de abajo, siempre visible, ya lo dice (SEO 21). */
      .pdp-caja-precio { display: none; }
      .pdp-compare-link-mobile { display: block; order: 11; }
      /* En grupos (2+ tiendas), «Comparar precios en N tiendas» sube ANTES de la frase del veredicto (order 10). */
      .pdp-compare-link-mobile--grupo { order: 9; }

      /* Product nav — single row, space between */
      .pdp-product-nav { display: flex; gap: 8px; justify-content: space-between; background: var(--blue) /* azul al 100 % desde el 3-oct (antes rgba(42,77,159,0.92)): pedido del usuario, y con dos capas translúcidas la unión con la franja dejaba una línea clara */; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 10px 14px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; box-shadow: 0 -2px 8px rgba(0,0,0,0.1); border-radius: 0; /* sin redondeo arriba desde el 3-oct (pedido del usuario): encima va la franja «Ir a comprar», que sí lo lleva */ margin: 0; }
      .pdp-product-nav-btn { flex: 1; padding: 5px 10px; font-size: 11px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--white); border-color: var(--white); color: var(--blue); }

      /* Franja «Ir a comprar» (tarjeta SEO 21, 3-oct-2026): siempre visible, pegada ENCIMA de la barra
         anterior/siguiente (va dentro de ella, `bottom: 100%`, así sigue arriba mida lo que mida la barra).
         Ver components/product/FranjaIrAComprar.tsx. */
      .pdp-franja-compra { display: flex; align-items: center; gap: 10px; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px) /* se monta 1 px sobre la barra: la unión caía en medio de un píxel y dejaba una línea clara */; padding: 11px 14px 9px; background: linear-gradient(to bottom, rgba(42,77,159,0.55) 0%, var(--blue) 50%, var(--blue) 100%) /* transparente arriba, azul al 100 % desde la mitad del recuadro blanco hacia abajo, igual que la barra (pedido del usuario, 3-oct) */; box-shadow: 0 -6px 10px -4px rgba(0,0,0,0.18); border-radius: var(--radius) var(--radius) 0 0; }
      /* La franja es AZUL (el mismo fondo que la barra anterior/siguiente: se leen como una sola zona) y lo blanco es un
         recuadro adentro, a 3 px del borde, con las CUATRO esquinas redondeadas (pedido del usuario, 3-oct). Antes era
         blanca con contorno azul: las esquinas de abajo salían en punta y el blanco se colaba bajo el contorno translúcido
         como una línea clara. La sombra va solo hacia arriba: la que bajaba se pintaba encima de la barra. */
      .pdp-franja-compra::before { content: ''; position: absolute; top: 3px; left: 3px; right: 3px; bottom: 1px /* termina justo donde empieza la barra (la franja baja 1 px sobre ella) */; background: var(--white); border-radius: 3px; }
      .pdp-franja-compra > * { position: relative; }
      /* El botón mide siempre lo mismo y va siempre en el mismo lugar (pedido del usuario); el precio usa el resto. */
      .pdp-franja-precio { flex: 1 1 auto; min-width: 0; height: 40px; display: flex; align-items: center; }
      .pdp-franja-precio--solo-actual { justify-content: center; }
      /* Sin la pastilla del porcentaje y sin la tienda: precio anterior y actual, como el cuadro de la ficha. */
      .pdp-franja-anterior { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; padding-right: 8px; color: #727272; text-decoration: line-through; }
      .pdp-franja-anterior-rotulo { font-size: 10px; line-height: 1.3; }
      .pdp-franja-anterior-cifra { font-size: 13px; line-height: 1.4; }
      .pdp-franja-actual { font-size: 14px; font-weight: 600; color: #1a1a1a; white-space: nowrap; }
      /* La raya solo con precio anterior: sola, a la izquierda del precio, no separa nada. */
      .pdp-franja-actual--con-anterior { align-self: stretch; display: flex; align-items: center; border-left: 1px solid #d8d8d8; padding-left: 8px; }
      .pdp-franja-btn { flex: 0 0 150px; width: 150px; /* cabe «Ir a comprar» + flecha + logo */ display: flex; align-items: center; gap: 5px; height: 40px; padding: 0 4px 0 9px; background: #008200; color: var(--white); font-size: 14px; font-weight: 700; border-radius: var(--radius); text-decoration: none; }
      .pdp-franja-btn-texto { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
      .pdp-franja-btn-texto svg { flex-shrink: 0; width: 13px; height: 13px; }
      /* El pie del sitio deja 64 px para la barra anterior/siguiente (`pb-16` en Footer.tsx); la franja suma 59 px
         fijos encima (8 + 40 + 8 + 3 del contorno azul). Sin esto, al llegar al final la franja tapaba la última línea
         del pie: el aviso de afiliados. Esta hoja solo se carga en la ficha: no agrega hueco en el resto del sitio. */
      footer { padding-bottom: 59px; }
      /* Si el precio no cabe (precio largo), FranjaIrAComprar cede en este orden: «Internet:» y un punto de letra. */
      .pdp-franja-compra--sin-rotulo .pdp-franja-actual-rotulo { display: none; }
      /* Sin «Internet:», el precio solo queda centrado en su espacio, entre la raya y el botón (pedido del usuario). */
      .pdp-franja-compra--sin-rotulo .pdp-franja-actual--con-anterior { flex: 1; justify-content: center; }
      .pdp-franja-compra--apretada .pdp-franja-actual { font-size: 13px; }
      .pdp-franja-compra--apretada .pdp-franja-anterior-cifra { font-size: 12px; }
      /* El logo de la tienda, en su cuadrito blanco como en «Compara precios». */
      .pdp-franja-logo { flex: 0 0 30px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 4px; overflow: hidden; }
      .pdp-franja-logo img { width: 100%; height: 100%; object-fit: contain; padding: 2px; box-sizing: border-box; }
      .pdp-franja-logo-iniciales { font-size: 9px; font-weight: 700; line-height: 1; color: #727272; }

      /* Hero dots */
      .hero-dots { padding: 6px 0; }

      /* Tabs scroll — mobile: no chips bar, smaller header */
      .pdp-tabs-wrapper { margin: 0 -10px 12px; padding: 6px 10px 0; }
      .pdp-tabs { gap: 6px; padding-bottom: 0; margin-bottom: 0; }
      .pdp-tab { padding: 10px 14px; font-size: 13px; min-width: max-content; flex: 0 0 auto; }

      /* Sections */
      .pdp-section { padding: 16px; }
      .pdp-section-title { font-size: 14px; }

      /* Chart / Historial mobile */
      .pdp-history-content { flex-direction: column; }
      .pdp-history-sidebar { width: 100%; gap: 12px; }
      .pdp-chart-wrap { height: 200px; border: 1px solid #eee; border-radius: var(--radius); }
      .pdp-chart-tooltip-price { font-size: 13px; }
      .pdp-chart-tooltip-box { padding: 4px 8px; }
      .pdp-chart-now-price { font-size: 13px; }
      .pdp-chart-now-box { padding: 4px 8px; }
      .pdp-chart-now-label { font-size: 9px; }
      .pdp-chart-now-sublabel { font-size: 9px; }
      .pdp-section-title { font-size: 14px; font-weight: 800; }
      .pdp-search-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
      .pdp-search-chips::-webkit-scrollbar { display: none; }
      .pdp-time-chips { gap: 10px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
      .pdp-time-chips::-webkit-scrollbar { display: none; }
      .pdp-time-chip { flex: 0 0 auto; text-align: center; padding: 6px 20px; font-size: 12px; font-weight: 700; border: 1.5px solid var(--blue); border-radius: var(--radius); color: var(--blue); }
      .pdp-time-chip.active { background: var(--blue); color: var(--white); }
      /* Price tip card bigger */
      .pdp-price-tip { padding: 18px; }
      .pdp-price-tip-title { font-size: 14px; }
      .pdp-price-tip-desc { font-size: 14px; }
      .pdp-price-range { height: 8px; border-radius: 4px; margin-top: 8px; }
      .pdp-price-range-marker { width: 16px; height: 16px; }
      /* Alert card bigger */
      .pdp-alert-card { padding: 16px; }
      .pdp-alert-card-title { font-size: 14px; }
      .pdp-alert-card-desc { font-size: 13px; }
      .pdp-chart-now-sublabel { font-size: 10px; }

      /* Chars: stack */
      .pdp-chars { grid-template-columns: 1fr; }

      /* Pros: stack */
      .pdp-pros-contras { grid-template-columns: 1fr; }

      /* Product grids: 2 cols */
      .pdp-products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

      /* Compare cards */
      .pdp-compare-badge { font-size: 10px; padding: 3px 8px; }
      .pdp-compare-card:has(.pdp-compare-badge) { padding-top: 24px; }
      .pdp-compare-best { border-color: var(--green); }
      .pdp-compare-card { display: grid; grid-template-columns: 70px 1fr auto; grid-template-rows: auto auto; gap: 2px 8px; padding: 10px 12px; align-items: center; }
      .pdp-compare-img--product { display: flex; grid-row: 1 / -1; width: 70px; height: 70px; align-self: center; }
      .pdp-compare-img--product img { max-width: 100%; max-height: 100%; object-fit: contain; }
      .pdp-compare-card > .pdp-compare-img:not(.pdp-compare-img--product) { grid-row: 2; grid-column: 2; width: 28px; height: 28px; justify-self: start; }
      .pdp-compare-info { grid-column: 2 / 4; min-width: 0; }
      .pdp-compare-price-internet { font-size: 12px; }
      .pdp-compare-price-card { font-size: 10px; }
      .pdp-compare-seller { font-size: 9px; }
      .pdp-compare-action { grid-row: 2; grid-column: 3; justify-self: end; }
      .pdp-compare-action .btn { width: auto; min-height: 28px; height: 28px; padding: 0 10px; font-size: 10px; gap: 4px; }
      .pdp-compare-action .btn svg { width: 10px; height: 10px; }

      /* Store table in hero - hide on mobile */
      .pdp-stores { display: none; }

      /* ── PRODUCT CARDS (shared — identical to PLP/Home) ── */
      .product-card-img { font-size: 28px; }
      .product-card-brand { font-size: 11px; }
      .product-card-name { font-size: 11px; }
      .product-card-price { font-size: 13px; }
      .product-card-original { font-size: 11px; }
      .product-card-footer .badge--green,
      .product-card-footer .badge--red { width: 30px; height: 30px; font-size: 10px; }
      .product-card-body { padding: 8px 10px 10px; }
      .product-card-retailer { font-size: 9px; margin-top: 6px; padding-top: 6px; }
      .product-card-retailer img { width: 18px; height: 18px; }

      /* ── FOOTER (shared — identical to PLP/Home) ── */
      .footer-inner { grid-template-columns: 1fr; }
      .footer-col { padding: 24px 16px; }
      .footer-col + .footer-col { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); }
      .footer-col-title { font-size: 13px; }
    }

    @media (min-width: 768px) {
      /* SEO #6: con la frase de datos, el veredicto también se ve en escritorio, bajo el título */
      .pdp-best-price-label--con-datos { display: block; font-size: 13px; line-height: 1.45; margin: 4px 0 10px; }
      .pdp-compare-btn-mobile { display: none !important; }
      .pdp-product-nav { display: none !important; }
      .pdp-brand-row .pdp-float-history { display: none; }
      /* Desktop compare card: reorder elements */
      .pdp-compare-card { display: grid; grid-template-columns: 70px auto 1fr 70px 48px auto; grid-template-rows: auto auto; align-items: center; gap: 0 24px; }
      .pdp-compare-img--product { grid-column: 1; grid-row: 1 / -1; width: 70px; height: 70px; }
      .pdp-compare-img:not(.pdp-compare-img--product) { display: none; }
      .pdp-compare-info { display: contents; }
      .pdp-compare-seller { grid-column: 2; grid-row: 1 / -1; font-size: 14px; text-align: center; padding-left: 32px; }
      .pdp-compare-price-internet { grid-column: 3; grid-row: 1; text-align: center; align-self: end; }
      .pdp-compare-price-card { grid-column: 3; grid-row: 2; text-align: center; align-self: start; }
      .pdp-compare-logo { display: block !important; grid-column: 4; grid-row: 1 / -1; width: 56px; height: 56px; border-radius: var(--radius); border: 1px solid var(--border); object-fit: contain; justify-self: start; background: #fff; padding: 4px; box-sizing: border-box; }
      .pdp-compare-action { grid-column: 6; grid-row: 1 / -1; }
      .pdp-compare-action .btn { width: 160px; height: 40px; min-height: 40px; font-size: 13px; }
      .pdp-compare-best .pdp-compare-seller { color: var(--green); }
      .pdp-compare-best .pdp-compare-price-internet { color: var(--green); }
    }

    /* ============================================================
       SMALL SCREENS  (shared — identical to PLP/Home)
    ============================================================ */
    @media (max-width: 374px) {
      .header-logo img { height: 34px; }
      .header-logo { margin-right: 0; }
      .header-search input { font-size: 11px; }
      .header-search .search-icon { display: flex; }
      .header-inner { padding: 24px 6px 8px; gap: 4px; }
      .header-cat-btn, .header-login-btn { width: 40px !important; height: 40px !important; min-width: 40px !important; max-width: 40px !important; min-height: 40px !important; max-height: 40px !important; font-size: 18px !important; }
      .header-search { height: 40px; padding: 0 10px; }
      .product-card-body { padding: 6px 8px 8px; }
      .product-card-brand { font-size: 10px; }
      .product-card-name { font-size: 10px; }
      .product-card-price { font-size: 12px; }
      .product-card-original { font-size: 10px; }
      .product-card-footer .badge--green,
      .product-card-footer .badge--red { width: 26px; height: 26px; font-size: 9px; }
      .product-card-retailer { font-size: 8px; gap: 4px; }
      .product-card-retailer img { width: 16px; height: 16px; }

      /* PDP hero — small screens */
      .pdp-hero { padding: 10px; gap: 6px; }
      .pdp-main { padding: 8px 6px 70px; }
      .pdp-float-alert { width: 32px; height: 32px; bottom: 8px; right: 8px; }
      .pdp-float-alert svg { width: 16px; height: 16px; }
      .pdp-float-history { width: 32px; height: 32px; right: 8px; bottom: 56px; }
      .pdp-float-history svg { width: 16px; height: 16px; }
      .pdp-brand { font-size: 11px; }
      .pdp-title { font-size: 14px; }
      .pdp-best-price-label { font-size: 11px; }
      .pdp-price-box { height: 54px; }
      .pdp-price-col { padding: 6px 8px; }
      .pdp-price-old-label { font-size: 9px; }
      .pdp-price-old-value { font-size: 11px; }
      .pdp-price-current { font-size: 15px; }
      .pdp-price-card { font-size: 10px; }
      .pdp-price-badge { width: 32px; height: 32px; font-size: 10px; }
      .pdp-compare-btn-mobile { font-size: 12px; padding: 8px; }
      .pdp-product-nav-btn { padding: 6px 8px; font-size: 11px; }
      .pdp-franja-compra { padding: 11px 10px 9px; gap: 8px; }
      /* Bajo 375 px el botón es más corto (sin la flechita), pero igual en todas las fichas. */
      .pdp-franja-btn { flex-basis: 134px; width: 134px; padding: 0 4px 0 8px; gap: 6px; }
      .pdp-franja-btn-texto svg { display: none; }
      .hero-dots { padding: 4px 0; }
      .hero-dot { width: 6px; height: 6px; }
      .pdp-tabs-wrapper { margin: 0 -6px 10px; padding: 6px 6px 0; }
      .pdp-tab { padding: 8px 10px; font-size: 12px; }
    }

    /* ============================================================
       SKELETON LOADING — PDP
    ============================================================ */
    .sk-line {
      border-radius: 4px;
      background: #e8e8e8;
      position: relative;
      overflow: hidden;
    }
    .sk-line::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
      animation: pdp-shimmer 1.5s infinite;
    }
    .sk-circle {
      border-radius: 50%;
      background: #e8e8e8;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }
    .sk-circle::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
      animation: pdp-shimmer 1.5s infinite;
    }
    .sk-box {
      border-radius: var(--radius-lg);
      background: #e8e8e8;
      position: relative;
      overflow: hidden;
    }
    .sk-box::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
      animation: pdp-shimmer 1.5s infinite;
    }
    @keyframes pdp-shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    /* Toggle: loading state */
    .pdp-main.loading .pdp-real { display: none !important; }
    .pdp-main .pdp-skeleton { display: none; }
    .pdp-main.loading .pdp-skeleton { display: block; }

    /* Hero skeleton grid */
    .sk-hero {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      column-gap: 24px;
      row-gap: 12px;
      background: var(--white);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      padding: 24px;
    }
    .sk-hero-gallery { aspect-ratio: 1/1; border-radius: var(--radius); }
    .sk-hero-thumbs { display: flex; gap: 8px; }
    .sk-hero-thumb { width: 56px; height: 56px; border-radius: var(--radius-sm); }

    /* Pagination skeleton */
    .sk-pagination {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--white);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      padding: 12px 24px;
      margin-bottom: 12px;
    }

    /* Tabs skeleton */
    .sk-tabs { display: flex; gap: 10px; margin-bottom: 16px; }
    .sk-tab { flex: 1; height: 46px; border-radius: var(--radius) var(--radius) 0 0; }

    /* Section skeleton */
    .sk-section {
      background: var(--white);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      padding: 24px;
      margin-bottom: 16px;
    }

    /* Product card skeleton */
    .sk-product-card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .sk-product-img { width: 100%; aspect-ratio: 1/1; }
    .sk-product-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }

    /* Compare card skeleton */
    .sk-compare-card {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      margin-bottom: 8px;
    }

    /* Responsive skeleton */
    @media (max-width: 767px) {
      .sk-hero { grid-template-columns: 1fr; padding: 14px; }
      .sk-hero-gallery { aspect-ratio: 4/3; }
      .sk-hero-thumbs { display: none; }
      .sk-pagination { display: none; }
      .sk-tabs { gap: 6px; }
      .sk-tab { flex: 0 0 auto; width: 120px; height: 40px; }
      .sk-section { padding: 16px; }
      .sk-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    }

    /* ============================================================
       AUTH MODAL + DROPDOWN (shared)
    ============================================================ */
    .auth-overlay {
      position: fixed; inset: 0; z-index: 10000;
      background: rgba(0,0,0,0.5);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; transition: opacity .3s; pointer-events: none;
    }
    .auth-overlay.auth-visible { opacity: 1; pointer-events: auto; }
    .auth-modal {
      background: var(--white); border-radius: 16px;
      width: 440px; max-width: 94vw; padding: 0;
      position: relative; transform: scale(0.95); transition: transform .3s;
      overflow: hidden;
    }
    .auth-visible .auth-modal { transform: scale(1); }
    .auth-modal-header {
      background: var(--blue); padding: 28px 32px 20px; text-align: center;
    }
    .auth-modal-handle { display: none; }
    .auth-modal-logo { display: block; margin: 0 auto; height: 52px; }
    .auth-close {
      position: absolute; top: 12px; right: 16px;
      background: none; border: none; font-size: 28px; cursor: pointer;
      color: var(--white); line-height: 1; z-index: 1;
    }
    .auth-title {
      font-size: 22px; font-weight: 700; color: var(--text);
      margin: 0; padding: 20px 32px 8px; text-align: center;
    }
    .auth-subtitle {
      font-size: 14px; color: var(--text-muted); text-align: center;
      margin: 0; padding: 0 32px 20px; line-height: 1.5;
    }
    .auth-buttons { display: flex; flex-direction: column; gap: 12px; padding: 24px 32px 0; }
    .auth-btn {
      display: flex; align-items: center; gap: 12px;
      width: 100%; padding: 14px 20px;
      border: 1.5px solid var(--border); border-radius: 12px;
      background: var(--white); font-size: 15px; font-weight: 600;
      color: var(--text); cursor: pointer; transition: background .15s;
    }
    .auth-btn:hover { background: #f5f5f5; }
    .auth-legal {
      margin: 16px 32px 28px; font-size: 11px; color: var(--text-muted);
      text-align: center; line-height: 1.5;
    }
    .auth-legal a { color: var(--text); font-weight: 600; text-decoration: underline; }
    .auth-dropdown {
      position: absolute; top: calc(100% + 8px); right: 0;
      background: var(--white); border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.13); min-width: 220px;
      z-index: 10001; opacity: 0; transform: translateY(-8px);
      transition: opacity .2s, transform .2s; overflow: hidden;
    }
    .auth-dd-visible { opacity: 1; transform: translateY(0); }
    .auth-dropdown ul { list-style: none; margin: 0; padding: 8px 0; }
    .auth-dropdown li {
      display: flex; align-items: center; gap: 10px;
      padding: 11px 18px; font-size: 14px; color: var(--text);
      cursor: pointer; transition: background .12s;
    }
    .auth-dropdown li:hover { background: #f2f4f8; }


    @media (max-width: 767px) {
      .auth-overlay { align-items: flex-end; }
      .auth-modal {
        width: 100%; max-width: 100%; border-radius: 20px 20px 0 0;
        padding: 0; min-height: auto; max-height: 90vh;
        transform: translateY(100%); transition: transform .35s ease;
        overflow-y: auto;
      }
      .auth-visible .auth-modal { transform: translateY(0); }
      .auth-modal-header { padding: 12px 24px 14px; }
      .auth-modal-handle {
        display: block; width: 40px; height: 4px;
        background: rgba(255,255,255,0.4); border-radius: 4px; margin: 0 auto 10px;
      }
      .auth-close { display: none; }
      .auth-modal-logo { height: 36px; }
      .auth-title { font-size: 18px; padding: 14px 24px 4px; }
      .auth-subtitle { font-size: 12px; padding: 0 24px 14px; }
      .auth-buttons { gap: 8px; padding: 18px 24px 0; }
      .auth-btn { padding: 10px 16px; font-size: 13px; gap: 10px; border-radius: 10px; }
      .auth-btn svg { width: 18px; height: 18px; }
      .auth-legal { margin: 12px 24px 24px; font-size: 10px; }
      .auth-dropdown {
        position: fixed; top: 72px; right: 10px;
        left: auto;
      }
    }

    /* ============================================================
       PRICE ALERT MODAL
    ============================================================ */
    .pa-overlay {
      position: fixed; inset: 0; z-index: 10000;
      background: rgba(0,0,0,0.5);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; transition: opacity .3s; pointer-events: none;
    }
    .pa-overlay.pa-visible { opacity: 1; pointer-events: auto; }
    .pa-modal {
      background: var(--white); border-radius: 16px;
      width: 440px; max-width: 94vw; padding: 0;
      position: relative; transform: scale(0.95); transition: transform .3s;
      overflow: hidden;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    }
    .pa-visible .pa-modal { transform: scale(1); }
    .pa-handle { display: none; }
    .pa-close {
      position: absolute; top: 12px; right: 16px;
      background: none; border: none; font-size: 28px; cursor: pointer;
      color: var(--white); line-height: 1; z-index: 1;
    }
    .pa-header {
      padding: 20px 32px; text-align: center;
      background: var(--blue);
    }
    .pa-title {
      font-size: 22px; font-weight: 700; color: var(--white);
      margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
    }
    .pa-title-icon {
      width: 28px; height: 28px; border-radius: 50%; background: #F5BB4C;
      display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .pa-title-icon svg { width: 16px; height: 16px; stroke: var(--white); fill: none; }
    .pa-body { padding: 24px 32px 28px; text-align: center; }
    .pa-current-label {
      font-size: 14px; color: var(--text-muted); margin: 0 0 16px;
    }
    .pa-change-label {
      font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 20px;
    }
    .pa-stepper {
      display: flex; align-items: center; justify-content: center; gap: 12px;
      margin-bottom: 16px;
    }
    .pa-stepper-btn {
      width: 44px; height: 44px; border-radius: 50%;
      border: 1.5px solid var(--border); background: var(--white);
      font-size: 22px; font-weight: 400; color: var(--text);
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background .15s, opacity .15s;
    }
    .pa-stepper-btn:hover:not(:disabled) { background: #f5f5f5; }
    .pa-stepper-btn:disabled { opacity: 0.35; cursor: default; }
    .pa-stepper-value {
      min-width: 160px; padding: 12px 16px;
      border: 1.5px solid var(--border); border-radius: 12px;
      font-size: 16px; font-weight: 600; color: var(--text);
      text-align: center;
    }
    .pa-discount-row {
      display: flex; gap: 8px; justify-content: center; margin-bottom: 16px;
    }
    .pa-discount-btn {
      padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 8px;
      background: var(--white); font-size: 12px; font-weight: 600; color: var(--text);
      cursor: pointer; transition: background .15s, border-color .15s;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    }
    .pa-discount-btn:hover { background: #f0f4fb; border-color: var(--blue); color: var(--blue); }
    .pa-discount-btn.pa-discount-active { background: var(--blue); color: var(--white); border-color: var(--blue); }
    .pa-ref-price {
      font-size: 13px; color: var(--text-muted); margin: 0 0 16px;
    }
    .pa-btn-primary {
      display: block; width: 100%; padding: 14px;
      border: none; border-radius: 12px;
      background: var(--blue); color: var(--white);
      font-size: 15px; font-weight: 700; cursor: pointer;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
      transition: background .15s; margin-bottom: 10px;
    }
    .pa-btn-primary:hover { background: var(--blue-dark); }
    .pa-btn-secondary {
      display: block; width: 100%; padding: 14px;
      border: 1.5px solid var(--border); border-radius: 12px;
      background: var(--white); color: var(--text);
      font-size: 15px; font-weight: 600; cursor: pointer;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
      transition: background .15s;
    }
    .pa-btn-secondary:hover { background: #f5f5f5; }
    /* Confirmation view */
    .pa-confirm-icon {
      display: block; margin: 0 auto 16px;
      width: 80px; height: 80px;
    }
    .pa-confirm-title {
      font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 8px;
    }
    .pa-confirm-price {
      font-size: 14px; color: var(--text-muted); margin: 0 0 6px;
    }
    .pa-confirm-desc {
      font-size: 13px; color: var(--text-muted); margin: 0 0 24px; line-height: 1.5;
    }

    /* Phone input */
    .pa-phone-row {
      display: flex; align-items: center; gap: 0;
      border: 1.5px solid var(--border); border-radius: 12px;
      overflow: hidden; margin-bottom: 8px;
    }
    .pa-phone-prefix {
      padding: 12px 14px; font-size: 15px; font-weight: 600;
      color: var(--text); background: #f5f5f5;
      border-right: 1.5px solid var(--border); flex-shrink: 0;
    }
    .pa-phone-input {
      flex: 1; border: none; outline: none; padding: 12px 14px;
      font-size: 15px; color: var(--text); background: var(--white);
      letter-spacing: 1px;
    }
    .pa-phone-input::placeholder { color: #bbb; letter-spacing: 0; }
    .pa-phone-hint {
      font-size: 12px; color: #e53935; margin: 0 0 12px; text-align: left;
    }
    /* Deactivate confirm */
    .pa-deact-text {
      font-size: 14px; color: var(--text); text-align: center;
      margin: 0 0 8px; line-height: 1.5;
    }
    .pa-deact-question {
      font-size: 15px; font-weight: 700; color: var(--text); text-align: center;
      margin: 0 0 24px;
    }
    .pa-deact-row {
      display: flex; gap: 12px;
    }
    .pa-deact-row .pa-btn-secondary,
    .pa-deact-row .pa-btn-primary { flex: 1; margin-bottom: 0; }

    /* Snackbar */
    .pa-snackbar {
      position: fixed; bottom: 24px; right: 24px; z-index: 10002;
      background: var(--blue); color: var(--white);
      padding: 10px 18px; border-radius: 10px;
      font-size: 14px; font-weight: 600;
      box-shadow: 0 4px 16px rgba(0,0,0,0.18);
      opacity: 0; transform: translateY(12px);
      transition: opacity .3s, transform .3s;
      display: flex; align-items: center; gap: 10px;
    }
    .pa-snackbar.pa-snackbar-visible { opacity: 1; transform: translateY(0); }
    .pa-snackbar-icon {
      width: 24px; height: 24px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    @media (max-width: 767px) {
      .pa-snackbar { display: none; }
    }

    @media (max-width: 767px) {
      .pa-overlay { align-items: flex-end; }
      .pa-modal {
        width: 100%; max-width: 100%; border-radius: 20px 20px 0 0;
        padding: 0; max-height: 90vh;
        transform: translateY(100%); transition: transform .35s ease;
        overflow-y: auto;
      }
      .pa-visible .pa-modal { transform: translateY(0); }
      .pa-handle {
        display: block; width: 40px; height: 4px;
        background: rgba(255,255,255,0.4); border-radius: 4px; margin: 0 auto 10px;
      }
      .pa-close { display: none; }
      .pa-header { padding: 14px 24px 20px; }
      .pa-title { font-size: 18px; margin: 0; }
      .pa-body { padding: 18px 24px 24px; }
      .pa-current-label { font-size: 13px; }
      .pa-change-label { font-size: 14px; }
      .pa-stepper-btn { width: 40px; height: 40px; font-size: 20px; }
      .pa-stepper-value { min-width: 140px; padding: 10px 14px; font-size: 15px; }
      .pa-btn-primary, .pa-btn-secondary { padding: 12px; font-size: 14px; border-radius: 10px; }
      .pa-confirm-icon { width: 64px; height: 64px; }
      .pa-confirm-title { font-size: 16px; }
    }
  