.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    background: rgba(20, 20, 20, 0.96);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  
  .cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .cookie-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
  }
  
  .cookie-banner-text h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
  }
  
  .cookie-banner-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
    max-width: 760px;
    font-size: 0.98rem;
  }
  
  .cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  
  .cookie-btn {
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  }
  
  .cookie-btn:hover {
    transform: translateY(-1px);
  }
  
  .cookie-btn-primary {
    background: #f4b400;
    color: #111111;
  }
  
  .cookie-btn-primary:hover {
    background: #ffca28;
  }
  
  .cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
  
  .cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
  }
  
  .cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .cookie-modal.hidden {
    display: none;
  }
  
  .cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
  }
  
  .cookie-modal-content {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    animation: cookieFadeIn 0.25s ease;
  }
  
  @keyframes cookieFadeIn {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.98);
    }
  
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  .cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid #ececec;
  }
  
  .cookie-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
  }
  
  .cookie-close-btn {
    border: none;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #444;
  }
  
  .cookie-modal-body {
    padding: 24px;
  }
  
  .cookie-modal-intro {
    margin: 0 0 22px;
    color: #4f4f4f;
    line-height: 1.6;
  }
  
  .cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid #f0f0f0;
  }
  
  .cookie-option:first-of-type {
    border-top: none;
    padding-top: 0;
  }
  
  .cookie-option-text h4 {
    margin: 0 0 8px;
    font-size: 1rem;
  }
  
  .cookie-option-text p {
    margin: 0;
    color: #5c5c5c;
    line-height: 1.55;
  }
  
  .cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px 24px;
    border-top: 1px solid #ececec;
    flex-wrap: wrap;
  }
  
  .cookie-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
    flex-shrink: 0;
  }
  
  .cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .cookie-slider {
    position: absolute;
    inset: 0;
    background: #d1d1d1;
    border-radius: 999px;
    transition: 0.25s ease;
    cursor: pointer;
  }
  
  .cookie-slider::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 4px;
    top: 4px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  }
  
  .cookie-switch input:checked + .cookie-slider {
    background: #f4b400;
  }
  
  .cookie-switch input:checked + .cookie-slider::before {
    transform: translateX(24px);
  }
  
  .cookie-switch input:disabled + .cookie-slider {
    background: #9e9e9e;
    cursor: not-allowed;
  }
  
  @media (max-width: 768px) {
    .cookie-banner {
      left: 12px;
      right: 12px;
      bottom: 12px;
    }
  
    .cookie-banner-content {
      padding: 18px;
      flex-direction: column;
      align-items: flex-start;
    }
  
    .cookie-banner-actions {
      width: 100%;
      justify-content: stretch;
      flex-direction: column;
    }
  
    .cookie-btn {
      width: 100%;
    }
  
    .cookie-option {
      align-items: flex-start;
    }
  
    .cookie-modal-content {
      max-height: 90vh;
      overflow-y: auto;
    }
  
    .cookie-modal-footer {
      flex-direction: column;
    }
  }