

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1A1A1A;
  color: #F0EFE9;
  border-top: 2px solid #0052FF;
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  display: none;
}

.cookie-banner.show {
  display: flex;
}

.cookie-content {
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 350px;
}

.cookie-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #F0EFE9;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.cookie-desc {
  font-size: 0.875rem;
  color: #999999;
  line-height: 1.5;
}

.cookie-desc a {
  color: #0052FF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-desc a:focus-visible {
  outline: 2px solid #0052FF;
  outline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1.2;
}

.cookie-btn:focus-visible {
  outline: 2px solid #0052FF;
  outline-offset: 2px;
}

.cookie-btn-primary {
  background: #0052FF;
  color: #FFFFFF;
}

.cookie-btn-primary:hover {
  background: #0041CC;
}

.cookie-btn-secondary {
  background: transparent;
  color: #F0EFE9;
  border: 1px solid #2A2A2A;
}

.cookie-btn-secondary:hover {
  border-color: #0052FF;
  color: #0052FF;
}

.cookie-customize-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-customize-modal.show {
  display: flex;
}

.cookie-customize-box {
  background: #FFFFFF;
  color: #0D0D0D;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cookie-customize-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #DDDAD5;
}

.cookie-customize-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0D0D0D;
}

.cookie-customize-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #5A5A5A;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.cookie-customize-close:focus-visible {
  outline: 2px solid #0052FF;
  outline-offset: 2px;
}

.cookie-customize-close:hover {
  background: #F5F4F0;
  color: #0D0D0D;
}

.cookie-customize-body {
  padding: 1.5rem;
}

.cookie-customize-body > p {
  font-size: 0.875rem;
  color: #5A5A5A;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cookie-category {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #ECEAE5;
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-category label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
}

.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #0052FF;
}

.cookie-category input[type="checkbox"]:focus-visible {
  outline: 2px solid #0052FF;
  outline-offset: 2px;
}

.cookie-category input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0D0D0D;
  margin-bottom: 0.25rem;
}

.cookie-cat-desc {
  font-size: 0.8125rem;
  color: #5A5A5A;
  line-height: 1.5;
  margin: 0;
}

.cookie-customize-footer {
  padding: 1.5rem;
  border-top: 1px solid #DDDAD5;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem 1.25rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-text {
    flex: 1 1 auto;
  }

  .cookie-actions {
    width: 100%;
    gap: 0.5rem;
  }

  .cookie-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
  }

  .cookie-customize-box {
    max-height: 95vh;
  }

  .cookie-customize-footer {
    flex-direction: column;
  }

  .cookie-customize-footer .cookie-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-btn,
  .cookie-customize-close {
    transition: none;
  }
}

.cookie-btn-primary:hover { color: #ffffff !important; }

.cookie-customize-modal { color: #ffffff !important; }

.cookie-btn-primary:hover { color: #ffffff !important; }
.cookie-customize-modal { color: #ffffff !important; }

.cookie-btn-primary:hover { color: #ffffff !important; }
.cookie-customize-modal { color: #ffffff !important; }


/* wh-contrast-fix */
/* Auto-injected: text color did not meet 4.5:1 against declared background. */
.cookie-btn-primary:hover { color: #ffffff !important; }
.cookie-customize-modal { color: #ffffff !important; }
