/* Quality Chops — cookie consent (cream / ink / teal). Self-contained: DC pages do not load styles.css. */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 1.1rem 1.25rem;
  background: #f7f4ee;
  border-top: 3px solid #0c7f79;
  box-shadow: 0 -12px 32px rgba(34, 48, 45, 0.12);
  font-family: "Jost", system-ui, sans-serif;
  color: #22302d;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.cookie-consent-title {
  margin: 0;
  width: 100%;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #22302d;
  letter-spacing: -0.02em;
}

.cookie-consent-desc {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #22302d;
}

.cookie-consent-desc a {
  color: #0c7f79;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-desc a:hover {
  color: #095c58;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.cookie-consent-actions button,
.cookie-consent-actions .btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  margin: 0;
  border-radius: 12px;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid #0c7f79;
  box-sizing: border-box;
  background: transparent;
  color: #22302d;
}

.cookie-consent-actions button:focus-visible,
.cookie-consent-actions .btn:focus-visible {
  outline: 3px solid #0c7f79;
  outline-offset: 2px;
}

.cookie-consent-actions .cookie-consent-accept,
.cookie-consent-actions .btn-primary.cookie-consent-accept {
  background: #0c7f79;
  color: #f7f4ee;
}

.cookie-consent-actions .cookie-consent-accept:hover,
.cookie-consent-actions .btn-primary.cookie-consent-accept:hover {
  background: #095c58;
  border-color: #095c58;
}

.cookie-consent-actions .cookie-consent-reject,
.cookie-consent-actions .btn-secondary.cookie-consent-reject {
  background: #f7f4ee;
  color: #22302d;
}

.cookie-consent-actions .cookie-consent-reject:hover,
.cookie-consent-actions .btn-secondary.cookie-consent-reject:hover {
  background: #efeae2;
}

@media (max-width: 640px) {
  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions button,
  .cookie-consent-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
    padding: 0 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-actions button,
  .cookie-consent-actions .btn {
    transition: none;
  }
}
