/* Nomadéa · booking drawer and Discover offer, shared by stays.html and experiences.html (load after premium.css) */
.tick { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--heading); cursor: pointer; font-size: 14px; font-weight: 400; }
.tick input { position: absolute; opacity: 0; pointer-events: none; }
.tick i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.tick i svg { width: 14px; height: 14px; opacity: 0; }
.tick:has(input:checked) { border-color: var(--heading); }
.tick:has(input:checked) i { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.tick:has(input:checked) i svg { opacity: 1; }
.tick:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.tick > svg { width: 18px; height: 18px; }


/* Discover */
.disc { position: relative; padding-block: clamp(64px, 8vw, 110px) clamp(88px, 10vw, 130px); }
.disc__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .disc__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }
.disc__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; width: 100%; }
.disc__facts div { padding: 14px 16px; border-radius: var(--r-md); background: rgba(238,232,225,.08); border: 1px solid rgba(238,232,225,.16); }
.disc__facts dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #EEE8E1; }
.disc__facts dd { margin: 4px 0 0; font-size: 17px; color: var(--on-band); }
.disc__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; max-width: 460px; justify-self: center; width: 100%; }
.disc__img img { width: 100%; height: 100%; object-fit: cover; }
.disc .shead p { color: var(--on-band-soft); }
.disc__note { font-size: 14px; color: var(--on-band-soft); max-width: 60ch; }

.disc__facts .disc__facts-wide { grid-column: 1 / -1; }
.disc__price { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.disc__price + .disc__price { border-top: 1px solid rgba(238,232,225,.16); }
.disc__price b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Booking drawer */
.bk h2 { font-size: 40px; line-height: 1; margin: 6px 0 4px; }
.bk__sub { color: var(--text-soft); font-size: 15px; }
.bk__sec { margin-top: 26px; display: grid; gap: 10px; }
.bk__sec > h3 { font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bk__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.in { display: grid; gap: 4px; min-width: 0; }
.in label, .in > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.in input, .in select, .in textarea { width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); font-size: 16px; color: var(--text); }
.in textarea { min-height: 90px; padding: 12px 16px; resize: vertical; }
.in input:focus, .in select:focus, .in textarea:focus { outline: none; border-color: var(--heading); }
.in input[aria-invalid=true] { border-color: #B4532A; }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; transition: border-color .25s, background-color .25s; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.opt i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--heading); transform: scale(0); transition: transform .25s var(--ease); }
.opt:has(input:checked) { border-color: var(--heading); background: var(--bg-alt); }
.opt:has(input:checked) i::after { transform: none; }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt b { font-weight: 500; color: var(--heading); display: block; }
.opt small { color: var(--muted); font-size: 13px; }
.opt.is-off { opacity: .45; cursor: not-allowed; }
.opt em { font-style: normal; font-size: 14px; color: var(--heading); white-space: nowrap; }
.promo { display: flex; gap: 6px; }
.promo input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo .btn { min-height: 50px; padding: 0 18px; }
.msg { font-size: 14px; color: var(--heading); min-height: 1.4em; }
.msg--bad { color: #B4532A; }
:root[data-theme="dark"] .msg--bad, :root[data-theme="dark"] .in input[aria-invalid=true] { color: #F0A98A; border-color: #F0A98A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg--bad { color: #F0A98A; } }
.sum { margin-top: 26px; padding: 20px; border-radius: var(--r-lg); background: var(--bg-alt); display: grid; gap: 10px; }
.sum__line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.sum__line span small { display: block; color: var(--muted); font-size: 13px; }
.sum__line > b { font-weight: 500; color: var(--heading); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum__line--minus > b { color: var(--muted); }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.sum__total span { font-weight: 500; color: var(--heading); }
.sum__total b { font-family: var(--serif); font-weight: 500; font-size: 38px; color: var(--heading); font-variant-numeric: tabular-nums; }
.sum__xpf { text-align: right; font-size: 13px; color: var(--muted); }
.bk__mode { margin-top: 14px; display: flex; gap: 10px; font-size: 14px; color: var(--text-soft); }
.bk__mode svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--heading); }
.bk__send { margin-top: 18px; width: 100%; }
.bk__err { margin-top: 10px; }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; padding-top: 40px; }
.done__mark { width: 84px; height: 84px; border-radius: 6px; background: var(--btn); color: var(--btn-text); display: grid; place-items: center; }
.done__mark svg { width: 40px; height: 40px; }
.done__mark path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .6s var(--ease) .2s forwards; }
.done h2 { font-size: 40px; }
.done p { color: var(--text-soft); max-width: 40ch; }
.done code { font: 600 18px/1 var(--sans); letter-spacing: .08em; color: var(--heading); padding: 10px 16px; border-radius: var(--pill); background: var(--bg-alt); }
