
    /* ==========================================================================
       PRECIOSPE FLAGSHIP DESIGN SYSTEM — "SWISS PRECISION COMMERCE v2.0"
       Benchmarks: Idealo.de, Prisjakt, Keepa, Stripe, Apple Store, RTINGS
       ========================================================================== */
    :root {
      --bg-canvas: #FFFFFF;
      --bg-surface: #FFFFFF;
      --bg-subtle: #FFFFFF;
      --bg-glass: rgba(255, 255, 255, 0.96);

      /* Ultra-Vivid Brand & Authority */
      --brand-navy: #242424;
      --brand-navy-mid: #242424;
      --brand-orange: #D04400;
      --brand-orange-hover: #D04400;
      --brand-orange-soft: #FFFFFF;
      --brand-orange-border: #D04400;

      /* High-Saturation Savings & Price Intelligence */
      --savings-emerald: #D04400;
      --savings-emerald-dark: #D04400;
      --savings-bg: #FFFFFF;
      --savings-border: #D04400;

      --blue-text: #D04400;
      --blue-bg: #FFFFFF;
      --amber-text: #D04400;
      --amber-bg: #FFFFFF;

      /* Crisp High-Contrast Typography (Zero washed-out grays) */
      --text-primary: #242424;
      --text-secondary: #242424;
      --text-muted: #242424;

      --border-hairline: rgba(36, 36, 36, 0.16);
      --border-strong: #242424;

      --shadow-xs: 0 2px 4px rgba(36, 36, 36, 0.06);
      --shadow-card: 0 4px 14px rgba(36, 36, 36, 0.07), 0 1px 3px rgba(36, 36, 36, 0.05);
      --shadow-hover: 0 18px 36px -8px rgba(36, 36, 36, 0.16), 0 4px 12px -2px rgba(36, 36, 36, 0.10);
      --shadow-floating: 0 24px 48px -12px rgba(36, 36, 36, 0.28), 0 0 0 1px rgba(36, 36, 36, 0.10);

      --radius-xs: 6px;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 20px;
      --radius-pill: 9999px;

      --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-price: 'Space Grotesk', monospace;
      --container-w: 1280px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
    body {
      font-family: var(--font-sans);
      background: var(--bg-canvas);
      color: var(--text-primary);
      line-height: 1.5;
      font-size: 15px;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button, input, select { font-family: inherit; }
    .price-num { font-family: var(--font-price); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
    .container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

    /* ==========================================================================
       MOCKUP PREVIEW DOCK
       ========================================================================== */
    .preview-dock {
      background: #242424;
      color: #FFFFFF;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 8px 0;
      position: sticky;
      top: 0;
      z-index: 1100;
    }
    .preview-dock-inner {
      max-width: var(--container-w);
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }
    .preview-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 600;
      color: rgba(36, 36, 36, 0.16);
    }
    .preview-badge span.dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #D04400;
      box-shadow: 0 0 0 3px rgba(36, 36, 36, 0.18);
    }
    .preview-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
    .preview-tab {
      background: rgba(255, 255, 255, 0.06);
      color: #242424;
      border: 1px solid rgba(255, 255, 255, 0.09);
      padding: 6px 13px;
      border-radius: var(--radius-pill);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .preview-tab:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.13); }
    .preview-tab.active {
      background: var(--brand-orange);
      color: #FFFFFF;
      border-color: var(--brand-orange);
      box-shadow: 0 2px 10px rgba(36, 36, 36, 0.4);
    }

    /* ==========================================================================
       1. GLOBAL TOPBAR, HEADER, MEGA-MENU & LIVE AUTOCOMPLETE
       ========================================================================== */
    .utility-bar {
      background: var(--brand-navy);
      color: rgba(36, 36, 36, 0.16);
      font-size: 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .utility-inner {
      max-width: var(--container-w);
      margin: 0 auto;
      padding: 0 24px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .utility-left { display: flex; align-items: center; gap: 18px; }
    .utility-pill { display: inline-flex; align-items: center; gap: 6px; color: #FFFFFF; font-weight: 500; }
    .utility-pill svg { color: #D04400; }
    .utility-links { display: flex; align-items: center; gap: 18px; }
    .utility-links a { color: #242424; transition: color 0.15s; font-weight: 500; }
    .utility-links a:hover { color: #FFFFFF; }

    .site-header {
      background: #242424;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      position: sticky;
      top: 45px;
      z-index: 1000;
      box-shadow: 0 4px 20px rgba(36, 36, 36, 0.12);
    }
    .header-main {
      max-width: var(--container-w);
      margin: 0 auto;
      padding: 0 24px;
      height: 72px;
      display: flex;
      align-items: center;
      gap: 18px;
      position: relative;
    }

    .brand-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .brand-mark {
      width: 38px; height: 38px; border-radius: 9px;
      background: var(--brand-orange);
      display: grid; place-items: center; position: relative;
    }
    .brand-mark::after {
      display: none;
    }
    .brand-wordmark {
      font-family: var(--font-display);
      font-size: 24px; font-weight: 800; letter-spacing: -0.03em;
      color: #FFFFFF; line-height: 1;
    }
    .brand-wordmark span { color: #D04400; }

    .btn-categories {
      display: inline-flex; align-items: center; gap: 8px;
      height: 42px; padding: 0 15px;
      border-radius: var(--radius-sm);
      border: 1.5px solid rgba(255, 255, 255, 0.22);
      background: rgba(255, 255, 255, 0.10);
      color: #FFFFFF;
      font-weight: 700; font-size: 13.5px;
      cursor: pointer; transition: all 0.15s; flex-shrink: 0;
    }
    .btn-categories:hover, .btn-categories.active {
      background: var(--brand-orange); color: #FFFFFF; border-color: var(--brand-orange);
    }

    /* Interactive Mega Menu */
    .mega-drawer {
      position: absolute;
      top: 72px; left: 24px; right: 24px;
      background: var(--bg-surface);
      border: 1px solid var(--border-hairline);
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      box-shadow: var(--shadow-floating);
      padding: 24px;
      display: none;
      grid-template-columns: 240px 1fr 280px;
      gap: 28px;
      z-index: 1050;
    }
    .mega-drawer.open { display: grid; animation: fadeIn 0.16s ease; }
    .mega-nav-list { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--border-hairline); padding-right: 16px; }
    .mega-nav-item {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 12px; border-radius: var(--radius-sm);
      font-size: 13.5px; font-weight: 600; color: var(--text-secondary);
      cursor: pointer; transition: all 0.12s;
    }
    .mega-nav-item:hover, .mega-nav-item.active {
      background: var(--brand-orange-soft); color: var(--brand-orange);
    }
    .mega-subgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .mega-col h5 { font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 10px; }
    .mega-col a { display: block; font-size: 13.5px; color: var(--text-secondary); padding: 4px 0; font-weight: 500; }
    .mega-col a:hover { color: var(--brand-orange); }
    .mega-spotlight {
      background: linear-gradient(145deg, #242424, #242424);
      color: #FFFFFF; border-radius: var(--radius-md); padding: 18px;
      display: flex; flex-direction: column; justify-content: space-between;
    }

    /* Omnibox + Instant Autocomplete Dropdown */
    .omnibox-wrap { flex: 1; max-width: 580px; position: relative; }
    .omnibox {
      width: 100%; display: flex; align-items: center;
      background: #FFFFFF;
      border: 2px solid #FFFFFF;
      border-radius: 11px; height: 44px; padding: 0 5px 0 14px;
      transition: all 0.2s ease;
      box-shadow: 0 4px 12px rgba(36, 36, 36, 0.15);
    }
    .omnibox:focus-within {
      border-color: var(--brand-orange);
      box-shadow: 0 0 0 4px rgba(36, 36, 36, 0.25);
    }
    .omnibox-icon { color: var(--brand-orange); margin-right: 10px; flex-shrink: 0; }
    .omnibox input {
      flex: 1; border: none; background: transparent;
      font-size: 14px; font-weight: 600; color: var(--text-primary); outline: none;
    }
    .omnibox-kbd {
      font-size: 11px; font-weight: 700; color: var(--text-secondary);
      background: var(--bg-subtle); border: 1px solid var(--border-hairline);
      border-radius: 5px; padding: 2px 6px; margin-right: 8px;
    }
    .omnibox-submit {
      height: 34px; padding: 0 16px; border-radius: 8px; border: none;
      background: #D04400; color: #FFFFFF;
      font-weight: 700; font-size: 13px; cursor: pointer;
    }

    /* Instant Autocomplete Dropdown */
    .search-dropdown {
      position: absolute; top: 50px; left: 0; right: 0;
      background: var(--bg-surface);
      border: 1px solid var(--border-hairline);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-floating);
      padding: 12px;
      display: none;
      z-index: 1060;
    }
    .search-dropdown.open { display: block; animation: fadeIn 0.14s ease; }
    .sd-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer;
    }
    .sd-row:hover { background: var(--bg-subtle); }

    .hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
    .hdr-action-link {
      display: inline-flex; align-items: center; gap: 7px;
      height: 38px; padding: 0 12px; border-radius: var(--radius-sm);
      font-size: 13px; font-weight: 600; color: #FFFFFF;
      transition: all 0.15s; border: 1px solid rgba(255, 255, 255, 0.16); cursor: pointer; background: rgba(255, 255, 255, 0.06);
    }
    .hdr-action-link:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); }
    .badge-count {
      background: rgba(255, 255, 255, 0.15); color: #FFFFFF;
      font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: var(--radius-pill);
    }

    .cat-strip { background: #242424; border-top: 1px solid rgba(255, 255, 255, 0.07); }
    .cat-strip-inner {
      max-width: var(--container-w); margin: 0 auto; padding: 0 24px;
      height: 42px; display: flex; align-items: center; gap: 6px;
      overflow-x: auto; scrollbar-width: none;
    }
    .cat-strip-inner::-webkit-scrollbar { display: none; }
    .cat-pill {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 5px 12px; border-radius: var(--radius-pill);
      font-size: 12.5px; font-weight: 500; color: rgba(36, 36, 36, 0.16);
      white-space: nowrap; transition: all 0.15s;
    }
    .cat-pill:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
    .cat-pill.hot { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; font-weight: 600; }

    /* ==========================================================================
       VIEW MANAGEMENT
       ========================================================================== */
    .view-section { display: none; animation: fadeIn 0.2s ease; }
    .view-section.active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

    /* ==========================================================================
       VIEW 1: HOME PAGE (index.html) — 90% Clean Neutral / 10% Surgical Accent
       ========================================================================== */
    .hero-section {
      background: #FFFFFF;
      border-bottom: 1px solid rgba(36, 36, 36, 0.16);
      padding: 48px 0 52px;
    }
    .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 5px 12px; border-radius: var(--radius-pill);
      background: #FFFFFF; border: 1px solid rgba(36, 36, 36, 0.16);
      color: #242424; font-size: 11.5px; font-weight: 700; margin-bottom: 16px;
      letter-spacing: 0.03em;
    }
    .hero-title {
      font-family: var(--font-display); font-size: clamp(32px, 3.8vw, 46px);
      font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
      color: #242424; margin-bottom: 14px;
    }
    .hero-title span {
      color: #D04400;
      -webkit-text-fill-color: #D04400;
    }
    .hero-subtitle { font-size: 16px; color: #242424; font-weight: 400; max-width: 560px; margin-bottom: 26px; line-height: 1.65; }

    .hero-search-card {
      background: #FFFFFF; border: 1.5px solid rgba(36, 36, 36, 0.16);
      border-radius: 14px; padding: 6px;
      display: flex; align-items: center; gap: 10px;
      box-shadow: 0 8px 24px rgba(36, 36, 36, 0.06); max-width: 590px; margin-bottom: 14px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .hero-search-card:focus-within {
      border-color: #242424;
      box-shadow: 0 10px 30px rgba(36, 36, 36, 0.1);
    }
    .hero-search-card input {
      flex: 1; border: none; padding: 11px 12px; font-size: 15px;
      font-weight: 500; color: var(--text-primary); outline: none;
    }
    .hero-search-btn {
      height: 46px; padding: 0 24px; border-radius: 10px; border: none;
      background: #D04400; color: #FFFFFF;
      font-family: var(--font-display); font-size: 14.5px; font-weight: 700;
      cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.15s;
    }
    .hero-search-btn:hover { background: #D04400; }

    /* Hero KPI Trust Metrics Row */
    .hero-kpis {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
      max-width: 560px; margin-top: 26px; padding-top: 20px;
      border-top: 1px solid rgba(36, 36, 36, 0.16);
    }
    .hero-kpi-num { font-family: var(--font-price); font-size: 22px; font-weight: 700; color: #242424; }
    .hero-kpi-lbl { font-size: 12.5px; font-weight: 500; color: #242424; }

    /* Radar Card — Clean White Card with Subtle Border */
    .radar-card {
      background: #FFFFFF; border: 1px solid rgba(36, 36, 36, 0.16);
      border-radius: 16px; box-shadow: 0 12px 32px rgba(36, 36, 36, 0.06); overflow: hidden;
    }
    .radar-header {
      padding: 15px 20px; background: #FFFFFF; color: #242424;
      border-bottom: 1px solid rgba(36, 36, 36, 0.16);
      display: flex; align-items: center; justify-content: space-between;
    }
    .radar-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #242424; }
    .radar-live-tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); background: #FFFFFF; color: #D04400; border: 1px solid rgba(36, 36, 36, 0.16); }
    .radar-item {
      display: flex; align-items: center; gap: 14px; padding: 14px 20px;
      border-bottom: 1px solid #FFFFFF; transition: background 0.15s; cursor: pointer;
    }
    .radar-item:last-child { border-bottom: none; }
    .radar-item:hover { background: #FFFFFF; }
    .radar-thumb { width: 48px; height: 48px; border-radius: 8px; border: 1px solid rgba(36, 36, 36, 0.16); background: #FFFFFF; padding: 4px; object-fit: contain; flex-shrink: 0; }
    .radar-info { flex: 1; min-width: 0; }
    .radar-name { font-weight: 600; font-size: 13.5px; color: #242424; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .radar-meta { font-size: 12px; color: #242424; font-weight: 400; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
    .radar-price-col { text-align: right; flex-shrink: 0; }
    .radar-price { font-family: var(--font-price); font-size: 16px; font-weight: 700; color: #242424; }
    .radar-drop { display: inline-block; font-size: 11px; font-weight: 600; color: #D04400; background: #FFFFFF; padding: 1px 7px; border-radius: var(--radius-pill); }

    /* Trust Bar */
    .trust-strip { background: #FFFFFF; border-bottom: 1px solid var(--border-hairline); padding: 16px 0; }
    .trust-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
    .trust-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #242424; }
    .store-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .store-chip {
      display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;
      border-radius: var(--radius-sm); background: #FFFFFF;
      border: 1.5px solid rgba(36, 36, 36, 0.16); font-size: 12.5px; font-weight: 700; color: #242424;
    }
    .store-dot { width: 9px; height: 9px; border-radius: 50%; }

    .section-block { padding: 40px 0; }
    .section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
    .section-title { font-family: var(--font-display); font-size: 25px; font-weight: 800; letter-spacing: -0.02em; color: #242424; }
    .section-sub { font-size: 14.5px; font-weight: 500; color: #242424; margin-top: 3px; }
    .section-link { font-size: 14px; font-weight: 700; color: var(--brand-orange); }

    /* Interactive Filter Tabs on Home */
    .deal-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
    .deal-tab {
      padding: 8px 15px; border-radius: var(--radius-pill);
      border: 1.5px solid rgba(36, 36, 36, 0.16); background: #FFFFFF;
      font-size: 13px; font-weight: 700; color: #242424; cursor: pointer; transition: all 0.15s;
    }
    .deal-tab.active, .deal-tab:hover {
      background: var(--brand-orange); color: #FFFFFF; border-color: var(--brand-orange);
    }

    /* Bento Categories */
    .bento-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .bento-cat-card {
      background: #FFFFFF; border: 1px solid rgba(36, 36, 36, 0.16);
      border-radius: var(--radius-md); padding: 18px 16px;
      display: flex; flex-direction: column; gap: 10px;
      transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(36, 36, 36, 0.03);
    }
    .bento-cat-card:hover { transform: translateY(-3px); border-color: rgba(36, 36, 36, 0.16); box-shadow: 0 10px 24px rgba(36, 36, 36, 0.06); }
    .bento-icon { width: 40px; height: 40px; border-radius: 9px; background: #FFFFFF; color: #242424; display: grid; place-items: center; border: 1px solid rgba(36, 36, 36, 0.16); transition: all 0.2s; }
    .bento-cat-card:hover .bento-icon { background: #242424; color: #FFFFFF; border-color: #242424; }
    .bento-cat-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: #242424; }
    .bento-cat-meta { font-size: 12px; color: #242424; font-weight: 500; }

    /* Product Cards — Ultra-Clean Editorial Layout (Zero Badge Clutter) */
    .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .p-card {
      background: #FFFFFF; border: 1px solid rgba(36, 36, 36, 0.16);
      border-radius: var(--radius-md); padding: 18px;
      display: flex; flex-direction: column; position: relative;
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 1px 3px rgba(36, 36, 36, 0.03);
    }
    .p-card:hover { transform: translateY(-3px); border-color: rgba(36, 36, 36, 0.16); box-shadow: 0 12px 28px rgba(36, 36, 36, 0.07); }
    .p-card-badges { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .badge-discount {
      background: #FFFFFF; color: #D04400; border: 1px solid rgba(36, 36, 36, 0.16);
      font-family: var(--font-price);
      font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-pill);
    }
    .badge-stores-count { background: #FFFFFF; color: #242424; border: 1px solid rgba(36, 36, 36, 0.16); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-pill); }
    .p-card-media { height: 165px; display: flex; align-items: center; justify-content: center; padding: 8px; margin-bottom: 12px; background: #FFFFFF; }
    .p-card-media img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.25s ease; }
    .p-card:hover .p-card-media img { transform: scale(1.04); }
    .p-card-brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #242424; margin-bottom: 4px; }
    .p-card-title {
      font-weight: 600; font-size: 14px; line-height: 1.4; color: #242424;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden; min-height: 39px; margin-bottom: 12px;
    }

    /* Mini 90-day Sparkline Box inside Product Card — Neutral Surface */
    .p-card-spark {
      background: #FFFFFF; border: 1px solid rgba(36, 36, 36, 0.16);
      border-radius: 7px; padding: 6px 10px; margin-bottom: 12px;
      display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 500; color: #242424;
    }

    .p-card-pricing { margin-top: auto; padding-top: 12px; border-top: 1px solid #FFFFFF; }
    .p-card-price-label { font-size: 12px; font-weight: 400; color: #242424; display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; }
    .p-card-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
    .p-card-price-main { font-family: var(--font-price); font-size: 22px; font-weight: 700; color: #242424; }
    .p-card-price-old { font-family: var(--font-price); font-size: 13px; font-weight: 500; color: #242424; text-decoration: line-through; }
    .p-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
    .btn-card-primary {
      height: 38px; border-radius: var(--radius-sm); background: #242424; color: #FFFFFF;
      font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
      border: none; cursor: pointer; transition: all 0.15s;
    }
    .btn-card-primary:hover { background: #D04400; }
    .btn-card-icon {
      width: 38px; height: 38px; border-radius: var(--radius-sm);
      border: 1px solid rgba(36, 36, 36, 0.16); background: #FFFFFF;
      color: #242424; display: grid; place-items: center; cursor: pointer; transition: all 0.15s;
    }
    .btn-card-icon:hover { border-color: #242424; color: #242424; background: #FFFFFF; }

    /* Editorial Hub */
    .seo-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .guide-card {
      background: #FFFFFF; border: 1px solid rgba(36, 36, 36, 0.16);
      border-radius: var(--radius-md); padding: 24px;
      display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 3px rgba(36, 36, 36, 0.03); transition: all 0.2s;
    }
    .guide-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(36, 36, 36, 0.06); border-color: rgba(36, 36, 36, 0.16); }
    .guide-tag {
      display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
      font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
      padding: 3px 9px; border-radius: var(--radius-pill); background: #FFFFFF; color: #242424; border: 1px solid rgba(36, 36, 36, 0.16);
    }
    .guide-card h3 { font-family: var(--font-display); font-size: 17.5px; font-weight: 700; line-height: 1.3; color: var(--brand-navy); }
    .guide-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
    .guide-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bg-subtle); display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--brand-orange); }

    /* ==========================================================================
       VIEW 2: SEARCH & CATEGORY PAGE
       ========================================================================== */
    .search-summary-bar { background: var(--bg-surface); border-bottom: 1px solid var(--border-hairline); padding: 20px 0; }
    .search-summary-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
    .breadcrumb-clean { font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; }
    .search-kpi-pills { display: flex; gap: 10px; flex-wrap: wrap; }
    .kpi-pill { background: var(--bg-canvas); border: 1px solid var(--border-hairline); border-radius: var(--radius-sm); padding: 8px 14px; display: flex; flex-direction: column; }
    .kpi-pill span.lbl { font-size: 10.5px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
    .kpi-pill span.val { font-family: var(--font-price); font-size: 15px; font-weight: 700; color: var(--brand-navy); }

    .search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 28px 0 60px; align-items: start; }
    .filter-sidebar { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-card); position: sticky; top: 132px; }
    .filter-group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border-hairline); }
    .filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .filter-title { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--brand-navy); margin-bottom: 12px; }
    .filter-check { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--text-secondary); padding: 5px 0; cursor: pointer; }
    .filter-check input { accent-color: var(--brand-orange); margin-right: 8px; }
    .filter-count { font-family: var(--font-price); font-size: 11.5px; color: var(--text-muted); background: var(--bg-subtle); padding: 1px 7px; border-radius: var(--radius-pill); }

    /* ==========================================================================
       VIEW 3: PRODUCT DETAIL + 90-DAY CHART + INSTALLMENT SIMULATOR
       ========================================================================== */
    .pdp-grid { display: grid; grid-template-columns: 430px 1fr; gap: 32px; margin-top: 20px; margin-bottom: 32px; }
    .pdp-gallery-card { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); }
    .pdp-main-img { height: 300px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
    .pdp-main-img img { max-height: 100%; object-fit: contain; }
    .thermometer-box { background: var(--bg-canvas); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); padding: 16px; margin-top: 14px; }
    .thermo-bar { height: 8px; border-radius: var(--radius-pill); background: linear-gradient(90deg, #D04400 0%, #D04400 55%, #D04400 100%); position: relative; margin: 12px 0 8px; }
    .thermo-pin { position: absolute; left: 16%; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--savings-emerald); box-shadow: 0 2px 6px rgba(36, 36, 36, 0.2); }
    .thermo-labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-muted); font-family: var(--font-price); }

    .winner-buybox {
      background: #FFFFFF;
      border: 1px solid rgba(36, 36, 36, 0.16); border-left: 4px solid var(--savings-emerald); border-radius: var(--radius-lg);
      padding: 22px 24px; margin: 16px 0;
      box-shadow: 0 4px 16px rgba(36, 36, 36, 0.04);
      display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    }
    .winner-badge { display: inline-flex; align-items: center; gap: 6px; background: #FFFFFF; color: #D04400; border: 1px solid rgba(36, 36, 36, 0.16); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 6px; }
    .winner-price { font-family: var(--font-price); font-size: 36px; font-weight: 700; color: var(--brand-navy); line-height: 1.05; }
    .btn-buy-winner {
      height: 48px; padding: 0 26px; border-radius: var(--radius-md);
      background: var(--brand-orange); color: #FFFFFF;
      font-family: var(--font-display); font-size: 14.5px; font-weight: 700;
      display: inline-flex; align-items: center; gap: 10px; border: none; cursor: pointer;
      box-shadow: 0 4px 14px rgba(36, 36, 36, 0.35);
    }

    .offers-table-card { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 24px; }
    .offer-row-item {
      display: grid; grid-template-columns: 185px 1fr 140px 150px;
      align-items: center; gap: 16px; padding: 15px 22px;
      border-bottom: 1px solid var(--border-hairline);
    }
    .offer-row-item:last-child { border-bottom: none; }
    .offer-row-item.is-best { background: rgba(36, 36, 36, 0.6); }
    .offer-store-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--brand-navy); display: flex; align-items: center; gap: 10px; }
    .store-avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--bg-subtle); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--brand-navy); border: 1px solid var(--border-hairline); }

    /* Interactive 90-Day Price History Chart Card (Keepa / Prisjakt Style) */
    .history-chart-card {
      background: var(--bg-surface); border: 1px solid var(--border-hairline);
      border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card);
    }

    /* ==========================================================================
       WHATSAPP PRICE ALERT MODAL
       ========================================================================== */
    .modal-backdrop {
      position: fixed; inset: 0; background: rgba(36, 36, 36, 0.55);
      backdrop-filter: blur(4px); z-index: 2000;
      display: none; place-items: center; padding: 20px;
    }
    .modal-backdrop.open { display: grid; animation: fadeIn 0.15s ease; }
    .modal-card {
      background: var(--bg-surface); border: 1px solid var(--border-hairline);
      border-radius: var(--radius-xl); width: 100%; max-width: 460px;
      padding: 28px; box-shadow: var(--shadow-floating);
    }

    /* ==========================================================================
       GLOBAL FOOTER
       ========================================================================== */
    .site-footer { background: var(--brand-navy); color: #242424; padding: 60px 0 34px; margin-top: 64px; }
    .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .footer-col h4 { font-family: var(--font-display); color: #FFFFFF; font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
    .footer-col a { font-size: 13.5px; color: #242424; }
    .footer-col a:hover { color: #FFFFFF; }
    .footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; font-size: 12.5px; flex-wrap: wrap; gap: 12px; }

    @media (max-width: 1024px) {
      .hero-grid, .pdp-grid, .search-layout, .mega-drawer { grid-template-columns: 1fr; }
      .bento-cats { grid-template-columns: repeat(3, 1fr); }
      .product-grid { grid-template-columns: repeat(2, 1fr); }
      .seo-hub-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .offer-row-item { grid-template-columns: 1fr auto; }
    }
  
/* Identidad: petr?leo, azul de acci?n y violeta de ahorro. */
.preview-dock { position:relative; padding:8px 0; }
.preview-tab { color:#FFFFFF; }
.preview-tab.active { box-shadow:none; }
.site-header { top:0; background:#242424; }
.header-main { display:grid; grid-template-columns:200px minmax(220px,1fr) auto; gap:22px; height:auto; padding-top:16px; padding-bottom:16px; position:static; }
.brand-logo { gap:9px; }
.brand-mark { background:none; width:38px; height:38px; }
.brand-mark::after { display:none; }
.brand-wordmark { font-size:26px; font-weight:800; letter-spacing:-1.1px; color:#FFFFFF; }
.brand-wordmark span { color:#D04400; }
.omnibox-wrap { max-width:none; min-width:0; }
.omnibox { height:50px; border:1px solid rgba(36, 36, 36, 0.16); border-radius:8px; box-shadow:none; gap:8px; }
.omnibox input { min-width:0; width:100%; font-size:14px; }
.omnibox-icon { color:#242424; margin-right:0; }
.omnibox-submit { height:38px; padding:0 20px; background:#D04400; border-radius:5px; }
.omnibox-submit:hover { background:#D04400; }
.search-dropdown { top:58px; }
.hdr-actions { gap:5px; margin:0; }
.hdr-action-link { flex-direction:column; justify-content:center; gap:4px; height:42px; padding:0 7px; font-size:11px; border:none; background:none; }
.hdr-action-link .badge-count { display:none; }
.cat-strip { background:#242424; }
.cat-strip-inner { height:44px; gap:3px; }
.cat-pill { font-size:11px; padding:5px 8px; color:#FFFFFF; }
.cat-pill.hot { background:#FFFFFF; color:#242424; }
.cat-strip .btn-categories { border:none; border-right:1px solid rgba(36, 36, 36, 0.16); border-radius:0; background:none; height:26px; font-size:12px; padding:0 14px 0 0; margin-right:8px; }
.mega-drawer { top:100%; max-width:1232px; margin:auto; }
.utility-bar { background:#242424; }
.utility-inner { height:30px; }
.utility-pill,.utility-links a { font-size:10px; color:#FFFFFF; }
.utility-links a:nth-child(-n+3) { display:none; }
.view-section { animation:none; }
.hero-section { background:#FFFFFF; padding:38px 0; }
.hero-grid { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:48px; }
.hero-title { font-size:clamp(32px,3.2vw,44px); line-height:1.14; }
.hero-subtitle { color:#242424; font-size:15px; }
.hero-eyebrow { background:#FFFFFF; color:#242424; border:none; }
.radar-card { box-shadow:0 6px 24px rgba(36, 36, 36, 0.04); }
.radar-header { background:#FFFFFF; }
.site-footer { background:#242424; }
.footer-col a,.footer-bottom { color:#FFFFFF; }
@media(max-width:1100px) {
 .header-main { grid-template-columns:185px minmax(200px,1fr) auto; gap:14px; }
 .hdr-action-link { font-size:10px; padding:0 4px; }
 .hero-grid { grid-template-columns:1fr; gap:24px; }
}
@media(max-width:760px) {
 .container,.header-main,.cat-strip-inner,.preview-dock-inner { padding-left:16px; padding-right:16px; }
 .header-main { grid-template-columns:1fr auto; gap:12px; }
 .hdr-actions { grid-column:2; grid-row:1; }
 .hdr-action-link:nth-child(-n+2) { display:none; }
 .omnibox-wrap { grid-column:1 / -1; grid-row:2; }
 .brand-wordmark { font-size:24px; }
 .utility-bar { display:none; }
 .preview-tabs { flex-wrap:nowrap; overflow:auto; width:100%; }
 .preview-tab { white-space:nowrap; font-size:10px; }
 .bento-cats,.product-grid,.footer-grid { grid-template-columns:1fr; }
 .hero-eyebrow { font-size:9px; }
 .hero-kpis { gap:10px; }
 .hero-kpi-num { font-size:19px; }
 .hero-kpi-lbl { font-size:10px; }
 .radar-header,.radar-item { padding:14px 10px; gap:8px; }
 .radar-title { font-size:11px; }
 .radar-meta { font-size:10px; flex-wrap:wrap; }
 .radar-thumb { width:36px; height:36px; }
 .mega-drawer { max-height:65vh; overflow:auto; }
 .mega-subgrid { grid-template-columns:1fr; }
}


/* Tres colores: petr?leo #242424, blanco #FFFFFF y naranja #D04400. */
:root { --savings-emerald:#242424; --savings-emerald-dark:#242424; --savings-bg:#FFFFFF; --text-muted:#242424; }
body { background:#FFFFFF; }
.omnibox-submit,.hero-search-btn,.btn-card-primary,.preview-tab.active,.deal-tab.active { background:#D04400; color:#242424; }
.omnibox-submit:hover,.btn-card-primary:hover { background:#D04400; color:#242424; box-shadow:inset 0 0 0 2px #242424; }
.hero-title span { color:#242424; -webkit-text-fill-color:#242424; }
.section-link,.mega-col a:hover,.mega-nav-item.active { color:#242424; }
.radar-drop,.radar-live-tag,.badge-discount,.winner-badge { color:#242424; background:#FFFFFF; border:1px solid rgba(36,36,36,.16); }
.radar-live-tag { border-color:#D04400; }
.brand-wordmark span { color:#D04400; }
.cat-pill.hot { background:#D04400; color:#242424; }
.hero-eyebrow { background:#FFFFFF; border-left:3px solid #D04400; border-radius:0; }
.store-dot { background:#242424 !important; }
.site-footer,.footer-col a,.footer-bottom { color:#FFFFFF; }
.thermo-bar { background:linear-gradient(90deg,#242424,#D04400); }
button[style*="background:#D04400"],a[style*="background:var(--brand-orange)"],button[style*="background:var(--brand-orange)"] { color:#242424 !important; }

.preview-badge { color:#FFFFFF; }

/* Direcci?n final: naranja protagonista, superficies blancas y texto oscuro. */
:root { --brand-navy:#242424; --brand-orange:#D04400; --bg-canvas:#FFFFFF; }
body,.site-header,.hero-section,.trust-strip,.site-footer { background:#FFFFFF; }
.preview-dock { background:#FFFFFF; border-bottom:1px solid rgba(36,36,36,.12); padding:6px 0; }
.preview-badge { color:#242424; font-size:11px; }
.preview-tab { color:#242424; background:#FFFFFF; border-color:rgba(36,36,36,.16); padding:5px 12px; }
.preview-tab:hover { color:#242424; background:rgba(255,107,0,.10); }
.preview-tab.active { background:#D04400; color:#242424; border-color:#D04400; }
.utility-bar { background:rgba(255,107,0,.08); border-bottom:none; }
.utility-pill,.utility-links a { color:#242424; }
.utility-pill svg { color:#242424; }
.site-header { border-bottom:0; box-shadow:0 3px 14px rgba(36,36,36,.06); }
.header-main { padding-top:20px; padding-bottom:20px; }
.brand-wordmark { color:#242424; }
.brand-wordmark span { color:#242424; border-bottom:3px solid #D04400; padding-bottom:1px; }
.omnibox { border:2px solid #D04400; height:52px; background:#FFFFFF; }
.omnibox:focus-within { border-color:#D04400; box-shadow:0 0 0 3px rgba(255,107,0,.15); }
.omnibox-icon { color:#242424; }
.omnibox-submit { height:38px; font-weight:800; padding:0 24px; }
.hdr-action-link { color:#242424; }
.hdr-action-link:hover { color:#242424; background:rgba(255,107,0,.10); }
.badge-count { color:#242424; }
.cat-strip { background:#D04400; border-top:0; }
.cat-pill { color:#242424; font-weight:600; }
.cat-pill:hover { color:#242424; background:rgba(255,255,255,.4); }
.cat-pill.hot { background:#FFFFFF; color:#242424; font-weight:800; }
.cat-strip .btn-categories { color:#242424; border-right-color:rgba(36,36,36,.25); }
.cat-strip .btn-categories:hover,.cat-strip .btn-categories.active { color:#242424; background:transparent; }
.hero-section { padding-top:44px; }
.hero-eyebrow { border-left:3px solid #D04400; color:#242424; }
.hero-title { color:#242424; }
.radar-card { border-top:3px solid #D04400; }
.radar-header { background:#FFFFFF; }
.radar-item:hover { background:rgba(255,107,0,.05); }
.section-block { background:#FFFFFF; }
.bento-cat-card:hover { border-color:#D04400; }
.bento-icon { background:rgba(255,107,0,.10); color:#242424; }
.site-footer { border-top:3px solid #D04400; color:#242424; }
.site-footer .brand-wordmark,.site-footer .brand-wordmark span,.footer-col a,.footer-col h4,.footer-bottom { color:#242424; }
.site-footer a:hover { color:#242424; text-decoration:underline; }
@media(max-width:760px) { .header-main { padding-top:14px; padding-bottom:14px; } .hero-section { padding-top:28px; } }


/* Contraste final: naranja, blanco y carb?n neutro. */
.omnibox-submit,.omnibox-submit:hover,.hero-search-btn,.btn-card-primary,.btn-card-primary:hover,
.preview-tab.active,.deal-tab.active { color:#FFFFFF; background:#D04400; }
.cat-strip { background:#D04400; }
.cat-pill,.cat-strip .btn-categories,.cat-strip .btn-categories:hover,.cat-strip .btn-categories.active { color:#FFFFFF; }
.cat-strip .btn-categories { border-right-color:rgba(255,255,255,.35); }
.cat-pill:hover { color:#FFFFFF; background:rgba(255,255,255,.15); }
.cat-pill.hot { background:#FFFFFF; color:#242424; }
.brand-mark svg path { stroke:#FFFFFF; }
button[style*="background:#D04400"],a[style*="background:var(--brand-orange)"],button[style*="background:var(--brand-orange)"] { color:#FFFFFF !important; }


/* Naranja vivo: superficies limpias y acentos con saturaci?n completa. */
:root { --brand-orange:#D04400; --brand-orange-hover:#D04400; --text-primary:#242424; }
.site-header { box-shadow:0 4px 16px rgba(36,36,36,.06); }
.utility-bar { background:#FFFFFF; border-bottom:1px solid rgba(36,36,36,.08); }
.omnibox { border-color:#D04400; }
.omnibox-submit,.omnibox-submit:hover,.hero-search-btn,.btn-card-primary,.btn-card-primary:hover,
.preview-tab.active,.deal-tab.active { background:#D04400; color:#242424; font-weight:800; }
.cat-strip { background:#D04400; }
.cat-pill,.cat-strip .btn-categories,.cat-strip .btn-categories:hover,.cat-strip .btn-categories.active { color:#242424; }
.cat-pill:hover { color:#242424; background:rgba(255,255,255,.35); }
.cat-pill.hot { background:#FFFFFF; color:#242424; }
.cat-strip .btn-categories { border-right-color:rgba(36,36,36,.25); }
.brand-mark svg rect { fill:#D04400; }
.brand-mark svg path { stroke:#242424; }
.brand-wordmark span { color:#242424; border-bottom-color:#D04400; }
.hero-section { background:#FFFFFF; }
.hero-title { font-weight:800; }
.hero-title span { text-decoration:underline; text-decoration-color:#D04400; text-decoration-thickness:4px; text-underline-offset:6px; }
.hero-eyebrow { border-left-width:4px; font-weight:700; }
.radar-card { border-top:4px solid #D04400; box-shadow:0 8px 26px rgba(36,36,36,.07); }
.radar-live-tag { border-color:#D04400; }
.bento-icon { background:#D04400; color:#242424; }
.bento-cat-card { box-shadow:none; }
.bento-cat-card:hover { border-color:#D04400; box-shadow:0 4px 14px rgba(36,36,36,.08); }
button[style*="background:#D04400"],a[style*="background:var(--brand-orange)"],button[style*="background:var(--brand-orange)"] { color:#242424 !important; }


/* Texto blanco expl?cito en todas las acciones y navegaci?n naranja. */
.cat-strip { background:#D04400; }
.cat-strip .cat-pill,.cat-strip .btn-categories,
.cat-strip .btn-categories:hover,.cat-strip .btn-categories.active,
.cat-strip .cat-pill:hover { color:#FFFFFF; }
.cat-strip .cat-pill.hot { background:#FFFFFF; color:#242424; }
.cat-strip .btn-categories { border-right-color:rgba(255,255,255,.4); }
.omnibox-submit,.omnibox-submit:hover,.hero-search-btn,.hero-search-btn:hover,
.btn-card-primary,.btn-card-primary:hover,.preview-tab.active,.deal-tab.active {
 background:#D04400; color:#FFFFFF;
}
button[style*="background:#D04400"],a[style*="background:var(--brand-orange)"],button[style*="background:var(--brand-orange)"] {
 background:#D04400 !important; color:#FFFFFF !important;
}
.mega-spotlight { background:#FFFFFF; color:#242424; border:1px solid rgba(36,36,36,.16); }
.mega-spotlight p { color:#242424 !important; }


/* Revisi?n integral de contraste en todas las vistas y estados. */
:root { --brand-orange:#D04400; --brand-orange-hover:#D04400; --savings-emerald:#242424; --savings-emerald-dark:#242424; }
.guide-footer { color:#242424; }
.guide-footer span:first-child { text-decoration:underline; text-underline-offset:3px; text-decoration-color:#D04400; }
.offer-row-item.is-best { background:#FFFFFF; border-left:3px solid #D04400; }
.btn-buy-winner { background:#D04400; color:#FFFFFF; }
.btn-buy-winner:hover { background:#D04400; color:#FFFFFF; }
.bento-cat-card:hover .bento-icon { background:#D04400; color:#FFFFFF; }
.btn-categories:hover,.btn-categories.active { color:#FFFFFF; }
.site-footer .brand-wordmark { color:#242424 !important; }


.search-layout > * { min-width:0; }
@media(max-width:760px) {
 #view-search .product-grid { grid-template-columns:minmax(0,1fr) !important; }
 .filter-sidebar { position:static; }
 .search-layout { grid-template-columns:minmax(0,1fr); }
}

/* Contraste de ?conos independiente del texto y del estado hover. */
.brand-mark svg path { stroke:#FFFFFF; }
.bento-icon,.bento-cat-card:hover .bento-icon { color:#FFFFFF; background:#D04400; border-color:#D04400; }
.bento-icon svg { stroke:#FFFFFF; stroke-width:2; }
.cat-strip .btn-categories svg { color:#FFFFFF; stroke:#FFFFFF; }
.hdr-action-link svg,.omnibox-icon,.btn-card-icon svg { color:#242424; stroke:#242424; }
.btn-card-icon,.btn-card-icon:hover { background:#FFFFFF; color:#242424; }

.brand-mark svg path { stroke:none; }
.brand-mark svg rect:first-child { fill:#D04400; }
.brand-mark svg rect:nth-child(2) { fill:#FFFFFF; }

.brand-mark { width:32px; height:24px; background:transparent; border-radius:0; }
.brand-mark svg { display:block; width:32px; height:24px; }
.brand-mark svg rect:first-child { fill:#FFFFFF; }

/* Naranja luminoso en detalles; navegaci?n ligera sobre blanco. */
.cat-strip { background:#FFFFFF; border-top:1px solid rgba(36,36,36,.10); border-bottom:1px solid rgba(36,36,36,.10); }
.cat-strip .cat-pill,.cat-strip .cat-pill:hover,.cat-strip .btn-categories,
.cat-strip .btn-categories:hover,.cat-strip .btn-categories.active { color:#242424; }
.cat-strip .btn-categories svg { color:#242424; stroke:#242424; }
.cat-strip .btn-categories { border-right-color:rgba(36,36,36,.18); }
.cat-strip .cat-pill:hover { background:rgba(255,107,0,.08); }
.cat-strip .cat-pill.hot { background:#FFFFFF; color:#242424; box-shadow:inset 0 -3px #FF6B00; border-radius:0; }
.omnibox { border-color:#FF6B00; }
.omnibox:focus-within { border-color:#FF6B00; box-shadow:0 0 0 3px rgba(255,107,0,.12); }
.brand-wordmark span { border-bottom-color:#FF6B00; }
.hero-eyebrow { border-left-color:#FF6B00; }
.hero-title span { text-decoration-color:#FF6B00; }
.radar-card { border-top-color:#FF6B00; }
.radar-live-tag { border-color:#FF6B00; }
.bento-icon,.bento-cat-card:hover .bento-icon { background:#FFFFFF; border-color:rgba(36,36,36,.12); color:#FF6B00; }
.bento-icon svg { stroke:#FF6B00; stroke-width:2.2; }
.bento-cat-card:hover { border-color:#FF6B00; }
.site-footer { border-top-color:#FF6B00; }



/* ==========================================================================
   Puente PreciosPe R1 — solo conecta componentes de producción al sistema
   visual del mockup aprobado. No redefine el diseño.
   ========================================================================== */

/* Sugerencias del buscador (home.min.js / app.min.js) */
.search-dropdown { display: none; }
.search-dropdown.active { display: block; animation: fadeIn .14s ease; }
.sugg-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: #242424;
}
.sugg-item:hover { background: rgba(255, 107, 0, .07); }
.sugg-item i { color: #D04400; font-size: 12px; }

/* Enlace "categorías" del drawer */
.mega-nav-item { cursor: pointer; }
.mega-nav-item:hover { color: #D04400; }

/* Radar y tarjetas mientras carga */
.radar-item.is-loading .radar-thumb,
.radar-item.is-loading .radar-name,
.radar-item.is-loading .radar-meta,
.radar-item.is-loading .radar-price,
.radar-item.is-loading .radar-drop {
  color: transparent !important;
  background: linear-gradient(90deg, #F5F5F5 25%, #EDEDED 37%, #F5F5F5 63%);
  background-size: 400% 100%;
  animation: ppShimmer 1.3s ease infinite;
  border-radius: 6px;
}
.radar-item.is-loading .radar-thumb { border: 0; }
.radar-item.is-loading .radar-name { width: 85%; height: 13px; margin-bottom: 6px; }
.radar-item.is-loading .radar-meta { width: 55%; height: 11px; }
.radar-item.is-loading .radar-price { width: 70px; height: 15px; margin-left: auto; }
.radar-item.is-loading .radar-drop { width: 80px; height: 10px; margin-left: auto; margin-top: 5px; }
.p-card-skel { pointer-events: none; min-height: 380px; }
.p-card-skel::before {
  content: ""; display: block; height: 100%; min-height: 380px; border-radius: 12px;
  background: linear-gradient(90deg, #F5F5F5 25%, #EDEDED 37%, #F5F5F5 63%);
  background-size: 400% 100%; animation: ppShimmer 1.3s ease infinite;
}
@keyframes ppShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* El mockup usa enlaces en el radar; heredan el look del componente */
a.radar-item { color: inherit; text-decoration: none; }

/* Contenido SEO conservado, tipografiado con el sistema del mockup */
.seo-block { padding: 56px 0; }
.seo-block + .seo-block { border-top: 1px solid rgba(36, 36, 36, .08); }
.seo-copy {
  font-size: 14px; line-height: 1.75; color: #242424; max-width: 900px;
}
.seo-copy strong { font-weight: 700; }
.seo-copy a { color: #D04400; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.seo-groups { display: grid; gap: 22px; margin-top: 26px; }
.seo-group h3 {
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  color: #242424; margin-bottom: 10px;
}
.seo-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.seo-chip {
  display: inline-flex; align-items: center; padding: 6px 12px;
  border: 1px solid rgba(36, 36, 36, .14); border-radius: 999px;
  background: #FFFFFF; color: #242424; font-size: 12.5px; font-weight: 500;
  line-height: 1.2; text-decoration: none; transition: border-color .15s ease, color .15s ease;
}
.seo-chip:hover { border-color: #FF6B00; color: #D04400; }

/* FAQ con el lenguaje visual del mockup */
.faq-clean { display: grid; gap: 10px; margin-top: 22px; max-width: 900px; }
.faq-clean details {
  border: 1px solid rgba(36, 36, 36, .12); border-radius: 12px;
  background: #FFFFFF; padding: 16px 18px;
}
.faq-clean summary {
  cursor: pointer; list-style: none; font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: #242424;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-clean summary::-webkit-details-marker { display: none; }
.faq-clean summary::after { content: "+"; color: #D04400; font-size: 18px; font-weight: 700; }
.faq-clean details[open] summary::after { content: "−"; }
.faq-clean details p { margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: #242424; }

/* Publicidad dentro del lenguaje del mockup */
.pp-ad-placement { max-width: 1100px; margin: 8px auto 8px; padding: 0 24px; }
.pp-ad-label {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(36, 36, 36, .6); margin-bottom: 6px;
}
.pp-ad-placement ins.adsbygoogle { border-radius: 12px; overflow: hidden; }

/* PWA */
.pwa-top-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 9999; display: none; width: min(560px, calc(100vw - 24px));
  background: #242424; color: #FFFFFF; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(36, 36, 36, .28); padding: 12px 14px;
}
.pwa-top-content { display: flex; align-items: center; gap: 10px; }
.pwa-top-text { flex: 1; font-size: 12.5px; line-height: 1.4; }
.pwa-top-btn {
  border: 0; border-radius: 9px; padding: 9px 14px; font-size: 12px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
}
.pwa-top-close {
  border: 0; background: transparent; color: #FFFFFF; font-size: 15px;
  cursor: pointer; padding: 4px 6px; opacity: .8;
}

/* Cookies: el script trae estilos inline, se alinean al mockup */
#cookieBanner {
  border: 1px solid rgba(36, 36, 36, .12) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(36, 36, 36, .16) !important;
  padding: 18px 20px !important;
}
#cookieBanner #cookieAccept {
  background: #D04400 !important; border: 0 !important; border-radius: 10px !important;
  padding: 10px 18px !important; text-transform: none !important;
  font-family: var(--font-display) !important; font-weight: 700 !important;
}
#cookieBanner #cookieReject {
  border: 1px solid rgba(36, 36, 36, .2) !important; border-radius: 10px !important;
  padding: 10px 14px !important; text-transform: none !important;
  font-family: var(--font-body) !important; font-weight: 600 !important; color: #242424 !important;
}
#cookieBanner a { color: #D04400 !important; }

/* Pie: enlaces legales integrados al diseño */
.footer-bottom .footer-legal { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom .footer-legal a { color: #242424; text-decoration: underline; text-underline-offset: 2px; }

/* Utilidades */
.pp-hidden { display: none !important; }
.pp-empty { font-size: 13.5px; color: #242424; padding: 18px 0; }
.pp-empty a { color: #D04400; font-weight: 600; }

/* ==========================================================================
   Busqueda / Resultados
   ========================================================================== */
.hidden { display: none !important; }

.search-mobile-bar { display: none; }

.search-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.search-product-grid > * { min-width: 0; }

@media (min-width: 901px) {
  #filtersPanel { display: block !important; }
}
@media (max-width: 1024px) {
  .search-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .search-product-grid { grid-template-columns: minmax(0, 1fr); }
  .search-mobile-bar {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
  }
}
@media (max-width: 640px) {
  .search-product-grid { grid-template-columns: minmax(0, 1fr); }
}

.filter-select,
.price-input {
  width: 100%; padding: 9px 12px; border-radius: 8px;
  border: 1px solid rgba(36, 36, 36, .16); background: #FFFFFF;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  color: #242424; outline: none;
}
.filter-select:focus,
.price-input:focus { border-color: #FF6B00; }
.price-range-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 7px; }
.price-range-row span { color: rgba(36, 36, 36, .6); font-size: 12px; }
.filter-clear {
  width: 100%; margin-top: 12px; padding: 8px 12px;
  border: 1px solid rgba(36, 36, 36, .16); border-radius: 8px;
  background: #FFFFFF; color: #D04400; font-size: 12.5px; font-weight: 700;
  cursor: pointer;
}
.filter-clear:hover { border-color: #D04400; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.kpi-filtered {
  font-family: var(--font-price); font-size: 12px; font-weight: 700;
  color: #D04400; align-self: center;
}

.search-toggle-filters {
  height: 38px; padding: 0 16px; border-radius: 8px;
  border: 1px solid rgba(36, 36, 36, .16); background: #FFFFFF;
  color: #242424; font-size: 12.5px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}

.search-pagination {
  grid-column: 1 / -1; display: flex; justify-content: center;
  align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 0 4px;
}
.search-page-btn {
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid rgba(36, 36, 36, .16); border-radius: 8px;
  background: #FFFFFF; color: #242424; font-family: var(--font-price);
  font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.search-page-btn:hover:not(:disabled) { border-color: #D04400; color: #D04400; }
.search-page-btn.active { background: #242424; border-color: #242424; color: #FFFFFF; }
.search-page-btn:disabled { opacity: .4; cursor: default; }
.search-page-dots { color: rgba(36, 36, 36, .6); padding: 0 2px; }
.search-page-info {
  grid-column: 1 / -1; text-align: center; font-size: 12px;
  color: rgba(36, 36, 36, .6); padding: 2px 0 8px;
}

.search-empty-card {
  background: #FFFFFF; border: 1px solid rgba(36, 36, 36, .16);
  border-radius: 16px; padding: 40px 24px; text-align: center;
  max-width: 560px; margin: 0 auto;
}
.search-empty-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: #242424; margin-bottom: 8px;
}
.search-empty-card p { font-size: 13.5px; color: rgba(36, 36, 36, .72); margin-bottom: 18px; }
.search-empty-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.search-empty-chips button,
.search-landing-chips button {
  padding: 8px 14px; border: 1px solid rgba(36, 36, 36, .16);
  border-radius: 999px; background: #FFFFFF; color: #242424;
  font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.search-empty-chips button:hover,
.search-landing-chips button:hover { border-color: #FF6B00; color: #D04400; }

.search-landing-head { max-width: 820px; }
.search-landing-head .section-title { font-size: 34px; line-height: 1.1; }
.search-landing-head .section-sub { margin-top: 10px; font-size: 15px; }
.search-landing-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.search-loading { padding: 4px 0; }

.toast-container {
  position: fixed; top: 84px; right: 16px; z-index: 10000;
  display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 32px);
}
.toast {
  display: flex; align-items: center; gap: 8px;
  background: #242424; color: #FFFFFF; padding: 11px 15px;
  border-radius: 10px; font-size: 13px; font-weight: 500;
  box-shadow: 0 12px 30px rgba(36, 36, 36, .22);
  animation: toastIn .2s ease;
}
.toast.error { background: #D04400; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Vista rapida de ofertas
   ========================================================================== */
#quickViewOverlay.qv-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(36, 36, 36, .58);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.qv-card {
  width: min(680px, 100%); max-height: 92vh; overflow-y: auto;
  background: #FFFFFF; border: 1px solid rgba(36, 36, 36, .14);
  border-radius: 18px; box-shadow: 0 28px 70px rgba(36, 36, 36, .26);
  font-family: var(--font-body, 'Inter', sans-serif);
  animation: qvIn .2s ease;
}
@keyframes qvIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.qv-head {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 22px 18px; border-bottom: 1px solid rgba(36, 36, 36, .1);
  position: relative;
}
.qv-media { flex: 0 0 132px; }
.qv-media-main {
  width: 132px; height: 132px; object-fit: contain; display: block;
  background: #FFFFFF; border: 1px solid rgba(36, 36, 36, .1); border-radius: 12px;
}
.qv-thumbs { display: flex; gap: 5px; margin-top: 7px; }
.qv-thumb {
  width: 30px; height: 30px; object-fit: contain; cursor: pointer;
  background: #FFFFFF; border: 1px solid rgba(36, 36, 36, .12); border-radius: 6px;
}
.qv-thumb:hover { border-color: var(--brand-orange, #FF6B00); }
.qv-thumb.active { border-color: #D04400; box-shadow: 0 0 0 2px rgba(208, 68, 0, .18); }
.qv-info { flex: 1; min-width: 0; padding-right: 30px; }
.qv-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #D04400; margin-bottom: 6px;
}
.qv-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 18px; line-height: 1.35; font-weight: 800; color: #242424;
  margin: 0 0 10px;
}
.qv-price-row { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.qv-price {
  font-family: var(--font-price, 'Space Grotesk', monospace);
  font-size: 30px; font-weight: 700; color: #242424; line-height: 1;
}
.qv-old { font-family: var(--font-price, 'Space Grotesk', monospace); font-size: 14px; color: rgba(36, 36, 36, .55); text-decoration: line-through; }
.qv-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.qv-badge {
  display: inline-flex; align-items: center; padding: 4px 9px;
  border: 1px solid rgba(36, 36, 36, .14); border-radius: 999px;
  background: #FFFFFF; color: #242424; font-size: 11px; font-weight: 600;
}
.qv-badge.best { background: #FFFFFF; border-color: rgba(208, 68, 0, .35); color: #D04400; }
.qv-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: 1px solid rgba(36, 36, 36, .14); border-radius: 9px;
  background: #FFFFFF; color: #242424; font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.qv-close:hover { border-color: #D04400; color: #D04400; }
.qv-body { padding: 18px 22px 20px; }
.qv-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 6px;
}
.qv-section-head strong {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px; font-weight: 800; color: #242424;
}
.qv-section-head span { font-size: 11.5px; color: rgba(36, 36, 36, .6); }
.qv-offer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid rgba(36, 36, 36, .08);
}
.qv-offer:last-child { border-bottom: 0; }
.qv-store { display: flex; align-items: center; gap: 10px; min-width: 0; }
.qv-store-mark {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px;
  background: #FFFFFF; border: 1px solid rgba(36, 36, 36, .1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-price, 'Space Grotesk', monospace);
  font-size: 11px; font-weight: 700; color: #242424;
}
.qv-store-name { min-width: 0; }
.qv-store-name strong {
  display: block; font-size: 13px; font-weight: 700; color: #242424;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qv-store-name small { display: block; font-size: 10.5px; color: rgba(36, 36, 36, .6); margin-top: 2px; }
.qv-offer.best .qv-store-name small { color: #D04400; font-weight: 700; }
.qv-offer-price {
  font-family: var(--font-price, 'Space Grotesk', monospace);
  font-size: 17px; font-weight: 700; color: #242424; white-space: nowrap;
}
.qv-offer-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 14px; border-radius: 8px;
  background: #D04400; color: #FFFFFF; text-decoration: none;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.qv-offer-btn:hover { background: #B83A00; }
.qv-finance {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: #FFFFFF; border: 1px solid rgba(36, 36, 36, .09);
}
.qv-finance-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
}
.qv-finance-head strong { font-size: 12px; font-weight: 700; color: #242424; }
.qv-bank {
  padding: 6px 9px; border: 1px solid rgba(36, 36, 36, .16); border-radius: 7px;
  background: #FFFFFF; font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 11px; color: #242424; cursor: pointer;
}
.qv-cuotas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.qv-cuota {
  text-align: center; padding: 8px 4px; background: #FFFFFF;
  border: 1px solid rgba(36, 36, 36, .1); border-radius: 8px;
}
.qv-cuota strong {
  display: block; font-family: var(--font-price, 'Space Grotesk', monospace);
  font-size: 13px; color: #242424; white-space: nowrap;
}
.qv-cuota span { display: block; font-size: 10px; color: rgba(36, 36, 36, .6); margin-top: 2px; }
.qv-cuota em { display: block; font-size: 9.5px; font-style: normal; font-weight: 700; color: #D04400; margin-top: 1px; }
.qv-cuota em.int { color: #D04400; }
.qv-finance-note { font-size: 10.5px; color: rgba(36, 36, 36, .6); margin-top: 9px; line-height: 1.5; }
.qv-finance-note:empty { display: none; }
.qv-foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 14px 22px; border-top: 1px solid rgba(36, 36, 36, .1);
}
.qv-detail {
  flex: 1; min-width: 170px; height: 40px; border: 0; border-radius: 9px;
  background: #242424; color: #FFFFFF; font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.qv-detail:hover { background: #000000; }
.qv-icon-btn {
  width: 40px; height: 40px; border: 1px solid rgba(36, 36, 36, .16);
  border-radius: 9px; background: #FFFFFF; color: #242424; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.qv-icon-btn:hover { border-color: #D04400; color: #D04400; }

/* ==========================================================================
   Favoritos
   ========================================================================== */
.search-layout.fav-mode { grid-template-columns: minmax(0, 1fr); }
.search-layout.fav-mode #filtersPanel,
.search-layout.fav-mode .search-mobile-bar { display: none !important; }
.fav-toolbar {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; padding: 0 0 6px;
}
.fav-toolbar-title { display: flex; align-items: center; gap: 11px; }
.fav-heart {
  width: 42px; height: 42px; border-radius: 12px; background: #FFF1EC;
  color: #D04400; display: flex; align-items: center; justify-content: center; flex: 0 0 42px;
}
.fav-toolbar-title strong {
  display: block; font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 18px; font-weight: 800; color: #242424;
}
.fav-toolbar-title span { display: block; font-size: 12px; color: rgba(36, 36, 36, .6); margin-top: 1px; }
.fav-toolbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fav-sort {
  height: 38px; padding: 0 12px; border: 1px solid rgba(36, 36, 36, .16);
  border-radius: 8px; background: #FFFFFF; color: #242424;
  font-family: var(--font-body, 'Inter', sans-serif); font-size: 12.5px; font-weight: 500;
}
.fav-clear {
  height: 38px; padding: 0 14px; border: 1px solid rgba(208, 68, 0, .3);
  border-radius: 8px; background: #FFFFFF; color: #D04400;
  font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.fav-clear:hover { background: #FFF1EC; }
.fav-empty {
  grid-column: 1 / -1; text-align: center; padding: 54px 24px;
  border: 1px solid rgba(36, 36, 36, .12); border-radius: 16px; background: #FFFFFF;
}
.fav-empty-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: #FFF1EC; color: #D04400; display: flex; align-items: center; justify-content: center;
}
.fav-empty h3 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 20px; font-weight: 800; color: #242424; margin-bottom: 7px;
}
.fav-empty p { font-size: 13.5px; color: rgba(36, 36, 36, .72); line-height: 1.6; max-width: 380px; margin: 0 auto 18px; }
.fav-empty .btn-card-primary { display: inline-flex; width: auto; padding: 0 18px; text-decoration: none; }
.p-card-actions a.btn-card-primary { text-decoration: none; }
.p-card-actions .btn-card-icon[data-fav-nombre] svg { pointer-events: none; }

@media (max-width: 640px) {
  #quickViewOverlay.qv-overlay { padding: 0; align-items: flex-end; }
  .qv-card { width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
  .qv-head { padding: 18px 16px 14px; gap: 12px; }
  .qv-media { flex-basis: 92px; }
  .qv-media-main { width: 92px; height: 92px; }
  .qv-title { font-size: 15.5px; }
  .qv-price { font-size: 25px; }
  .qv-body { padding: 14px 16px 16px; }
  .qv-offer { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
  .qv-offer-btn { grid-column: 1 / -1; width: 100%; }
  .qv-cuotas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qv-foot { padding: 12px 16px; }
  .qv-detail { min-width: 100%; order: -1; }
}

/* ============================================================
   FICHA DE PRODUCTO (PDP) R1
   ============================================================ */
.pp-pdp { background: #FFFFFF; padding-bottom: 8px; }
.pp-pdp .breadcrumb-clean { margin-bottom: 8px; }
.pdp-brandline {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px;
}
.pdp-cat {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #D04400; font-family: var(--font-body);
}
.pdp-title {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  line-height: 1.2; color: #242424; margin: 0 0 14px; text-transform: none;
}
.pdp-saving { font-size: 13px; color: var(--savings-emerald-dark); font-weight: 600; margin-top: 4px; }
.pdp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pdp-thumb {
  width: 56px; height: 56px; padding: 4px; border: 1px solid rgba(36, 36, 36, .16);
  border-radius: 8px; background: #FFFFFF; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, box-shadow .15s;
}
.pdp-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp-thumb:hover { border-color: #D04400; }
.pdp-thumb.active { border-color: #D04400; box-shadow: 0 0 0 2px rgba(208, 68, 0, .18); }
.btn-alert-inline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #FFFFFF; color: #242424; border: 1px solid rgba(36, 36, 36, .16);
  border-radius: 8px; padding: 9px 14px; font-size: 12.5px; font-weight: 600;
  font-family: var(--font-body); cursor: pointer;
}
.btn-alert-inline:hover { border-color: #D04400; color: #D04400; }
.pdp-offers-head {
  padding: 14px 22px; background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hairline);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-muted); flex-wrap: wrap;
}
.pdp-offers-head span:first-child {
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #242424;
}
.pdp-chart-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.pdp-chart-head h2 {
  font-family: var(--font-display); font-size: 17px; font-weight: 800;
  color: #242424; margin: 0 0 4px;
}
.pdp-chart-head p { font-size: 12.5px; color: var(--text-secondary); margin: 0; }
.pdp-chart-note { font-size: 12.5px; color: var(--text-secondary); margin-top: 10px; line-height: 1.6; }
.history-chart-card { margin-bottom: 24px; }
.history-chart-card canvas { display: block; width: 100%; max-width: 100%; }
.pdp-panel {
  background: #FFFFFF; border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.pdp-panel-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  color: #242424; margin: 0 0 14px;
}
.pdp-copy { font-size: 14px; line-height: 1.75; color: var(--text-secondary); margin: 0; }
.pp-alert-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.pp-input {
  padding: 10px 12px; border: 1px solid rgba(36, 36, 36, .2); border-radius: 8px;
  font-family: var(--font-body); font-size: 13.5px; color: #242424; background: #FFFFFF;
  min-width: 0;
}
#alerta-contacto { flex: 1 1 220px; }
#alerta-canal { flex: 0 0 150px; }
.pp-price-wrap { position: relative; flex: 1 1 160px; }
.pp-price-wrap label {
  display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--text-muted); margin-bottom: 4px;
}
.pp-price-wrap .pp-input { width: 100%; }
.pp-note { font-size: 11px; color: var(--text-muted); margin: 10px 0 0; }
#alerta-ok { color: #242424; }
.pdp-links-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted); margin-bottom: 10px;
}
.pdp-links .seo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.faq-clean details p { color: var(--text-secondary); }
.pp-ad-placement { margin: 20px 0; }
.pp-pdp .section-block { padding: 40px 0; }
.pp-pdp .p-card-title a { color: inherit; text-decoration: none; }

@media (max-width: 1024px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .offer-row-item { grid-template-columns: 1fr auto; row-gap: 6px; }
  .offer-row-item > div:nth-child(2) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .pdp-title { font-size: 21px; }
  .pdp-panel, .history-chart-card, .pdp-gallery-card { padding: 18px; }
  .pp-alert-form { flex-direction: column; align-items: stretch; }
  .pp-price-wrap, #alerta-canal, #alerta-contacto { flex: 1 1 auto; }
  .pp-alert-form .btn-card-primary { width: 100%; }
  .offer-row-item { padding: 14px 16px; }
  .pdp-offers-head { padding: 12px 16px; }
}

.pdp-offer-btn { width:100%; box-sizing:border-box; padding:0 10px; font-size:12.5px; white-space:nowrap; text-decoration:none; }
.pdp-alert-btn { flex:0 0 auto; height:40px; padding:0 16px; box-sizing:border-box; white-space:nowrap; }

/* Compact offer dialog, shared by the migration preview. */
#quickViewOverlay .qv-card { width: min(580px, 100%); max-height: calc(100dvh - 32px); overscroll-behavior: contain; }
#quickViewOverlay .qv-head { gap: 16px; padding: 20px; }
#quickViewOverlay .qv-media { flex-basis: 110px; }
#quickViewOverlay .qv-media-main { width: 110px; height: 110px; }
#quickViewOverlay .qv-title { overflow-wrap: anywhere; }
#quickViewOverlay .qv-body { padding: 16px 20px; }
#quickViewOverlay .qv-foot { padding: 12px 20px; }
#quickViewOverlay .qv-finance-head { flex-wrap: wrap; }
#quickViewOverlay .qv-bank { max-width: 100%; }
#quickViewOverlay :is(button, a, select):focus-visible { outline: 2px solid #D04400; outline-offset: 3px; }
@media (max-width: 600px) {
  #quickViewOverlay.qv-overlay { padding: 12px; align-items: center; }
  #quickViewOverlay .qv-card { max-height: calc(100dvh - 24px); border-radius: 16px; }
  #quickViewOverlay .qv-head { padding: 16px; gap: 12px; }
  #quickViewOverlay .qv-media { flex-basis: 76px; }
  #quickViewOverlay .qv-media-main { width: 76px; height: 76px; }
  #quickViewOverlay .qv-thumbs { flex-wrap: wrap; }
  #quickViewOverlay .qv-body { padding: 14px 16px; }
  #quickViewOverlay .qv-foot { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { #quickViewOverlay .qv-card { animation: none; } }

/* Native product links retain the card design and keyboard focus. */
.p-card-title a { color: inherit; text-decoration: none; }
.p-card-title a:hover { text-decoration: underline; }
.p-card a:focus-visible { outline: 2px solid #D04400; outline-offset: 3px; }
#quickViewOverlay a.qv-detail { display: flex; align-items: center; justify-content: center; text-decoration: none; }
#suggestionsDropdown a.suggestion-item { color: inherit; text-decoration: none; }

/* Restore saved-product access in the migrated result cards. */
#productsGrid .p-card { position: relative; }
.pp-card-favorite { position: absolute; right: 14px; top: 58px; width: 36px; height: 36px; border: 1px solid #ddd; border-radius: 50%; background: white; color: #444; cursor: pointer; }
.pp-card-favorite[aria-pressed="true"] { color: #c42c47; }
.pp-card-favorite:focus-visible { outline: 2px solid #D04400; outline-offset: 3px; }
