/*
 * Schänzchen | MotoPress-Design 1.2.1
 * Designreferenz: freigegebener Entwurf 16, Komponenten "Aufenthalt planen".
 * Darstellung, keine ersetzte Buchungslogik. Gilt nur in .schzbr-system-page.
 * Layer comes after all previous bridge styles and preserves original JS.
 */
.schzbr-system-page {
  --schz-forest: #10372d;
  --schz-ink: #193a31;
  --schz-muted: #606c64;
  --schz-line: #dce3da;
  --schz-paper: #f7f8f4;
  --schz-input: #c9d2c6;
  --schz-serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --schz-sans: Arial, Helvetica, sans-serif;
  background: var(--schz-paper);
  color: var(--schz-ink);
  padding: clamp(28px,4vw,58px) 0 clamp(60px,6vw,96px);
}
.schzbr-system-page .schzbr-system-container {
  box-sizing:border-box;
  width:min(1060px,calc(100% - 44px));
  max-width:none;
  margin-inline:auto;
  padding:clamp(24px,4.2vw,52px);
  border:1px solid var(--schz-line);
  border-radius:10px;
  background:#fff;
  box-shadow:0 16px 54px rgba(16,55,45,.07);
  min-width:0;
}
.schzbr-system-page .schzbr-page-header {margin:0 0 26px;}
.schzbr-system-page .schzbr-eyebrow {
  color:var(--schz-forest);font:700 11px/1.5 var(--schz-sans);
  letter-spacing:.18em;text-transform:uppercase;margin:0 0 15px;
}
.schzbr-system-page .schzbr-page-header h1 {
  font:400 clamp(34px,4.4vw,46px)/1.2 var(--schz-serif);
  letter-spacing:-.025em;color:var(--schz-forest);margin:0 0 14px;
}
.schzbr-system-page .schzbr-reference-intro {
  color:var(--schz-muted);font:400 16px/1.7 var(--schz-sans);
  max-width:65ch;margin:0;
}
.schzbr-system-page .schzbr-reference-perks {
  display:flex;flex-wrap:wrap;gap:10px 24px;
  padding:17px 0;margin:0 0 27px;
  border-block:1px solid var(--schz-line);
  color:var(--schz-muted);font:400 14px/1.5 var(--schz-sans);
}
.schzbr-system-page .schzbr-reference-perks>span {display:inline-flex;align-items:center;gap:9px;}
.schzbr-system-page .schzbr-reference-perks .schzbr-perk-check {font-weight:700;color:var(--schz-forest);}
.schzbr-system-page .schzbr-mphb-content {
  box-sizing:border-box;min-width:0;width:100%;max-width:100%;
  color:var(--schz-ink);font:400 15px/1.65 var(--schz-sans);
}
.schzbr-system-page .schzbr-mphb-content :is(h2,h3,h4) {
  font-family:var(--schz-serif);font-weight:400;letter-spacing:-.02em;
  color:var(--schz-forest);line-height:1.3;
}
.schzbr-system-page .schzbr-mphb-content h2 {font-size:clamp(24px,2.6vw,30px);margin:0 0 16px;}
.schzbr-system-page .schzbr-mphb-content h3 {font-size:clamp(21px,2.1vw,25px);margin:0 0 13px;}
.schzbr-system-page .schzbr-mphb-content :is(p,li,dd) {font-size:15px;line-height:1.6;color:var(--schz-muted);}
.schzbr-system-page .schzbr-mphb-content :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),select,textarea) {
  width:auto;min-width:0;max-width:100%;min-height:50px;
  padding:11px 15px;border:1px solid var(--schz-input);border-radius:6px;
  background-color:#fff;box-shadow:none;color:var(--schz-ink);
  font:400 16px/1.35 var(--schz-sans);
}
.schzbr-system-page .schzbr-mphb-content :is(input,select,textarea):focus-visible {
  outline:3px solid rgba(183,135,66,.65);outline-offset:2px;
}
.schzbr-system-page .schzbr-mphb-content :is(label,legend) {
  color:var(--schz-ink);font:600 14px/1.45 var(--schz-sans);
}
.schzbr-system-page .schzbr-mphb-content :is(.mphb-button,.mphb-book-button,.mphb-view-details-button,.mphb-reserve-btn,.mphb-reserve-room-button,button[type="submit"],input[type="submit"]) {
  display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;min-height:49px;max-width:100%;
  border:1px solid var(--schz-forest);border-radius:6px;
  padding:12px 22px;background:var(--schz-forest);
  color:#fff;font:700 15px/1.35 var(--schz-sans);
  text-decoration:none;box-shadow:none;cursor:pointer;
}
.schzbr-system-page .schzbr-mphb-content :is(.mphb-button,.mphb-book-button,.mphb-view-details-button,.mphb-reserve-btn,.mphb-reserve-room-button,button[type="submit"],input[type="submit"]):hover {
  background:#0b2a22;color:#fff;
}
.schzbr-system-page .schzbr-mphb-content :is(button,input):disabled {opacity:.55;cursor:not-allowed;}
.schzbr-system-page .schzbr-mphb-content .mphb-errors-wrapper,
.schzbr-system-page .schzbr-mphb-content .mphb-error {color:#932d2b;}

/* Search form: the two date pickers, occupancy and action follow the dialog. */
.schzbr-system-search .schzbr-mphb-content .mphb_sc_search-form,
.schzbr-system-search .schzbr-mphb-content form.mphb_sc_search-form {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;
  align-items:end;margin:0;width:100%;padding:0;
}
.schzbr-system-search .mphb_sc_search-form>p,
.schzbr-system-search .mphb_sc_search-form>div {margin:0;min-width:0;max-width:100%;}
.schzbr-system-search .mphb_sc_search-form :is(input:not([type="hidden"]):not([type="submit"]),select) {width:100%;}
.schzbr-system-search .mphb_sc_search-form .mphb-required-fields-tip,
.schzbr-system-search .mphb_sc_search-form .mphb-errors-wrapper {grid-column:1/-1;color:var(--schz-muted);}
.schzbr-system-search .mphb_sc_search-form :is(.mphb-reserve-btn-wrapper,.mphb-search-submit,.mphb_sc_search-submit) {grid-column:1/-1;}
.schzbr-system-search .mphb_sc_search-form input[type="submit"] {min-width:235px;}

/* --------------------------------------------------------------------------
 * Search results 1.2.1 — one consistent inner spacing system.
 * Visual layer only; no native MotoPress form or event handler is replaced.
 * -------------------------------------------------------------------------- */
.schzbr-system-results .schzbr-mphb-content,
.schzbr-system-results .mphb_sc_search_results-wrapper {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Clear, padded search-summary line (never touching an enclosing rule). */
.schzbr-system-results .mphb_sc_search_results-info {
  display: block;
  padding: 14px 18px;
  margin: 0 0 24px;
  border: 0;
  border-left: 3px solid #819886;
  border-radius: 0 6px 6px 0;
  background: var(--schz-paper);
  color: var(--schz-muted);
  font-size: 14px;
  line-height: 1.55;
}
.schzbr-system-results .mphb-recommendation-title {
  margin: 4px 0 14px;
  padding: 0 2px;
  font: 400 clamp(23px,2.5vw,28px)/1.3 var(--schz-serif);
  letter-spacing: -.02em;
  color: var(--schz-forest);
}

/* Keep MotoPress's active recommendation and basket: just lay them out cleanly. */
.schzbr-system-results #mphb-recommendation,
.schzbr-system-results #mphb-reservation-cart {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 26px;
  padding: clamp(18px,2.5vw,26px) !important;
  border: 1px solid var(--schz-line);
  border-radius: 9px;
  background: #f5f7f3;
  box-shadow: none;
}
.schzbr-system-results :is(#mphb-recommendation,#mphb-reservation-cart) :is(p,ul,ol) {
  margin: 0 0 12px;
  padding: 0;
  max-width: 100%;
}
.schzbr-system-results :is(#mphb-recommendation,#mphb-reservation-cart) :is(li) {
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.55;
}
.schzbr-system-results :is(#mphb-recommendation,#mphb-reservation-cart) :is(.mphb-price,.mphb-total-price,.mphb-total-price-field) {
  font-weight: 700;
  color: var(--schz-forest);
}
.schzbr-system-results :is(#mphb-recommendation,#mphb-reservation-cart) :is(.mphb-reserve-btn,.mphb-button,input[type="submit"]) {
  min-height: 46px;
}
/* Generic native results helper messages are inset as well. */
.schzbr-system-results .mphb_sc_search_results-wrapper > p:not(.mphb_sc_search_results-info),
.schzbr-system-results .mphb_sc_search_results-wrapper > .mphb_sc_search_results-message {
  box-sizing: border-box;
  margin: 0 0 18px;
  padding: 15px 18px;
  border-radius: 7px;
  background: #f7f8f4;
  color: var(--schz-muted);
}

/* Native room cards: a 22px inset around *both* photo and information.
 * No full-bleed images and no artificial grey image column. */
.schzbr-system-results .mphb_sc_search_results-wrapper .mphb-room-type,
.schzbr-system-results .mphb_sc_search_results-wrapper .type-mphb_room_type {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 16px !important;
  padding: clamp(16px,2.3vw,24px) !important;
  border: 1px solid var(--schz-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 22px rgba(16,55,45,.045);
  overflow: visible;
}
.schzbr-system-results .mphb_sc_search_results-wrapper .mphb-room-type:has(> .schzbr-results-media),
.schzbr-system-results .mphb_sc_search_results-wrapper .type-mphb_room_type:has(> .schzbr-results-media) {
  display: grid !important;
  grid-template-columns: minmax(185px, 34%) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px,2.9vw,30px) !important;
}
.schzbr-system-results .mphb-room-type > .schzbr-results-media {
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: none;
  align-self: start;
  aspect-ratio: 4/3;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: #edf1e9;
}
.schzbr-system-results .schzbr-results-media :is(figure,p,div,a) {
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.schzbr-system-results .schzbr-results-media :is(.mphb-room-type-featured-image,.mphb-room-type-images) {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}
.schzbr-system-results .schzbr-results-media :is(.mphb-room-type-featured-image,.mphb-room-type-images) a,
.schzbr-system-results .schzbr-results-media > a {
  display: block;
  width: 100%;
  height: 100%;
}
.schzbr-system-results .schzbr-results-media :is(img,.wp-post-image) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 7px;
  /* MotoPress image dimensions may be intrinsic; anchor it to the frame. */
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}
.schzbr-system-results .mphb-room-type > .schzbr-results-details {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: none;
  padding: 0 !important;
  margin: 0;
  align-self: start;
}
.schzbr-system-results .schzbr-results-details > * {
  min-width: 0;
  max-width: 100%;
  margin: 0 0 10px;
}
.schzbr-system-results .schzbr-results-details .mphb-room-type-title,
.schzbr-system-results .schzbr-results-details .mphb-room-type-title a {
  margin: 0 0 8px;
  font: 400 clamp(22px,2.6vw,29px)/1.28 var(--schz-serif);
  letter-spacing: -.018em;
  color: var(--schz-forest);
  text-decoration: none;
}
.schzbr-system-results .schzbr-results-details :is(.mphb-room-type-details-title,.mphb-room-type-details-heading) {
  margin: 0 0 8px;
  font: 700 12px/1.4 var(--schz-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--schz-muted);
}
.schzbr-system-results .schzbr-results-details :is(.mphb-room-type-details,.mphb-room-type-excerpt,.mphb-room-type-description) {
  color: var(--schz-muted);
  font-size: 14px;
  line-height: 1.55;
}
.schzbr-system-results .schzbr-results-details :is(.mphb-room-type-price,.mphb-price) {
  margin: 12px 0 14px;
  color: var(--schz-forest);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}
.schzbr-system-results .schzbr-results-details :is(.mphb-view-details-button,.mphb-view-details-button-wrapper a,.mphb-room-type-view-details-button-wrapper a) {
  min-height: 43px;
  padding: 10px 16px;
  border: 1px solid var(--schz-input);
  border-radius: 6px;
  background: #fff;
  color: var(--schz-forest);
  font: 700 13px/1.4 var(--schz-sans);
  text-decoration: none;
}
.schzbr-system-results .schzbr-results-details :is(.mphb-view-details-button,.mphb-view-details-button-wrapper a,.mphb-room-type-view-details-button-wrapper a):hover {
  background: var(--schz-paper);
  color: var(--schz-forest);
}
.schzbr-system-results .schzbr-results-details :is(.mphb-room-type-reserve-button,.mphb-reserve-room-section,.mphb-book-button) {
  margin: 13px 0 0;
}
.schzbr-system-results .schzbr-results-details :is(select,input[type="number"]) {
  width: auto;
  min-width: 75px;
  min-height: 43px;
}
.schzbr-system-results .schzbr-results-details .mphb-hide {display:none;}

@media (max-width: 760px) {
  .schzbr-system-results .mphb_sc_search_results-wrapper .mphb-room-type:has(> .schzbr-results-media),
  .schzbr-system-results .mphb_sc_search_results-wrapper .type-mphb_room_type:has(> .schzbr-results-media) {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px !important;
  }
  .schzbr-system-results .mphb-room-type > .schzbr-results-media {
    aspect-ratio: 16/10;
    height: auto;
    max-height: 270px;
  }
  .schzbr-system-results .schzbr-results-media :is(img,.wp-post-image) {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }
  .schzbr-system-results .mphb_sc_search_results-wrapper .mphb-room-type,
  .schzbr-system-results .mphb_sc_search_results-wrapper .type-mphb_room_type {
    padding: 16px !important;
  }
}
@media (max-width: 420px) {
  .schzbr-system-results :is(#mphb-recommendation,#mphb-reservation-cart) {padding:17px !important;}
  .schzbr-system-results .mphb-recommendation-title {font-size:22px;}
  .schzbr-system-results .schzbr-results-details :is(.mphb-button,.mphb-reserve-btn,input[type="submit"]) {width:100%;}
}

/* Details: same visual language for real MotoPress room type pages. */
.schzbr-system-room .schzbr-room-content :is(.mphb-room-type-gallery,.mphb-single-room-type-gallery,.flexslider) {
  max-width:100%;min-width:0;overflow:hidden;border-radius:8px;
}
.schzbr-system-room .schzbr-room-content :is(.mphb-room-type-gallery,.mphb-single-room-type-gallery,.flexslider) img {
  border-radius:8px;max-width:100%;height:auto;
}
.schzbr-system-room .schzbr-room-content :is(.mphb-availability-calendar-wrapper,.mphb-reservation-form,.mphb-single-room-type-booking-form) {
  box-sizing:border-box;width:100%;max-width:100%;margin:24px 0;
  padding:clamp(18px,3vw,28px);border:1px solid var(--schz-line);
  border-radius:8px;background:#fff;
}
.schzbr-system-room .schzbr-room-content :is(.mphb-room-type-price,.mphb-single-room-type-price) {
  color:var(--schz-forest);font:600 21px/1.5 var(--schz-sans);
}

/* 1.2.2 · KOMPAKTER CHECKOUT
 * Ein Layout-System für Buchungsdaten, Preisaufteilung und Gastdaten.
 * Native MotoPress-Felder bleiben vollständig erhalten. Kein JS/Markup-Umbau.
 * Keine verdeckten Pflichtfelder, keine aus CSS berechneten Preise.
 */
.schzbr-system-checkout {
  --schzbr-checkout-gap: 14px;
}
.schzbr-system-checkout .schzbr-system-container {
  width: min(1060px, calc(100% - 44px));
  padding: clamp(22px, 3.2vw, 38px);
}
.schzbr-system-checkout .schzbr-page-header { margin-bottom: 15px; }
.schzbr-system-checkout .schzbr-eyebrow { margin-bottom: 8px; }
.schzbr-system-checkout .schzbr-page-header h1 {
  margin-bottom: 8px;
  font-size: clamp(31px, 3.9vw, 43px);
}
.schzbr-system-checkout .schzbr-reference-intro {
  margin: 0;
  max-width: 80ch;
  font-size: 14px;
  line-height: 1.5;
}
.schzbr-system-checkout .schzbr-reference-perks {
  gap: 7px 18px;
  padding: 10px 0;
  margin-bottom: 16px;
  font-size: 13px;
}
.schzbr-system-checkout .schzbr-mphb-content :is(.mphb_sc_checkout-wrapper, form.mphb_sc_checkout-form) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
/* Three lightweight sections instead of three tall panels. */
.schzbr-system-checkout form.mphb_sc_checkout-form > .mphb-checkout-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 var(--schzbr-checkout-gap);
  padding: clamp(15px, 2vw, 22px);
  border: 1px solid var(--schz-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.schzbr-system-checkout form.mphb_sc_checkout-form > .mphb-checkout-section:nth-of-type(even) {
  background: #f9faf7;
}
.schzbr-system-checkout .mphb-checkout-section > :first-child { margin-top: 0; }
.schzbr-system-checkout .mphb-checkout-section > :last-child { margin-bottom: 0; }
.schzbr-system-checkout .mphb-checkout-section :is(h2,h3,h4) {
  margin-top: 0;
  margin-bottom: 12px;
}
.schzbr-system-checkout .mphb-checkout-section h2 {
  font-size: clamp(23px, 2.5vw, 28px);
}
.schzbr-system-checkout .mphb-checkout-section h3 { font-size: 19px; }
.schzbr-system-checkout .mphb-checkout-section :is(p,li) {
  line-height: 1.45;
  margin: 0 0 10px;
}
/* Remove only extra nested layout chrome, not fields or semantic grouping. */
.schzbr-system-checkout .mphb-checkout-section :is(fieldset,.mphb-booking-details,.mphb-customer-details,.mphb-billing-fields) {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  border: 0;
  box-shadow: none;
  margin-inline: 0;
}
.schzbr-system-checkout .mphb-checkout-section fieldset { padding: 0; }
.schzbr-system-checkout form.mphb_sc_checkout-form :is(label,legend) {
  display: block;
  margin-bottom: 5px;
  font: 600 13px/1.45 var(--schz-sans);
  color: var(--schz-ink);
}
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),select,textarea) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid var(--schz-input);
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.4;
}
.schzbr-system-checkout .mphb_sc_checkout-wrapper textarea {
  min-height: 74px;
  height: 74px;
  resize: vertical;
}
.schzbr-system-checkout .mphb_sc_checkout-wrapper input[type="checkbox"],
.schzbr-system-checkout .mphb_sc_checkout-wrapper input[type="radio"] {
  accent-color: var(--schz-forest);
}
/* The booking-detail controls remain MotoPress-owned. Make small inputs legible. */
.schzbr-system-checkout .mphb-booking-details > p,
.schzbr-system-checkout .mphb-room-details > p { margin-bottom: 10px; }
.schzbr-system-checkout .mphb-booking-details :is(.mphb-adults-chooser, .mphb-children-chooser),
.schzbr-system-checkout .mphb-room-details :is(.mphb-adults-chooser, .mphb-children-chooser) {
  max-width: 210px;
}
/* Customer fields: 2 columns above tablet breakpoint.
 * MotoPress versions may render fields directly under .mphb-customer-details
 * or in a nested .mphb-customer-details-fields element. Both are supported.
 */
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 20px;
  align-items: start;
}
.schzbr-system-checkout .mphb_sc_checkout-wrapper .mphb-customer-details-fields {
  grid-column: 1 / -1;
}
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) > * {
  box-sizing: border-box;
  min-width: 0;
  margin-top: 0;
  margin-bottom: 0;
}
/* Titles, instructions, custom blocks, notes and consent stay full width. */
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) > :is(h2,h3,h4,fieldset,.mphb-required-fields-tip,.mphb-customer-details-fields,.mphb-errors-wrapper,.mphb-checkbox-label,.mphb-payment-gateways,.mphb-customer-note) {
  grid-column: 1 / -1;
}
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) > p:not(:has(input,select,textarea)),
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) > p:has(textarea),
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) > p:has(input[type="checkbox"], input[type="radio"]),
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) > div:not(:has(input, select, textarea)),
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) > div:has(textarea, input[type="checkbox"], input[type="radio"]) {
  grid-column: 1 / -1;
}
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) :is(.mphb-customer-details-field,.mphb-checkout-field) {
  min-width: 0;
}
/* For MotoPress checkout variants where fields have a wrapper with no grid by default. */
.schzbr-system-checkout .mphb_sc_checkout-wrapper .mphb-customer-details :is(p,div):has(>label) {
  min-width: 0;
}
/* Price table: keep full legal price detail but reduce vertical padding. */
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper,
.schzbr-system-checkout table.mphb-price-breakdown {width:100%;max-width:100%;min-width:0;}
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper table,
.schzbr-system-checkout table.mphb-price-breakdown {
  display: table;
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  background: #fff;
  margin: 10px 0 12px;
}
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper table thead,
.schzbr-system-checkout table.mphb-price-breakdown thead { display: table-header-group; }
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper table :is(tbody),
.schzbr-system-checkout table.mphb-price-breakdown :is(tbody) { display: table-row-group; }
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper table tfoot,
.schzbr-system-checkout table.mphb-price-breakdown tfoot { display: table-footer-group; }
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper table tr,
.schzbr-system-checkout table.mphb-price-breakdown tr { display: table-row; }
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper table :is(th,td),
.schzbr-system-checkout table.mphb-price-breakdown :is(th,td) {
  display: table-cell;
  padding: 8px 11px;
  border-bottom: 1px solid var(--schz-line);
  color: var(--schz-ink);
  font-size: 14px;
  line-height: 1.4;
  vertical-align: middle;
}
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper table :is(th,td):last-child,
.schzbr-system-checkout table.mphb-price-breakdown :is(th,td):last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.schzbr-system-checkout .mphb-room-price-breakdown-wrapper table :is(tr.mphb-price-breakdown-total,tr.mphb-price-breakdown-subtotal),
.schzbr-system-checkout table.mphb-price-breakdown :is(tr.mphb-price-breakdown-total,tr.mphb-price-breakdown-subtotal) {
  background: #eff3ed;
  font-weight: 700;
}
.schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-total-price,.mphb-reservation-total,.mphb-price-breakdown-total) {
  color: var(--schz-forest);
  font-weight: 700;
}
.schzbr-system-checkout form.mphb_sc_checkout-form :is(input[type="submit"],button[type="submit"]) {
  min-height: 48px;
  padding: 11px 24px;
}
.schzbr-system-checkout .schzbr-system-note {
  margin-top: 14px;
  padding: 10px 14px;
}
@media (max-width: 720px) {
  .schzbr-system-checkout .schzbr-system-container {
    width: calc(100% - 26px);
    padding: 19px 17px;
  }
  .schzbr-system-checkout .mphb_sc_checkout-wrapper :is(.mphb-customer-details,.mphb-customer-details-fields) {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .schzbr-system-checkout .mphb-checkout-section { padding: 15px; }
  .schzbr-system-checkout .mphb-room-price-breakdown-wrapper,
  .schzbr-system-checkout .mphb-price-breakdown { overflow-x: auto; }
  .schzbr-system-checkout .mphb-room-price-breakdown-wrapper table :is(th,td),
  .schzbr-system-checkout table.mphb-price-breakdown :is(th,td) { padding: 8px 7px; font-size: 13px; }
  .schzbr-system-checkout .mphb-room-price-breakdown-wrapper table :is(th,td):last-child,
  .schzbr-system-checkout table.mphb-price-breakdown :is(th,td):last-child { white-space: normal; }
  .schzbr-system-checkout form.mphb_sc_checkout-form :is(input[type="submit"],button[type="submit"]) { width:100%; }
}

/* Datepicker, calendars, third-party dynamic blocks must remain interactive. */
.schzbr-system-page .mphb_sc_search_results-wrapper .datepick-popup,
.schzbr-system-page .mphb_sc_checkout-wrapper .datepick-popup,
.schzbr-system-page .schzbr-room-content .datepick-popup {
  z-index:10000;
}
.schzbr-system-page .schzbr-stage-note.schzbr-system-note {
  border-left:3px solid #c39a42;border-radius:4px;background:#fff8eb;
  padding:13px 17px;margin:30px 0 0;
  color:#785417;font:400 13px/1.6 var(--schz-sans);
}

@media (max-width: 760px) {
  .schzbr-system-page {padding:18px 0 60px;}
  .schzbr-system-page .schzbr-system-container,
  .schzbr-system-checkout .schzbr-system-container {
    width:calc(100% - 26px);padding:clamp(18px,4vw,26px);
  }
  .schzbr-system-page .schzbr-page-header h1 {font-size:clamp(30px,7vw,40px);}
  .schzbr-system-page .schzbr-reference-perks {gap:8px 14px;}
  .schzbr-system-search .schzbr-mphb-content .mphb_sc_search-form,
  .schzbr-system-search .schzbr-mphb-content form.mphb_sc_search-form {grid-template-columns:1fr;}
  .schzbr-system-page .schzbr-mphb-content :is(.mphb-button,.mphb-reserve-btn,.mphb-book-button,input[type="submit"]) {max-width:100%;}
}
@media (max-width: 420px) {
  .schzbr-system-page .schzbr-mphb-content {font-size:14px;}
  .schzbr-system-page .schzbr-reference-perks {font-size:12px;}
  .schzbr-system-checkout .mphb-room-price-breakdown-wrapper,
  .schzbr-system-checkout .mphb-price-breakdown {overflow-x:auto;}
}

/* 1.2.3 – confirmation copy and pending-email stage, no form/booking changes. */
.schzbr-system-page .schzbr-status-view.schzbr-stage-pending .schzbr-page-header,
.schzbr-system-page .schzbr-status-view.schzbr-stage-confirmed .schzbr-page-header { margin-bottom: 22px; }
.schzbr-system-page .schzbr-status-card {
  box-sizing: border-box;
  border: 1px solid var(--schz-line, #dce3da);
  border-radius: 8px;
  padding: clamp(19px,3vw,29px);
  background: #f8faf6;
  color: var(--schz-ink,#193a31);
  font: 400 15px/1.65 Arial,Helvetica,sans-serif;
}
.schzbr-system-page .schzbr-status-card .schzbr-deadline {
  display: flex; align-items: center; gap: 12px;
  color: var(--schz-forest,#10372d);
  font-size: 17px; line-height: 1.4; margin-bottom: 12px;
}
.schzbr-system-page .schzbr-status-card .schzbr-deadline span {font-size:26px;line-height:1;color:#a27539;}
.schzbr-system-page .schzbr-status-card p {margin:0 0 14px;color:#4e5f55;max-width:75ch;}
.schzbr-system-page .schzbr-status-card p:last-child {margin-bottom:0;}
.schzbr-system-page .schzbr-status-card .schzbr-status-hint {
  padding-top:14px;border-top:1px solid var(--schz-line,#dce3da);font-size:14px;
}
.schzbr-system-page .schzbr-confirmed-summary {
  box-sizing:border-box;border:1px solid var(--schz-line,#dce3da);
  border-radius:8px;padding:clamp(18px,2.5vw,25px);
  background:#f8faf6;margin:0 0 18px;
  font:400 15px/1.6 Arial,Helvetica,sans-serif;
}
.schzbr-system-page .schzbr-confirmed-summary p {margin:0 0 8px;color:#4e5f55;}
.schzbr-system-page .schzbr-confirmed-summary p:last-child {margin-bottom:0;}
.schzbr-system-confirmed .schzbr-confirmed-details {
  box-sizing:border-box; border:1px solid var(--schz-line,#dce3da);
  border-radius:8px;padding:clamp(18px,2.8vw,30px);width:100%;
}
.schzbr-system-confirmed .schzbr-confirmed-details :is(.mphb_sc_booking_confirmation-wrapper,.mphb-booking-confirmation-wrapper) {
  max-width:100%;box-sizing:border-box;border:0;padding:0;
}
.schzbr-system-confirmed .schzbr-confirmed-details :is(p:empty) {display:none;}
.schzbr-system-confirmed .schzbr-confirmed-details :is(h2,h3) {margin-top:0;margin-bottom:12px;}
@media (max-width:640px) {
  .schzbr-system-page .schzbr-status-card .schzbr-deadline {align-items:flex-start;}
  .schzbr-system-confirmed .schzbr-confirmed-details {overflow-wrap:anywhere;}
}
