/* Chez Amr — book direct. Light, photo-first layout: search pill, hero, home rows, destinations. */
:root {
  --bg: #ffffff;
  --ink: #0c0c0c;
  --text: #1a1a1a;
  --muted: #6a6a6a;
  --faint: #9a9a9a;
  --line: #ebebeb;
  --soft: #f6f5f2;
  --cream: #ffedc3;
  --cream-ink: #6b5420;
  --good: #1d7a4b;
  --bad: #b3261e;
  --surface: #ffffff;
  --on-ink: #ffffff;
  --ink-hover: #2a2a2a;
  --field: #d9d9d9;
  --field-strong: #d0d0d0;
  --hover-line: #cfcfcf;
  --glass: rgba(255, 255, 255, .92);
  --backdrop: rgba(0, 0, 0, .25);
  --best: #eaf6ef;
  --best-tag: #cfeedd;
  --skeleton: #ececec;
  --disabled: #c4c4c4;
  --edge-price: #dddddd;
  --heart: #e0245e;
  --theme-bar: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .14);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
}
/* Dark: follows the device unless the toggle picked a side (html[data-theme], shared/theme.js). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111111;
    --ink: #f4efe4;
    --text: #ebe7df;
    --muted: #a8a49c;
    --faint: #77736c;
    --line: #2a2a2a;
    --soft: #1c1c1c;
    --cream-ink: #f2d38f;
    --good: #5cc98f;
    --bad: #f28b82;
    --surface: #1a1a1a;
    --on-ink: #0c0c0c;
    --ink-hover: #ffffff;
    --field: #3a3a3a;
    --field-strong: #3a3a3a;
    --hover-line: #555555;
    --glass: rgba(17, 17, 17, .9);
    --backdrop: rgba(0, 0, 0, .55);
    --best: rgba(92, 201, 143, .14);
    --best-tag: rgba(92, 201, 143, .24);
    --skeleton: #262626;
    --disabled: #555555;
    --edge-price: #3a3a3a;
    --heart: #ff4f86;
  --theme-bar: #111111;
  --logo-ink: none;
  --logo-gold: inline;
    --shadow: 0 6px 24px rgba(0, 0, 0, .45);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111111;
  --ink: #f4efe4;
  --text: #ebe7df;
  --muted: #a8a49c;
  --faint: #77736c;
  --line: #2a2a2a;
  --soft: #1c1c1c;
  --cream-ink: #f2d38f;
  --good: #5cc98f;
  --bad: #f28b82;
  --surface: #1a1a1a;
  --on-ink: #0c0c0c;
  --ink-hover: #ffffff;
  --field: #3a3a3a;
  --field-strong: #3a3a3a;
  --hover-line: #555555;
  --glass: rgba(17, 17, 17, .9);
  --backdrop: rgba(0, 0, 0, .55);
  --best: rgba(92, 201, 143, .14);
  --best-tag: rgba(92, 201, 143, .24);
  --skeleton: #262626;
  --disabled: #555555;
  --edge-price: #3a3a3a;
  --heart: #ff4f86;
  --theme-bar: #111111;
  --logo-ink: none;
  --logo-gold: inline;
  --shadow: 0 6px 24px rgba(0, 0, 0, .45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); overflow-x: hidden; }
html[lang="ar"] body { font-family: 'Cairo', var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; }
h2 { font-size: 22px; font-weight: 600; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.serif { font-family: var(--serif); font-weight: 400; }
button, .btn { font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 10px 18px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .15s, border-color .15s, transform .1s; }
button:hover, .btn:hover { border-color: var(--hover-line); }
button:active { transform: scale(.98); }
button:disabled { opacity: .45; cursor: not-allowed; }
.btn.dark, button.dark { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn.dark:hover, button.dark:hover { background: var(--ink-hover); }
.btn.soft, button.soft { background: var(--soft); border-color: var(--soft); }
.btn.link, button.link { border: 0; background: none; padding: 0; min-height: 0; text-decoration: underline; font-weight: 600; }
input, select, textarea { font: inherit; color: var(--text); width: 100%; border: 1px solid var(--field); border-radius: 12px; padding: 12px 14px; background: var(--surface); min-height: 46px; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: transparent; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.error { color: var(--bad); font-size: 14px; }
.error:empty { display: none; }

/* ---------- header with the search pill ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--glass); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.top.over-hero { position: fixed; inset: 0 0 auto 0; background: transparent; backdrop-filter: none; }
.top.over-hero .brand, .top.over-hero .lang-btn, .top.over-hero .cur-btn, .top.over-hero .theme-btn { color: #fff; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px var(--sans); color: var(--ink); justify-self: start; }
.brand img { width: 26px; height: auto; }
/* Navy mark on light, gold mark on dark. */
.brand .logo-ink { display: var(--logo-ink, inline); }
.brand .logo-gold { display: var(--logo-gold, none); }
.top-end { justify-self: end; display: flex; gap: 8px; align-items: center; }
.lang-btn { border: 0; background: transparent; font-weight: 600; padding: 8px 12px; }
.cur-btn { border: 0; background: transparent; color: inherit; font: 600 14px var(--sans); padding: 8px 4px; min-width: 64px; cursor: pointer; }
.cur-btn option { color: var(--ink); background: var(--surface); }
.theme-btn { border: 0; background: transparent; color: var(--ink); width: 40px; height: 40px; min-height: 40px; padding: 0; flex: none; }
.theme-btn svg { width: 19px; height: 19px; }
.wa-btn { background: var(--surface); }
.pill-search { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); padding: 4px; min-width: 0; }
.pill-search .seg { border: 0; background: none; border-radius: 999px; padding: 6px 18px; min-height: 40px; display: grid; justify-items: start; gap: 0; text-align: start; line-height: 1.15; min-width: 0; }
.pill-search .seg small { font-size: 11px; font-weight: 700; color: var(--ink); }
.pill-search .seg span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.pill-search .seg:hover { background: var(--soft); }
.pill-search .sep { width: 1px; height: 24px; background: var(--line); }
.pill-search .go { background: var(--ink); color: var(--on-ink); border: 0; border-radius: 999px; padding: 0 18px; min-height: 40px; font-weight: 600; }
@media (max-width: 860px) {
  .top-in { grid-template-columns: auto 1fr auto; padding: 10px 16px; gap: 10px; }
  .brand span { display: none; }
  .pill-search { justify-self: stretch; }
  .pill-search .seg { padding: 4px 10px; }
  .pill-search .seg:not(.where) { display: none; }
  .pill-search .sep { display: none; }
  .pill-search .seg.where { flex: 1; }
  .pill-search .seg span { max-width: none; }
  .wa-btn { display: none; }
  .top-end { gap: 0; }
  .cur-btn { min-width: 0; font-size: 13px; padding: 8px 0; }
  .lang-btn { padding: 8px 6px; }
}

/* search panel (opens under the pill) */
.panel-back { position: fixed; inset: 0; background: var(--backdrop); z-index: 40; }
.panel { position: fixed; z-index: 41; top: 76px; left: 50%; transform: translateX(-50%); width: min(760px, calc(100vw - 32px)); background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 18px; max-height: calc(100vh - 100px); overflow: auto; }
.panel .tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.panel .chip { border-radius: 999px; padding: 8px 16px; min-height: 38px; }
.panel .chip.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.panel .regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.panel .region { padding: 0; border-radius: 16px; overflow: hidden; display: grid; text-align: start; border: 2px solid transparent; background: none; min-height: 0; }
.panel .region img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.panel .region b { padding: 8px 4px 2px; font-size: 14px; }
.panel .region.on { border-color: var(--ink); }
.panel .row-end { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 36px; height: 36px; min-height: 36px; padding: 0; }
@media (max-width: 860px) { .panel { top: 64px; border-radius: 22px; padding: 16px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(78vh, 720px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 40%, rgba(0,0,0,.38) 100%); }
.hero .in { position: relative; z-index: 1; display: grid; gap: 14px; padding: 120px 20px 60px; max-width: 880px; }
.hero h1 { color: #fff; font: 400 clamp(40px, 7vw, 76px)/1.02 var(--serif); letter-spacing: -.02em; }
html[lang="ar"] .hero h1 { font-family: 'Cairo', var(--sans); font-weight: 700; }
.hero p { font-size: clamp(15px, 1.8vw, 18px); opacity: .95; }
.hero .cta { justify-self: center; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero .cta .btn { background: #fff; border-color: #fff; color: #0c0c0c; font-weight: 600; }
.hero .cta .btn.ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }

/* ---------- page sections ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 36px 0 8px; display: grid; gap: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.section-head p { margin-top: 4px; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 34px; height: 34px; min-height: 34px; padding: 0; }
@media (max-width: 860px) { .wrap { padding: 0 16px; } .arrows { display: none; } }

.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { scroll-snap-align: start; }
@media (max-width: 1200px) { .row-scroll { grid-auto-columns: calc((100% - 3 * 20px) / 4); } }
@media (max-width: 960px) { .row-scroll { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 680px) { .row-scroll { grid-auto-columns: 78%; gap: 14px; } }
.grid-homes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; }

/* home card */
.hcard { display: grid; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.hcard .ph { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--soft); }
.hcard .ph .track { display: flex; height: 100%; transition: transform .35s ease; }
.hcard .ph img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.hcard .ph .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; min-height: 30px; padding: 0; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; font-size: 14px; }
.hcard .ph .nav.prev { inset-inline-start: 10px; }
.hcard .ph .nav.next { inset-inline-end: 10px; }
.hcard:hover .ph .nav { opacity: 1; }
.hcard .ph .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.hcard .ph .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.hcard .ph .dots i.on { background: #fff; }
.hcard .tag { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255,255,255,.95); color: #0c0c0c; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.hcard .heart { position: absolute; top: 8px; inset-inline-end: 8px; border: 0; background: none; padding: 6px; min-height: 0; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.hcard .heart svg { width: 26px; height: 26px; fill: rgba(0,0,0,.25); stroke: #fff; stroke-width: 2; }
.hcard .heart.on svg { fill: var(--heart); stroke: #fff; }
.hcard .meta { display: grid; gap: 2px; font-size: 14px; }
.hcard .meta .t { display: flex; justify-content: space-between; gap: 8px; }
.hcard .meta .t b { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard .meta .t .rt { flex: none; color: var(--ink); font-weight: 400; }
.hcard .save { color: var(--good); font-size: 13px; font-weight: 500; }
.hcard .unavail { color: var(--bad); font-size: 13px; }
.hcard.dim .ph { opacity: .55; }

/* destinations */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .dest-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.dest { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; text-decoration: none; color: #fff; display: block; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest:hover img { transform: scale(1.04); }
.dest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.6)); }
.dest .cap { position: absolute; z-index: 1; inset: auto 16px 16px 16px; display: grid; gap: 2px; }
.dest .cap b { font: 400 26px/1.1 var(--serif); }
html[lang="ar"] .dest .cap b { font-family: 'Cairo', var(--sans); font-weight: 700; font-size: 22px; }
.dest .cap span { font-size: 13px; opacity: .9; }

/* why book direct */
.why { background: var(--soft); border-radius: 28px; padding: 40px; display: grid; gap: 28px; margin: 40px 0 10px; }
.why h2 { font: 400 clamp(28px, 4vw, 40px)/1.1 var(--serif); max-width: 640px; }
html[lang="ar"] .why h2 { font-family: 'Cairo', var(--sans); font-weight: 700; }
.why .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why .col { display: grid; gap: 8px; align-content: start; }
.why .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; }
.why .ic svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
@media (max-width: 960px) { .why { padding: 26px 20px; } .why .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why .cols { grid-template-columns: 1fr; } }

footer.foot { border-top: 1px solid var(--line); margin-top: 48px; }
footer.foot .in { max-width: 1280px; margin: 0 auto; padding: 32px 24px 48px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
footer.foot .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { text-decoration: underline; }

/* ---------- home page ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: 20px; overflow: hidden; height: min(58vh, 520px); margin-top: 20px; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: filter .2s; }
.gallery img:hover { filter: brightness(.92); }
.gallery .g0 { grid-row: span 2; }
.gallery.n1 { grid-template-columns: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; } .gallery.n2 .g1 { grid-row: span 2; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 { grid-template-columns: 2fr 1fr 1fr; } .gallery.n4 .g3 { grid-column: span 2; }
.gallery .all { position: absolute; bottom: 16px; inset-inline-end: 16px; background: #fff; color: #0c0c0c; font-weight: 600; font-size: 14px; min-height: 36px; padding: 6px 14px; }
@media (max-width: 760px) {
  .gallery, .gallery.n2, .gallery.n3, .gallery.n4 { display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0; margin: 0 -16px; gap: 0; scrollbar-width: none; }
  .gallery img { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .gallery .all { display: none; }
}

.listing { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; padding-top: 28px; }
@media (max-width: 1000px) { .listing { grid-template-columns: 1fr; gap: 24px; } }
.about { display: grid; gap: 0; min-width: 0; }
.about > .blk { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.about > .blk:first-child { padding-top: 0; }
.about > .blk:last-child { border-bottom: 0; }
.title-row { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.icon-btns { display: flex; gap: 8px; }
.icon-btns button { width: 38px; height: 38px; min-height: 38px; padding: 0; }
.icon-btns svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.icon-btns .on svg { fill: var(--heart); stroke: var(--heart); }
.specs { color: var(--muted); }
.highlight { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; }
.highlight .score { display: grid; justify-items: center; padding-inline-end: 16px; border-inline-end: 1px solid var(--line); min-width: 70px; }
.highlight .score b { font-size: 20px; }
.highlight .score a { white-space: nowrap; color: inherit; }
.perks { display: grid; gap: 16px; }
.perk { display: flex; gap: 14px; align-items: start; }
.perk .ic { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.perk .ic svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.perk p { font-size: 13px; color: var(--muted); }
.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.clamp.open { -webkit-line-clamp: unset; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.amen div { display: flex; gap: 12px; align-items: center; }
.amen svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.review { display: grid; gap: 6px; }
.review .who { display: flex; gap: 10px; align-items: center; }
.review .av { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 600; }
.rating-line { display: inline-block; margin-top: 4px; color: var(--ink); text-decoration: none; font-size: 15px; }
.rating-line u { text-underline-offset: 3px; }
.all-reviews { margin-top: 20px; background: none; border: 1px solid var(--ink); color: var(--ink); border-radius: 8px; padding: 12px 22px; font-weight: 600; cursor: pointer; }
.stars .muted { letter-spacing: 0; }
.stars { color: var(--ink); letter-spacing: 1px; font-size: 12px; }
@media (max-width: 640px) { .amen, .reviews { grid-template-columns: 1fr; } }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.know .k { display: grid; gap: 8px; align-content: start; }
.know li { margin: 0 0 6px; }
.know ul { margin: 0; padding: 0; list-style: none; color: var(--text); }
@media (max-width: 760px) { .know { grid-template-columns: 1fr; } }

/* booking box */
.book-box { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 14px; background: var(--surface); }
.book-box .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.book-box .price b { font-size: 22px; color: var(--ink); }
.dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--field-strong); border-radius: 14px; overflow: hidden; }
.dates button, .dates .gsel { border: 0; border-radius: 0; background: var(--surface); padding: 10px 12px; min-height: 56px; display: grid; justify-items: start; gap: 2px; text-align: start; }
.dates button:first-child { border-inline-end: 1px solid var(--field-strong); }
.dates .gsel { grid-column: span 2; border-top: 1px solid var(--field-strong); position: relative; }
.dates small { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.dates span { font-size: 14px; color: var(--muted); }
.dates span.set { color: var(--text); }
.dates select { border: 0; padding: 0; min-height: 0; background: transparent; font-size: 14px; }
.dates select:focus { outline: none; }
.reserve { width: 100%; min-height: 50px; font-size: 16px; font-weight: 600; border-radius: 14px; background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.reserve:hover { background: var(--ink-hover); }
.hint { text-align: center; font-size: 13px; color: var(--muted); }
.breakdown { display: grid; gap: 8px; font-size: 14px; }
.breakdown > div { display: flex; justify-content: space-between; gap: 12px; }
.breakdown .discount span:last-child { color: var(--good); }
.breakdown .total { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; font-size: 16px; color: var(--ink); }
.compare { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; font-size: 14px; }
.compare .head { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.compare .head svg { width: 18px; height: 18px; stroke: var(--good); fill: none; stroke-width: 2; }
.compare .line { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 10px; }
.compare .line.best { background: var(--best); }
.compare .best-tag { background: var(--best-tag); color: var(--good); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-inline-start: 6px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { text-transform: uppercase; }
.promo-row button { flex: none; }
.checkout { display: grid; gap: 12px; }
.agree { display: flex; gap: 10px; align-items: start; font-weight: 400; font-size: 13px; }
.agree input { width: auto; min-height: 0; margin-top: 2px; }
.badge-ok { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--good); font-size: 13px; font-weight: 500; }

/* date picker popover */
.cal-pop { border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: grid; gap: 10px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; }
.cal-head button { width: 34px; height: 34px; min-height: 34px; padding: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid small { color: var(--faint); font-size: 11px; padding: 4px 0; font-weight: 600; }
.cal-grid button { min-height: 44px; padding: 2px 0; border-radius: 999px; background: transparent; border-color: transparent; font-variant-numeric: tabular-nums; flex-direction: column; gap: 0; line-height: 1.1; font-size: 14px; }
.cal-grid .day-price { font-size: 10px; color: var(--muted); }
.cal-grid button.edge { background: var(--ink); color: var(--on-ink); }
.cal-grid button.edge .day-price { color: var(--edge-price); }
.cal-grid button.in-range { background: var(--soft); border-radius: 0; }
.cal-grid button:disabled { text-decoration: line-through; color: var(--disabled); opacity: 1; }
.cal-grid button:not(:disabled):hover { border-color: var(--ink); }

/* mobile reserve bar */
.mbar { display: none; }
@media (max-width: 1000px) {
  .book-box { position: static; box-shadow: none; }
  .mbar { display: flex; position: fixed; inset: auto 0 0 0; z-index: 25; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; gap: 12px; }
  .mbar .reserve { width: auto; padding: 0 28px; }
  body[data-page="home"] footer.foot { margin-bottom: 76px; }
}

.lightbox { position: fixed; inset: 0; background: var(--bg); z-index: 60; overflow: auto; }
.lightbox .bar { position: sticky; top: 0; background: var(--bg); display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.lightbox .shots { max-width: 900px; margin: 0 auto; padding: 20px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.lightbox .shots img { width: 100%; border-radius: 12px; }
.lightbox .shots img:nth-child(3n + 1) { grid-column: span 2; }

.back { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; text-decoration: none; color: var(--muted); font-size: 14px; }

/* confirmation */
.confirm { max-width: 560px; margin: 60px auto; text-align: center; display: grid; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.confirm .big { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; margin: 0 auto; font-size: 30px; }
.confirm .big.x { background: var(--bad); }
.confirm .breakdown { text-align: start; }
.confirm .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.skeleton { background: linear-gradient(90deg, var(--soft) 25%, var(--skeleton) 37%, var(--soft) 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: var(--radius); }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Spam trap: invisible without moving it off-screen (that breaks RTL pages). */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.guide-blk { --gd-sticky: 79px; padding: 36px 0 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.guide-blk:empty { display: none; }

/* Area guide on the booking pages: same colours as the site, so it follows light and dark too. */
body .gd, body .gd-sheet { --gd-ink: var(--ink); --gd-text: var(--text); --gd-muted: var(--muted); --gd-line: var(--line); --gd-soft: var(--soft); --gd-card: var(--surface); --gd-bg: var(--bg); }
