/* Shared public search controls. Scopes deliberately exclude staff/admin forms. */
.guide-page .guide-search,
.shop-home .trip-builder-section .tb-builder-details {
  gap:18px;
  border-radius:16px;
}
.guide-page .guide-search label,
.shop-home .trip-builder-section .tb-builder-details label {
  min-width:0;
  gap:7px;
  font-size:.9375rem;
  line-height:1.4;
  letter-spacing:0;
  text-transform:none;
}
.guide-page .guide-search input:not([type=checkbox]):not([type=radio]),
.guide-page .guide-search select,
.shop-home .trip-builder-section .tb-builder-details input:not([type=checkbox]):not([type=radio]),
.shop-home .trip-builder-section .tb-builder-details select,
.shop-home .ga :is(.ga-field,.ga-fromto,.ga-ts-row) input {
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  min-height:50px;
  border-radius:10px;
  padding:11px 13px;
  font:500 1rem/1.5 'DM Sans',Arial,sans-serif;
}
.guide-page .guide-search select,
.shop-home .trip-builder-section .tb-builder-details select {
  appearance:none;
  -webkit-appearance:none;
  padding-right:38px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23244032' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 11px center;
  background-size:18px;
}
.guide-page .guide-search :is(input,select):focus,
.shop-home .trip-builder-section .tb-builder-details :is(input,select):focus {
  outline:3px solid #00a978;
  outline-offset:2px;
}
.guide-page .guide-search button,
.shop-home .trip-builder-section :is(.tb-builder-details button,.tb-builder-bottom button,.tb-builder-primary,.tb-builder-actions>a,.tb-builder-provider-actions>a,.tb-builder-guide),
.shop-home .night-planner :is(.np-link,.np-tick,.np-times,.np-install-btn,.np-all,.np-remove) {
  min-height:48px;
  font-size:.9375rem;
  line-height:1.4;
}
.shop-home .night-planner .np-close {width:48px;height:48px}
.shop-home .trip-builder-section .tb-builder-steps b {font-size:.875rem}
.shop-home .trip-builder-section .tb-builder-steps button {min-width:0;overflow-wrap:anywhere}
.shop-home .trip-builder-section .tb-builder-dates {grid-template-columns:repeat(4,minmax(0,1fr))}
.shop-home .trip-builder-section .tb-builder-steps small {font-size:.8125rem}
.shop-home .trip-builder-section .tb-builder-status,
.shop-home .trip-builder-section .tb-builder-help {font-size:.875rem;line-height:1.6}
.shop-home .trip-builder-section .tb-builder-choice {min-height:48px;font-size:.9375rem}
/* Public pages share the dark controls used by ticket search. */
.shop-home.guide-page .guide-search label {color:#d5dce5}
.shop-home.guide-page .guide-search input:not([type=checkbox]):not([type=radio]),
.shop-home.guide-page .guide-search select,
.shop-home .trip-builder-section .tb-builder-details input:not([type=checkbox]):not([type=radio]),
.shop-home .trip-builder-section .tb-builder-details select {
  background-color:#101018;
  color:#f4f6f8;
  border-color:#41414e;
  color-scheme:dark;
}
.shop-home.guide-page .guide-search input::placeholder,
.shop-home .trip-builder-section .tb-builder-details input::placeholder {color:#acb3bf;opacity:1}
.shop-home.guide-page .guide-search select,
.shop-home .trip-builder-section .tb-builder-details select {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23d5dce6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:18px 18px;
}
.shop-home.guide-page .guide-search button {background:#00e0a6;color:#04140d}
.shop-home.guide-page .flight-search {background:#101018;border-color:#343440}
.shop-home.guide-page .guide-search select option,
.shop-home .trip-builder-section .tb-builder-details select option {background:#101018;color:#f4f6f8}
.shop-home .ga :is(.ga-field input,.ga-fromto input,.ga-ts-row input) {color-scheme:dark;border-color:#41414e}
.shop-home .ga :is(.ga-field span,.ga-ts-row label) {font-size:.875rem;letter-spacing:0;text-transform:none}
.shop-home .ga :is(.ga-locate,.ga-tabs button,.ga-chips button) {min-height:48px}
/* Builder: one page surface, with lighter panels only where the visitor works. */
.shop-home .trip-builder-section {background:#07070b;color:#f4f6f8}
.shop-home .trip-builder-section :is(.tb-builder-details,.tb-builder-panel,.tb-builder-summary) {
  background:#101018;
  border:1px solid #343440;
  border-radius:16px;
  color:#f4f6f8;
}
.shop-home .trip-builder-section :is(.tb-builder-details label,.tb-builder-heading p,.tb-builder-panel>p,.tb-builder-provider p,.tb-builder-offer p,.tb-builder-status,.tb-builder-help,.tb-builder-summary>p,.tb-builder-review-step p,.tb-builder-review-step li) {color:#bbc3ce}
.shop-home .trip-builder-section :is(.tb-builder-provider,.tb-builder-review-step,.tb-builder-bottom,.tb-builder-ticket) {border-color:#343440}
.shop-home .trip-builder-section .tb-builder-provider {background:transparent}
.shop-home .trip-builder-section :is(.tb-builder-empty,.tb-builder-pending,.tb-builder-offer,.tb-builder-confirm) {background:#171722;border-color:#41414e;color:#c9d1db}
.shop-home .trip-builder-section :is(.tb-builder-provider-type,.tb-builder-ticket small,.tb-builder-review-step a) {color:#85dfc3}
.shop-home .trip-builder-section :is(.tb-builder-saved,.tb-builder-progress) {background:#1c3030;color:#b5e9d8}
.shop-home .trip-builder-section .tb-builder-steps button {background:#171722;border-color:#343440;color:#c9d1db}
.shop-home .trip-builder-section .tb-builder-steps button>span {border-color:#64727c}
.shop-home .trip-builder-section .tb-builder-steps button[aria-current=step] {background:#00e0a6;border-color:#00e0a6;color:#04140d}
.shop-home .trip-builder-section .tb-builder-steps button[aria-current=step]>span {background:#04140d;border-color:#04140d;color:#00e0a6}
.shop-home .trip-builder-section .tb-builder-steps button[aria-current=step] small {color:#164d3c}
.shop-home .trip-builder-section :is(.tb-builder-details button,.tb-builder-bottom button,.tb-builder-actions>a,.tb-builder-provider-actions>a,.tb-builder-guide) {background:#171722;color:#f4f6f8;border-color:#59636d}
.shop-home .trip-builder-section :is(.tb-builder-details .tb-builder-update,.tb-builder-primary,.tb-builder-actions>.tb-builder-primary,.tb-builder-bottom .tb-builder-primary) {background:#00e0a6;border-color:#00e0a6;color:#04140d}
.shop-home .trip-builder-section .tb-builder-bottom .tb-builder-skip {background:transparent;border-color:transparent;color:#c9d1db}
.shop-home .trip-builder-section :is(.tb-builder-choice input,.tb-builder-ticket>input,.tb-builder-confirm input) {accent-color:#00e0a6}
.shop-home .night-planner .np-close {min-height:48px;width:48px}
.shop-home .night-planner .np-link {white-space:normal;line-height:1.4}
.shop-home .night-planner :is(.np-title,.np-night h3) {color:#0b0c0c}
@media(max-width:650px) {
  .guide-page .guide-search {padding:18px;gap:16px}
  .guide-page .guide-search:not(.trip-search) {grid-template-columns:minmax(0,1fr)}
  .guide-page .guide-search.trip-search {grid-template-columns:repeat(2,minmax(0,1fr))}
  .guide-page .guide-search.trip-search label:has(input[list]),
  .guide-page .guide-search.trip-search label:has(select[name=country]),
  .guide-page .guide-search.trip-search label:has(select[name=currency]) {grid-column:1/-1}
  .guide-page .guide-search button {grid-column:1/-1}
  .guide-page .guide-search .flight-oneway {min-height:48px;padding-top:0;gap:10px}
  .guide-page .guide-search .flight-oneway input {width:20px;height:20px;flex:0 0 20px;accent-color:#00e0a6}
  .shop-home .trip-builder-section .tb-builder-details {padding:16px}
  .shop-home .trip-builder-section .tb-builder-destination {grid-template-columns:minmax(0,1fr)}
  .shop-home .trip-builder-section .tb-builder-dates {grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-home .trip-builder-section .tb-builder-party {align-items:stretch;flex-wrap:wrap}
  .shop-home .trip-builder-section .tb-builder-party label {max-width:none;flex-basis:100%}
  .shop-home .trip-builder-section .tb-builder-update {width:100%}
  .shop-home .trip-builder-section .tb-builder-steps {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .shop-home .trip-builder-section .tb-builder-steps button {padding:10px 7px;min-height:70px}
  .shop-home .trip-builder-section .tb-builder-steps b {font-size:.875rem}
}
@media(max-width:380px) {
  .guide-page .guide-search.trip-search {grid-template-columns:minmax(0,1fr)}
}
