/* Cookie consent banner. Forest card with cream text, sits above the phone booking bar. */
.consent {
  position: fixed; z-index: 40;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  inset-inline-start: max(16px, env(safe-area-inset-right, 0px));
  width: min(400px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 20px 20px 18px; border-radius: 24px;
  background: #0E3B2E; color: #F6F3EC;
  box-shadow: 0 0 0 1px rgba(246, 243, 236, .16), 0 18px 40px -18px rgba(14, 59, 46, .6);
  font: 400 15px/1.55 "Google Sans", "Noto Sans Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  direction: rtl; text-align: right;
}
.consent p { margin: 0 0 14px; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consent-actions { display: flex; gap: 8px; }
.consent-btn {
  flex: 1 1 0; height: 44px; border-radius: 22px; cursor: pointer;
  border: 1.5px solid #F6F3EC; background: #F6F3EC; color: #0E3B2E;
  font: 500 16px/1 "Google Sans", "Noto Sans Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  transition: background-color .16s cubic-bezier(.22, 1, .36, 1), color .16s cubic-bezier(.22, 1, .36, 1);
}
.consent-btn:hover { background: #FCFBF7; }
.consent-btn.line { background: transparent; color: #F6F3EC; }
.consent-btn.line:hover { background: rgba(246, 243, 236, .1); }
.consent :focus-visible { outline: 2px solid #F6F3EC; outline-offset: 3px; }
.consent-open .mbar { visibility: hidden; }

@media (max-width: 760px) {
  .consent {
    inset-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .consent:not([hidden]) { animation: consent-in .32s cubic-bezier(.22, 1, .36, 1); }
  @keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
}
