/* ==========================================================================
   KonakBul design system V2 "Sade beyaz" — app.css
   White ground, ink text, one accent (--brand), hairlines, whitespace, photos.
   Public site + booking flow; also loaded by the panel (layouts/panel).
   Reference: docs/dev/DESIGN-V2.md (art direction) · docs/dev/UI-KIT.md (contracts)
   ========================================================================== */

/* 0. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --bg-subtle: #F7F7F7;
  --ink: #111111; --ink-2: #484848; --ink-3: #717171;
  --line: #EBEBEB; --line-strong: #DDDDDD;
  /* the ONE accent — overridden at runtime by partials/head.php from setting brand_color */
  --brand: #0B6B53; --on-brand: #FFFFFF;
  --brand-hover: #095E49; --brand-soft: #E7F0ED;          /* static fallbacks, color-mix below */
  --danger: #C13515; --danger-soft: #FCEFEC;
  --warning: #B4690E; --warning-soft: #FCF3E8;
  --success: #0B6B53; --success-soft: #E8F2EF;
  --info: #1F5FBF; --info-soft: #EEF3FB;

  --radius-xs: 6px; --radius-sm: 8px; --radius: 12px; --radius-lg: 16px; --radius-pill: 999px;
  --shadow-pop: 0 8px 28px rgba(0, 0, 0, .12);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px; --container-narrow: 760px; --container-wide: 1320px;
  --gutter: 20px;
  --header-h: 64px; --bar-h: 76px;

  /* type scale (desktop values switch at 768px) */
  --fs-2xs: .75rem; --fs-xs: .8125rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.0625rem; --fs-lg: 1.125rem;
  --fs-xl: 1.375rem; --fs-2xl: 1.375rem; --fs-3xl: 1.625rem; --fs-4xl: 2.125rem;
  --lh-tight: 1.15; --lh-snug: 1.3; --lh: 1.5; --lh-base: 1.5;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 600; --fw-black: 600;

  /* spacing 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.25rem; --sp-6: 1.5rem;
  --sp-8: 2rem; --sp-10: 2.5rem; --sp-12: 3rem; --sp-16: 4rem; --sp-20: 5rem; --sp-24: 6rem;

  --ease: cubic-bezier(.2, .7, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 150ms; --t-base: 200ms; --t-slow: 250ms;
  /* Layering scale (D4) — the ONLY z-index values public CSS uses:
     base 1 < raised 2 (in-flow elements that host popovers: hero search) < sticky 40 (sticky toolbars) < bar 45 (fixed bottom bars)
     < header 50 < popover 60 (dropdowns, nav panels, guest/date/region popovers; also a host while one of its popovers is open)
     < cookie 80 < sheet 90 (bottom sheets, drawers) < modal 100 < picker 105 (date sheet above a booking sheet) < toast 110.
     A popover is only as high as its stacking context: hosts that create one (transform, sticky + z-index, mask, isolation)
     must be raised to --z-popover while a popover inside them is open (see .hero .search, .site-header). */
  --z-base: 1; --z-raised: 2; --z-sticky: 40; --z-bar: 45; --z-header: 50; --z-popover: 60; --z-dropdown: 60; --z-cookie: 80;
  --z-sheet: 90; --z-modal: 100; --z-picker: 105; --z-toast: 110;

  /* ---- legacy aliases (V1 names still used by panel.css / booking.css / manage.css / admin.css) ---- */
  --white: #fff;
  --pine-50: var(--brand-soft); --pine-100: #D3E4DE; --pine-200: #B5CFC6; --pine-300: #8FB5A8; --pine-400: #4F8F7B;
  --pine-500: var(--brand); --pine-600: var(--brand); --pine-700: var(--brand-hover); --pine-800: #1C1C1C; --pine-900: #111111;
  --terra-50: var(--bg-subtle); --terra-100: var(--line); --terra-200: #D4D4D4; --terra-300: #BBBBBB;
  --terra-400: var(--brand); --terra-500: var(--brand); --terra-600: var(--brand); --terra-700: var(--brand-hover); --terra-800: var(--ink);
  --amber-400: #E0A63A; --amber-100: #FBEFD9;
  --sand-50: #FAFAFA; --sand-100: var(--bg-subtle); --sand-200: var(--line); --sand-300: var(--line-strong);
  --stone-300: var(--line-strong); --stone-400: #B0B0B0; --stone-500: #8C8C8C; --stone-600: var(--ink-3); --stone-700: var(--ink-2); --stone-800: #2A2A2A;
  --success-bg: var(--success-soft); --success-border: #C5DDD5;
  --warning-bg: var(--warning-soft); --warning-border: #EFD3AE;
  --danger-bg: var(--danger-soft); --danger-border: #F2C4B9;
  --info-bg: var(--info-soft); --info-border: #C9D8F1;
  --water: #3F8A96; --water-bg: #E6F1F3;
  --color-bg: var(--bg); --color-surface: var(--surface); --color-surface-2: var(--bg-subtle);
  --color-text: var(--ink); --color-text-2: var(--ink-2); --color-muted: var(--ink-3);
  --color-border: var(--line); --color-border-strong: var(--line-strong);
  --color-primary: var(--brand); --color-primary-hover: var(--brand-hover);
  --color-accent: var(--brand); --color-accent-hover: var(--brand-hover); --color-focus: var(--ink);
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 16px; --r-pill: 999px;
  --sh-xs: 0 1px 2px rgba(0, 0, 0, .05); --sh-sm: var(--shadow-card); --sh-md: var(--shadow-card); --sh-lg: var(--shadow-pop); --sh-xl: var(--shadow-pop);
  --ring: 0 0 0 2px var(--ink);
  color-scheme: light;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
  :root {
    --brand-hover: color-mix(in srgb, var(--brand) 88%, #000);
    --brand-soft: color-mix(in srgb, var(--brand) 10%, #fff);
    --pine-100: color-mix(in srgb, var(--brand) 18%, #fff); --pine-200: color-mix(in srgb, var(--brand) 30%, #fff);
    --pine-300: color-mix(in srgb, var(--brand) 48%, #fff); --pine-400: color-mix(in srgb, var(--brand) 75%, #fff);
  }
}
@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 72px; --fs-2xl: 1.625rem; --fs-3xl: 2rem; --fs-4xl: 3.5rem; --fs-xl: 1.375rem; }
}

/* 1. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1rem; line-height: var(--lh); font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-wrap: break-word;
  font-feature-settings: "cv11", "ss01";
}
body.is-locked { overflow: hidden; }
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--sp-3); line-height: var(--lh-tight); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: var(--fs-3xl); } h2 { font-size: var(--fs-2xl); } h3 { font-size: var(--fs-lg); } h4 { font-size: var(--fs-base); }
p, ul, ol, dl, figure, blockquote { margin: 0 0 var(--sp-4); }
ul[class], ol[class] { list-style: none; padding: 0; margin: 0; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-8) 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--ink); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1em; height: 1em; } .icon--lg { width: 1.5em; height: 1.5em; } .icon--xl { width: 2rem; height: 2rem; }
.icon--fill { fill: currentColor; }

/* 2. Layout & utilities ---------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.section { padding-block: var(--sp-10); }
.section--tight { padding-block: var(--sp-6); }
.section--alt, .section--subtle { background: var(--bg-subtle); }
.section--flush-top { padding-top: 0 !important; }
@media (min-width: 768px) { .section { padding-block: var(--sp-16); } .section--tight { padding-block: var(--sp-8); } }
@media (min-width: 1200px) { .section { padding-block: var(--sp-20); } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.section-head__title { font-size: var(--fs-2xl); margin: 0; }
.section-head__text { color: var(--ink-3); margin: var(--sp-2) 0 0; max-width: 60ch; }
.section-head__link { font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.section-head__link .icon { display: none; }
.grid { display: grid; gap: var(--sp-6); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid--cards { display: grid; gap: var(--sp-10) var(--sp-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stack > * + * { margin-top: var(--sp-4); }
.stack-sm > * + * { margin-top: var(--sp-2); }
.stack-lg > * + * { margin-top: var(--sp-8); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.cluster--between { justify-content: space-between; }
.cluster--end { justify-content: flex-end; }
.split { display: grid; gap: var(--sp-8); }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--sp-16); align-items: start; } .split--wide-aside { grid-template-columns: minmax(0, 1fr) 420px; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--sp-4); top: -100px; z-index: var(--z-toast); background: var(--ink); color: #fff; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); font-weight: 500; }
.skip-link:focus { top: var(--sp-4); color: #fff; }
.text-muted { color: var(--ink-3); } .text-sm { font-size: var(--fs-sm); } .text-xs { font-size: var(--fs-xs); } .text-lg { font-size: var(--fs-lg); }
.text-center { text-align: center; } .text-right { text-align: right; } .text-nowrap, .nowrap { white-space: nowrap; }
.text-success { color: var(--success); } .text-danger { color: var(--danger); } .text-warning { color: var(--warning); } .text-primary { color: var(--ink); } .text-accent { color: var(--ink); }
.fw-semibold, .fw-bold { font-weight: 600; } .fw-normal { font-weight: 400; }
.tabular { font-variant-numeric: tabular-nums; }
.mt-0 { margin-top: 0 !important; } .mt-12 { margin-top: var(--sp-12); } .mt-2 { margin-top: var(--sp-2); } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: var(--sp-1); } .mb-2 { margin-bottom: var(--sp-2); } .mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); } .mb-8 { margin-bottom: var(--sp-8); }
.w-full { width: 100%; }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }
.divider { height: 1px; background: var(--line); margin: var(--sp-8) 0; border: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* 3. Typography ------------------------------------------------------------ */
.h1, .h2, .h3, .h4 { font-weight: 600; line-height: var(--lh-tight); letter-spacing: -.02em; color: var(--ink); }
.h1 { font-size: var(--fs-3xl); } .h2 { font-size: var(--fs-2xl); } .h3 { font-size: var(--fs-lg); } .h4 { font-size: var(--fs-base); }
.display { font-size: var(--fs-4xl); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.eyebrow { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-3); margin-bottom: var(--sp-2); }
.eyebrow .icon { display: none; }
.lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 60ch; }
.prose { max-width: 68ch; color: var(--ink-2); line-height: 1.6; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-8); } .prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.25rem; } .prose li + li { margin-top: var(--sp-1); }
.prose img { border-radius: var(--radius); margin-block: var(--sp-6); }
.prose blockquote { border-left: 2px solid var(--ink); padding: 0 var(--sp-4); color: var(--ink); margin-left: 0; }
.prose table { font-size: var(--fs-sm); margin-bottom: var(--sp-4); } .prose th, .prose td { border-bottom: 1px solid var(--line); padding: var(--sp-2) var(--sp-3); text-align: left; }
.price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--ink); --btn-bg-h: var(--bg-subtle);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 44px; padding: .625rem 1.125rem; border-radius: var(--radius-sm); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 500; font-size: var(--fs-sm); line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast);
}
.btn:hover { background: var(--btn-bg-h); color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn[disabled], .btn.is-disabled { opacity: .4; pointer-events: none; }
.btn .icon { width: 1.125em; height: 1.125em; }
.btn--primary, .btn--accent { --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: var(--brand); --btn-bg-h: var(--brand-hover); font-weight: 600; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); --btn-bg-h: #2A2A2A; font-weight: 600; }
.btn--secondary { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--ink); --btn-bg-h: var(--bg-subtle); }
.btn--soft { --btn-bg: var(--bg-subtle); --btn-fg: var(--ink); --btn-bd: var(--bg-subtle); --btn-bg-h: var(--line); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent; --btn-bg-h: var(--bg-subtle); }
.btn--danger { --btn-bg: var(--danger); --btn-fg: #fff; --btn-bd: var(--danger); --btn-bg-h: #A42C11; }
.btn--danger-soft { --btn-bg: #fff; --btn-fg: var(--danger); --btn-bd: var(--line-strong); --btn-bg-h: var(--danger-soft); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; --btn-bg-h: #F2F2F2; }
.btn--link { --btn-bg: transparent; --btn-bd: transparent; --btn-bg-h: transparent; --btn-fg: var(--ink); padding-inline: 0; min-height: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.btn--link:hover { text-decoration-thickness: 2px; }
.btn--text { --btn-bg: transparent; --btn-bd: transparent; --btn-bg-h: var(--bg-subtle); --btn-fg: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding-inline: .5rem; }
.btn--sm { min-height: 36px; padding: .375rem .75rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 48px; padding: .75rem 1.5rem; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }
.btn--pill { border-radius: var(--radius-pill); }
.btn--icon { padding: 0; width: 44px; min-width: 44px; }
.btn--icon.btn--sm { width: 36px; min-width: 36px; }
.btn--round { border-radius: 50%; }
.btn.is-loading { color: transparent !important; position: relative; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--btn-fg); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 5. Forms ----------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field + .field { margin-top: var(--sp-5); }
.form-grid { display: grid; gap: var(--sp-5) var(--sp-4); grid-template-columns: minmax(0, 1fr); }
.form-grid > .field + .field { margin-top: 0; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .form-grid .span-all { grid-column: 1 / -1; } }
.label { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); display: flex; align-items: baseline; gap: var(--sp-1); }
.label__req { color: var(--ink-3); }
.label__opt { color: var(--ink-3); font-weight: 400; font-size: var(--fs-xs); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .6875rem .875rem; background: #fff; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 1rem; /* 16px: no iOS zoom */
  transition: border-color var(--t-fast), box-shadow var(--t-fast); appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); opacity: .8; }
.input:hover, .select:hover, .textarea:hover { border-color: #B0B0B0; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.input[disabled], .select[disabled], .textarea[disabled], .input[readonly] { background: var(--bg-subtle); color: var(--ink-3); }
.textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.select { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 18px; }
.input--sm, .select--sm { min-height: 40px; padding-block: .4375rem; font-size: var(--fs-sm); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); margin: 0; }
.field__error { font-size: var(--fs-xs); color: var(--danger); font-weight: 500; margin: 0; display: flex; gap: var(--sp-1); align-items: flex-start; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .input.is-invalid { border-color: var(--danger); }
.field.has-error .input:focus, .input.is-invalid:focus { box-shadow: 0 0 0 1px var(--danger); }
.input-group { position: relative; display: flex; align-items: stretch; }
.input-group > .input { flex: 1; min-width: 0; }
.input-group__icon { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.input-group--icon > .input { padding-left: 2.625rem; }
.input-group__addon { display: flex; align-items: center; padding: 0 .875rem; background: var(--bg-subtle); border: 1px solid var(--line-strong); color: var(--ink-3); font-size: var(--fs-sm); white-space: nowrap; }
.input-group__addon:first-child { border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group__addon:last-child { border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-group > .input:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > .input:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .input--with-btn { border-radius: var(--radius-sm); }   /* the password toggle sits inside the input */
.input-group__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.input--with-btn { padding-right: 3.25rem; }
/* checkbox / radio: 20px, black when checked */
.check { display: flex; align-items: flex-start; gap: var(--sp-3); cursor: pointer; font-size: var(--fs-sm); line-height: 1.45; min-height: 24px; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid #B0B0B0; border-radius: 4px; background: #fff; display: grid; place-content: center; transition: background var(--t-fast), border-color var(--t-fast); cursor: pointer; }
.check input[type="radio"] { border-radius: 50%; }
.check input::after { content: ""; width: 11px; height: 11px; transform: scale(0); transition: transform var(--t-fast) var(--ease-out); background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.check input[type="radio"]::after { clip-path: circle(50%); width: 8px; height: 8px; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: scale(1); }
.check input:hover { border-color: var(--ink); }
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.check input:disabled { opacity: .4; }
.check__text { padding-top: 1px; color: var(--ink); }
.has-error .check input { border-color: var(--danger); }
.check-list { display: grid; gap: var(--sp-3); }
@media (min-width: 640px) { .check-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .check-list--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* switch */
.switch { display: inline-flex; align-items: center; gap: var(--sp-3); cursor: pointer; font-size: var(--fs-sm); }
.switch input { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: var(--radius-pill); background: var(--line-strong); position: relative; margin: 0; cursor: pointer; transition: background var(--t-base); flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform var(--t-base) var(--ease-out); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* selectable rows (radio as row, e.g. payment method) */
.choice { position: relative; display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.choice:hover { border-color: var(--ink); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #B0B0B0; display: grid; place-content: center; margin-top: 1px; }
.choice__mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform var(--t-fast) var(--ease-out); }
.choice__body { flex: 1; min-width: 0; }
.choice__title { font-weight: 500; display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.choice__text { font-size: var(--fs-sm); color: var(--ink-3); margin: var(--sp-1) 0 0; }
.choice input:checked ~ .choice__mark { border-color: var(--ink); background: var(--ink); }
.choice input:checked ~ .choice__mark::after { transform: scale(1); }
.choice:has(input:checked), .choice.is-checked { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice-list { display: grid; gap: var(--sp-3); }
/* quantity stepper */
.qty { display: inline-flex; align-items: center; gap: var(--sp-3); }
.qty__btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #B0B0B0; background: #fff; display: grid; place-content: center; color: var(--ink-2); transition: border-color var(--t-fast), color var(--t-fast); }
.qty__btn:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.qty__btn:disabled { opacity: .3; cursor: not-allowed; }
.qty__value { min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 0; }
.qty-row + .qty-row { border-top: 1px solid var(--line); }
.qty-row__label { font-weight: 500; line-height: 1.3; }
.qty-row__hint { display: block; font-size: var(--fs-sm); color: var(--ink-3); font-weight: 400; }
fieldset.fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-6); min-width: 0; }
.fieldset__legend { font-size: var(--fs-lg); font-weight: 600; margin-bottom: var(--sp-4); padding: 0; }
/* combobox (enhanced select) */
.combo { position: relative; }
.combo__input { padding-right: 2.5rem; }
.combo__list { position: absolute; z-index: var(--z-dropdown); left: 0; right: 0; top: calc(100% + 8px); min-width: 240px; max-height: 320px; overflow: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: var(--sp-2); margin: 0; list-style: none; overscroll-behavior: contain; }
.combo__option { padding: .625rem .75rem; border-radius: var(--radius-sm); cursor: pointer; display: flex; justify-content: space-between; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--ink); }
.combo__option:hover, .combo__option.is-active { background: var(--bg-subtle); }
.combo__option[aria-selected="true"] { font-weight: 600; }
.combo__option mark { background: none; color: inherit; font-weight: 600; }
.combo__empty { padding: .75rem; font-size: var(--fs-sm); color: var(--ink-3); }
/* "Nereye" suggestions (D4): header line, pin rows "Fethiye, Muğla" with the count on the right */
.combo__list--places { padding: var(--sp-2); max-height: 420px; }
.combo__head { padding: .5rem .75rem .25rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); list-style: none; }
.combo__place { align-items: center; justify-content: flex-start; gap: var(--sp-3); min-height: 44px; padding-block: .375rem; }
.combo__place > .icon { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: var(--radius-sm); background: var(--bg-subtle); color: var(--ink); }
.combo__place-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo__count { flex: none; font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 6. Cards, badges, chips, alerts, toasts --------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.card--flat { border-color: var(--line); }
.card--raised { box-shadow: var(--shadow-card); }
.card--hover { transition: border-color var(--t-base); }
.card--hover:hover { border-color: var(--line-strong); }
.card__header { padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.card__title { font-size: var(--fs-lg); margin: 0; }
.card__body { padding: var(--sp-5); }
.card__footer { padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .card__body { padding: var(--sp-6); } .card__header, .card__footer { padding-inline: var(--sp-6); } }
.badge { display: inline-flex; align-items: center; gap: .3em; padding: .125rem .5rem; border-radius: var(--radius-xs); font-size: var(--fs-2xs); font-weight: 500; line-height: 1.5; white-space: nowrap; background: var(--bg-subtle); color: var(--ink); }
.badge .icon { width: 1em; height: 1em; vertical-align: 0; }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--info { background: var(--info-soft); color: var(--info); }
.badge--neutral { background: var(--bg-subtle); color: var(--ink-2); }
.badge--primary, .badge--accent { background: var(--bg-subtle); color: var(--ink); }
.badge--glass { background: #fff; color: var(--ink); }
.badge--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--lg { font-size: var(--fs-sm); padding: .25rem .625rem; }
.chip { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 36px; padding: .375rem .875rem; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line-strong); color: var(--ink); font-size: var(--fs-sm); font-weight: 400; text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.chip:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.chip.is-active, .chip[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--bg-subtle); }
.chip__remove { display: inline-grid; place-content: center; width: 18px; height: 18px; margin-right: -.25rem; color: var(--ink-3); }
.chip .icon { width: 16px; height: 16px; }
/* rails: horizontal scroll with fade edges + arrows on desktop */
.chip-rail { position: relative; isolation: isolate; }   /* keeps the arrows (z 2) and the fade mask inside the rail */
.chip-rail__track { scroll-padding-inline: var(--gutter); display: flex; gap: var(--sp-2); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px var(--gutter); margin-inline: calc(var(--gutter) * -1); -webkit-overflow-scrolling: touch; }
.chip-rail__track::-webkit-scrollbar { display: none; }
.chip-rail__track > * { scroll-snap-align: start; flex: none; }
.chip-rail--icons .chip-rail__track { gap: var(--sp-8); }
.chip-rail--icons .chip { flex-direction: column; gap: 8px; min-height: 0; padding: 8px 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink-2); font-size: var(--fs-xs); font-weight: 500; position: relative; }
.chip-rail--icons .chip .icon { width: 32px; height: 32px; padding: 4px; stroke-width: 1.5; }   /* 24px glyph in a consistent 32px box */
.chip-rail--icons .chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; transition: background var(--t-fast); }
.chip-rail--icons .chip:hover { color: var(--ink); }
.chip-rail--icons .chip:hover::after { background: var(--ink); }
.chip-rail--icons .chip.is-active { color: var(--ink); }
.chip-rail--icons .chip.is-active::after { background: var(--ink); }
.chip-rail__nav { display: none; }
@media (min-width: 1024px) {
  .chip-rail__track { margin-inline: 0; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 72px), transparent); }
  .chip-rail.is-at-start .chip-rail__track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
  .chip-rail.is-at-end .chip-rail__track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px); mask-image: linear-gradient(90deg, transparent 0, #000 56px); }
  .chip-rail.is-at-start.is-at-end .chip-rail__track { -webkit-mask-image: none; mask-image: none; }
  .chip-rail__nav { display: grid; place-content: center; position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); z-index: 2; color: var(--ink); transition: box-shadow var(--t-fast), opacity var(--t-fast); }
  .chip-rail__nav:hover { box-shadow: var(--shadow-card); }
  .chip-rail__nav--prev { left: -4px; } .chip-rail__nav--next { right: -4px; }
  .chip-rail__nav[disabled] { opacity: 0; pointer-events: none; }
}
.alert { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; }
.alert > .icon { margin-top: 1px; flex: none; }
.alert__body { flex: 1; min-width: 0; color: var(--ink); }
.alert__title { font-weight: 600; margin: 0 0 2px; color: var(--ink); }
.alert__body p:last-child, .alert__body ul:last-child { margin-bottom: 0; }
.alert__close { background: none; border: 0; padding: 4px; margin: -4px -4px 0 0; color: var(--ink-3); border-radius: var(--radius-xs); }
.alert__close:hover { color: var(--ink); }
.alert--info { border-color: var(--info-border); }
.alert--info > .icon { color: var(--info); }
.alert--success > .icon { color: var(--success); }
.alert--warning { background: var(--warning-soft); border-color: transparent; } .alert--warning > .icon { color: var(--warning); }
.alert--danger, .alert--error { background: var(--danger-soft); border-color: transparent; } .alert--danger > .icon, .alert--error > .icon { color: var(--danger); }
.alert--neutral { background: none; border-color: transparent; padding: 0; color: var(--ink-3); } .alert--neutral .alert__body { color: var(--ink-3); }
.flash-stack { display: grid; gap: var(--sp-3); margin-block: var(--sp-4); }
/* toasts: small dark pills, bottom-centre */
.toast-region { position: fixed; z-index: var(--z-toast); left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom)); width: min(calc(100% - 32px), 440px); display: grid; gap: var(--sp-2); pointer-events: none; justify-items: center; }
.has-booking-bar .toast-region { bottom: calc(var(--bar-h) + 16px); }
@media (min-width: 1024px) { .has-booking-bar .toast-region { bottom: 24px; } }
.toast { pointer-events: auto; display: flex; gap: var(--sp-3); align-items: center; padding: .75rem .875rem .75rem 1.125rem; border-radius: var(--radius); background: #111; color: #fff; box-shadow: var(--shadow-pop); font-size: var(--fs-sm); line-height: 1.45; max-width: 100%; animation: toast-in var(--t-slow) var(--ease-out); }
.toast.is-leaving { animation: toast-out var(--t-base) var(--ease) forwards; }
.toast__icon { flex: none; display: grid; }
.toast__icon .icon { width: 18px; height: 18px; }
.toast--success .toast__icon { color: #9ED7C2; } .toast--error .toast__icon { color: #FFB3A1; } .toast--warning .toast__icon { color: #F5CE8A; } .toast--info .toast__icon { color: #B5CCF2; }
.toast__msg { flex: 1; min-width: 0; }
.toast__close { background: none; border: 0; color: #fff; opacity: .6; padding: 4px; margin: -2px -4px -2px 0; display: grid; }
.toast__close:hover { opacity: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* 7. Overlays: modal / sheet / drawer, dropdown --------------------------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: flex-end; justify-content: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: fade-in var(--t-slow) var(--ease); }
.modal__dialog { position: relative; width: 100%; max-height: calc(100dvh - 24px); max-height: calc(100vh - 24px); display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-pop); animation: sheet-up var(--t-slow) var(--ease-out); padding-bottom: env(safe-area-inset-bottom); }
.modal__header { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line); min-height: 64px; }
.modal__title { font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.modal__close { flex: none; width: 36px; height: 36px; display: grid; place-content: center; border-radius: 50%; border: 0; background: none; color: var(--ink); margin-right: -8px; }
.modal__close:hover { background: var(--bg-subtle); }
.modal__body { padding: var(--sp-5); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; flex: 1; }
.modal__footer { display: flex; gap: var(--sp-3); justify-content: space-between; align-items: center; padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--line); flex-wrap: wrap; }
.modal__footer .btn--ghost { text-decoration: underline; text-underline-offset: 3px; padding-inline: .5rem; }
.modal.is-closing .modal__backdrop { animation: fade-out var(--t-base) var(--ease) forwards; }
.modal.is-closing .modal__dialog { animation: sheet-down var(--t-base) var(--ease) forwards; }
.modal--full .modal__dialog { height: 100%; max-height: none; border-radius: 0; }
.modal--drawer { justify-content: flex-end; align-items: stretch; }
.modal--drawer .modal__dialog { width: min(88vw, 380px); height: 100%; max-height: none; border-radius: 0; animation: drawer-in var(--t-slow) var(--ease-out); }
.modal--drawer.is-closing .modal__dialog { animation: drawer-out var(--t-base) var(--ease) forwards; }
@media (min-width: 768px) {
  .modal:not(.modal--drawer) { align-items: center; padding: var(--sp-6); }
  .modal:not(.modal--drawer) .modal__dialog { width: min(568px, 100%); max-height: min(86vh, 900px); border-radius: var(--radius-lg); animation: pop-in var(--t-slow) var(--ease-out); padding-bottom: 0; }
  .modal.is-closing:not(.modal--drawer) .modal__dialog { animation: pop-out var(--t-fast) var(--ease) forwards; }
  .modal__header { padding-inline: var(--sp-6); }
  .modal__body { padding: var(--sp-6); }
  .modal__footer { padding: var(--sp-4) var(--sp-6); }
  .modal--sm .modal__dialog { width: min(420px, 100%) !important; }
  .modal--lg .modal__dialog { width: min(780px, 100%) !important; }
  .modal--xl .modal__dialog { width: min(1120px, 100%) !important; }
  .modal--full .modal__dialog { height: auto; }
}
@keyframes fade-in { from { opacity: 0; } } @keyframes fade-out { to { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } } @keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes drawer-in { from { transform: translateX(100%); } } @keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px); } } @keyframes pop-out { to { opacity: 0; } }
/* dropdown / popover */
.dropdown { position: relative; display: inline-block; }
.dropdown__menu { position: absolute; z-index: var(--z-dropdown); top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: var(--sp-2) 0; display: none; animation: pop-in var(--t-fast) var(--ease-out); }
.dropdown__menu--end { left: auto; right: 0; }
.dropdown__menu--wide { min-width: 320px; padding: var(--sp-4); }
.dropdown.is-open > .dropdown__menu { display: block; }
.dropdown__item { display: flex; align-items: center; gap: var(--sp-3); width: 100%; padding: .625rem 1rem; border: 0; background: none; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 400; text-align: left; min-height: 42px; }
.dropdown__item:hover, .dropdown__item:focus-visible { background: var(--bg-subtle); color: var(--ink); outline: none; text-decoration: none; }
.dropdown__item .icon { color: var(--ink-2); }
.dropdown__item--strong { font-weight: 600; }
.dropdown__item--danger, .dropdown__item--danger .icon { color: var(--danger); }
.dropdown__sep { height: 1px; background: var(--line); margin: var(--sp-2) 0; }
.dropdown__header { padding: var(--sp-2) 1rem var(--sp-3); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-2); font-size: var(--fs-sm); }
.dropdown__backdrop { display: none; }
@media (max-width: 639px) {
  .dropdown.is-open > .dropdown__backdrop { display: block; position: fixed; inset: 0; z-index: var(--z-sheet); background: rgba(0, 0, 0, .45); animation: fade-in var(--t-base); }
  .dropdown__menu, .dropdown__menu--wide { position: fixed; z-index: calc(var(--z-sheet) + 1); left: 0; right: 0; top: auto; bottom: 0; min-width: 0; max-height: 85vh; overflow: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--sp-3) 0 calc(var(--sp-4) + env(safe-area-inset-bottom)); animation: sheet-up var(--t-slow) var(--ease-out); }
  .dropdown__menu::before { content: ""; display: block; width: 36px; height: 4px; margin: 0 auto var(--sp-3); border-radius: 4px; background: var(--line-strong); }
  .dropdown__item { min-height: 48px; font-size: var(--fs-base); padding-inline: var(--sp-5); }
  .dropdown__header { padding-inline: var(--sp-5); }
}

/* 8. Tabs, breadcrumbs, pagination, steps, tables ------------------------- */
.tabs__list, .tabnav { display: flex; gap: var(--sp-6); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: var(--sp-6); }
.tabs__list::-webkit-scrollbar, .tabnav::-webkit-scrollbar { display: none; }
.tabs__tab, .tabnav__link { flex: none; position: relative; display: inline-flex; align-items: center; gap: var(--sp-2); padding: .75rem 0; min-height: 44px; border: 0; background: none; color: var(--ink-3); font-weight: 500; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; }
.tabs__tab:hover, .tabnav__link:hover { color: var(--ink); text-decoration: none; }
.tabs__tab[aria-selected="true"], .tabnav__link[aria-current="page"], .tabnav__link.is-active { color: var(--ink); }
.tabs__tab[aria-selected="true"]::after, .tabnav__link[aria-current="page"]::after, .tabnav__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.tabs__panel:focus-visible { outline-offset: 4px; }
.tabs--pills .tabs__list { border: 0; background: var(--bg-subtle); padding: 4px; border-radius: var(--radius-pill); display: inline-flex; max-width: 100%; gap: 0; }
.tabs--pills .tabs__tab { border-radius: var(--radius-pill); min-height: 36px; padding: .375rem 1rem; }
.tabs--pills .tabs__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.tabs--pills .tabs__tab[aria-selected="true"]::after { display: none; }
.tab-count { display: inline-grid; place-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--bg-subtle); color: var(--ink-2); font-size: var(--fs-2xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.btn--primary .tab-count { background: rgba(255, 255, 255, .2); color: inherit; }
.tabnav__count { color: inherit; font-weight: inherit; margin-left: -4px; font-variant-numeric: tabular-nums; }   /* "Yaklaşan (2)" — part of the label */
/* inline note: a quiet sentence (+ optional title and text action) — replaces tinted info boxes on public pages */
.note { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; margin: 0 0 var(--sp-6); padding: var(--sp-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note p { margin: 0; } .note p + p, .note p + form, .note form { margin-top: var(--sp-2); }
.note__title { font-weight: 600; color: var(--ink); }
.note--plain { border: 0; padding: 0; }
.breadcrumbs { font-size: var(--fs-xs); color: var(--ink-3); margin-block: var(--sp-4); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.breadcrumbs ol::-webkit-scrollbar { display: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-2); }
.pagination { display: flex; justify-content: center; margin-top: var(--sp-12); }
.pagination__list { display: flex; align-items: center; gap: var(--sp-1); flex-wrap: wrap; justify-content: center; }
.pagination__link { display: inline-grid; place-content: center; min-width: 40px; height: 40px; padding: 0 .5rem; border-radius: 50%; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.pagination__link:hover { background: var(--bg-subtle); color: var(--ink); text-decoration: none; }
.pagination__link[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }
.pagination__link.is-disabled { opacity: .3; pointer-events: none; }
.pagination__gap { min-width: 24px; text-align: center; color: var(--ink-3); }
.pagination__summary { text-align: center; font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--sp-3); }
@media (max-width: 479px) { .pagination__item--far { display: none; } }
/* stepper: slim text steps with a thin progress line */
.steps { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-8); font-size: var(--fs-sm); }
.steps__item { flex: 1; display: flex; flex-direction: column; gap: var(--sp-2); color: var(--ink-3); min-width: 0; }
.steps__item::before { content: ""; height: 2px; background: var(--line); }
.steps__item.is-done::before, .steps__item.is-current::before { background: var(--ink); }
.steps__label { display: flex; align-items: baseline; gap: 6px; }
.steps__num { counter-increment: step; font-variant-numeric: tabular-nums; }
.steps { counter-reset: step; }
.steps__num::before { content: counter(step) "."; }
.steps__item.is-done { color: var(--ink-2); }
.steps__item.is-current { color: var(--ink); font-weight: 600; }
/* tables */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { font-size: var(--fs-sm); }
.table th { text-align: left; font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); background: #fff; white-space: nowrap; }
.table th, .table td { padding: .875rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FCFCFC; }
.table .num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table__actions { text-align: right; white-space: nowrap; }
.table__actions .btn + .btn { margin-left: var(--sp-1); }
.table a.table__primary { font-weight: 500; color: var(--ink); text-decoration: none; }
.table a.table__primary:hover { text-decoration: underline; }
.table__sub { display: block; font-size: var(--fs-xs); color: var(--ink-3); }
.table--compact th, .table--compact td { padding: .5rem .75rem; }
@media (max-width: 767px) {
  .table-wrap--stack { border: 0; background: none; overflow: visible; border-radius: 0; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
  .table--stack tr { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-2) var(--sp-4); margin-bottom: var(--sp-3); }
  .table--stack td { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: .5rem 0; border-bottom: 1px solid var(--line); text-align: right; }
  .table--stack td:last-child { border-bottom: 0; }
  .table--stack td::before { content: attr(data-label); flex: none; max-width: 45%; text-align: left; font-size: var(--fs-xs); color: var(--ink-3); }
  .table--stack td[data-label=""]::before, .table--stack td:not([data-label])::before { display: none; }
  .table--stack td.table__title { display: block; text-align: left; font-size: var(--fs-base); font-weight: 500; padding-block: .625rem; }
  .table--stack td.table__title::before { display: none; }
  .table--stack td.table__actions { justify-content: flex-end; padding-top: .75rem; }
  .table--stack td.table__check { position: absolute; top: .875rem; right: var(--sp-4); width: auto; padding: 0; border: 0; }
  .table--stack td.table__check::before { display: none; }
  .table--stack td.table__check ~ td.table__title { padding-right: 2.5rem; }
  .table--stack tbody tr:hover td { background: none; }
}
.kv { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: var(--sp-3) var(--sp-4); font-size: var(--fs-sm); margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 500; color: var(--ink); text-align: right; }
.kv--left dd { text-align: left; }

/* 9. Empty, skeleton, stats ---------------------------------------------- */
.empty { text-align: center; padding: var(--sp-12) var(--sp-4); max-width: 520px; margin-inline: auto; }
.empty__title { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.empty__text { color: var(--ink-3); margin-bottom: var(--sp-6); }
.empty--card { max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty .cluster { justify-content: center; }
.skeleton { display: block; background: linear-gradient(90deg, #F3F3F3 0%, #EAEAEA 40%, #F3F3F3 80%); background-size: 300% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-xs); }
.skeleton--text { height: .9em; margin-block: .4em; }
.skeleton--title { height: 1.1em; width: 70%; }
.skeleton--media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.skeleton--circle { border-radius: 50%; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.stats { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; position: relative; text-decoration: none; color: inherit; }
a.stat:hover { border-color: var(--line-strong); color: inherit; text-decoration: none; }
.stat__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.stat__label { font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); line-height: 1.3; }
.stat__icon { width: 32px; height: 32px; display: grid; place-content: center; color: var(--ink-3); flex: none; }
.stat__value { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat__meta { font-size: var(--fs-xs); color: var(--ink-3); display: flex; align-items: center; gap: var(--sp-1); flex-wrap: wrap; }
.stat__delta--up { color: var(--success); font-weight: 600; } .stat__delta--down { color: var(--danger); font-weight: 600; }
@media (min-width: 768px) { .stat { padding: var(--sp-5); } }

/* 10. Site header (D4: main nav + panels, account menu, drawer) ------------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: #fff; border-bottom: 1px solid transparent; transition: border-color var(--t-base); }
.site-header.is-scrolled, .site-header--search { border-bottom-color: var(--line); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: var(--sp-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1875rem; letter-spacing: -.025em; flex: none; line-height: 1; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__img { max-height: 36px; width: auto; }
.site-header__search { flex: 1; min-width: 0; display: flex; justify-content: center; }
.site-header__search .search { width: 100%; max-width: 660px; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-1); flex: none; }
.site-header__link { display: none; align-items: center; min-height: 40px; padding: 0 .875rem; border-radius: var(--radius-pill); color: var(--ink); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-header__link:hover { background: var(--bg-subtle); color: var(--ink); text-decoration: none; }
.site-header__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-header__icon { display: none; place-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.site-header__icon:hover { background: var(--bg-subtle); color: var(--ink); }
.site-header__icon .icon { width: 20px; height: 20px; }
.site-header__icon[aria-current="page"] .icon { fill: currentColor; }
.account-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 5px 0 13px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); transition: box-shadow var(--t-fast); margin-left: var(--sp-2); }
.account-btn:hover, .dropdown.is-open > .account-btn { box-shadow: var(--shadow-card); }
.account-btn > .icon { width: 18px; height: 18px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-content: center; font-weight: 500; font-size: var(--fs-sm); flex: none; text-transform: uppercase; }
.avatar--sm { width: 30px; height: 30px; font-size: var(--fs-xs); }
.avatar--lg { width: 56px; height: 56px; font-size: var(--fs-lg); }
.avatar--guest { background: var(--ink-3); color: #fff; }
.avatar--guest .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.avatar--accent { background: var(--ink); } .avatar--sand { background: var(--bg-subtle); color: var(--ink); }
/* account menu: 272px, 44px rows with a 20px line icon, user block on top, right-aligned under the pill */
.account-menu { min-width: 272px; padding: var(--sp-2) 0; }
.account-menu .dropdown__header strong { display: block; font-weight: 600; }
.account-menu .dropdown__item { min-height: 44px; gap: var(--sp-3); }
.account-menu .dropdown__item .icon { width: 20px; height: 20px; color: var(--ink-2); }
.account-menu form { margin: 0; }
.account-menu__user { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 1rem var(--sp-3); margin-bottom: var(--sp-2); border-bottom: 1px solid var(--line); }
.account-menu__user .avatar { width: 40px; height: 40px; }
.account-menu__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; font-size: var(--fs-sm); }
.account-menu__who strong { font-weight: 600; color: var(--ink); }
.account-menu__who span { color: var(--ink-3); font-size: var(--fs-xs); }
@media (min-width: 640px) { .site-account .dropdown__menu { top: calc(100% + 10px); border: 1px solid var(--line); border-radius: var(--radius-lg); } }
/* main nav (>= 1100; with the compact search >= 1360) */
.site-nav { display: none; align-items: center; gap: 2px; margin-left: var(--sp-5); }
.site-nav__item { position: static; }
.site-nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 .75rem; border: 0; border-radius: var(--radius-pill); background: none;
  color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.site-nav__link:hover, .site-nav__item.is-open > .site-nav__link { background: var(--bg-subtle); color: var(--ink); text-decoration: none; }
.site-nav__link[aria-current="page"], .site-nav__link.is-current { color: var(--ink); font-weight: 600; }
.site-nav__link[aria-current="page"]::after, .site-nav__link.is-current::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 4px; height: 2px; border-radius: 2px; background: var(--ink); }
.site-nav__toggle.is-current::after { right: 1.9rem; }
.site-nav__chev { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.site-nav__item.is-open .site-nav__chev { transform: rotate(180deg); }
.account-btn--drawer { display: inline-flex; }
@media (min-width: 1100px) {
  .site-nav, .site-header__link { display: inline-flex; }
  .site-header__icon { display: inline-grid; }
  .account-btn--drawer { display: none; }
}
@media (max-width: 1099px) { .site-account { display: none; } }
/* nav panels: one calm mega panel under the header (white, hairline, radius 16, --shadow-pop) */
.nav-panel { position: absolute; z-index: var(--z-popover); top: calc(100% - 6px); left: 50%; transform: translateX(-50%); width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
  padding: var(--sp-6); display: grid; gap: var(--sp-6) var(--sp-8); animation: nav-in var(--t-base) var(--ease-out); }
.nav-panel[hidden] { display: none; }
.nav-panel--regions { grid-template-columns: minmax(0, 1fr) 320px; }
.nav-panel--categories { width: min(640px, calc(100vw - 48px)); }
@keyframes nav-in { from { opacity: 0; transform: translate(-50%, 6px); } }
.nav-panel__title { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); margin: 0 0 var(--sp-2); padding-inline: .625rem; }
.nav-panel__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); align-content: start; }
.nav-panel__cols--wide { gap: var(--sp-6); }
.nav-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); align-content: start; }
.nav-tile { display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.nav-tile:hover { color: var(--ink); text-decoration: none; }
.nav-tile__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-subtle); margin-bottom: var(--sp-2); }
.nav-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.nav-tile:hover .nav-tile__media img { transform: scale(1.04); }
.nav-tile__name { font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.nav-tile__meta { font-size: var(--fs-xs); color: var(--ink-3); }
.nav-list { display: grid; gap: 2px; }
.nav-list__link { display: flex; align-items: center; gap: var(--sp-3); min-height: 38px; padding: .375rem .625rem; border-radius: var(--radius-sm); color: var(--ink); font-size: var(--fs-sm); text-decoration: none; }
.nav-list__link:hover, .nav-list__link:focus-visible { background: var(--bg-subtle); color: var(--ink); text-decoration: none; }
.nav-list__link > span:first-of-type { flex: 1; min-width: 0; }
.nav-list__link .icon { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
.nav-list__count { font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; margin-left: auto; }
.nav-list__link--all { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* header with the compact search (search + property pages) */
.site-header--search .site-header__inner { gap: var(--sp-3); }
.site-header--search .site-header__link { display: none; }   /* the two text links live in the menus here */
.site-header--search .site-nav { margin-left: var(--sp-2); }
@media (max-width: 1359px) {
  .site-header--search .site-nav { display: none; }
  .site-header--search .site-account { display: none; }
  .site-header--search .account-btn--drawer { display: inline-flex; }   /* the nav folds into the drawer */
}
@media (max-width: 899px) {
  .site-header--search:not(.site-header--search-desktop) .brand__text { display: none; }
  .site-header--search-desktop .site-header__search { display: none; }
}
@media (min-width: 900px) { .site-header--search .site-header__search { padding-inline: var(--sp-4); } }
/* drawer menu (#site-menu, partials/site-menu) */
.site-menu .modal__dialog { width: min(92vw, 400px); }
@media (max-width: 479px) { .site-menu .modal__dialog { width: 100%; } }
.site-menu__body { padding: 0 0 var(--sp-6); }
.site-menu__auth { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); padding: var(--sp-5); }
.site-menu__auth .btn { padding-inline: .5rem; }
.site-menu__user { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-5) var(--sp-5) var(--sp-4); }
.site-menu__group { padding: var(--sp-3) 0; border-top: 1px solid var(--line); margin: 0; }
.site-menu__user + .site-menu__group { border-top: 0; padding-top: 0; }
.site-menu__title { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); margin: var(--sp-2) var(--sp-5) var(--sp-1); }
.menu-row { display: flex; align-items: center; gap: var(--sp-4); width: 100%; min-height: 52px; padding: 0 var(--sp-5); border: 0; background: none; color: var(--ink);
  font: inherit; font-size: var(--fs-base); text-align: left; text-decoration: none; cursor: pointer; list-style: none; }
.menu-row:hover, .menu-row:focus-visible { background: var(--bg-subtle); color: var(--ink); text-decoration: none; }
.menu-row > .icon { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
.menu-row > span { flex: 1; min-width: 0; }
summary.menu-row::-webkit-details-marker { display: none; }
.menu-acc__chev { width: 18px; height: 18px; color: var(--ink-3); transition: transform var(--t-fast) var(--ease); }
.menu-acc[open] .menu-acc__chev { transform: rotate(180deg); }
.site-menu .menu-acc__list { list-style: none; margin: 0 0 var(--sp-2); padding: 0 var(--sp-5) 0 calc(var(--sp-5) + 36px); }
.menu-acc__list a { display: flex; align-items: center; gap: var(--sp-3); min-height: 44px; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); border-bottom: 1px solid var(--line); }
.menu-acc__list li:last-child a { border-bottom: 0; }
.menu-acc__list a > span:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.menu-acc__list small { color: var(--ink-3); font-size: var(--fs-xs); }
.site-menu .site-menu__legal { list-style: none; margin: var(--sp-4) var(--sp-5) 0; padding: var(--sp-4) 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-size: var(--fs-xs); }
.site-menu__legal a { color: var(--ink-3); }

/* 11. Footer ------------------------------------------------------------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--ink-2); margin-top: var(--sp-16); font-size: var(--fs-sm); }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__top { display: grid; gap: var(--sp-8) var(--sp-6); padding-block: var(--sp-12) var(--sp-10); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: var(--sp-16); } }
.site-footer__title { color: var(--ink); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-4); letter-spacing: 0; }
.site-footer__list li + li { margin-top: var(--sp-3); }
.site-footer__about { color: var(--ink-3); margin: 0 0 var(--sp-4); max-width: 34ch; }
.site-footer__contact li { display: flex; gap: var(--sp-2); align-items: flex-start; }
.site-footer__contact .icon { display: none; }
/* hairlines drawn inside the container gutters so they line up with the columns (no orphan edges) */
.site-footer__docs, .site-footer__bottom { background: linear-gradient(var(--line), var(--line)) no-repeat var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px; }
.site-footer__docs { padding-block: var(--sp-5); }
.site-footer__doclist { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-xs); }
.site-footer__doclist a { color: var(--ink-3); }
.site-footer__bottom { border-top: 0; padding-block: var(--sp-6) calc(var(--sp-6) + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: var(--sp-4); font-size: var(--fs-xs); color: var(--ink-3); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); }
.site-footer__legal .brand { font-size: var(--fs-sm); gap: 8px; }
.site-footer__legal .brand__mark { width: 22px; height: 22px; }
@media (min-width: 900px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.social { display: flex; gap: var(--sp-1); }
.social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-content: center; color: var(--ink-3); }
.social a:hover { color: var(--ink); background: var(--bg-subtle); }
.social .icon { width: 18px; height: 18px; }
.page-home .site-footer { margin-top: 0; }
.has-booking-bar .site-footer { padding-bottom: var(--bar-h); }
@media (min-width: 1024px) { .has-booking-bar .site-footer { padding-bottom: 0; } }

/* 12. Hero, search form ---------------------------------------------------- */
.hero { position: relative; color: #fff; background: #2B2B2B; margin-bottom: var(--sp-8); }   /* no stacking context: the mobile search sheet / date sheet inside must cover the sticky header */
.hero__media { position: absolute; inset: 0; overflow: hidden; background: #2B2B2B; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, .34) 40%, rgba(0, 0, 0, .24) 68%, rgba(0, 0, 0, .46) 100%); }
.hero__inner { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding-block: var(--sp-12) var(--sp-6); gap: var(--sp-3); }
.hero__title { color: #fff; font-size: var(--fs-4xl); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; max-width: 18ch; margin: 0; text-wrap: balance; text-shadow: 0 2px 28px rgba(0, 0, 0, .28); }
.hero__subtitle { font-size: .9375rem; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); max-width: 48ch; margin: 0 0 var(--sp-4); text-wrap: balance; }
.hero .search { width: 100%; max-width: 920px; text-align: left; }
@media (min-width: 900px) {
  .hero { margin-bottom: 96px; }   /* half the pill + room so an open popover never visually collides with the rail */
  .hero__inner { min-height: min(72vh, 620px); padding-block: var(--sp-16) 0; justify-content: center; }
  .hero__title { margin-top: var(--sp-8); }
  .hero__subtitle { font-size: var(--fs-lg); margin-bottom: 0; }
  /* the transform makes the pill a stacking context: raise it above the content that follows (rail, cards) at rest,
     and above the sticky header while one of its popovers is open — otherwise its popovers paint under the category rail */
  .hero .search { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); width: calc(100% - var(--gutter) * 2); z-index: var(--z-raised); }
  .hero .search:has(.dropdown.is-open, .drp--popover, .combo__list:not([hidden])) { z-index: var(--z-popover); }
}
/* search form: one white pill with hairline-separated segments */
.search { position: relative; color: var(--ink); }
.search__pill { display: flex; align-items: center; gap: var(--sp-3); width: 100%; min-height: 56px; padding: .5rem 1.25rem .5rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); text-align: left; color: var(--ink); }
.search__pill > .icon { width: 20px; height: 20px; flex: none; }
.search__pill-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.search__pill-title { font-weight: 600; font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__pill-meta { font-size: var(--fs-xs); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header .search__pill { min-height: 48px; box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
.search__sheet { display: none; }
.search__sheet.is-open { display: flex; position: fixed; inset: 0; z-index: var(--z-sheet); background: #fff; flex-direction: column; animation: sheet-up var(--t-slow) var(--ease-out); }
.search__sheet-head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-3) var(--sp-5); border-bottom: 1px solid var(--line); min-height: 64px; }
.search__sheet-title { font-size: var(--fs-base); font-weight: 600; margin: 0; }
.search__form { flex: 1; overflow-y: auto; padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.search__field { color: var(--ink); position: relative; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .75rem 1rem; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search__field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.search__label { font-size: var(--fs-2xs); font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 6px; letter-spacing: 0; }
.search__label .icon { display: none; }
.search__control { border: 0; padding: 0; min-height: 26px; background-color: transparent; font-size: var(--fs-sm); color: var(--ink); width: 100%; box-shadow: none !important; border-radius: 0; text-overflow: ellipsis; }
.search__control::placeholder { color: var(--ink-3); opacity: 1; }
.search__control.select { background-position: right 0 center; padding-right: 1.5rem; background-image: none; }
.search__control:focus { outline: none; }
.search__control:disabled { background: none; color: var(--ink-3); }
.search__row { display: flex; flex-direction: column; gap: var(--sp-3); }
.search__actions { padding: var(--sp-3) var(--sp-5) calc(var(--sp-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; display: flex; gap: var(--sp-3); align-items: center; justify-content: space-between; margin: auto calc(var(--sp-5) * -1) calc(var(--sp-5) * -1); position: sticky; bottom: calc(var(--sp-5) * -1); z-index: 2; }
.search__clear { flex: none; text-decoration: underline; text-underline-offset: 3px; padding-inline: 0; }
.search__clear:hover { background: none; }
.search__submit { flex: none; min-width: 140px; }
.search .combo__input { border: 0; padding: 0; min-height: 26px; font-size: var(--fs-sm); box-shadow: none !important; background: transparent; }
.search .combo__input:disabled { background: transparent; }
.search .combo__list { left: -1rem; right: -1rem; top: calc(100% + 12px); }
@media (min-width: 900px) { .search .combo__list { right: auto; width: 360px; top: calc(100% + 18px); } }   /* app.js anchors it to the "Nereye" segment (12px under the pill) */
@media (min-width: 900px) {
  .search__pill { display: none; }
  .search__sheet, .search__sheet.is-open { display: block; position: static; background: none; animation: none; z-index: auto; }
  .search__sheet-head { display: none; }
  .search__form { overflow: visible; padding: 0; display: flex; flex-direction: row; align-items: center; gap: 0; background: #fff; border-radius: var(--radius-pill); box-shadow: var(--shadow-card); border: 1px solid var(--line); min-height: 66px; }
  .search__row { display: contents; }
  .search__field { flex: 1 1 0; border: 0; border-radius: var(--radius-pill); padding: .625rem 1.5rem; justify-content: center; align-self: stretch; transition: background var(--t-fast); }
  .search__field--where { flex-grow: 1.35; }
  .search__field.daterange { flex-grow: 1.9; }
  .search__field.guests { flex-grow: 1.15; padding-right: var(--sp-2); }
  .search__field--district:has(select:disabled) { display: none; }
  .search__field::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line); }
  .search__form > :first-child::before, .search__row > :first-child::before, .search__form > input[type="hidden"] + .search__row > :first-child::before { display: none; }
  .search__field:hover { background: var(--bg-subtle); }
  .search__field:hover::before, .search__field:hover + .search__field::before, .search__field:focus-within::before, .search__field:focus-within + .search__field::before { opacity: 0; }
  .search__field:focus-within { box-shadow: none; background: #fff; box-shadow: var(--shadow-card); border-color: transparent; }
  .search__actions { padding: 0 var(--sp-2) 0 0; border: 0; background: none; margin: 0; position: static; flex: none; }
  .search__clear { display: none; }
  .search__submit { min-width: 0; min-height: 50px; height: 50px; border-radius: var(--radius-pill); padding-inline: 1.25rem 1.5rem; font-size: var(--fs-base); }
  .search__submit .icon { width: 18px; height: 18px; stroke-width: 2; }
  .search .combo__input { font-size: var(--fs-sm); }
  .search__field .daterange__trigger { height: 100%; }
  /* compact (header) */
  .search--compact .search__form { min-height: 50px; box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
  .search--compact .search__field { padding: .3125rem 1rem; }
  .search--compact .search__field--district { display: none; }
  .search--compact .search__label { font-size: 11px; }
  .search--compact .search__control, .search--compact .combo__input, .search--compact .daterange__value, .search--compact .guests-trigger__value { min-height: 20px; font-size: var(--fs-xs); }
  .search--compact .search__actions { padding-right: 6px; }
  .search--compact .search__submit { width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 50%; }
  .search--compact .search__submit .icon { width: 16px; height: 16px; }
  .search--compact .search__submit-label { display: none; }
}
/* date range / guests triggers (inside search fields and the booking card) */
.daterange { position: relative; }
.daterange__trigger { display: flex; align-items: stretch; gap: 0; width: 100%; background: none; border: 0; padding: 0; text-align: left; color: inherit; }
.daterange__part { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.daterange__part + .daterange__part { padding-left: var(--sp-4); margin-left: var(--sp-4); border-left: 1px solid var(--line); }
.daterange__label { font-size: var(--fs-2xs); font-weight: 600; color: var(--ink); }
.daterange__label .icon { display: none; }
.daterange__value { font-size: var(--fs-sm); min-height: 26px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.daterange__value.is-placeholder { color: var(--ink-3); }
.daterange--boxed .daterange__trigger { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .625rem .875rem; background: #fff; }
.daterange--boxed .daterange__trigger:hover { border-color: var(--ink); }
.guests-trigger { display: flex; flex-direction: column; gap: 2px; width: 100%; background: none; border: 0; padding: 0; text-align: left; color: inherit; }
.guests-trigger__value { font-size: var(--fs-sm); min-height: 26px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guests { position: static; display: block; }
.guests .dropdown__menu { min-width: 320px; padding: var(--sp-2) var(--sp-6) var(--sp-5); }
.guests__foot { display: flex; justify-content: flex-end; padding-top: var(--sp-3); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .guests { position: relative; } .search .guests .dropdown__menu { top: calc(100% + 18px); } }
/* popovers of the search pill (≥ 900): opaque, radius 16, --shadow-pop; app.js anchors them 12px under the pill —
   guests right-aligned to the pill, date picker centred, region list under "Nereye" (App.anchorPopover) */
@media (min-width: 900px) {
  .search .guests .dropdown__menu, .search .combo__list, .search .drp--popover { border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); background: #fff; border: 1px solid var(--line); }
  .search .guests .dropdown__menu { min-width: 340px; }
  .search .is-anchored { animation: fade-in var(--t-fast) var(--ease); }
  .search .drp--popover.is-anchored { transform: none; }
}

/* 14. Property card -------------------------------------------------------- */
.pcard { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; color: var(--ink); }
.pcard__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-subtle); isolation: isolate; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__tag { position: absolute; top: 12px; left: 12px; z-index: 2; pointer-events: none; background: #fff; color: var(--ink); font-size: var(--fs-xs); font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.pcard__fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 32px; height: 32px; display: grid; place-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); transition: transform var(--t-fast) var(--ease); }
.pcard__fav::before { content: ""; position: absolute; inset: -6px; }   /* 44px touch target */
.pcard__fav:hover { transform: scale(1.06); }
.pcard__fav .icon { width: 16px; height: 16px; stroke-width: 2; }
.pcard__fav[aria-pressed="true"] { color: var(--danger); }
.pcard__fav[aria-pressed="true"] .icon, [data-favorite][aria-pressed="true"] .icon { fill: currentColor; }
.pcard__fav.is-pop .icon, [data-favorite].is-pop .icon { animation: heart-pop .3s var(--ease-out); }
@keyframes heart-pop { 50% { transform: scale(1.25); } }
.pcard__body { display: flex; flex-direction: column; min-width: 0; font-size: var(--fs-sm); line-height: 1.4; }
.pcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); }
.pcard__title { font-size: var(--fs-base); font-weight: 600; line-height: 1.35; margin: 0; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pcard__link { color: inherit; text-decoration: none; }
.pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.pcard__link:hover { color: inherit; text-decoration: none; }
.pcard__link:focus-visible { outline: none; }
.pcard__link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 4px; }
.pcard__rating { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); white-space: nowrap; flex: none; font-variant-numeric: tabular-nums; }
.pcard__rating .icon { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.pcard__meta, .pcard__loc, .pcard__facts { color: var(--ink-3); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__price { margin: var(--sp-2) 0 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.pcard__price-note { display: block; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 1px; }
.pcard__flag { display: block; font-size: var(--fs-xs); color: var(--warning); margin-top: 2px; white-space: normal; }
@media (min-width: 768px) {
  .pcard--row { flex-direction: row; gap: var(--sp-6); }
  .pcard--row .pcard__media { flex: 0 0 300px; }
  .pcard--row .pcard__body { padding-top: var(--sp-2); flex: 1; }
}
.pcard-skeleton { display: flex; flex-direction: column; gap: var(--sp-2); }
.pcard-skeleton .skeleton--media { margin-bottom: var(--sp-2); }
/* card rows: 4 columns desktop, peek-scroll on phones */
.carousel-row { scroll-padding-inline: var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 320px); gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) var(--sp-2); margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.carousel-row::-webkit-scrollbar { display: none; }
.carousel-row > * { scroll-snap-align: start; }
@media (min-width: 640px) { .carousel-row { grid-auto-columns: calc((100% - var(--gutter) - var(--sp-4)) / 2.15); } }
@media (min-width: 1024px) { .carousel-row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: var(--sp-10) var(--sp-6); } }
.carousel-row--home .pcard__media { aspect-ratio: 1 / 1.05; }

/* 16. Ratings, reviews, price summary (shared by property, extranet, checkout) ----- */
/* rating */
.stars { display: inline-flex; gap: 1px; color: var(--ink); vertical-align: middle; }
.stars .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.stars .icon.is-empty { color: var(--line-strong); }
.stars--lg .icon { width: 18px; height: 18px; }
.rating-summary { margin-bottom: var(--sp-10); }
.rating-summary__head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-2xl); margin-bottom: var(--sp-8); }
.rating-summary__head .icon { width: .8em; height: .8em; fill: currentColor; stroke: none; }
.rating-summary__value { font-weight: 600; }
.rating-bars { display: grid; gap: var(--sp-3) var(--sp-16); }
@media (min-width: 640px) { .rating-bars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rating-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 120px) 28px; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); padding-block: 2px; }
.rating-bar__track { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.rating-bar__fill { display: block; height: 100%; border-radius: 4px; background: var(--ink); }
.rating-bar__value { font-size: var(--fs-xs); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.reviews { display: grid; gap: var(--sp-10); }
@media (min-width: 900px) { .reviews--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-10) var(--sp-16); } }
.review { display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; }
.review__head { display: flex; align-items: center; gap: var(--sp-3); }
.review__head .avatar { width: 40px; height: 40px; font-size: var(--fs-base); background: var(--bg-subtle); color: var(--ink); }
.review__name { font-weight: 600; display: block; line-height: 1.3; }
.review__date { font-size: var(--fs-sm); color: var(--ink-3); }
.review__rating { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.review__rating .icon { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.review__text { margin: 0; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-expanded .review__text { -webkit-line-clamp: unset; display: block; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-sm); }
.review__reply { margin: var(--sp-1) 0 0 var(--sp-2); padding: 0 0 0 var(--sp-4); border-left: 1px solid var(--line-strong); font-size: var(--fs-sm); color: var(--ink-2); }
.review__reply-title { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.review__reply-title .icon { display: none; }
.score-pill { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
/* price summary (booking card, checkout, admin) */
.price-summary { font-size: var(--fs-sm); color: var(--ink); }
.price-summary__title { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.price-summary__rows { margin: 0; }
.price-summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); padding-block: 5px; }
.price-summary__row dt, .price-summary__label { color: var(--ink); min-width: 0; }
.price-summary__row dd, .price-summary__value { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-summary__row dt { font-variant-numeric: tabular-nums; }
.price-summary__wk { white-space: nowrap; }
.price-summary__wk::before { content: " · "; }
/* narrow cards (booking card at 1024 px, checkout aside): the weekend marker drops to the grey sub-line instead of wrapping */
.price-summary { container-type: inline-size; }
@container (max-width: 320px) { .price-summary__wk { display: block; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 1px; } .price-summary__wk::before { content: none; } .price-summary__wk::first-letter { text-transform: uppercase; } }
.price-summary__sub { display: block; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.4; margin-top: 1px; }
.price-summary__more-row { padding: 2px 0 4px; }
.price-summary__more { background: none; border: 0; padding: 0; font-size: var(--fs-xs); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.price-summary__more:hover { color: var(--ink); }
.price-summary__more-row + .price-summary__nights { margin-top: var(--sp-1); }
.price-summary__detail { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.price-summary__nights { font-size: var(--fs-xs); color: var(--ink-3); padding: 2px 0 var(--sp-2) var(--sp-3); margin: 0; border-left: 1px solid var(--line-strong); }
.price-summary__nights li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 2px 0; }
.price-summary__total { border-top: 1px solid var(--line); margin-top: var(--sp-3); padding-top: var(--sp-4); font-size: var(--fs-base); }
.price-summary__total dt, .price-summary__total dd { font-weight: 600; color: var(--ink); }
.price-summary__split { margin: var(--sp-2) 0 0; }
.price-summary__now, .price-summary__later { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); padding-block: 5px; }
.price-summary__now dt, .price-summary__later dt { display: flex; flex-direction: column; min-width: 0; }
.price-summary__now dt { font-weight: 600; color: var(--ink); }
.price-summary__later dt { color: var(--ink); }
.price-summary__now dt small, .price-summary__later dt small { font-weight: 400; color: var(--ink-3); font-size: var(--fs-xs); margin-top: 1px; }
.price-summary__now dd { margin: 0; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.price-summary__later dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-summary__deposit { display: block; margin: var(--sp-4) 0 0; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; }
.price-summary__deposit .icon { display: none; }
.price-summary__deposit strong { color: var(--ink-2); font-weight: 500; }

/* 17. Date range picker ---------------------------------------------------- */
.drp { --drp-cell: 44px; background: #fff; color: var(--ink); font-size: var(--fs-sm); user-select: none; -webkit-user-select: none; }
.drp--popover { position: absolute; z-index: var(--z-picker); top: calc(100% + 18px); left: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); border: 1px solid var(--line); padding: var(--sp-6) var(--sp-8) var(--sp-5); width: max-content; max-width: calc(100vw - 32px); animation: pop-in var(--t-base) var(--ease-out); }
.drp--popover.drp--align-end { left: auto; right: 0; }
.drp--popover.drp--align-center { left: 50%; transform: translateX(-50%); animation: none; }
.drp--inline { --drp-cell: 44px; position: relative; }
.drp--sheet { position: fixed; inset: 0; z-index: var(--z-picker); display: flex; flex-direction: column; animation: sheet-up var(--t-slow) var(--ease-out); --drp-cell: calc((100vw - 40px) / 7); }
.drp__sheet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--sp-5); border-bottom: 1px solid var(--line); min-height: 64px; }
.drp__sheet-title { font-weight: 600; font-size: var(--fs-base); margin: 0; }
.drp__sheet-sub { font-size: var(--fs-xs); color: var(--ink-3); }
.drp__head { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; height: 40px; pointer-events: none; z-index: 2; }
.drp--popover .drp__head { left: var(--sp-6); right: var(--sp-6); top: var(--sp-6); }
.drp__head .drp__nav { pointer-events: auto; }
.drp__nav { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-content: center; color: var(--ink); }
.drp__nav:hover:not(:disabled) { background: var(--bg-subtle); }
.drp__nav:disabled { opacity: .2; cursor: default; }
.drp__months { display: flex; gap: var(--sp-12); }
.drp--sheet .drp__months { flex-direction: column; gap: var(--sp-8); overflow-y: auto; flex: 1; padding: var(--sp-4) var(--sp-5) var(--sp-8); overscroll-behavior: contain; }
.drp__month { width: calc(var(--drp-cell) * 7); flex: none; }
.drp__caption { text-align: center; font-weight: 600; font-size: var(--fs-base); margin: 0 0 var(--sp-3); line-height: 40px; height: 40px; text-transform: none; }
.drp--sheet .drp__caption { text-align: left; line-height: 1.4; height: auto; position: sticky; top: calc(var(--sp-4) * -1); background: #fff; z-index: 1; padding: var(--sp-2) 0; }
.drp__weekdays, .drp__grid { display: grid; grid-template-columns: repeat(7, var(--drp-cell)); }
.drp__weekdays { font-size: var(--fs-2xs); font-weight: 500; color: var(--ink-3); text-align: center; margin-bottom: 6px; text-transform: none; letter-spacing: 0; }
.drp--sheet .drp__weekdays-bar { display: grid; grid-template-columns: repeat(7, var(--drp-cell)); padding: var(--sp-2) var(--sp-5); border-bottom: 1px solid var(--line); font-size: var(--fs-2xs); font-weight: 500; color: var(--ink-3); text-align: center; }
.drp--sheet .drp__month .drp__weekdays { display: none; }
.drp__grid { row-gap: 2px; }
.drp__day { position: relative; height: var(--drp-cell); min-height: 44px; border: 0; padding: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--ink); font-variant-numeric: tabular-nums; border-radius: 0; z-index: 0; }
.drp__day::before { content: ""; position: absolute; inset: 1px; border-radius: 50%; z-index: -1; transition: background var(--t-fast); }
.drp__num { font-weight: 500; font-size: var(--fs-sm); line-height: 1.1; }
.drp__price { font-size: 10.5px; line-height: 1.2; color: var(--ink-3); font-weight: 400; letter-spacing: -.02em; max-width: 100%; overflow: hidden; white-space: nowrap; }
.drp__day:hover:not(.is-disabled):not(.is-empty):not(:disabled)::before { box-shadow: inset 0 0 0 1px var(--ink); }
.drp__day:focus-visible::before { box-shadow: inset 0 0 0 2px var(--ink); }
.drp__day:focus-visible { outline: none; }
.drp__day.is-empty { pointer-events: none; }
.drp__day.is-today .drp__num { text-decoration: underline; text-underline-offset: 3px; }
.drp__day:disabled, .drp__day.is-disabled { color: #B0B0B0; cursor: default; }
.drp__day:disabled .drp__price, .drp__day.is-disabled .drp__price { visibility: hidden; }
.drp__day.is-busy .drp__num { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: #B0B0B0; }
.drp__day.is-busy-start:not(.is-disabled)::before { background: linear-gradient(135deg, transparent 50%, #F0F0F0 50%); border-radius: 50%; }
.drp__day.is-checkout-only { color: var(--ink); }
.drp__day.is-checkout-only .drp__num { text-decoration: none; }
.drp__day.is-checkout-only .drp__price { visibility: hidden; }
.drp__day.is-below-min:not(.is-disabled) { color: #B0B0B0; }
.drp__day.is-below-min:not(.is-disabled) .drp__price { visibility: hidden; }
.drp__day.is-loading .drp__price { visibility: visible; width: 24px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, #F3F3F3, #E6E6E6, #F3F3F3); background-size: 300% 100%; animation: shimmer 1.2s infinite; color: transparent; }
.drp__day.is-in-range::after, .drp__day.is-hover-range::after, .drp__day.is-start.has-range::after, .drp__day.is-end::after { content: ""; position: absolute; top: 1px; bottom: 1px; left: 0; right: 0; background: #F0F0F0; z-index: -2; }
.drp__day.is-hover-range:not(.is-in-range)::after { background: #FAFAFA; }
.drp__day.is-start.has-range::after { left: 50%; }
.drp__day.is-end::after { right: 50%; }
.drp__day.is-start::before, .drp__day.is-end::before { background: var(--ink) !important; box-shadow: none !important; }
.drp__day.is-start:focus-visible::before, .drp__day.is-end:focus-visible::before { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink) !important; }
.drp__day.is-start, .drp__day.is-end { color: #fff; }
.drp__day.is-start .drp__price, .drp__day.is-end .drp__price { color: rgba(255, 255, 255, .75); }
.drp__grid > .drp__day:nth-child(7n+1).is-in-range::after { border-radius: 999px 0 0 999px; left: 1px; }
.drp__grid > .drp__day:nth-child(7n).is-in-range::after { border-radius: 0 999px 999px 0; right: 1px; }
.drp__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-4); margin-top: var(--sp-4); border-top: 1px solid var(--line); flex-wrap: wrap; }
.drp--sheet .drp__foot { margin: 0; padding: var(--sp-3) var(--sp-5) calc(var(--sp-3) + env(safe-area-inset-bottom)); background: #fff; flex-wrap: nowrap; }
.drp__summary { font-size: var(--fs-sm); line-height: 1.35; min-width: 0; flex: 1; }
.drp__summary strong { display: block; font-weight: 600; }
.drp__hint { font-size: var(--fs-xs); color: var(--ink-3); display: block; }
.drp__hint.is-warning { color: var(--warning); }
.drp__legend { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--sp-3); }
.drp__legend span { display: inline-flex; align-items: center; gap: 6px; }
.drp__legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; background: var(--ink); }
.drp__legend i.lg-busy { background: #fff; border: 1px solid #B0B0B0; position: relative; }
.drp__legend i.lg-busy::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1px; background: #B0B0B0; }
.drp__legend i.lg-half { background: linear-gradient(135deg, #fff 50%, #E6E6E6 50%); border: 1px solid #DDD; }
.drp__legend i.lg-weekend { display: none; }
.drp__actions { display: flex; gap: var(--sp-2); flex: none; align-items: center; }
.drp__actions .btn--ghost { text-decoration: underline; text-underline-offset: 3px; --btn-bg-h: transparent; padding-inline: .5rem; }
.drp__actions .btn--primary { --btn-bg: var(--ink); --btn-bd: var(--ink); --btn-bg-h: #2A2A2A; --btn-fg: #fff; }
.drp--inline .drp__months { gap: var(--sp-10); }
@media (max-width: 767px) { .drp--inline { --drp-cell: calc((100vw - var(--gutter) * 2) / 7); } .drp--inline .drp__month { width: 100%; } .drp--inline .drp__weekdays, .drp--inline .drp__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* 18. Checkout / reservation building blocks (booking flow) --------------- */
.checkout { display: grid; gap: var(--sp-8); }
@media (min-width: 1024px) { .checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--sp-16); align-items: start; } .checkout__aside { position: sticky; top: calc(var(--header-h) + var(--sp-6)); } }
.checkout__section { padding-block: var(--sp-8); border-top: 1px solid var(--line); }
.checkout__section:first-child { border-top: 0; padding-top: 0; }
.checkout__title { font-size: var(--fs-xl); display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.checkout__aside .card, .summary-card { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.stay-summary { display: flex; gap: var(--sp-4); align-items: center; padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-5); }
.stay-summary__img { width: 96px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; flex: none; background: #EFEFEF; }
.stay-summary__title { font-weight: 600; line-height: 1.3; margin: 0 0 4px; }
.stay-summary__meta { font-size: var(--fs-xs); color: var(--ink-3); }
.stay-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); margin-bottom: var(--sp-5); }
.stay-dates > div { padding: var(--sp-3) var(--sp-4); min-width: 0; }
.stay-dates > div + div { border-left: 1px solid var(--line-strong); }
.stay-dates__label { font-size: var(--fs-2xs); font-weight: 600; color: var(--ink); display: block; }
.stay-dates__value { font-size: var(--fs-sm); }
.stay-dates__time { font-size: var(--fs-xs); color: var(--ink-3); }
.bank-card { border-bottom: 1px solid var(--line); padding: var(--sp-4) 0; display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.bank-card__name { font-weight: 600; display: flex; align-items: center; gap: var(--sp-2); }
.iban { display: flex; align-items: center; gap: var(--sp-2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: var(--fs-sm); background: var(--bg-subtle); border-radius: var(--radius-sm); padding: .375rem .375rem .375rem .75rem; word-break: break-all; }
.iban span { flex: 1; min-width: 0; }
.mobile-cta { position: sticky; bottom: 0; z-index: var(--z-bar); background: #fff; padding: var(--sp-3) var(--gutter) calc(var(--sp-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 1024px) { .mobile-cta { position: static; padding: 0; border: 0; margin: 0; background: none; } }

/* 19. Account area ---------------------------------------------------------- */
.account-layout { display: grid; gap: var(--sp-6); margin-top: var(--sp-6); }
@media (min-width: 1024px) { .account-layout { grid-template-columns: 240px minmax(0, 1fr); gap: var(--sp-12); } }
.side-nav { display: flex; gap: var(--sp-5); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.side-nav::-webkit-scrollbar { display: none; }
.side-nav__link { flex: none; position: relative; display: flex; align-items: center; gap: var(--sp-3); padding: .75rem 0; color: var(--ink-3); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); white-space: nowrap; background: none; border: 0; min-height: 44px; }
.side-nav__link:hover { color: var(--ink); text-decoration: none; }
.side-nav__link[aria-current="page"] { color: var(--ink); }
.side-nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.side-nav__link .icon { display: none; }
@media (min-width: 1024px) {
  .side-nav { flex-direction: column; gap: 0; margin: 0; padding: 0; border: 0; position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
  .side-nav__link { padding: .625rem .75rem; border-radius: var(--radius-sm); font-size: var(--fs-base); }
  .side-nav__link .icon { display: inline-block; color: var(--ink-2); }
  .side-nav__link:hover { background: var(--bg-subtle); }
  .side-nav__link[aria-current="page"] { background: var(--bg-subtle); font-weight: 600; }
  .side-nav__link[aria-current="page"]::after { display: none; }
  /* V2 text variant (account area): no icons, no fills — the active item is simply ink 600 */
  .side-nav--text .side-nav__link { padding: .5rem 0; min-height: 40px; color: var(--ink-2); font-weight: 400; border-radius: 0; }
  .side-nav--text .side-nav__link:hover { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
  .side-nav--text .side-nav__link[aria-current="page"] { background: none; color: var(--ink); font-weight: 600; text-decoration: none; }
  .side-nav--text .side-nav__logout { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); color: var(--ink-3); width: 100%; }
}
/* reservation row (account): 96×72 thumb · title/meta · status, total, one action */
.res-list { border-top: 1px solid var(--line); }
.res-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--sp-2) var(--sp-4); align-items: start; padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); color: inherit; }
a.res-card:hover { color: inherit; text-decoration: none; }
.res-card__media { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-subtle); width: 96px; height: 72px; }
.res-card__img { width: 96px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg-subtle); }
.res-card__main { min-width: 0; }
.res-card__title { font-size: var(--fs-base); font-weight: 600; margin: 0 0 4px; line-height: 1.35; letter-spacing: -.01em; }
.res-card__title a { color: inherit; text-decoration: none; }
.res-card__title a:hover { text-decoration: underline; }
.res-card__meta { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }
.res-card__sub { font-size: var(--fs-xs); color: var(--ink-3); margin: 2px 0 0; }
.res-card__side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); font-size: var(--fs-sm); }
.res-card__status { display: inline-flex; gap: var(--sp-1); flex-wrap: wrap; }
.res-card__total { font-weight: 600; }
.res-card__action { font-weight: 500; white-space: nowrap; margin-left: auto; }
.res-card__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); flex-wrap: wrap; }
@media (min-width: 768px) {
  .res-card { grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: var(--sp-5); align-items: center; }
  .res-card__side { grid-column: 3; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
  .res-card__action { margin-left: 0; }
}

/* 20. Cookie banner: slim white card bottom-left ---------------------------- */
.cookie { position: fixed; z-index: var(--z-cookie); left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: var(--sp-4) var(--sp-5); display: grid; gap: var(--sp-3); font-size: var(--fs-xs); line-height: 1.5; animation: sheet-up var(--t-slow) var(--ease-out); }
.cookie__title { color: var(--ink); font-size: var(--fs-sm); font-weight: 600; margin: 0 0 2px; letter-spacing: 0; }
.cookie__title .icon { display: none; }
.cookie p { margin: 0; }
.cookie__actions { display: flex; gap: var(--sp-4); justify-content: flex-end; }
.cookie__actions .btn { min-height: 32px; padding-inline: .25rem; --btn-bg: transparent; --btn-bd: transparent; --btn-bg-h: transparent; --btn-fg: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: var(--fs-sm); }
@media (min-width: 768px) { .cookie { right: auto; left: 24px; bottom: 24px; max-width: 380px; } }
.has-booking-bar .cookie { bottom: calc(var(--bar-h) + 12px); }
@media (min-width: 1024px) { .has-booking-bar .cookie { bottom: 24px; } }

/* 21. Auth layout: one centred column, logo above, no panel ------------------- */
.auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #fff; }
.auth__top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }   /* V1 markup, unused since D4 */
.auth__main { flex: 1; display: flex; flex-direction: column; align-items: center; padding: var(--sp-12) var(--gutter) var(--sp-8); }
.auth__box { width: 100%; max-width: 420px; margin-block: auto; }
.auth__brand { margin-bottom: var(--sp-10); font-size: 1.125rem; }
.auth__brand .brand__mark { width: 32px; height: 32px; }
@media (min-width: 768px) { .auth__main { padding-top: var(--sp-16); } .auth__brand { margin-bottom: var(--sp-12); } }
.auth__title { font-size: var(--fs-3xl); margin-bottom: var(--sp-2); }
.auth__text { color: var(--ink-3); margin-bottom: var(--sp-8); }
.auth__area { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-3); margin-bottom: var(--sp-2); }
.auth__area .icon { display: none; }
.auth__box > .alert { margin-bottom: var(--sp-6); }
.auth__box .cluster--between, .auth__box .cluster--end { font-size: var(--fs-sm); }
.auth__forgot { margin: var(--sp-3) 0 var(--sp-6) !important; font-size: var(--fs-sm); text-align: right; }
.auth__alt { font-size: var(--fs-sm); color: var(--ink-3); margin: var(--sp-6) 0 0; text-align: center; }
.auth__notes { margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.55; }
.auth__notes p { margin: 0; } .auth__notes p + p { margin-top: var(--sp-3); }
.auth__notes a { color: var(--ink-2); white-space: nowrap; }
.auth__consents { display: grid; gap: var(--sp-3); padding-block: var(--sp-2); }
.auth__consents .field + .field { margin-top: 0; }
.auth__consents .check { color: var(--ink-2); }
.auth__done { margin-bottom: var(--sp-6); font-size: var(--fs-sm); color: var(--ink-2); }
.auth__done p:last-child { margin-bottom: 0; }
.auth__done-title { font-weight: 600; color: var(--ink); margin-bottom: var(--sp-2); font-size: var(--fs-base); }
.auth__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-5); padding: var(--sp-6) var(--gutter) calc(var(--sp-6) + env(safe-area-inset-bottom)); font-size: var(--fs-xs); color: var(--ink-3); }
.auth__foot a { color: var(--ink-3); text-decoration: none; }
.auth__foot a:hover { color: var(--ink); text-decoration: underline; }
.divider-text { display: flex; align-items: center; gap: var(--sp-3); color: var(--ink-3); font-size: var(--fs-xs); margin-block: var(--sp-5); }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* 22. Error / status pages ---------------------------------------------------- */
/* minimal: a large quiet code, one headline, one sentence, one primary action + one text link */
.error-page { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: calc(560px + var(--gutter) * 2); margin-inline: auto; padding: var(--sp-16) var(--gutter); }
.error-page__code { font-size: clamp(4.5rem, 3rem + 7vw, 8rem); font-weight: 600; line-height: .9; letter-spacing: -.05em; color: #E4E4E4; margin: 0 0 var(--sp-6); font-variant-numeric: tabular-nums; }
.error-page__code span { color: inherit; }
.error-page__title { font-size: var(--fs-3xl); margin: 0 0 var(--sp-3); text-wrap: balance; }
.error-page__text { color: var(--ink-3); max-width: 46ch; margin: 0 0 var(--sp-8); }
.error-page__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-6); font-size: var(--fs-sm); font-weight: 500; }
.error-page__note { font-size: var(--fs-sm); color: var(--ink-3); margin: calc(var(--sp-4) * -1) 0 0; }
.error-page__art { display: none; }
.error-body { display: flex; flex-direction: column; min-height: 100vh; }
.error-body__top { display: flex; align-items: center; height: var(--header-h); padding-inline: var(--gutter); max-width: calc(var(--container) + var(--gutter) * 2); width: 100%; margin-inline: auto; }
.error-body .error-page { flex: 1; min-height: 0; padding-bottom: calc(var(--sp-16) + var(--header-h)); }

/* 23. Misc -------------------------------------------------------------------- */
.booking-card__note { text-align: center; font-size: var(--fs-xs); color: var(--ink-3); margin: 0; }   /* also used by booking/checkout */
.back-to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: var(--z-bar); opacity: 0; pointer-events: none; transition: opacity var(--t-base); --btn-bd: var(--line-strong); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.has-booking-bar .back-to-top { bottom: calc(var(--bar-h) + 16px); }
.loader { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.copy-field { display: flex; gap: var(--sp-2); }
.copy-field .input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: var(--fs-sm); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #B0B0B0; }
.dot--success { background: var(--success); } .dot--warning { background: var(--amber-400); } .dot--danger { background: var(--danger); } .dot--info { background: var(--info); }
.list-check li { display: flex; gap: var(--sp-2); align-items: flex-start; padding-block: 4px; }
.list-check .icon { color: var(--ink); margin-top: 2px; width: 18px; height: 18px; }
details.disclosure { border-bottom: 1px solid var(--line); }
details.disclosure:first-of-type { border-top: 1px solid var(--line); }
details.disclosure > summary { list-style: none; cursor: pointer; padding: var(--sp-5) 0; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; color: var(--ink); transform: rotate(45deg); transition: transform var(--t-fast) var(--ease); }
details.disclosure[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.disclosure > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.disclosure__body { padding: 0 0 var(--sp-5); color: var(--ink-2); font-size: var(--fs-sm); max-width: 68ch; }

/* 24. Motion & print ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .booking-bar, .cookie, .toast-region, .back-to-top, .btn, .no-print { display: none !important; }
  body { background: #fff; }
  .card, .checkout__section { box-shadow: none; border-color: #ccc; }
}
@media (max-width: 767px) {
  .how-list { gap: var(--sp-6); }
  .how-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--sp-3); }
  .how-list__num { font-size: var(--fs-lg); margin: 0; grid-row: span 2; line-height: 1.3; }
}
