

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--c-bg-dark, #2a2623);
  border-top: 1px solid var(--c-border, #4a4540);
  padding: var(--space-4);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  display: none;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}

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

.cookie-banner-content {
  flex: 1;
  min-width: 200px;
}

.cookie-banner h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-fg-invert, #f5f1eb);
  margin-bottom: var(--space-1);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--c-muted-invert, #b9b3a0);
  line-height: 1.4;
  margin: 0;
}

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

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--c-accent, #4a7362);
  color: white;
}

.cookie-btn-accept:hover {
  background: #3d6054;
}

.cookie-btn-reject {
  background: transparent;
  color: var(--c-muted-invert, #b9b3a0);
  border: 1px solid var(--c-muted-invert, #b9b3a0);
}

.cookie-btn-reject:hover {
  background: rgba(185, 179, 160, 0.1);
}

.cookie-btn-customize {
  background: transparent;
  color: var(--c-muted-invert, #b9b3a0);
  border: 1px solid var(--c-muted-invert, #b9b3a0);
}

.cookie-btn-customize:hover {
  background: rgba(185, 179, 160, 0.1);
}

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

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

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

.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--c-fg);
  margin-bottom: var(--space-3);
  margin-top: 0;
}

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

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--c-fg);
}

.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--c-accent, #4a7362);
}

.cookie-category input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-category p {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin: var(--space-1) 0 0 var(--space-5);
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.cookie-modal-actions button {
  flex: 1;
  min-width: 120px;
}

.cookie-policy-link {
  font-size: 0.85rem;
  margin-top: var(--space-2);
}

.cookie-policy-link a {
  color: var(--c-accent, #4a7362);
  text-decoration: none;
}

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

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .cookie-banner-content {
    width: 100%;
  }

  .cookie-banner-controls {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    min-width: 0;
  }

  .cookie-modal-content {
    width: 95%;
    max-height: 90%;
    padding: var(--space-4);
  }
}
.card > h3 { color: #91938f !important; }
.card > p { color: #91938f !important; }


/* wh-elem-contrast */
/* Auto: element text failed 4.5:1 against its resolved background. */
.eyebrow { color: #94612e !important; }
.section--raised .eyebrow { color: #8b5b2c !important; }
.card > h3 { color: #91938f !important; }
.card > p { color: #91938f !important; }
.num { color: #94612e !important; }
.section--dark .eyebrow { color: #bd8044 !important; }
.section--dark .num { color: #bd8044 !important; }
.testimonial-detail { color: #6f695a !important; }
.testimonial-author { color: #6f695a !important; }
.section--raised .plus { color: #8b5b2c !important; }
