/* ===== COOKIE CONSENT BANNER ===== */
.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #28282B;
  color: #EAE3CC;
  padding: 28px 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid rgba(234, 227, 204, 0.08);
}
.cc-banner.cc-visible {
  transform: translateY(0);
}
.cc-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.cc-text {
  flex: 1;
}
.cc-text p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(234, 227, 204, 0.6);
  margin: 0;
}
.cc-text a {
  color: #EAE3CC;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cc-btn {
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: 'Inter', -apple-system, sans-serif;
  transition: all 0.3s;
}
.cc-btn-accept {
  background: #EAE3CC;
  color: #28282B;
}
.cc-btn-accept:hover {
  background: #fff;
}
.cc-btn-reject {
  background: transparent;
  color: #EAE3CC;
  border: 1px solid rgba(234, 227, 204, 0.25);
}
.cc-btn-reject:hover {
  border-color: rgba(234, 227, 204, 0.5);
}
.cc-btn-settings {
  background: none;
  color: rgba(234, 227, 204, 0.5);
  padding: 12px 8px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-btn-settings:hover {
  color: #EAE3CC;
}

/* ===== MODAL ===== */
.cc-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.cc-overlay.cc-visible {
  opacity: 1;
  visibility: visible;
}
.cc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 10002;
  background: #fff;
  max-width: 560px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cc-modal.cc-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.cc-modal-header {
  padding: 32px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cc-modal-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #28282B;
  margin: 0;
}
.cc-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #28282B;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.cc-modal-close:hover {
  opacity: 1;
}
.cc-modal-body {
  padding: 24px 32px;
}
.cc-modal-body p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin: 0 0 24px;
}
.cc-category {
  padding: 20px 0;
  border-top: 1px solid #e8e6e0;
}
.cc-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cc-category-name {
  font-size: 15px;
  font-weight: 600;
  color: #28282B;
}
.cc-category-desc {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}
.cc-category-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #28282B;
  opacity: 0.4;
}
/* Toggle Switch */
.cc-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cc-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ddd;
  border-radius: 24px;
  transition: 0.3s;
}
.cc-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  bottom: 3px;
  left: 3px;
  transition: 0.3s;
}
.cc-toggle input:checked + .cc-toggle-slider {
  background: #28282B;
}
.cc-toggle input:checked + .cc-toggle-slider::before {
  transform: translateX(20px);
}
.cc-toggle input:disabled + .cc-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}
.cc-modal-footer {
  padding: 0 32px 32px;
  display: flex;
  gap: 12px;
}
.cc-modal-footer .cc-btn {
  flex: 1;
  text-align: center;
}
.cc-modal-footer .cc-btn-save {
  background: #28282B;
  color: #EAE3CC;
}
.cc-modal-footer .cc-btn-save:hover {
  background: #3a3a3e;
}

/* Responsive */
@media (max-width: 768px) {
  .cc-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cc-buttons {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .cc-btn-accept, .cc-btn-reject {
    flex: 1;
    min-width: 140px;
    text-align: center;
  }
  .cc-modal {
    width: 95%;
  }
  .cc-modal-header, .cc-modal-body, .cc-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cc-modal-footer {
    flex-direction: column;
  }
}
