/* Consent visuals restored from the website design at 85b720f. */
#at-consent-root [hidden] { display: none !important; }

#at-consent-root .cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #221F1D;
  border: 1px solid #3A3531;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: block;
  font-family: 'Inter', sans-serif;
  animation: atConsentSlideUp 0.3s ease-out;
}
@keyframes atConsentSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#at-consent-root .cookie-title,
#at-consent-root .cookie-prefs-title {
  font-family: 'Lora', serif;
  font-size: 22px;
  color: #F5F1EB;
  margin-bottom: 8px;
  font-weight: 600;
}
#at-consent-root .cookie-desc,
#at-consent-root .cookie-prefs-desc {
  font-size: 14px;
  color: #B8AFA5;
  line-height: 1.5;
  margin-bottom: 20px;
}
#at-consent-root .cookie-desc a { color: #CC785C; text-decoration: underline; }
#at-consent-root .cookie-actions { display: flex; flex-direction: column; gap: 10px; }
#at-consent-root .cookie-row { display: flex; gap: 10px; }

#at-consent-root .btn-cookie {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}
#at-consent-root .btn-cookie-outline {
  background: transparent;
  border: 1px solid #3A3531;
  color: #F5F1EB;
}
#at-consent-root .btn-cookie-outline:hover,
#at-consent-root .btn-cookie-outline:focus-visible { border-color: #CC785C; color: #CC785C; }
#at-consent-root .btn-cookie-solid {
  background: #CC785C;
  border: none;
  color: #FFFFFF;
  font-weight: 600;
}
#at-consent-root .btn-cookie-solid:hover,
#at-consent-root .btn-cookie-solid:focus-visible { background: #B86B4F; }

#at-consent-root .cookie-prefs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  pointer-events: auto;
  align-items: center;
  justify-content: center;
}
#at-consent-root .cookie-prefs-panel {
  width: 400px;
  max-width: calc(100% - 48px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #221F1D;
  border: 1px solid #3A3531;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  font-family: 'Inter', sans-serif;
}
#at-consent-root .cookie-category {
  background: #2B2825;
  border: 1px solid #3A3531;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
#at-consent-root .cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
#at-consent-root .cookie-category-name { font-size: 14px; font-weight: 600; color: #F5F1EB; }
#at-consent-root .cookie-category-desc { font-size: 13px; color: #8D8681; line-height: 1.4; }
#at-consent-root .cookie-required { font-size: 12px; color: #6DB890; font-weight: 500; }
#at-consent-root .cookie-toggle { position: relative; width: 44px; height: 24px; }
#at-consent-root .cookie-toggle input { opacity: 0; width: 0; height: 0; }
#at-consent-root .cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #3A3531;
  border-radius: 24px;
  transition: 0.2s;
}
#at-consent-root .cookie-toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #F5F1EB;
  border-radius: 50%;
  transition: 0.2s;
}
#at-consent-root .cookie-toggle input:checked + .cookie-toggle-slider { background: #CC785C; }
#at-consent-root .cookie-toggle input:checked + .cookie-toggle-slider:before { transform: translateX(20px); }
#at-consent-root .cookie-toggle input:focus-visible + .cookie-toggle-slider { outline: 2px solid #F5F1EB; outline-offset: 3px; }
#at-consent-root .cookie-prefs-actions { display: flex; gap: 10px; margin-top: 20px; }
#at-consent-root .cookie-prefs-actions .btn-cookie { flex: 1; }

.footer-legal-row .at-cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-tertiary, #9D9691);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer-legal-row .at-cookie-settings:hover,
.footer-legal-row .at-cookie-settings:focus-visible {
  color: var(--accent-primary, #CC785C);
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  #at-consent-root .cookie-banner { animation: none; }
}
