/* ============================================================
   COOKIE CONSENT BANNER
   Bottom-left floating card — kept clear of the Travel Concierge
   widget, which anchors bottom-right.
   ============================================================ */

.cookie-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 400;
  width: 380px;
  max-width: calc(100% - 48px);
  background: var(--ivory);
  border: 1px solid rgba(212,168,75,.35);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(8,42,37,.22);
  padding: 26px 26px 22px;
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .5s ease, visibility 0s linear .5s;
}
.cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .5s ease, visibility 0s;
}
:root.dark-mode .cookie-consent {
  background: var(--ivory-dk);
  border-color: rgba(224,189,99,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.cookie-consent-icon {
  display: block;
  color: var(--gold-dk);
  font-size: 20px;
  margin-bottom: 10px;
}
:root.dark-mode .cookie-consent-icon { color: var(--gold-lt); }

.cookie-consent h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  color: var(--teal-dk);
  margin-bottom: 10px;
}
:root.dark-mode .cookie-consent h3 { color: var(--gold-lt); }

.cookie-consent p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 20px;
}
.cookie-consent p a {
  color: var(--gold-dk);
  text-decoration: underline;
  text-underline-offset: 2px;
}
:root.dark-mode .cookie-consent p a { color: var(--gold); }

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  flex: 1 1 auto;
  text-align: center;
  font-family: var(--sc);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 13px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--gold);
  color: var(--teal-dk);
  border: none;
}
.cookie-btn-accept:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,168,75,.35);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text2);
  border: 1px solid rgba(58,92,87,.3);
}
.cookie-btn-reject:hover {
  border-color: var(--gold-dk);
  color: var(--teal-dk);
}
:root.dark-mode .cookie-btn-reject { border-color: rgba(199,189,179,.3); }
:root.dark-mode .cookie-btn-reject:hover { border-color: var(--gold); color: var(--gold-lt); }

/* Footer link that reopens the banner after a choice has been made */
.cookie-settings-link {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
}
.cookie-settings-link:hover { color: var(--gold); }

/* RTL (Arabic) — mirror to the opposite corner for natural reading direction */
html[dir="rtl"] .cookie-consent { left: auto; right: 24px; }

@media (max-width: 480px) {
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 22px 20px 18px; }
  html[dir="rtl"] .cookie-consent { left: 12px; right: 12px; }
  .cookie-consent-actions { flex-direction: column; }
}