/* 4.17.30 — targeted audit corrections on the retained v4.17.25 design. */
/* Hidden horizontal overflow was turning body into a separate scroll container,
   so sticky checkout summaries could scroll out of sight with the document. */
@supports (overflow:clip) {
  html:has(body:not(.wp-admin) #bst-marketplace-root),
  body:not(.wp-admin):has(#bst-marketplace-root) {
    overflow-x:clip!important;
    overflow-y:visible!important;
  }
}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart {
  --bt-refine-gap:20px;
  --bt-refine-panel-padding:22px;
  font-family:Manrope,system-ui,sans-serif;
}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart :is(.bst-cart-item,.bst-cart-schedule,.bst-cart-contact,.bst-cart-summary) {
  background:#fff!important;
  border-color:#dde1e5!important;
  box-shadow:0 3px 12px rgba(13,43,72,0.04)!important;
}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart :is(h2,h3) {font-weight:700!important;line-height:1.35!important;letter-spacing:-.02em!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-header h2 {font-size:clamp(26px,2.6vw,34px)!important;scroll-margin-top:120px;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-header p {max-width:68ch;font-size:14px!important;line-height:1.6!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-top {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px 20px!important;align-items:start!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-top h3 {font-size:17px!important;margin:5px 0 8px!important;overflow-wrap:anywhere;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-price {display:flex;flex-direction:column;gap:3px;align-items:flex-end;white-space:normal!important;text-align:right;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-price strong {font-size:18px;line-height:1.3;font-weight:700;white-space:nowrap;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-price small {font-size:11px;line-height:1.4;color:#4e6479;font-weight:500;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-operator {display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:13px;line-height:1.5;color:#0d2b48;margin:0 0 16px;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-operator small {font-size:12px;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-verified {display:inline-flex;align-items:center;gap:5px;color:#0d2b48;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-facts {gap:12px 18px!important;font-size:13px!important;line-height:1.5!important;padding-bottom:4px;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart :is(.bst-cart-facts,.bst-cart-operator,.bst-cart-summary-notice,.bst-cart-link) .dashicons {flex:0 0 18px;width:18px!important;height:18px!important;font-size:18px!important;line-height:1.2;vertical-align:middle;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-trip-inputs {background:#f7f8f9!important;border-color:#edeff1!important;gap:14px!important;padding:16px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-trip-inputs label {font-size:12px!important;line-height:1.5!important;font-weight:600!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-policy {margin-top:14px;padding-top:12px;border-top:1px solid #edeff1;font-size:13px;line-height:1.6;color:#0d2b48;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-policy summary {cursor:pointer;font-weight:600;color:#0d2b48;min-height:30px;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-policy p {margin:8px 0 0;max-width:70ch;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-actions {gap:10px 16px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-actions > div {gap:10px 16px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-link {font-size:13px!important;min-height:40px!important;gap:6px!important;padding:8px 4px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root :is(.bst-cart-schedule,.bst-cart-contact,.bst-cart-summary) h3 {display:flex;align-items:center;gap:8px;font-size:18px!important;margin-bottom:10px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root :is(.bst-cart-schedule,.bst-cart-contact) > p {font-size:13px!important;line-height:1.6!important;color:#4e6479!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-fields {gap:18px!important;margin:20px 0!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root :is(.bst-cart-fields label,.bst-cart-note) {font-size:13px!important;font-weight:600!important;line-height:1.5!important;gap:7px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-required {font-size:11px;font-weight:400;color:#4e6479;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart :is(input:not([type=checkbox]),select,textarea) {font-family:inherit!important;font-size:14px!important;line-height:1.5!important;font-weight:400!important;box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-consent {font-size:13px!important;line-height:1.65!important;gap:10px!important;margin-top:18px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-consent input {width:18px!important;height:18px!important;margin-top:3px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-summary {align-self:start!important;top:100px!important;max-height:calc(100dvh - 120px);overflow-y:auto;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-summary-meta {font-size:13px;line-height:1.5;color:#4e6479;margin:0 0 18px;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-summary-row {font-size:14px!important;line-height:1.5!important;gap:12px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-summary-row strong {font-size:14px!important;font-weight:600!important;white-space:nowrap;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-summary-total strong:last-child {font-size:23px!important;font-weight:700!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-summary-notice {font-size:12px!important;line-height:1.6!important;padding:8px 0!important;margin-top:8px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-primary {font-size:14px!important;font-weight:700!important;min-height:48px!important;margin-top:16px!important;line-height:1.5!important;white-space:normal!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-back {margin-top:10px!important;min-height:44px!important;font-size:13px!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart [aria-invalid=true] {border-color:#0d2b48!important;outline:2px solid rgba(13,43,72,0.2);outline-offset:1px;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart :is(input,[tabindex]) {scroll-margin-top:120px;scroll-margin-bottom:90px;}
/* Keep floating actions out of active forms and dialog interaction regions. */
body.bst-modal-open:not(.wp-admin) .bst-cart-fab,
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root:has(.bst-custom-ride__form) .bst-cart-fab {display:none!important;}
body:not(.wp-admin) .bst-modal-shell {padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))!important;box-sizing:border-box!important;}
body:not(.wp-admin) .bst-modal-card {max-height:calc(100dvh - 24px)!important;overscroll-behavior:contain;scrollbar-gutter:stable;}
body:not(.wp-admin) .bst-modal-head {min-height:56px;gap:12px;}
body:not(.wp-admin) .bst-modal-head > button {flex:none;min-width:40px;min-height:40px;}
/* Small readability corrections; retain the chosen font and action shapes. */
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-listing-card__cta {font-size:12px!important;line-height:1.4!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-listing-card__price span {font-size:12px!important;line-height:1.4!important;}
body:not(.wp-admin) #bt-editorial-directory .bt-od-card__tags {gap:6px!important;}
body:not(.wp-admin) #bt-editorial-directory .bt-od-card__view {min-height:40px!important;line-height:1.4!important;}
body:not(.wp-admin) :is(.bst-workspace-heading__actions,.bst-overview-actions) {display:flex;flex-wrap:wrap;gap:10px;}
@media (max-width:1100px) {
 body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-summary {position:static!important;max-height:none!important;overflow-y:visible!important;}
}
@media (max-width:767px) {
 body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart {--bt-refine-gap:16px;--bt-refine-panel-padding:18px;}
 body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart :is(input:not([type=checkbox]),select,textarea) {font-size:16px!important;}
 body:not(.wp-admin) .bst-modal-shell {padding:8px!important;align-items:center!important;}
 body:not(.wp-admin) .bst-modal-card {max-height:calc(100dvh - 16px)!important;border-radius:18px!important;}
}
@media (max-width:480px) {
 body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-top {grid-template-columns:minmax(0,1fr)!important;gap:8px!important;}
 body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-price {align-items:flex-start;text-align:left;gap:2px;}
 body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart-item-price small:last-child {display:none;}
}

html:has(body.bst-modal-open:not(.wp-admin) #bst-marketplace-root),
body.bst-modal-open:not(.wp-admin):has(#bst-marketplace-root) {overflow:hidden!important;}
body:not(.wp-admin) .bst-generic-page {font-size:15px;line-height:1.75;}
body:not(.wp-admin) .bst-generic-page :is(h1,h2,h3) {line-height:1.35;font-family:Manrope,system-ui,sans-serif;}
body:not(.wp-admin) .bst-generic-page :is(p,ul,ol) {max-width:75ch;}
body:not(.wp-admin) #main-content {scroll-margin-top:110px;}

body:not(.wp-admin) :is(.bst-workspace,.bst-explorer-workspace,.bst-modal-card,#bt-editorial-directory) :is(input,select,textarea,button) {font-family:Manrope,system-ui,sans-serif!important;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root :is(.bst-workspace-heading h1,.bst-workspace-heading p,.bst-stat-card) {overflow-wrap:anywhere;}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root :is(.bst-workspace-heading__actions,.bst-custom-ride__actions) button {min-height:44px!important;white-space:normal!important;line-height:1.4!important;}

/* v4.17.37: explicit three-column header overrides the earlier two-column rule. */
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-item-top{grid-template-columns:76px minmax(0,1fr) auto!important;align-items:start!important;gap:16px!important;text-align:left!important}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-item-title{grid-column:2!important;text-align:left!important;min-width:0}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-item-price{width:auto!important;align-items:flex-end!important;text-align:right!important;border:0!important;padding:0!important;grid-column:3!important}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-operator{margin:4px 0 0!important;display:flex;flex-wrap:wrap;gap:6px;font-size:12px;line-height:1.5}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:14px 0!important;font-size:12px}
.bst-cart-route{display:flex;align-items:baseline;gap:9px;margin:16px 0 0;flex-wrap:wrap;color:#0d2b48;font-size:13px;line-height:1.6}
.bst-cart-flight-details summary{cursor:pointer;color:#0d2b48;font-weight:700;padding:3px 0}
.bst-cart-flight-details[open] summary{margin-bottom:12px}
.bst-cart .bst-cart-trip-inputs{padding:13px;margin-top:12px}
@media(max-width:760px){
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-item-top{grid-template-columns:56px minmax(0,1fr)!important;gap:12px!important}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-item-price{grid-column:2!important;align-items:flex-start!important;text-align:left!important}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-thumbnail{width:56px;height:56px;grid-row:1 / span 2}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-cart .bst-cart-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v4.17.39: checkout has its own full-width content area, without account sidebar. */
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-explorer-panel--cart{display:block!important;width:100%!important;min-width:0!important}
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root#bst-marketplace-root .bst-explorer-panel--cart>.bst-cart{width:100%!important;max-width:1360px!important;margin-inline:auto!important;box-sizing:border-box!important}
