/* ── COOKIE BANNER ────────────────────────────────── */
.cookie-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.cookie-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #2b1508;
  border-top: 1px solid rgba(255,145,77,0.25);
  padding: 28px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
.cookie-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.cookie-text {
  flex: 1;
}
.cookie-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.cookie-text p {
  font-size: 0.85rem;
  color: rgba(255,202,164,0.55);
  line-height: 1.7;
  margin: 0;
}
.cookie-text a {
  color: #ff914d;
  text-decoration: none;
}
.cookie-text a:hover {
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 12px 28px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  text-align: center;
  white-space: nowrap;
}
.cookie-btn-accept {
  background: #ff914d;
  color: #fff;
}
.cookie-btn-accept:hover {
  background: #e67d3a;
  transform: translateY(-1px);
}
.cookie-btn-essential {
  background: transparent;
  color: rgba(255,202,164,0.7);
  border: 1px solid rgba(255,202,164,0.25);
}
.cookie-btn-essential:hover {
  border-color: rgba(255,202,164,0.5);
  color: rgba(255,202,164,0.9);
}
.cookie-btn-settings {
  background: transparent;
  color: rgba(255,202,164,0.4);
  font-size: 0.78rem;
  padding: 8px 28px;
}
.cookie-btn-settings:hover {
  color: rgba(255,202,164,0.7);
}

/* Cookie Details (expandable) */
.cookie-details {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,202,164,0.1);
}
.cookie-details.visible {
  display: block;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,202,164,0.06);
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-cat-info {
  flex: 1;
}
.cookie-cat-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.cookie-cat-desc {
  font-size: 0.78rem;
  color: rgba(255,202,164,0.4);
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #ff914d;
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
  background: #fff;
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: default;
}

.cookie-details-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* Mobile */
@media (max-width: 900px) {
  .cookie-banner .container { padding: 0 20px; }
  .cookie-inner {
    flex-direction: column;
    gap: 20px;
  }
  .cookie-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
  .cookie-details-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .cookie-banner { padding: 20px 0; }
  .cookie-text h3 { font-size: 1rem; }
  .cookie-text p { font-size: 0.8rem; }
  .cookie-actions { flex-direction: column; }
  .cookie-btn { width: 100%; }
}
