/* Franciehotels shared booking components. */
.fh-booking-form { --fh-accent: #a72e42; --fh-line: #ccd3ce; margin: 0; color: var(--ink, #172d35); }
.fh-booking-form *, .fh-booking-dialog * { box-sizing: border-box; }
.fh-booking-grid { display: grid; grid-template-columns: minmax(170px,1.4fr) repeat(2,minmax(130px,.85fr)); gap: 12px; align-items: start; }
.fh-field { min-width: 0; }
.fh-field label, .fh-field-label { display: block; margin: 0 0 6px; font-family: var(--sans, sans-serif); font-size: .78rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.fh-field input, .fh-field select { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 48px; margin: 0; padding: 10px; border: 1px solid var(--fh-line); border-radius: 7px; background: #fff; color: #172d35; font: inherit; font-size: 16px; line-height: 1.4; color-scheme: light; }
.fh-field input[type=date] { min-inline-size: 0; appearance: auto; }
.fh-field input:focus-visible, .fh-field select:focus-visible, .fh-travellers summary:focus-visible, .fh-dialog-close:focus-visible { outline: 3px solid var(--fh-accent); outline-offset: 3px; }
.fh-booking-submit.button { width: 100%; min-height: 50px; padding-inline: 16px; background: var(--fh-accent); }
.fh-booking-submit.button:hover { background: #862337; transform: none; }
.fh-booking-submit[disabled] { cursor: progress; }
.fh-travellers { grid-column: 1 / 3; min-width: 0; border: 1px solid var(--fh-line); border-radius: 7px; background: #fff; }
.fh-travellers > summary { position: relative; display: block; min-height: 58px; padding: 8px 38px 8px 11px; color: #172d35; cursor: pointer; list-style: none; }
.fh-travellers > summary::-webkit-details-marker { display: none; }
.fh-travellers > summary .fh-field-label { margin-bottom: 1px; }
[data-fh-traveller-summary] { font-size: .91rem; line-height: 1.4; }
.fh-chevron { position: absolute; right: 14px; top: 13px; font-size: 1.3rem; }
.fh-travellers[open] > summary { border-bottom: 1px solid var(--fh-line); }
.fh-travellers[open] .fh-chevron { transform: rotate(180deg); }
.fh-traveller-body { padding: 14px; }
.fh-room-count { display: grid; grid-template-columns: 1fr 76px; align-items: center; gap: 10px; }
.fh-room-count label { margin: 0; }
.fh-room { min-width: 0; margin: 16px 0 0; padding: 12px; border: 1px solid #e2e3dc; border-radius: 8px; }
.fh-room legend { padding-inline: 5px; color: #172d35; font-size: .88rem; font-weight: 700; }
.fh-room-counts, .fh-ages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.fh-ages:not(:empty) { margin-top: 12px; }
.fh-ages:has(> [hidden]:first-child) { margin-top: 0; }
.fh-travellers-done { width: 100%; min-height: 44px; margin-top: 14px; padding: 8px 12px; border: 1px solid #bdc9c1; border-radius: 7px; background: #f4f4ed; color: #172d35; font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.fh-occupancy-notice { margin-top: 14px; padding: 12px; border-radius: 7px; background: #f4eee3; color: #554933; font-size: .8rem; line-height: 1.5; }
.fh-occupancy-notice p { margin-bottom: 10px; }
.fh-occupancy-notice label { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.fh-occupancy-notice input { flex: 0 0 auto; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--fh-accent); }
.fh-stay-help, .fh-affiliation, .fh-small { margin: 10px 0 0; color: #56676b; font-size: .76rem; line-height: 1.55; }
.fh-affiliation { max-width: 75ch; }
.fh-booking-status { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--fh-accent); border-radius: 4px; background: #fbefeb; color: #682737; font-size: .9rem; line-height: 1.5; }
.fh-booking-status[data-state=loading] { background: #eff4f0; border-color: #526c5b; color: #234c38; }
.fh-booking-choices { display: grid; gap: 8px; margin-top: 10px; }
.fh-booking-choice { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #bdc9c1; border-radius: 7px; background: #fff; color: #172d35; text-align: left; font: inherit; cursor: pointer; }
.fh-booking-choice:hover { background: #f4f4ed; }
.fh-native-choices { grid-column: 1 / -1; padding: 12px; border: 1px solid #bdc9c1; border-radius: 7px; }
.fh-native-choices legend { font-weight: 700; font-size: .9rem; }
.fh-native-choices label { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.fh-native-choices input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--fh-accent); }
.fh-booking-dialog { width: min(680px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 25px; border: 1px solid #dbddd5; border-radius: 18px; background: #faf7f2; color: #172d35; box-shadow: 0 24px 90px rgb(9 29 34 / 25%); overflow-y: auto; overscroll-behavior: contain; }
.fh-booking-dialog:not([open]) { display: none; }
.fh-booking-dialog::backdrop { background: rgb(13 32 37 / 58%); }
.fh-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.fh-dialog-heading .eyebrow { margin-bottom: 8px; }
.fh-dialog-heading h2 { margin: 0; font-size: clamp(1.7rem,4vw,2.3rem); }
.fh-dialog-close { flex: 0 0 auto; width: 44px; min-height: 44px; padding: 0; border: 1px solid #d3d8d0; border-radius: 50%; background: #fff; color: #172d35; font: inherit; font-size: 1.9rem; line-height: 1; cursor: pointer; }
html.fh-dialog-open { overflow: hidden; }
.fh-booking-form [hidden] { display: none !important; }
.booking-card .fh-booking-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.booking-card .fh-destination, .booking-card .fh-travellers, .booking-card .fh-booking-submit { grid-column: 1 / -1; }
/* The page class is enabled only when the shared booking interface is available. */
.fh-pilot-page .hero { padding-block: 30px 22px; }
.fh-pilot-page .hero-copy { min-width: 0; }
.fh-pilot-page .hero h1 { font-size: clamp(2.2rem,4vw,3.5rem); margin-bottom: 15px; }
.fh-pilot-page .page-hero { padding-top: 32px; padding-bottom: 12px; }
.fh-pilot-page .page-hero .lead { margin-bottom: 0; }
.fh-pilot-page .search-panel { margin-top: 12px; }
.fh-pilot-page .fh-home-hero { grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); align-items: start; column-gap: 35px; row-gap: 0; }
.fh-home-hero .hero-copy, .fh-home-search { grid-column: 1; }
.fh-home-hero .hero-media { grid-column: 2; grid-row: 1 / 3; align-self: stretch; aspect-ratio: auto; min-height: 340px; max-height: 600px; }
.fh-home-search { padding: 18px; margin-top: 2px !important; }
.fh-home-hero .hero-copy .lead { margin-bottom: 12px; font-size: 1rem; line-height: 1.6; }
.fh-home-hero .hero-copy .eyebrow { margin-bottom: 10px; }
.fh-pilot-page .mobile-sticky p { min-width: 0; flex: 1 1 0; }
.fh-sticky-place { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fh-pilot-page .mobile-sticky p small { display: block; line-height: 1.4; font-size: .65rem; }
.fh-pilot-page .mobile-sticky .button { flex: 0 0 auto; max-width: 60%; }
@media (max-width: 850px) {
  .fh-pilot-page .fh-home-hero { grid-template-columns: minmax(0,1fr); }
  .fh-home-hero .hero-media { grid-column: 1; grid-row: auto; height: 280px; min-height: 0; margin-top: 24px; }
}
@media (min-width: 1000px) {
  .partner-search-panel .fh-booking-grid { grid-template-columns: minmax(165px,1.25fr) repeat(2,minmax(130px,.85fr)) minmax(175px,1.25fr) minmax(180px,1.2fr); align-items: start; }
  .partner-search-panel .fh-travellers { grid-column: auto; margin-top: 23px; }
  .partner-search-panel .fh-booking-submit { margin-top: 23px; min-height: 58px; }
}
@media (max-width: 620px) {
  .fh-booking-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .fh-destination, .fh-travellers, .fh-booking-submit { grid-column: 1 / -1; }
  .fh-travellers > summary { min-height: 56px; }
  .fh-traveller-body { padding: 11px; }
  .fh-room { padding: 10px; }
  .fh-room-counts, .fh-ages { gap: 10px; }
  .fh-field label { font-size: .75rem; }
  .fh-ages .fh-field label { min-height: 2.8em; }
  .fh-booking-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 18px 14px; border-radius: 14px; }
  .fh-dialog-heading { margin-bottom: 15px; }
  .fh-pilot-page .site-header > .wrap { min-height: 74px; }
  .fh-pilot-page .hero { gap: 20px; padding-block: 22px 16px; }
  .fh-pilot-page .hero .lead { font-size: .95rem; line-height: 1.6; }
  .fh-pilot-page .hero .eyebrow { margin-bottom: 11px; }
  .fh-pilot-page .page-hero { padding-top: 22px; }
  .fh-pilot-page .search-panel { padding: 15px; }
  .fh-pilot-page { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .fh-pilot-page .mobile-sticky { padding-bottom: max(10px,env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .fh-pilot-page { scroll-behavior: auto; } .fh-booking-form *, .fh-booking-dialog * { transition: none !important; } }
