/**
 * Native booking page — desktop mockup A, phone mockup C.
 * Uses booking-card tokens (--hb-accent*, preset radii, Plus Jakarta Sans).
 */

/* Full-width shell (plugin page template) — mirrors single-property. */
.hb-native-checkout-shell {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #fff;
}

.hb-native-checkout-shell__inner {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 48px;
  box-sizing: border-box;
}

/* If a theme still wraps us in a boxed column, break out full-bleed. */
body.hb-native-checkout-page .site-main .hb-native-checkout-shell,
body.hb-native-checkout-page .entry-content .hb-native-checkout-shell,
body.hb-native-checkout-page .elementor-section-boxed .hb-native-checkout-shell {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Theme page title fallback (filters handle Hello / the_title). */
body.hb-native-checkout-page .page-header,
body.hb-native-checkout-page .entry-header,
body.hb-native-checkout-page h1.entry-title,
body.hb-native-checkout-page h1.page-title,
body.hb-native-checkout-page .page-title,
body.hb-native-checkout-page .entry-title {
  display: none !important;
}

.hb-native-checkout {
  --hb-native-ink: #14212b;
  --hb-native-muted: #5c6b76;
  --hb-native-line: #e4e9ed;
  --hb-native-soft: #f3f8f6;
  --hb-native-card: #fff;
  --hb-native-accent: var(--hb-accent, #1f6f5b);
  --hb-native-radius: 12px;
  --hb-native-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --hb-native-sticky-pad: 0px;
  font-family: var(--hb-native-font);
  color: var(--hb-native-ink);
  max-width: none;
  width: 100%;
  margin: 0 auto 0;
  padding: 24px 0 0;
  box-sizing: border-box;
}

/* Shortcode on a non-shell page still centers itself. */
body:not(.hb-native-checkout-page) .hb-native-checkout {
  max-width: 1120px;
  margin: 0 auto 48px;
  padding: 24px 20px 48px;
}

.hb-native-checkout *,
.hb-native-checkout *::before,
.hb-native-checkout *::after {
  box-sizing: border-box;
}

.hb-native-checkout,
.hb-native-checkout input,
.hb-native-checkout button,
.hb-native-checkout select,
.hb-native-checkout textarea,
.hb-native-checkout label,
.hb-native-checkout a,
.hb-native-checkout .button,
.hb-native-checkout #place_order,
.hb-native-checkout__sticky-btn {
  font-family: var(--hb-native-font) !important;
}

.hb-native-checkout__mobile-bar {
  display: none;
}

.hb-native-checkout__title {
  margin: 0 0 28px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hb-native-checkout__layout {
  display: grid;
  /* ~60% form / ~40% summary on desktop */
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 40px;
  align-items: start;
}

.hb-native-checkout__section-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
}

.hb-native-checkout__trip {
  margin-bottom: 28px;
  border-top: 1px solid var(--hb-native-line);
  border-bottom: 1px solid var(--hb-native-line);
}

.hb-native-checkout__trip-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hb-native-line);
}

.hb-native-checkout__trip-row:last-child {
  border-bottom: 0;
}

.hb-native-checkout__trip-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hb-native-muted);
  margin-bottom: 4px;
}

.hb-native-checkout__trip-value {
  font-size: 16px;
  font-weight: 600;
}

.hb-native-checkout__edit,
.hb-native-checkout__woo .woocommerce-form-coupon-toggle a,
.hb-native-checkout__woo .woocommerce-form-coupon-toggle .showcoupon,
.hb-native-checkout__coupon-toggle,
.hb-native-checkout a.hb-native-checkout__policy-link,
.hb-native-checkout .woocommerce-terms-and-conditions-checkbox-text a {
  color: var(--hb-native-ink) !important; /* beat theme a { color } */
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hb-native-checkout__pay-choice {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
}

.hb-native-checkout__pay-choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 15px;
}

.hb-native-checkout__woo .woocommerce-billing-fields h3,
.hb-native-checkout__woo .woocommerce-additional-fields h3,
.hb-native-checkout__woo #order_review_heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
}

.hb-native-checkout__woo .form-row {
  margin: 0 0 14px;
}

.hb-native-checkout__woo .form-row > label:not(.woocommerce-form__label-for-checkbox):not(.hb-native-checkout__terms-label),
.hb-native-checkout__woo .form-row label:not(.woocommerce-form__label-for-checkbox):not(.hb-native-checkout__terms-label) {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hb-native-muted);
  margin: 0 0 4px;
  line-height: 1.2;
}

.hb-native-checkout__woo .form-row input.input-text,
.hb-native-checkout__woo .form-row textarea,
.hb-native-checkout__woo .form-row select,
.hb-native-checkout__coupon-panel input {
  border: 1px solid #cfd6dc;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  width: 100%;
  background: #fff;
  color: var(--hb-native-ink);
  font-family: var(--hb-native-font);
}

/* —— Payment method cards —— */
.hb-native-checkout__woo #payment {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.hb-native-checkout__woo #payment ul.wc_payment_methods,
.hb-native-checkout__woo ul.payment_methods {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 16px;
  padding: 0;
}

.hb-native-checkout__woo #payment ul.wc_payment_methods > li,
.hb-native-checkout__woo ul.payment_methods > li,
.hb-native-checkout .wc_payment_method {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 10px;
  padding: 0;
}

.hb-native-checkout__woo #payment ul.wc_payment_methods > li::marker,
.hb-native-checkout__woo ul.payment_methods > li::marker,
.hb-native-checkout .wc_payment_method::marker {
  content: none;
  display: none;
  font-size: 0;
}

.hb-native-checkout__woo #payment ul.wc_payment_methods > li,
.hb-native-checkout .wc_payment_method {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  border: 1px solid var(--hb-native-line);
  border-radius: var(--hb-native-radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  padding: 0;
}

.hb-native-checkout__woo #payment ul.wc_payment_methods > li:has(input:checked),
.hb-native-checkout .wc_payment_method:has(input:checked),
.hb-native-checkout .wc_payment_method.is-selected {
  border-color: var(--hb-native-accent);
  box-shadow: 0 0 0 1px var(--hb-native-accent);
}

.hb-native-checkout__woo #payment .wc_payment_method > input[type="radio"],
.hb-native-checkout .wc_payment_method > input[type="radio"] {
  grid-column: 1;
  grid-row: 1;
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0 0 0 16px;
  border: 1.5px solid #c5ced6;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}

.hb-native-checkout__woo #payment .wc_payment_method > label,
.hb-native-checkout .wc_payment_method > label {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px 14px 12px;
  margin: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--hb-native-ink);
}

.hb-native-checkout__woo #payment .wc_payment_method > label img,
.hb-native-checkout .wc_payment_method > label img {
  height: 22px;
  width: auto;
  max-width: 120px;
  margin-left: auto;
  object-fit: contain;
}

/* Never show a solid color block as a “gateway icon” */
.hb-native-checkout .wc_payment_method > label img[src^="data:image/svg+xml"][src*="rect"],
.hb-native-checkout .hb-native-gateway-icon--placeholder {
  display: none !important;
}

/* Custom radio checked state */

.hb-native-checkout__woo #payment input[type="radio"]:checked,
.hb-native-checkout .wc_payment_method input[type="radio"]:checked {
  border-color: var(--hb-native-accent);
  background: #fff;
}

.hb-native-checkout__woo #payment input[type="radio"]:checked::after,
.hb-native-checkout .wc_payment_method input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--hb-native-accent);
}

.hb-native-checkout__woo #payment div.payment_box,
.hb-native-checkout .wc_payment_method > .payment_box {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  background: var(--hb-native-soft);
  border: 0;
  border-top: 1px solid var(--hb-native-line);
  border-radius: 0;
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--hb-native-ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.hb-native-checkout__woo #payment div.payment_box input,
.hb-native-checkout__woo #payment div.payment_box select,
.hb-native-checkout__woo #payment div.payment_box textarea,
.hb-native-checkout .wc_payment_method > .payment_box input,
.hb-native-checkout .wc_payment_method > .payment_box select,
.hb-native-checkout .wc_payment_method > .payment_box textarea {
  max-width: 100%;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.hb-native-checkout__woo #payment div.payment_box::before {
  display: none;
}

/* Real Stripe UPE container — never a text placeholder */
.hb-native-checkout #wc-stripe-upe-form,
.hb-native-checkout .wc-stripe-upe-element,
.hb-native-checkout .wc-stripe-payment-method-instruction {
  min-height: 40px;
}

/* —— No usable payment methods —— */
.hb-native-checkout__no-payment {
  margin: 0 0 8px;
  padding: 18px 18px;
  border: 1px solid var(--hb-native-line);
  border-radius: var(--hb-native-radius);
  background: var(--hb-native-soft);
}

.hb-native-checkout__no-payment-msg {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--hb-native-ink);
}

.hb-native-checkout__no-payment-admin {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--hb-native-muted);
}

.hb-native-checkout button.hb-native-checkout__sticky-btn:disabled,
.hb-native-checkout button.hb-native-checkout__sticky-btn[aria-disabled="true"],
.hb-native-checkout--no-payment button.hb-native-checkout__sticky-btn,
.hb-stay-checkout button.hb-native-checkout__sticky-btn:disabled,
.hb-stay-checkout button.hb-native-checkout__sticky-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  pointer-events: none;
}

/*
 * Beat public.css `.hb-stay-checkout :is(button,[type=submit])` reset.
 * Full-width only for in-form #place_order / CTA — never the sticky Pay now
 * (that must stay ~130px in the mobile bar).
 */
.hb-native-checkout .hb-native-checkout__woo #place_order,
.hb-native-checkout a.hb-native-checkout__cta,
.hb-native-checkout .hb-native-checkout__coupon-panel button,
.hb-stay-checkout .hb-native-checkout__woo #place_order {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  height: auto;
  padding: 14px 20px !important;
  border: 0 !important;
  border-radius: 10px;
  background: var(--hb-native-accent) !important;
  background-color: var(--hb-native-accent) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--hb-native-font) !important;
  box-shadow: none !important;
  visibility: visible !important;
  opacity: 1;
}

.hb-native-checkout button.hb-native-checkout__sticky-btn,
.hb-stay-checkout button.hb-native-checkout__sticky-btn,
body.hb-stay-checkout button.hb-native-checkout__sticky-btn,
body.hb-native-checkout button.hb-native-checkout__sticky-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 52px;
  height: 52px;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 10px;
  background: var(--hb-native-accent) !important;
  background-color: var(--hb-native-accent) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--hb-native-font) !important;
  box-shadow: none !important;
  visibility: visible !important;
  opacity: 1;
}

.hb-native-checkout__coupon-panel button {
  width: auto;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

.hb-native-checkout button.hb-native-checkout__sticky-btn:hover,
.hb-native-checkout button.hb-native-checkout__sticky-btn:focus,
.hb-native-checkout .hb-native-checkout__woo #place_order:hover,
.hb-native-checkout .hb-native-checkout__woo #place_order:focus,
.hb-native-checkout a.hb-native-checkout__cta:hover,
.hb-stay-checkout button.hb-native-checkout__sticky-btn:hover,
.hb-stay-checkout button.hb-native-checkout__sticky-btn:focus {
  filter: brightness(0.95);
  background: var(--hb-native-accent);
  background-color: var(--hb-native-accent);
  color: #fff !important;
}

.hb-native-checkout__hold-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--hb-native-muted);
  font-size: 14px;
}

.hb-native-checkout__hold-expired {
  display: none;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--hb-native-line);
  border-radius: var(--hb-native-radius);
  background: var(--hb-native-soft);
}

.hb-native-checkout.is-hold-expired .hb-native-checkout__hold-expired {
  display: block;
}

.hb-native-checkout.is-hold-expired .hb-native-checkout__hold-footer,
.hb-native-checkout.is-hold-expired .hb-native-checkout__hold-pill,
.hb-native-checkout.is-hold-expired .hb-native-checkout__sticky-pay,
.hb-native-checkout.is-hold-expired #place_order {
  display: none !important;
}

.hb-native-checkout__hold-expired p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--hb-native-ink);
}

.hb-native-checkout__hold-expired .hb-native-checkout__cta {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  padding: 10px 18px;
}

.hb-native-checkout__aside {
  position: sticky;
  top: 24px;
  align-self: start;
  z-index: 2;
}

.hb-native-checkout__aside.hb-aside--static {
  position: static;
  top: auto;
  max-height: none;
}

.hb-native-checkout__aside.hb-aside--sticky-bottom {
  position: sticky;
  z-index: 2;
}

.hb-native-checkout__card {
  border: 1px solid var(--hb-native-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--hb-native-card);
  box-shadow: 0 8px 28px rgba(20, 33, 43, 0.06);
}

.hb-native-checkout__hero {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, #1f6f5b, #4a9b82);
}

.hb-native-checkout__hero--fallback {
  background: linear-gradient(135deg, #1f6f5b, #4a9b82);
}

.hb-native-checkout__card-body {
  padding: 18px 18px 20px;
}

.hb-native-checkout__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.hb-native-checkout__card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.hb-native-checkout__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hb-native-accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.hb-native-price {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hb-native-price li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--hb-native-ink);
}

.hb-native-price__discount {
  color: var(--hb-native-accent);
  font-weight: 600;
}

.hb-native-price__stay-total {
  border-top: 1px dashed var(--hb-native-line);
  margin-top: 6px;
  padding-top: 14px !important;
  font-weight: 700;
}

/* Only the label+badge row — never nested .woocommerce-Price-* spans (that
   turned the currency symbol into a flex item and opened a wide $  300 gap). */
.hb-native-price__security > span:first-child {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hb-native-price__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--hb-native-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Every summary amount: same tight money rendering (no justify / tabular gaps). */
.hb-native-price .woocommerce-Price-amount,
.hb-native-price .woocommerce-Price-currencySymbol,
.hb-native-price bdi {
  display: inline !important;
  gap: 0 !important;
  letter-spacing: normal !important;
  font-variant-numeric: normal;
  white-space: nowrap;
}

.hb-native-price > li > span:last-child {
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: normal;
  letter-spacing: normal;
}

.hb-native-price__due-now {
  border-top: 1px solid var(--hb-native-line);
  margin-top: 8px;
  padding-top: 14px !important;
  font-weight: 700;
}

.hb-native-price__due-now span:last-child {
  color: var(--hb-native-accent);
  font-size: 18px;
}

.hb-native-price__due-later {
  color: var(--hb-native-muted);
}

.hb-native-price__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--hb-native-muted);
}

.hb-native-checkout__mobile-summary {
  display: none;
}

.hb-native-checkout__sticky-pay {
  display: none;
}

.hb-native-checkout--empty,
.hb-native-checkout--fallback {
  max-width: 560px;
}

.hb-native-checkout__link {
  text-decoration: underline;
  font-weight: 600;
  color: var(--hb-native-ink);
}

/* Coupon expand panel */
.hb-native-checkout__woo .woocommerce-form-coupon-toggle .woocommerce-info {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 12px 0;
  color: var(--hb-native-ink);
  box-shadow: none;
}

.hb-native-checkout__woo .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none;
}

.hb-native-checkout__coupon-panel,
.hb-native-checkout__woo form.checkout_coupon {
  display: none;
  border: 1px solid var(--hb-native-line);
  border-radius: 10px;
  padding: 12px;
  margin: 0 0 16px;
  background: #fff;
}

.hb-native-checkout__coupon-panel.is-open,
.hb-native-checkout__woo form.checkout_coupon[style*="block"],
.hb-native-checkout__woo form.checkout_coupon:not([style*="none"]) {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hb-native-checkout__woo form.checkout_coupon .form-row {
  margin: 0;
  flex: 1;
}

.hb-native-checkout__woo form.checkout_coupon .form-row-last {
  flex: 0 0 auto;
}

/* Terms checkbox — sentence-case body copy (never field-label uppercase) */
.hb-native-checkout__woo .woocommerce-terms-and-conditions-wrapper,
.hb-native-checkout__terms {
  margin: 16px 0;
}

.hb-native-checkout__woo .woocommerce-terms-and-conditions-wrapper .form-row,
.hb-native-checkout__woo .woocommerce-terms-and-conditions-wrapper .form-row.validate-required {
  margin: 0;
}

.hb-native-checkout__terms-label,
.hb-native-checkout__woo .woocommerce-form__label-for-checkbox,
.hb-native-checkout__woo .form-row label.woocommerce-form__label-for-checkbox,
.hb-native-checkout__woo .form-row > label.hb-native-checkout__terms-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px !important;
  line-height: 1.45;
  color: var(--hb-native-ink) !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  margin: 0 !important;
}

.hb-native-checkout__woo .woocommerce-terms-and-conditions-checkbox-text,
.hb-native-checkout__terms-label .woocommerce-terms-and-conditions-checkbox-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
  color: var(--hb-native-ink);
}

.hb-native-checkout__woo .woocommerce-form__label-for-checkbox input[type="checkbox"],
.hb-native-checkout__terms input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 5px;
  border: 1.5px solid #c5ced6;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}

.hb-native-checkout__woo .woocommerce-form__label-for-checkbox input[type="checkbox"]:checked,
.hb-native-checkout__terms input[type="checkbox"]:checked {
  background: var(--hb-native-accent);
  border-color: var(--hb-native-accent);
}

.hb-native-checkout__woo .woocommerce-form__label-for-checkbox input[type="checkbox"]:checked::after,
.hb-native-checkout__terms input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hide address fields when auto/never */
.hb-native-checkout[data-hb-address="never"] #billing_address_1_field,
.hb-native-checkout[data-hb-address="never"] #billing_address_2_field,
.hb-native-checkout[data-hb-address="never"] #billing_city_field,
.hb-native-checkout[data-hb-address="never"] #billing_state_field,
.hb-native-checkout[data-hb-address="never"] #billing_postcode_field,
.hb-native-checkout[data-hb-address="auto"] #billing_address_1_field,
.hb-native-checkout[data-hb-address="auto"] #billing_address_2_field,
.hb-native-checkout[data-hb-address="auto"] #billing_city_field,
.hb-native-checkout[data-hb-address="auto"] #billing_state_field,
.hb-native-checkout[data-hb-address="auto"] #billing_postcode_field {
  display: none;
}

.hb-native-checkout[data-hb-address="auto"].hb-native-checkout--need-address #billing_address_1_field,
.hb-native-checkout[data-hb-address="auto"].hb-native-checkout--need-address #billing_address_2_field,
.hb-native-checkout[data-hb-address="auto"].hb-native-checkout--need-address #billing_city_field,
.hb-native-checkout[data-hb-address="auto"].hb-native-checkout--need-address #billing_state_field,
.hb-native-checkout[data-hb-address="auto"].hb-native-checkout--need-address #billing_postcode_field {
  display: block;
}

/* —— Phone (mockup C) —— */
@media (max-width: 860px) {
  .hb-native-checkout-shell__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .hb-native-checkout {
    padding: 0 0 calc(var(--hb-native-sticky-pad, 88px) + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }

  .hb-native-checkout__mobile-bar {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hb-native-line);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 30;
    /* Keep the bar painted above in-flow summary while scrolling. */
    box-shadow: 0 1px 0 rgba(20, 33, 43, 0.04);
  }

  .hb-native-checkout__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hb-native-ink);
  }

  .hb-native-checkout__mobile-title {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
  }

  .hb-native-checkout__hold-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e7f3ee;
    color: var(--hb-native-accent);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  .hb-native-checkout__title--desktop,
  .hb-native-checkout__trip--desktop,
  .hb-native-checkout__aside,
  .hb-native-checkout__hold-footer--desktop {
    display: none !important;
  }

  .hb-native-checkout__layout {
    display: block;
    padding: 16px 16px 0;
  }

  .hb-native-checkout__mobile-summary {
    display: block;
    margin-bottom: 20px;
  }

  .hb-native-checkout__mobile-property {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .hb-native-checkout__thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1f6f5b, #4a9b82);
  }

  .hb-native-checkout__property-name {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
  }

  .hb-native-checkout__meta {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--hb-native-muted);
  }

  .hb-native-checkout__price-sheet {
    background: var(--hb-native-soft);
    border-radius: 14px;
    padding: 12px 14px;
    overflow: visible;
    max-height: none;
  }

  .hb-native-checkout__price-sheet[open] {
    /* Expanded sheet stays in document flow under the sticky header; scroll the page, don't clip the note. */
    overflow: visible;
  }

  .hb-native-checkout__price-sheet .hb-native-price__note {
    overflow: visible;
    white-space: normal;
  }

  .hb-native-checkout__price-sheet > summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    list-style: none;
  }

  .hb-native-checkout__price-sheet > summary::-webkit-details-marker {
    display: none;
  }

  .hb-native-checkout__sticky-pay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: #fff;
    border-top: 1px solid var(--hb-native-line);
    box-shadow: 0 -8px 24px rgba(20, 33, 43, 0.08);
  }

  .hb-native-checkout__sticky-pay[hidden] {
    display: none !important;
  }

  .hb-native-checkout__sticky-pay .hb-native-checkout__sticky-total {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .hb-native-checkout__sticky-total span {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    color: var(--hb-native-muted);
    white-space: nowrap;
  }

  .hb-native-checkout__sticky-total strong {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .hb-native-checkout__sticky-pay button.hb-native-checkout__sticky-btn,
  .hb-stay-checkout .hb-native-checkout__sticky-pay button.hb-native-checkout__sticky-btn,
  body.hb-native-checkout .hb-native-checkout__sticky-pay button.hb-native-checkout__sticky-btn {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    padding: 0 28px !important;
    white-space: nowrap;
    visibility: visible;
    opacity: 1;
  }

  /* Sticky Pay now replaces the in-form Confirm button on phone — never both */
  .hb-native-checkout .hb-native-checkout__woo #place_order,
  .hb-stay-checkout .hb-native-checkout__woo #place_order {
    display: none !important;
  }
}
