/* =========================
   COOKIE BANNER
========================= */

.cookie-banner {
    position: fixed;
  
    left: 24px;
    right: 24px;
    bottom: 24px;
  
    z-index: 99990;
  
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease,
      transform 0.35s ease;
  }
  
  .cookie-banner.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
  }
  
  .cookie-content {
    max-width: 1100px;
    margin: 0 auto;
  
    padding: 24px 26px;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  
    background: rgba(10, 10, 10, 0.96);
  
    border: 1px solid rgba(255, 255, 255, 0.1);
  
    border-radius: 18px;
  
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.35);
  
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  .cookie-text {
    max-width: 650px;
  }
  
  .cookie-label {
    display: block;
  
    margin-bottom: 8px;
  
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
  
    color: #e60023;
  }
  
  .cookie-text h3 {
    margin: 0 0 8px;
  
    font-size: 18px;
    font-weight: 600;
  
    color: #ffffff;
  }
  
  .cookie-text p {
    margin: 0;
  
    font-size: 13px;
    line-height: 1.6;
  
    color: #a5a5a5;
  }
  
  
  /* =========================
     COOKIE ACTIONS
  ========================= */
  
  .cookie-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  
    flex-shrink: 0;
  }
  
  .cookie-actions .btn {
    border: 0;
    cursor: pointer;
  
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
  
    transition:
      background 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
  }
  
  .cookie-actions .btn:hover {
    transform: translateY(-1px);
  }
  
  .cookie-actions .primary {
    padding: 11px 18px;
  
    border-radius: 10px;
  
    background: #e60023;
    color: #ffffff;
  }
  
  .cookie-actions .primary:hover {
    background: #c9001f;
  }
  
  .cookie-actions .ghost {
    padding: 11px 18px;
  
    border-radius: 10px;
  
    background: #222222;
    color: #ffffff;
  }
  
  .cookie-actions .ghost:hover {
    background: #2d2d2d;
  }
  
  .cookie-actions .link {
    padding: 10px;
  
    background: transparent;
    color: #999999;
  }
  
  .cookie-actions .link:hover {
    color: #ffffff;
  }
  
  
  /* =========================
     COOKIE SETTINGS MODAL
     (única definición — controlada por .active)
  ========================= */
  
  .cookie-settings {
    position: fixed;
    inset: 0;
  
    z-index: 100000;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    padding: 20px;
  
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }
  
  .cookie-settings.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .cookie-settings-overlay {
    position: absolute;
    inset: 0;
  
    background: rgba(0, 0, 0, 0.65);
  
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  
  .cookie-settings-panel {
    position: relative;
  
    width: min(520px, calc(100% - 30px));
  
    padding: 34px;
  
    background: #111111;
  
    border: 1px solid rgba(255, 255, 255, 0.1);
  
    border-radius: 22px;
  
    box-shadow:
      0 30px 100px rgba(0, 0, 0, 0.5);
  
    color: #ffffff;
  
    transform: translateY(15px);
  
    transition: transform 0.3s ease;
  }
  
  .cookie-settings.active .cookie-settings-panel {
    transform: translateY(0);
  }
  
  .cookie-settings-panel h3 {
    margin: 0 0 10px;
  
    font-size: 24px;
    font-weight: 600;
  }
  
  .cookie-settings-panel > p {
    margin: 0 0 26px;
  
    font-size: 13px;
    line-height: 1.7;
  
    color: #999999;
  }
  
  .cookie-settings-close {
    position: absolute;
  
    top: 18px;
    right: 18px;
  
    width: 34px;
    height: 34px;
  
    border: 0;
    border-radius: 50%;
  
    background: #222222;
    color: #ffffff;
  
    font-size: 22px;
    line-height: 1;
  
    cursor: pointer;
  
    transition: background 0.2s ease;
  }
  
  .cookie-settings-close:hover {
    background: #333333;
  }
  
  
  /* =========================
     COOKIE OPTIONS
  ========================= */
  
  .cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  
    padding: 18px 0;
  
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  
    cursor: pointer;
  }
  
  .cookie-option strong {
    display: block;
  
    margin-bottom: 4px;
  
    font-size: 14px;
    font-weight: 600;
  }
  
  .cookie-option span span {
    display: block;
  
    font-size: 12px;
    line-height: 1.5;
  
    color: #888888;
  }
  
  .cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
  
    accent-color: #e60023;
  
    flex-shrink: 0;
  
    cursor: pointer;
  }
  
  
  /* =========================
     SAVE BUTTON
  ========================= */
  
  .cookie-save {
    display: block;
  
    width: 100%;
  
    margin-top: 24px;
  
    padding: 13px 18px;
  
    border: 0;
    border-radius: 10px;
  
    background: #e60023;
    color: #ffffff;
  
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
  
    cursor: pointer;
  
    transition: background 0.2s ease;
  }
  
  .cookie-save:hover {
    background: #c9001f;
  }
  
  
  /* =========================
     MOBILE
  ========================= */
  
  @media (max-width: 700px) {
  
    .cookie-banner {
      left: 14px;
      right: 14px;
      bottom: 14px;
    }
  
    .cookie-content {
      padding: 20px;
  
      display: block;
  
      border-radius: 16px;
    }
  
    .cookie-text {
      max-width: none;
    }
  
    .cookie-text h3 {
      font-size: 17px;
    }
  
    .cookie-text p {
      font-size: 12px;
    }
  
    .cookie-actions {
      margin-top: 18px;
  
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
  
    .cookie-actions .link {
      grid-column: 1 / -1;
    }
  
    .cookie-settings {
      padding: 14px;
    }
  
    .cookie-settings-panel {
      padding: 26px 20px;
    }
  
  }
  