

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-muted);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  padding: var(--space-4);
  z-index: 1000;
  display: none;
  animation: slideUp 0.3s ease-out;
}

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

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner-content {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: center;
}

@media (max-width: 1024px) {
  .cookie-banner-content {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

.cookie-banner-text h3 {
  margin: 0 0 var(--space-2) 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--c-fg);
  font-family: var(--font-display);
}

.cookie-banner-text p {
  margin: 0 0 var(--space-2) 0;
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.5;
}

.cookie-banner-link {
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 500;
}

.cookie-banner-link:hover {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 640px) {
  .cookie-banner-actions {
    flex-direction: column;
    justify-content: stretch;
    width: 100%;
  }
  
  .cookie-banner-actions > * {
    flex: 1;
  }
}

.cookie-btn {
  padding: var(--space-2) var(--space-3);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cookie-btn {
    white-space: normal;
  }
}

.cookie-btn-primary {
  background: var(--c-accent);
  color: white;
}

.cookie-btn-primary:hover {
  background: var(--c-accent2);
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
}

.cookie-btn-secondary:hover {
  background: rgba(var(--c-accent-rgb), 0.05);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: var(--space-4);
}

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

.cookie-modal-content {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cookie-modal-header {
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--c-muted);
  padding-bottom: var(--space-3);
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--c-fg);
}

.cookie-modal-body {
  margin-bottom: var(--space-4);
}

.cookie-category {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--c-muted);
}

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

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  margin-bottom: var(--space-2);
}

.cookie-category-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--c-accent);
}

.cookie-category-checkbox:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-category-name {
  font-weight: 500;
  color: var(--c-fg);
  margin: 0;
}

.cookie-category-desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin: var(--space-1) 0 0 calc(18px + var(--space-2));
  line-height: 1.4;
}

.cookie-modal-footer {
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .cookie-modal-content {
    padding: var(--space-4);
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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




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