

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #1a0f07;
  border-top: 1px solid rgba(200, 169, 110, 0.25);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.cookie-banner-text {
  flex: 1;
  min-width: 240px;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(0.78rem, 1.4vw, 0.88rem);
  color: #c4b5a0;
  line-height: 1.65;
}

.cookie-banner-text a {
  color: #c8a96e;
  text-decoration: underline;
  text-decoration-color: rgba(200, 169, 110, 0.45);
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: #e0c98a;
}

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

.cookie-btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(0.72rem, 1.3vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: #8b1a1a;
  color: #f5f0e8;
}

.cookie-btn-reject {
  background-color: transparent;
  color: #c4b5a0;
  border: 1px solid rgba(196, 181, 160, 0.35);
}

.cookie-btn-customize {
  background-color: rgba(200, 169, 110, 0.15);
  color: #c8a96e;
  border: 1px solid rgba(200, 169, 110, 0.4);
}

.cookie-btn-customize:hover {
  background-color: rgba(200, 169, 110, 0.25);
}

.cookie-btn-decline {
  background-color: transparent;
  color: #c4b5a0;
  border: 1px solid rgba(196, 181, 160, 0.35);
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 15, 7, 0.7);
  padding: 1rem;
}

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

.cookie-modal-content {
  background-color: #faf7f2;
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.cookie-modal-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #1a0f07;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: #999;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: #1a0f07;
}

.cookie-category {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background-color: #f5f0e8;
  border-radius: 6px;
  border: 1px solid rgba(26, 15, 7, 0.08);
}

.cookie-category:last-of-type {
  margin-bottom: 0;
}

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

.cookie-category input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 4px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.cookie-category-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cookie-category-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: #1a0f07;
  font-size: 0.95rem;
  margin: 0;
}

.cookie-category-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

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

.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 15, 7, 0.1);
}

.cookie-btn-modal {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  font-weight: 500;
}

.cookie-btn-modal-save {
  background-color: #8b1a1a;
  color: #f5f0e8;
}

.cookie-btn-modal-save:hover {
  background-color: #a02020;
}

@media (max-width: 640px) {
  .cookie-modal-content {
    padding: 1.5rem;
    border-radius: 6px;
  }

  .cookie-modal-header h2 {
    font-size: 1.1rem;
  }

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

  .cookie-btn-modal {
    width: 100%;
  }
}
