

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #13131e;
  color: #f0ede8;
  border-top: 2px solid #e84c8b;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
}

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

.cookie-banner__text {
  flex: 1;
  min-width: 220px;
  color: #b0aec8;
}

.cookie-banner__text strong {
  display: block;
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f0ede8;
  margin-bottom: 0.3rem;
}

.cookie-banner__text a {
  color: #e84c8b;
  text-decoration: underline;
}

.cookie-banner__text a:hover {
  color: #ff6ea8;
}

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

.cookie-btn {
  cursor: pointer;
  border: none;
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.cookie-btn--accept {
  background: #e84c8b;
  color: #fff;
  border: 1.5px solid #e84c8b;
}

.cookie-btn--accept:hover {
  background: #d63a78;
  border-color: #d63a78;
}

.cookie-btn--decline {
  background: transparent;
  color: #b0aec8;
  border: 1.5px solid #2a2a40;
}

.cookie-btn--decline:hover {
  border-color: #e84c8b;
  color: #e84c8b;
}

.cookie-btn--customize {
  background: transparent;
  color: #e84c8b;
  border: 1.5px solid #e84c8b;
}

.cookie-btn--customize:hover {
  background: rgba(232, 76, 139, 0.1);
  border-color: #ff6ea8;
  color: #ff6ea8;
}

.customize-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: #13131e;
  color: #f0ede8;
  border-top: 2px solid #e84c8b;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
  padding: 2rem;
  max-height: 80vh;
  overflow-y: auto;
  display: none;
}

.customize-panel[hidden] {
  display: none;
}

.customize-panel:not([hidden]) {
  display: block;
}

.customize-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(232, 76, 139, 0.2);
}

.customize-header h3 {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f0ede8;
  margin: 0;
}

.customize-close {
  cursor: pointer;
  background: none;
  border: none;
  color: #b0aec8;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.customize-close:hover {
  color: #f0ede8;
}

.customize-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.category-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.toggle-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #e84c8b;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.toggle-checkbox:checked {
  background: #e84c8b;
  border-color: #e84c8b;
}

.toggle-checkbox:checked::after {
  content: '✓';
  display: block;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
}

.toggle-checkbox:focus-visible {
  outline: 2px solid #e84c8b;
  outline-offset: 2px;
}

.category-label {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0ede8;
  cursor: pointer;
}

.category-description {
  font-size: 0.8rem;
  color: #b0aec8;
  margin-left: 2.25rem;
  line-height: 1.4;
}

.customize-footer {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.customize-btn {
  cursor: pointer;
  border: none;
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.customize-btn--accept {
  background: #e84c8b;
  color: #fff;
  border: 1.5px solid #e84c8b;
}

.customize-btn--accept:hover {
  background: #d63a78;
  border-color: #d63a78;
}

.customize-btn--close {
  background: transparent;
  color: #b0aec8;
  border: 1.5px solid #2a2a40;
}

.customize-btn--close:hover {
  border-color: #e84c8b;
  color: #e84c8b;
}

.customize-btn:focus-visible {
  outline: 2px solid #e84c8b;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .customize-panel {
    padding: 1.5rem 1.2rem;
  }

  .customize-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .customize-btn {
    width: 100%;
    text-align: center;
  }
}

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

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

.cookie-btn--accept { color: #ffffff !important; }
.cookie-btn--accept:hover { color: #ffffff !important; }
.cookie-btn--customize:hover { color: #ffffff !important; }
.toggle-checkbox:checked { color: #ffffff !important; }
.customize-btn--accept { color: #ffffff !important; }
.customize-btn--accept:hover { color: #ffffff !important; }
