   /* ═══════════════════════════════════════════
       BASE BANNER WRAPPER
    ═══════════════════════════════════════════ */
    .cookie-banner {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 860px;
      background: #ffffff;
      border: 1px solid rgba(0,0,0,0.1);
      border-radius: 12px;
      box-shadow: 0 4px 32px rgba(0,0,0,0.1);
      z-index: 9999;
      font-family: system-ui, sans-serif;
      font-size: 13px;
      line-height: 1.6;
      overflow: hidden;
    }

    .cookie-banner.hidden { display: none; }

    /* ═══════════════════════════════════════════
       SIMPLE BANNER (default view)
    ═══════════════════════════════════════════ */
    .cb-simple {
      padding: 22px 28px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }

    .cb-simple-text { text-align: center; }

    .cb-simple-text h3 {
      font-size: 14px;
      font-weight: 500;
      color: #168cdb; 
      margin: 0 0 4px;
    }

    .cb-simple-text p {


      font-size: 13px;
      color: #374151;
      line-height: 1.6;
      margin: 0;
    }

    .cb-simple-text a {
      color: #168cdb;
      font-weight: 500;
      text-decoration: none;
    }

    .cb-simple-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
    }

    /* ═══════════════════════════════════════════
       SHARED BUTTON STYLES
    ═══════════════════════════════════════════ */
    .cb-btn {
      padding: 9px 24px;
      border-radius: 7px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      border: none;
      transition: opacity 0.15s;
    }

    .cb-btn:hover { opacity: 0.85; }

    .cb-btn-primary {
      background: #168cdb;
      color: #fff;
    }

    .cb-btn-outline {
      background: #fff;
      color: #168cdb;
      border: 1.5px solid #168cdb;
    }

    /* ═══════════════════════════════════════════
       EXPANDED PANEL
    ═══════════════════════════════════════════ */
    .cb-expanded { display: none; }

    .cb-top {
      padding: 18px 24px 14px;
      border-bottom: 1px solid #f0f0f0;
    }

    .cb-top h3 {
      font-size: 14px;
      font-weight: 500;
      color: #168cdb;
      margin: 0 0 3px;
    }

    .cb-top p { margin: 0; color: #374151; }
    .cb-top a { color: #168cdb; font-weight: 500; text-decoration: none; }

    /* ── Tabs ── */
    .cb-tabs {
      display: flex;
      border-bottom: 1px solid #e5e7eb;
      background: #fafafa;
    }

    .cb-tab {
      flex: 1;
      padding: 10px 16px;
      font-size: 13px;
      font-weight: 500;
      color: #6b7280;
      cursor: pointer;
      border: none;
      background: transparent;
      border-bottom: 2px solid transparent;
      transition: all 0.15s;
    }

    .cb-tab.active {
      color: #168cdb;
      border-bottom: 2px solid #168cdb;
      background: #fff;
    }

    .cb-tab-panel { display: none; }
    .cb-tab-panel.active { display: block; }

    /* ── Cookie rows ── */
    .cb-rows { padding: 0 0 2px; }

    .cb-row {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 13px 22px;
      border-bottom: 1px solid #f3f4f6;
      cursor: pointer;
    }

    .cb-row:last-child { border-bottom: none; }
    .cb-row:hover { background: #fafeff; }

    .cb-row-chevron {
      font-size: 16px;
      color: #9ca3af;
      margin-top: 2px;
      transition: transform 0.2s;
      flex-shrink: 0;
      display: inline-block;
    }

    .cb-row.open .cb-row-chevron { transform: rotate(180deg); }

    .cb-row-body { flex: 1; }

    .cb-row-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .cb-row-label {
      font-size: 13px;
      font-weight: 500;
      color: #111827;
    }

    .cb-row-sub {
      font-weight: 400;
      color: #6b7280;
      font-size: 12px;
      margin-left: 4px;
    }

    .cb-row-badge {
      font-size: 11px;
      background: #e0f2fe;
      color: #0369a1;
      padding: 2px 8px;
      border-radius: 20px;
      font-weight: 500;
    }

    .cb-row-count {
      font-size: 11px;
      color: #6b7280;
      background: #f3f4f6;
      padding: 2px 7px;
      border-radius: 20px;
    }

    .cb-row-desc {
      font-size: 12px;
      color: #6b7280;
      margin-top: 5px;
      line-height: 1.5;
      display: none;
    }

    .cb-row.open .cb-row-desc { display: block; }

   

    .cb-pill {
      width: 38px;
      height: 20px;
      background: #d1d5db;
      border-radius: 50px;
      position: relative;
      display: inline-flex;
      align-items: center;
      flex-shrink: 0;
      cursor: pointer;
      transition: background 0.2s;
      margin-top: 1px;
    }

    .cb-pill::before {
      content: "";
      position: absolute;
      width: 14px;
      height: 14px;
      background: #fff;
      border-radius: 50%;
      left: 3px;
      transition: transform 0.2s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }

    .cb-pill.on { background: #22c55e; }
    .cb-pill.on::before { transform: translateX(18px); }

    .cb-pill.disabled { background: #16a34a; opacity: 0.65; cursor: not-allowed; }
    .cb-pill.disabled::before { transform: translateX(18px); }

    /* ── Expanded actions ── */
    .cb-exp-actions {
      display: flex;
      gap: 10px;
      padding: 14px 22px;
      background: #fafafa;
      border-top: 1px solid #f0f0f0;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* ── About panel ── */
    .about-panel {
      padding: 18px 24px;
      font-size: 13px;
      color: #374151;
      line-height: 1.7;
    }

    .about-panel h4 {
      font-size: 13px;
      font-weight: 500;
      color: #111;
      margin: 12px 0 4px;
    }

    .about-panel a { color: #168cdb; text-decoration: none; }

    /* ═══════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════ */
    @media (max-width: 480px) {
      .cookie-banner { padding: 0; bottom: 0; border-radius: 12px 12px 0 0; }
      .cb-simple { padding: 16px; }
    }
