/* Kiril House — 2026 Unified Neo-Alpine Luxury System (Sider Heights 3, Pamporovo) */
@view-transition { navigation: auto; }

:root {
  --kh-spruce: #17332b;
  --kh-spruce-deep: #0f241e;
  --kh-pine: #254f43;
  --kh-cream: #f8f7f2;
  --kh-sand: #eeeae0;
  --kh-terracotta: #b8472e;
  --kh-terracotta-dark: #973620;
  --kh-emerald: #186b51;
  --kh-emerald-bg: #eaf6f0;
  --kh-gold: #c69850;
  --kh-ink: #1b302a;
  --kh-muted: #566860;
  --kh-line: #d6dcd0;
  --kh-font: Onest, 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --kh-radius: 10px;
}

/* Unify typography across homepage, stay detail, nearby articles, welcome & legal */
body:not(.admin-page) {
  font-family: var(--kh-font);
  background: var(--kh-cream);
  color: var(--kh-ink);
}
body:not(.admin-page) h1,
body:not(.admin-page) h2,
body:not(.admin-page) h3,
body:not(.admin-page) .stay-intro h1,
body:not(.admin-page) .stay-columns h2,
body:not(.admin-page) .reserve-box h3 {
  font-family: var(--kh-font);
  font-weight: 500;
  letter-spacing: -0.035em;
}
body:not(.admin-page) .stay-columns h2 em { font-style: normal; color: var(--kh-pine); }

/* === UNIFIED HEADER === */
.kh-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 86px;
  margin: 0 var(--gutter, clamp(20px, 5vw, 90px));
  z-index: 40;
}
.kh-nav--solid {
  background: var(--kh-cream);
  color: var(--kh-ink);
  border-bottom: 1px solid var(--kh-line);
  margin: 0;
  padding: 0 var(--gutter, clamp(20px, 5vw, 90px));
}
.kh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.kh-brand .u-brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.kh-nav--solid .u-brand-symbol {
  background: var(--kh-spruce);
  color: #fff;
  border: 0;
}
.kh-brand strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.kh-brand small { display: block; font-size: 9px; letter-spacing: 0.13em; margin-top: 4px; opacity: 0.8; font-weight: 500; }
.kh-nav nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.kh-nav nav a { padding: 10px 0; transition: color 0.18s; }
.kh-nav--solid nav a:hover { color: var(--kh-terracotta); }
.kh-menu-phone-mobile { display: none; }
.kh-nav-actions { display: flex; align-items: center; gap: 14px; }
.kh-nav .language-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; }
.kh-nav .language-switch a { display: inline-grid; place-items: center; min-width: 34px; min-height: 40px; padding: 0 6px; border-radius: 6px; }
.kh-nav .language-switch a[aria-current="true"] { background: rgba(255,255,255,0.16); text-decoration: none; }
.kh-nav--solid .language-switch a[aria-current="true"] { background: var(--kh-sand); color: var(--kh-spruce); }
.kh-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.kh-nav--solid .kh-nav-phone { background: var(--kh-sand); color: var(--kh-spruce); }
.kh-nav--solid .kh-nav-phone:hover { background: #e3ded1; }
.kh-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.kh-nav--solid .kh-nav-cta { background: var(--kh-spruce); color: #fff; border: 0; }
.kh-nav--solid .kh-nav-cta:hover { background: var(--kh-pine); }
.kh-menu-backdrop { position: fixed; inset: 0; background: rgba(12, 28, 24, 0.55); backdrop-filter: blur(4px); z-index: 35; }

/* === HERO POLISH + LIVE WEATHER PULSE === */
.ultra-home .u-hero:after {
  background: linear-gradient(90deg, rgba(14, 38, 34, 0.78) 0%, rgba(14, 38, 34, 0.32) 55%, rgba(14, 38, 34, 0.16) 100%),
              linear-gradient(180deg, rgba(12, 34, 36, 0.55) 0%, transparent 28%, transparent 56%, rgba(10, 30, 26, 0.78) 100%);
}
.kh-hero-pills { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.kh-hero-pills .u-eyebrow { margin-bottom: 0 !important; }
.kh-weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(16, 40, 34, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  color: #f6faf8;
  font-size: 12px;
  font-weight: 500;
}
.kh-hero-cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kh-hero-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 6px;
  background: rgba(18, 44, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.kh-hero-call:hover { background: rgba(18, 44, 38, 0.85); }
.kh-hero-call--dark { background: var(--kh-spruce); border-color: var(--kh-spruce); }
.ultra-home .u-hero-foot > a { padding: 6px 14px; border-radius: 999px; background: rgba(14, 38, 34, 0.5); border-bottom: 0; backdrop-filter: blur(8px); }
.ultra-home .u-motion { background: rgba(14, 38, 34, 0.65); backdrop-filter: blur(8px); }

/* === BOOKING BAR, QUICK PRESETS & SEMANTIC STATUS === */
.ultra-home .u-booking form { border-radius: 12px; box-shadow: 0 20px 50px -22px rgba(18, 46, 39, 0.28); }
.kh-quick-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--kh-muted);
}
.kh-quick-presets button {
  border: 1px solid var(--kh-line);
  background: #fff;
  color: var(--kh-ink);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  min-height: 36px;
  transition: all 0.16s;
}
.kh-quick-presets button:hover,
.kh-quick-presets button.is-active {
  background: var(--kh-spruce);
  color: #fff;
  border-color: var(--kh-spruce);
}
.kh-booking-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--kh-muted);
}

/* Fix reddish availability banner! Proper semantic tones */
.ultra-home .u-booking .search-status,
.reserve-box .form-message {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin: 12px 0 0;
  border-left: 4px solid var(--kh-pine);
  background: var(--kh-emerald-bg);
  color: #124c3a;
}
.ultra-home .u-booking .search-status:empty,
.reserve-box .form-message:empty { display: none; }
[data-tone="ok"] { background: var(--kh-emerald-bg) !important; border-left-color: var(--kh-emerald) !important; color: #114b39 !important; }
[data-tone="warn"] { background: #fff7e6 !important; border-left-color: #c8861d !important; color: #6e480a !important; }
[data-tone="error"] { background: #fdf0ed !important; border-left-color: var(--kh-terracotta) !important; color: #7e2b18 !important; }
[data-tone="info"] { background: #eef4f7 !important; border-left-color: #3a6880 !important; color: #24475a !important; }

/* === LIVE VISUAL CALENDAR DIALOG (Prices + Free/Busy) === */
.kh-date-dialog {
  border-radius: 16px !important;
  border: 1px solid var(--kh-line) !important;
  box-shadow: 0 28px 70px rgba(15, 36, 30, 0.28) !important;
}
.kh-date-dialog .date-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 46px;
  border-radius: 8px;
  padding: 3px 2px;
  position: relative;
}
.kh-date-dialog .date-grid button b { font-size: 13px; font-weight: 600; line-height: 1.1; }
.kh-date-dialog .date-grid button em { font-style: normal; font-size: 9px; color: var(--kh-emerald); font-weight: 600; line-height: 1; }
.kh-date-dialog .date-grid button.day-free:not(.range-start):not(.range-end):not(.in-range) { background: #f3faf6; }
.kh-date-dialog .date-grid button.day-free:hover:not(:disabled) { background: #dff2e8; }
.kh-date-dialog .date-grid button.day-busy {
  background: repeating-linear-gradient(-45deg, #f3f4f2, #f3f4f2 4px, #e9ecea 4px, #e9ecea 8px) !important;
  color: #9ba5a0 !important;
  text-decoration: line-through;
}
.kh-date-dialog .date-grid button.day-on-request em { color: #b57b1d; }
.kh-date-dialog .date-grid button.range-start,
.kh-date-dialog .date-grid button.range-end { background: var(--kh-spruce) !important; color: #fff !important; }
.kh-date-dialog .date-grid button.range-start em,
.kh-date-dialog .date-grid button.range-end em { color: #d4ece2 !important; }
.kh-date-dialog .date-grid button.in-range { background: #dceee6 !important; color: var(--kh-spruce) !important; }
.kh-cal-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 20px; font-size: 11px; color: var(--kh-muted); border-top: 1px solid #ebeee8; }
.kh-cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.kh-cal-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.kh-cal-legend .lg-free i { background: #228a69; }
.kh-cal-legend .lg-busy i { background: #c5ccc8; }
.kh-cal-legend .lg-req i { background: #d69c38; }

/* === STAY CARDS, BADGES, COMBINATOR & COMPARISON TABLE === */
.u-room-image { border-radius: 12px; }
.kh-room-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(18, 42, 36, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.kh-avail-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.kh-avail-pill.is-ok { background: var(--kh-emerald); color: #fff; }
.kh-avail-pill.is-warn { background: #d99126; color: #fff; }
.kh-avail-pill.is-busy { background: rgba(34, 48, 44, 0.82); color: #e2e8e5; }
.stay-card.is-busy { opacity: 0.72; }
.kh-stay-total strong { color: var(--kh-emerald); font-size: 22px; }
.kh-stay-total span { display: block; font-size: 11px; color: var(--kh-muted); }
.kh-card-next { margin-top: 12px; }
.kh-mini-alt {
  width: 100%;
  border: 1px solid #c3d6cc;
  background: var(--kh-emerald-bg);
  color: #145742;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.kh-combo-card {
  background: #fff;
  border: 2px solid var(--kh-emerald);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 36px;
  box-shadow: 0 18px 40px -24px rgba(18, 72, 54, 0.25);
}
.kh-combo-head h3 { font-size: 24px; margin: 10px 0 8px; }
.kh-combo-head p { font-size: 14px; color: var(--kh-muted); }
.kh-combo-list { display: grid; gap: 12px; margin-top: 18px; }
.kh-combo-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--kh-cream);
  border: 1px solid var(--kh-line);
}
.kh-combo-list b { display: block; font-size: 16px; }
.kh-combo-list small { font-size: 12px; color: var(--kh-muted); }
.kh-combo-price strong { display: block; font-size: 22px; color: var(--kh-emerald); }
.kh-combo-price span { font-size: 11px; color: var(--kh-muted); }
.kh-combo-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.kh-compare {
  margin-top: 64px;
  background: #fff;
  border: 1px solid var(--kh-line);
  border-radius: 16px;
  padding: 28px;
}
.kh-compare-head h3 { font-size: 26px; margin-top: -10px; }
.kh-compare-wrap { overflow-x: auto; margin-top: 18px; }
.kh-compare table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 680px; }
.kh-compare th { text-align: left; padding: 12px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--kh-muted); border-bottom: 2px solid var(--kh-line); }
.kh-compare td { padding: 15px 10px; border-bottom: 1px solid #eaeee6; }
.kh-compare tr:last-child td { border-bottom: 0; }
.kh-compare-link { font-weight: 600; color: var(--kh-spruce); border-bottom: 1px solid var(--kh-spruce); padding-bottom: 2px; white-space: nowrap; }

/* Winter trails improved contrast */
.ultra-home .u-winter-trail:before {
  background: rgba(248, 251, 252, 0.88);
  backdrop-filter: blur(10px);
  filter: none;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  inset: 0;
}
.ultra-home .u-winter-trail { padding: 22px 24px; }

/* === LOCATION, MAP & HOMEPAGE FAQ === */
.kh-paid-notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8eb;
  border: 1px solid #e6cfa0;
  border-left: 4px solid #c28528;
  font-size: 13px;
  line-height: 1.6;
  color: #5e4214;
}
.kh-location { align-items: start !important; }
.kh-location-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.kh-map-box { margin-top: 24px; border-radius: 14px; overflow: hidden; border: 1px solid var(--kh-line); min-height: 260px; background: #1c3a32; }
.kh-map-box iframe { width: 100%; height: 290px; border: 0; display: block; }
.kh-map-trigger {
  width: 100%;
  min-height: 260px;
  border: 0;
  color: #fff;
  background: linear-gradient(rgba(15, 39, 32, 0.56), rgba(15, 39, 32, 0.78)), url('../images/nearby/pamporovo-ski.jpg') center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.kh-map-trigger span { font-size: 10px; letter-spacing: 0.16em; opacity: 0.85; }
.kh-map-trigger strong { background: #fff; color: var(--kh-spruce); padding: 12px 20px; border-radius: 999px; font-size: 13px; }
.kh-map-trigger small { font-size: 12px; color: #dbe7e1; }

.kh-contact-card {
  background: #fff;
  border: 1px solid var(--kh-line) !important;
  border-radius: 16px;
  padding: 32px !important;
  box-shadow: 0 18px 40px -28px rgba(18, 45, 38, 0.22);
}
.kh-contact-card h3 { font-size: 28px; margin-bottom: 10px; }
.kh-contact-note { font-size: 14px; color: var(--kh-muted); margin-bottom: 20px !important; }
.kh-phone-stack { display: grid; gap: 10px; }
.kh-phone-primary, .kh-phone-secondary {
  margin-top: 0 !important;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--kh-line);
  background: var(--kh-cream);
  font-size: 24px !important;
}
.kh-phone-primary { background: var(--kh-spruce); color: #fff; border-color: var(--kh-spruce); }
.kh-phone-primary small, .kh-phone-secondary small { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.78; margin: 0 0 3px; font-weight: 500; }
.kh-messenger-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.kh-messenger {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.kh-messenger--viber { background: #7360f2; }
.kh-messenger--wa { background: #1e874b; }
.kh-email-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 16px; }

.kh-faq {
  padding-block: clamp(56px, 6vw, 88px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  border-top: 1px solid var(--kh-line);
}
.kh-faq-head h2 { font-size: clamp(32px, 3.2vw, 46px); margin-bottom: 14px; }
.kh-faq-head p { color: var(--kh-muted); font-size: 14px; }
.kh-faq-list details { border-bottom: 1px solid var(--kh-line); }
.kh-faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.kh-faq-list summary::-webkit-details-marker { display: none; }
.kh-faq-list summary span { font-size: 22px; color: var(--kh-terracotta); transition: transform 0.2s; }
.kh-faq-list details[open] summary span { transform: rotate(45deg); }
.kh-faq-list details p { margin: 0 0 20px; color: var(--kh-muted); font-size: 14px; line-height: 1.75; }

.kh-closing-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 20px; }
.kh-closing-actions .u-button { margin: 0 !important; }
.kh-closing-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--kh-spruce);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.kh-sticky-call {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--kh-spruce);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

/* === STAY DETAIL PAGE + PHONE-CONFIRM BOOKING BOX === */
.kh-breadcrumbs { display: flex; gap: 8px; font-size: 12px; color: var(--kh-muted); margin-bottom: 24px; }
.kh-breadcrumbs b { color: var(--kh-ink); font-weight: 600; }
.kh-stay-detail .stay-intro > img { border-radius: 14px; }
.kh-gallery-wrap { margin: 48px 0 64px; }
.kh-gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.kh-gallery-bar h2 { font-size: 26px; margin: 0; }
.kh-gallery-tabs { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.kh-gallery-tabs button {
  border: 1px solid var(--kh-line);
  background: #fff;
  color: var(--kh-muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  min-height: 38px;
}
.kh-gallery-tabs button[aria-selected="true"] { background: var(--kh-spruce); color: #fff; border-color: var(--kh-spruce); }
.kh-stay-detail .gallery { margin: 0; }
.kh-stay-detail .gallery button { border-radius: 8px; }
.kh-stay-location-strip {
  margin-top: 38px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--kh-line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.kh-stay-location-strip h3 { margin: 6px 0; font-size: 22px; }
.kh-stay-location-strip p { margin: 0; font-size: 13px; color: var(--kh-muted); }

/* Fix <select> caret wrap bug in stay reserve box */
.kh-reserve-box { border-radius: 16px; box-shadow: 0 22px 50px -28px rgba(18, 45, 38, 0.25); }
.kh-guest-select { display: block; }
.kh-guest-select span { display: block; font-size: 12px; color: var(--kh-muted); margin-bottom: 5px; }
.kh-guest-select select {
  width: 100%;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 12px !important;
  line-height: 1.2 !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  border-radius: 8px !important;
  background-image: none !important;
}
.kh-reserve-box .booking-terms summary { min-height: 44px; display: flex; align-items: center; }
.kh-check-cta { border-radius: 10px !important; background: var(--kh-terracotta) !important; margin-top: 12px; }
.kh-check-cta:hover { background: var(--kh-terracotta-dark) !important; }

/* Celebratory Phone-Confirm Card */
.kh-phone-confirm {
  margin-top: 14px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #effaf4 0%, #ffffff 100%);
  border: 2px solid var(--kh-emerald);
  display: grid;
  gap: 12px;
}
.kh-phone-confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--kh-emerald);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.kh-phone-confirm-lead { font-size: 13px; line-height: 1.55; color: #24473c; margin: 0; }
.kh-call-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--kh-spruce);
  color: #fff !important;
  text-align: center;
  box-shadow: 0 10px 24px -10px rgba(23, 51, 43, 0.55);
  transition: transform 0.16s, background 0.16s;
}
.kh-call-primary:hover { background: var(--kh-pine); transform: translateY(-1px); }
.kh-call-primary span { font-size: 11px; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }
.kh-call-primary strong { font-size: 22px; letter-spacing: -0.02em; margin-top: 2px; }
.kh-call-secondary-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--kh-muted); }
.kh-copy-btn {
  width: auto !important;
  min-height: 34px !important;
  padding: 6px 12px !important;
  border-radius: 7px !important;
  background: var(--kh-sand) !important;
  color: var(--kh-ink) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}
.kh-qr-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #f5f8f6;
  border: 1px solid #d7e4dd;
}
.kh-qr-canvas { flex-shrink: 0; line-height: 0; }
.kh-qr-desktop strong { display: block; font-size: 12px; color: var(--kh-ink); }
.kh-qr-desktop small { display: block; font-size: 11px; color: var(--kh-muted); line-height: 1.4; margin-top: 2px; }
.kh-messenger-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kh-msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 9px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.kh-msg-btn--viber { background: #7360f2; }
.kh-msg-btn--wa { background: #1d874b; }

.kh-callback-details { border-top: 1px solid #d7e5de; padding-top: 10px; font-size: 12px; }
.kh-callback-details summary { cursor: pointer; font-weight: 600; color: var(--kh-spruce); min-height: 36px; display: flex; align-items: center; }
.kh-callback-form { display: grid; gap: 8px; margin-top: 10px; }
.kh-callback-form label { margin: 0 !important; font-size: 12px; }
.kh-callback-submit { border-radius: 9px !important; background: var(--kh-pine) !important; min-height: 44px !important; }
.kh-callback-status { font-size: 12px; margin: 4px 0 0; padding: 8px 10px; border-radius: 7px; }
.kh-callback-status:empty { display: none; }

.kh-alt-dates { display: grid; gap: 8px; margin-top: 10px; }
.kh-alt-btn, .kh-alt-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 13px !important;
  min-height: 44px !important;
  border-radius: 9px !important;
  border: 1px solid #b9d7ca !important;
  background: var(--kh-emerald-bg) !important;
  color: #134d3b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* === DIGITAL WELCOME PASS (/welcome) === */
.kh-welcome { max-width: 1180px; margin: 0 auto; padding: 48px var(--gutter, 24px) 90px; }
.kh-welcome-hero { background: var(--kh-spruce); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); margin-bottom: 32px; }
.kh-welcome-hero h1 { font-size: clamp(34px, 4.5vw, 56px); margin: 0 0 14px; }
.kh-welcome-hero p { max-width: 600px; color: #d5e2dc; font-size: 15px; }
.kh-welcome-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.kh-welcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.kh-welcome-grid article { background: #fff; border: 1px solid var(--kh-line); border-radius: 16px; padding: 26px; }
.kh-welcome-grid span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--kh-terracotta); }
.kh-welcome-grid h2 { font-size: 24px; margin: 10px 0 12px; }
.kh-welcome-grid p { font-size: 14px; color: var(--kh-muted); line-height: 1.7; margin: 0 0 10px; }
.kh-welcome-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--kh-line); }
.kh-welcome-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* === COOKIE BANNER REPOSITIONING (Never occludes Check-in input!) === */
.consent-banner {
  left: auto !important;
  right: 18px !important;
  bottom: 18px !important;
  max-width: 420px !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 48px rgba(15, 36, 30, 0.25) !important;
  z-index: 60 !important;
}

/* === UNIFIED FOOTER === */
.kh-footer {
  background: var(--kh-spruce-deep) !important;
  color: #e6eee9 !important;
  padding: 58px var(--gutter, clamp(20px, 5vw, 90px)) 32px !important;
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 0.9fr !important;
  gap: 40px !important;
}
.kh-footer-tagline { font-size: 13px; color: #b6c7bf; max-width: 340px; margin: 16px 0; line-height: 1.65; }
.kh-footer-map { display: inline-block; color: #e8c382; font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(232, 195, 130, 0.45); padding-bottom: 3px; }
.kh-footer-head { font-size: 11px !important; letter-spacing: 0.14em; color: #9db2a9 !important; margin: 0 0 14px !important; }
.kh-footer-tel { font-size: 17px !important; font-weight: 600; color: #fff; }
.kh-footer-tel em { font-style: normal; font-size: 10px; background: rgba(255,255,255,0.14); padding: 2px 7px; border-radius: 999px; margin-left: 6px; font-weight: 500; }
.kh-footer-messengers { display: flex; gap: 12px; margin-top: 12px; }
.kh-footer-messengers a { display: inline-block !important; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); font-size: 12px !important; }
.kh-footer-col button[data-consent-settings] { background: transparent; border: 0; color: #b6c7bf; padding: 6px 0; font-size: 13px; text-align: left; }
.kh-footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; font-size: 12px; color: #97aba2; }

/* === RESPONSIVE MOBILE POLISH === */
@media (max-width: 980px) {
  .kh-nav-phone { display: none; }
  .kh-faq { grid-template-columns: 1fr; gap: 28px; }
  .kh-welcome-grid { grid-template-columns: 1fr; }
  .kh-footer { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 780px) {
  .kh-nav { height: 74px; margin: 0 16px; gap: 10px; }
  .kh-nav--solid { margin: 0; padding: 0 16px; }
  .kh-nav nav { display: none; }
  .kh-nav-cta { display: none !important; }
  .kh-nav .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; }
  .kh-nav--solid .menu-toggle { border: 1px solid var(--kh-line); color: var(--kh-ink); }
  .kh-nav.menu-open nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--kh-cream);
    color: var(--kh-ink);
    padding: 16px 22px 24px;
    gap: 0;
    z-index: 50;
    box-shadow: 0 20px 40px rgba(10, 26, 22, 0.22);
  }
  .kh-nav.menu-open nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--kh-line); font-size: 16px; }
  .kh-menu-phone-mobile { display: flex !important; color: var(--kh-spruce); font-weight: 700; border-bottom: 0 !important; margin-top: 8px; }
  .kh-brand strong { font-size: 17px; }
  .kh-brand small { font-size: 8px; }
  .kh-qr-desktop { display: none; }
  .kh-messenger-actions { grid-template-columns: 1fr; }
  .kh-footer { grid-template-columns: 1fr !important; padding: 40px 20px 96px !important; }
  .consent-banner { left: 12px !important; right: 12px !important; bottom: 12px !important; max-width: none !important; }
}


/* === QA POLISH PASS (Zero overflow, crisp mobile drawer, custom select chevron, zero badge overlap) === */
html, body:not(.admin-page) { overflow-x: clip !important; }
.ultra-home .u-nav, .site-nav.kh-nav { z-index: 65 !important; }
.kh-menu-backdrop { z-index: 60 !important; }
.site-nav.kh-nav--solid {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 clamp(16px, 3.5vw, 56px) !important;
  gap: clamp(10px, 1.5vw, 22px) !important;
}
.site-nav.kh-nav--hero {
  margin: 0 clamp(16px, 3.5vw, 56px) !important;
  gap: clamp(10px, 1.5vw, 22px) !important;
}
.kh-nav nav { gap: clamp(14px, 1.8vw, 24px) !important; }
.kh-nav-actions { gap: 10px !important; flex-shrink: 0; }

/* Custom crisp select arrow — never wraps onto 2 lines in Chrome/Safari/Mobile */
.ultra-home .u-booking select,
.kh-guest-select select,
.kh-callback-form select {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 34px 0 12px !important;
  line-height: 42px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%2317332b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  border-radius: 8px !important;
}
.ultra-home .u-booking select {
  background-color: transparent !important;
  padding: 0 30px 0 0 !important;
  background-position: right 4px center !important;
  height: 36px !important;
  min-height: 36px !important;
  line-height: 36px !important;
  font-size: 12.5px !important;
}

/* Zero badge overlap on stay cards */
.kh-room-badge {
  top: auto !important;
  bottom: 12px !important;
  left: 12px !important;
  max-width: calc(100% - 24px);
}
.u-room-image > span { display: none !important; }

/* Slim non-occluding cookie toast, hidden when dialog open */
body.dialog-open .consent-banner { display: none !important; }
.consent-banner {
  left: 16px !important;
  right: auto !important;
  bottom: 14px !important;
  max-width: 390px !important;
  padding: 13px 16px !important;
  z-index: 48 !important;
}
.consent-banner p { font-size: 12px !important; line-height: 1.5 !important; margin-bottom: 10px !important; }
.consent-actions button { min-height: 38px !important; padding: 7px 10px !important; font-size: 12px !important; }

/* Zero horizontal overflow on mobile stay detail */
.stay-detail, .stay-intro, .stay-columns, .stay-columns > *, .kh-reserve-box, .reserve-date-pair, .reserve-date-pair > * {
  min-width: 0 !important;
  max-width: 100% !important;
}
@media (max-width: 780px) {
  .kh-nav.menu-open nav { z-index: 70 !important; }
  .stay-detail { padding: 24px 16px 72px !important; }
  .kh-reserve-box { padding: 20px 16px !important; }
}

/* ======================================================================
   HANDOFF PASS 2026-11-26 — icons, booking card, cookie bar, compare cards,
   paid-extras notice, free-weekends strip. Additive only.
   ====================================================================== */
.kh-ico { width: 1.05em; height: 1.05em; vertical-align: -0.17em; flex: none; }
.kh-hero-call, .kh-closing-call, .kh-menu-phone-mobile, .reserve-inquiry-phone { display: inline-flex; align-items: center; gap: 8px; }
.kh-hero-call .kh-ico { color: #f2c48d; }
.kh-sticky-call { display: grid !important; place-items: center; }
.kh-sticky-call .kh-ico { width: 20px; height: 20px; }

/* Booking card: summary, 3 channels (call · Viber/WhatsApp · email) */
.kh-confirm-summary {
  margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #cfe3d8;
  font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--kh-ink);
}
.kh-confirm-summary:empty { display: none; }
.kh-phone-confirm-badge .kh-ico { width: 14px; height: 14px; }
.kh-call-primary strong { display: inline-flex; align-items: center; gap: 8px; }
.kh-call-primary strong .kh-ico { width: 20px; height: 20px; color: #f2c48d; }
.kh-msg-btn { gap: 7px; cursor: pointer; border: 0; font-family: inherit; line-height: 1.2; }
.kh-msg-btn .kh-ico { width: 16px; height: 16px; }
.kh-msg-btn--mail { grid-column: 1 / -1; background: #fff !important; color: var(--kh-spruce) !important; border: 1.5px solid var(--kh-spruce) !important; }
.kh-msg-btn--mail:hover { background: var(--kh-emerald-bg) !important; }
.kh-mail-direct { margin: -4px 0 0; font-size: 11.5px; color: var(--kh-muted); text-align: center; }
.kh-mail-direct a { color: var(--kh-spruce); font-weight: 600; border-bottom: 1px solid currentColor; word-break: break-all; }
.reserve-inquiry { scroll-margin-top: 90px; }

/* Cookie consent: one slim bar that never hides the page */
.consent-banner {
  left: 50% !important; right: auto !important; transform: translateX(-50%);
  bottom: 14px !important; width: min(780px, calc(100% - 24px)) !important; max-width: none !important;
  display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 18px !important;
  border-radius: 14px !important; background: rgba(250, 248, 241, 0.97) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 48 !important;
}
.consent-banner[hidden] { display: none !important; }
.consent-banner p { margin: 0 !important; flex: 1; font-size: 12.5px !important; line-height: 1.45 !important; }
.consent-banner .consent-actions { flex: none; flex-wrap: nowrap; gap: 6px; }
.consent-banner .consent-actions button { flex: none; min-height: 36px !important; padding: 6px 14px !important; border-radius: 9px !important; font-size: 12.5px !important; border-color: var(--kh-line) !important; background: #fff !important; }
.consent-banner .consent-actions [data-consent-accept] { background: var(--kh-spruce) !important; color: #fff !important; border-color: var(--kh-spruce) !important; font-weight: 600; }
.consent-banner .consent-actions [data-consent-settings] { background: transparent !important; border-color: transparent !important; text-decoration: underline; text-underline-offset: 3px; padding-inline: 8px !important; }

/* Paid extras: one clear notice instead of three repeats */
.kh-paid-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 12px;
  background: #fff7ec; border: 1px solid #ecd3ad; color: #5a3d17; font-size: 14px; line-height: 1.55; max-width: 520px;
}
.kh-paid-note b { color: #3f2a0e; }
.kh-paid-note .kh-ico { width: 20px; height: 20px; color: #b7791f; margin-top: 1px; }
.kh-paid-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fff1dd; color: #8a5a14; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; vertical-align: 2px; white-space: nowrap; }

/* Free weekends strip (live from the calendar) */
.kh-free-weekends { margin-top: 16px; }
.kh-free-weekends[hidden] { display: none !important; }
.kh-free-weekends > p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kh-emerald); display: flex; align-items: center; gap: 8px; }
.kh-free-weekends > p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.18); animation: kh-live 2.4s ease-in-out infinite; }
@keyframes kh-live { 50% { box-shadow: 0 0 0 7px rgba(47, 191, 113, 0.05); } }
@media (prefers-reduced-motion: reduce) { .kh-free-weekends > p::before { animation: none; } }
.kh-free-weekends ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.kh-free-weekends ul::-webkit-scrollbar { display: none; }
.kh-free-weekends button {
  display: grid; gap: 2px; text-align: left; min-width: 148px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  background: #fff; border: 1px solid #cfe3d8; color: var(--kh-ink); font: inherit; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.kh-free-weekends button:hover, .kh-free-weekends button:focus-visible { border-color: var(--kh-emerald); transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(23, 51, 43, 0.5); }
.kh-free-weekends b { font-size: 14px; font-weight: 700; }
.kh-free-weekends small { font-size: 12px; color: var(--kh-muted); }
.kh-free-weekends em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--kh-emerald); }

@media (max-width: 780px) {
  .consent-banner { flex-direction: column; align-items: stretch; gap: 8px; bottom: 10px !important; padding: 10px 12px !important; }
  .consent-banner p { font-size: 12px !important; }
  .consent-banner .consent-actions { display: grid; grid-template-columns: 1fr 1fr auto; }
  .consent-banner .consent-actions button { min-height: 38px !important; }

  /* Comparison table becomes stacked cards on phones (no sideways scrolling) */
  .kh-compare { padding: 20px 16px !important; }
  .kh-compare-wrap { overflow: visible; }
  .kh-compare table { min-width: 0; display: block; }
  .kh-compare thead { display: none; }
  .kh-compare tbody { display: grid; gap: 12px; }
  .kh-compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px; border: 1px solid var(--kh-line); border-radius: 12px; background: #fff; }
  .kh-compare td { display: block; padding: 0; border: 0 !important; font-size: 13px; line-height: 1.4; min-width: 0; }
  .kh-compare td[data-label]::before { content: attr(data-label); display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kh-muted); margin-bottom: 2px; }
  .kh-compare td:first-child { grid-column: 1 / -1; font-size: 16px; }
  .kh-compare td:last-child { grid-column: 1 / -1; }
  .kh-compare td:last-child .kh-compare-link { display: flex; justify-content: center; padding: 10px; border: 1px solid var(--kh-spruce); border-radius: 9px; }
}
@media (min-width: 781px) {
  /* Desktop: sit under the header, over the sky — never over the date search bar */
  .consent-banner { top: 96px !important; bottom: auto !important; box-shadow: 0 14px 40px rgba(15, 36, 30, 0.22) !important; }
}
.kh-phone-confirm .kh-msg-btn--mail { font-size: 12.5px !important; font-weight: 700 !important; min-height: 42px !important; width: 100% !important; padding: 8px 10px !important; border-radius: 9px !important; letter-spacing: 0 !important; text-transform: none !important; }
.kh-mail-direct a { word-break: normal; overflow-wrap: anywhere; display: inline-block; }

/* Phone action bars (homepage .u-sticky and stay pages .kh-mobile-cta) */
.kh-mobile-cta { display: none; }
@media (max-width: 780px) {
  body.has-mobile-bar { padding-bottom: 84px; }
  body.has-mobile-bar .consent-banner { bottom: 86px !important; }
  .u-sticky-motion { display: none !important; }
  .u-sticky .kh-sticky-call { width: 46px; height: 46px; border-radius: 12px; background: var(--kh-emerald-bg); color: var(--kh-spruce); flex: none; }
  .kh-mobile-cta:not([hidden]) { display: flex; align-items: center; gap: 8px; position: fixed; z-index: 45; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 8px 8px 8px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.97); border: 1px solid var(--kh-line); box-shadow: 0 12px 34px -12px rgba(15, 36, 30, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .kh-mobile-cta > div { flex: 1; min-width: 0; }
  .kh-mobile-cta strong { display: block; font-size: 15px; font-weight: 700; color: var(--kh-ink); }
  .kh-mobile-cta span { display: block; font-size: 11px; color: var(--kh-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kh-mobile-cta-call { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--kh-emerald-bg); color: var(--kh-spruce); flex: none; }
  .kh-mobile-cta-call .kh-ico { width: 20px; height: 20px; }
  .kh-mobile-cta-dates { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 12px; background: var(--kh-terracotta); color: #fff !important; font-size: 14px; font-weight: 700; white-space: nowrap; flex: none; }
}
