/* Shared structure for the five Fareeda sites. Colours come from each site's tokens:
   --bk-bg --bk-surface --bk-text --bk-muted --bk-line --bk-accent --bk-on-accent --bk-radius --bk-font */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: clip; }
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
body.lock { overflow: hidden; }
.nw { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 3px; }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* marquee */
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee-track { display: flex; flex: none; gap: var(--mq-gap, 3rem); padding-right: var(--mq-gap, 3rem); animation: mq var(--mq-dur, 40s) linear infinite; }
@keyframes mq { to { transform: translateX(-100%); } }

/* toast */
.fd-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 999; width: max-content; max-width: calc(100vw - 32px);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px;
  background: #111; color: #fff; font: 500 14px/1.4 var(--bk-font, system-ui); box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: .35s; }
.fd-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* cursor preview */
.fd-peek { position: fixed; left: 0; top: 0; z-index: 90; width: 220px; aspect-ratio: 4/5; pointer-events: none; border-radius: 14px; overflow: hidden;
  opacity: 0; scale: .7; transition: opacity .3s, scale .4s cubic-bezier(.2,.8,.2,1); box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.fd-peek.on { opacity: 1; scale: 1; }
.fd-peek img { width: 100%; height: 100%; object-fit: cover; }

/* ── booking widget ─────────────────────────────────────────── */
.bk { display: grid; gap: 18px; color: var(--bk-text); font-family: var(--bk-font, inherit); }
.bk-block { display: grid; gap: 10px; min-width: 0; }
.bk-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--bk-muted); }
.bk-label .ic { color: var(--bk-accent); }
.bk-label-val { margin-left: auto; color: var(--bk-text); font-weight: 600; text-align: right; }
.bk-dates { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; }
.bk-date { flex: none; width: 66px; display: grid; justify-items: center; gap: 1px; padding: 9px 4px; border-radius: var(--bk-radius, 12px); scroll-snap-align: start;
  border: 1px solid var(--bk-line); background: var(--bk-surface); transition: .2s; }
.bk-date small { font-size: 11px; color: var(--bk-muted); white-space: nowrap; }
.bk-date b { font-size: 22px; line-height: 1.1; }
.bk-date[aria-checked="true"] { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-on-accent); }
.bk-date[aria-checked="true"] small { color: inherit; opacity: .85; }
.bk-date:disabled { opacity: .35; cursor: not-allowed; }
.bk-times { display: grid; gap: 12px; border-radius: var(--bk-radius, 12px); transition: box-shadow .3s; }
.bk-tg { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: start; }
.bk-tgl { font-size: 12px; font-weight: 600; color: var(--bk-muted); padding-top: 9px; }
.bk-tgs { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-time { min-width: 62px; padding: 8px 6px; border-radius: 999px; border: 1px solid var(--bk-line); background: var(--bk-surface); font-size: 13px; font-variant-numeric: tabular-nums; transition: .15s; }
.bk-time:hover:not(:disabled) { border-color: var(--bk-accent); }
.bk-time[aria-pressed="true"] { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-on-accent); }
.bk-time:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.bk-none { margin: 0; font-size: 14px; color: var(--bk-muted); }
.bk-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-field { display: grid; gap: 8px; min-width: 0; }
.bk-wide { grid-column: 1 / -1; }
.bk-field input, .bk-field textarea { width: 100%; padding: 12px 14px; border-radius: var(--bk-radius, 12px); border: 1px solid var(--bk-line); background: var(--bk-surface); resize: vertical; outline: none; transition: border-color .2s; }
.bk-field input:focus, .bk-field textarea:focus { border-color: var(--bk-accent); }
.bk-stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--bk-line); border-radius: var(--bk-radius, 12px); background: var(--bk-surface); padding: 4px; }
.bk-stepper button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: calc(var(--bk-radius, 12px) - 4px); }
.bk-stepper button:hover { background: color-mix(in srgb, var(--bk-accent) 14%, transparent); }
.bk-stepper output { font-weight: 600; }
.bk-err { animation: bk-shake .5s; box-shadow: 0 0 0 2px #e5484d !important; }
@keyframes bk-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.bk-hint { margin: -6px 0 0; font-size: 13px; color: var(--bk-muted); }
.bk-occ { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-occ-btn { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bk-line); background: var(--bk-surface); font-size: 13px; transition: .2s; }
.bk-occ-btn[aria-checked="true"] { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-on-accent); }
.bk-send { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 22px; border-radius: var(--bk-radius, 12px);
  background: var(--bk-send, #1faa53); color: #fff; font-weight: 700; font-size: 16px; transition: transform .2s, filter .2s; }
.bk-send:hover { transform: translateY(-2px); filter: brightness(1.06); }
.bk-send .ic { width: 22px; height: 22px; }
.bk-fine { margin: -8px 0 0; font-size: 12px; color: var(--bk-muted); text-align: center; }
@media (max-width: 560px) {
  .bk-grid { grid-template-columns: 1fr; }
  .bk-tg { grid-template-columns: 1fr; gap: 6px; }
  .bk-tgl { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
