/* REHLTAK homepage search — rebuilt from actual Blade DOM, not guessed selectors.
   Mobile reference: compact tabs, 3 trip types, two-column origin/date rows.
   Flight slices, hotel guest controls and JS form handlers remain untouched. */
body.customer-portal #ota-home .trip-search{width:100%;min-width:0;max-width:100%;background:transparent!important;border:0!important;box-shadow:none!important}
body.customer-portal #ota-home .trip-search-card{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
body.customer-portal #ota-home .trip-search-forms,
body.customer-portal #ota-home .ota-panel,
body.customer-portal #ota-home .ota-form{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
body.customer-portal #ota-home .ota-panel[hidden],
body.customer-portal #ota-home [hidden]{display:none!important}
body.customer-portal #ota-home .ota-form{display:flex;flex-direction:column;align-items:stretch;gap:12px}
body.customer-portal #ota-home .ota-form>*{flex:0 0 auto;min-width:0;max-width:100%;box-sizing:border-box}
body.customer-portal #ota-home .trip-type-options{display:block;width:100%;min-width:0;max-width:100%;margin:0;padding:0;border:0}
body.customer-portal #ota-home .ota-trip-types{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;margin:0}
body.customer-portal #ota-home .ota-trip-types label{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;margin:0;padding:8px 13px;background:#f5f5f3;border:1px solid #e6e5e0;border-radius:999px;color:#454545;font-size:13px;font-weight:700;cursor:pointer}
body.customer-portal #ota-home .ota-trip-types label:has(input:checked){background:#fff4c5!important;border-color:#e5bd3b!important;color:#111214!important}
body.customer-portal #ota-home .ota-trip-types input{width:14px;min-width:14px;height:14px;margin:0;accent-color:#a67900!important}
body.customer-portal #ota-home .ota-fields{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;max-width:100%;padding:0;margin:0;background:transparent;box-shadow:none}
body.customer-portal #ota-home .ota-field{position:relative;display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:76px;padding:12px 14px;background:#fff;border:1px solid #e6e5e0;border-radius:13px;box-shadow:none;overflow:visible}
body.customer-portal #ota-home .ota-field:focus-within{background:#fffdf6;border-color:#d3a200!important}
body.customer-portal #ota-home .ota-field>span{font-size:11px;font-weight:700;color:#6c6c6c}
body.customer-portal #ota-home .ota-field>:is(input,select){width:100%;min-width:0;max-width:100%;min-height:27px;margin:0;padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#191919!important;font-size:14px;font-weight:700}
body.customer-portal #ota-home .ota-field input::placeholder{color:#888!important;font-weight:500}
body.customer-portal #ota-home .ota-fields-flight{position:relative;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e6e5e0;border-radius:18px;overflow:visible}
body.customer-portal #ota-home .ota-fields-flight>.ota-field{min-height:73px;border:0;border-bottom:1px solid #e6e5e0;border-radius:0;padding:12px 14px}
body.customer-portal #ota-home .ota-fields-flight>.field-autocomplete:first-child{grid-column:1;grid-row:1}
body.customer-portal #ota-home .ota-fields-flight>.field-autocomplete:nth-child(3){grid-column:2;grid-row:1}
body.customer-portal #ota-home .ota-fields-flight>.ota-field:nth-child(4){grid-column:1;grid-row:2}
body.customer-portal #ota-home .ota-fields-flight>.ota-return-field:not([hidden]){grid-column:2;grid-row:2}
body.customer-portal #ota-home .ota-fields-flight>.field-autocomplete:first-child,
body.customer-portal #ota-home .ota-fields-flight>.ota-field:nth-child(4){border-inline-end:1px solid #e6e5e0}
body.customer-portal #ota-home .ota-fields-flight>.ota-swap{position:absolute;z-index:7;top:37px;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;margin:0;border:1px solid #e7d89a;border-radius:50%;background:#fff9e6!important;color:#191919!important;box-shadow:0 2px 8px #0002;font-size:19px;line-height:1}
body.customer-portal #ota-home .ota-fields-flight>.passenger-picker{grid-column:1/-1;grid-row:auto;min-height:54px;border:0;border-bottom:1px solid #e6e5e0;padding:10px 14px;border-radius:0}
body.customer-portal #ota-home .passenger-picker summary{display:flex;align-items:center;min-height:36px;font-size:13px;font-weight:750;color:#111214;cursor:pointer}
body.customer-portal #ota-home .passenger-picker[open]{z-index:10}
body.customer-portal #ota-home .passenger-options{z-index:20;background:#fff;border:1px solid #e6e5e0;box-shadow:0 12px 25px #0002}
body.customer-portal #ota-home .ota-fields-flight>.ota-search-submit{grid-column:1/-1;grid-row:auto;min-height:54px;margin:10px;padding:12px 16px;border:0;border-radius:12px;background:#f5c518!important;background-image:none!important;color:#111214!important;font-size:16px;font-weight:800}
body.customer-portal #ota-home .ota-fields-flight:has(>.ota-return-field[hidden])>.passenger-picker{grid-column:2;grid-row:2}
body.customer-portal #ota-home .ota-fields-flight:has(>.ota-return-field[hidden])>.ota-field:nth-child(4){border-bottom:1px solid #e6e5e0}
body.customer-portal #ota-home .ota-fields-hotel>.field-autocomplete:first-child{grid-column:1/-1}
body.customer-portal #ota-home .ota-fields-hotel>[data-hotel-guests]{grid-column:1/-1;min-width:0}
body.customer-portal #ota-home .ota-fields-three>.ota-field:first-child{grid-column:1/-1}
body.customer-portal #ota-home .ota-fields:not(.ota-fields-flight)>.ota-search-submit{grid-column:1/-1;width:100%;min-height:54px;border-radius:12px}
body.customer-portal #ota-home .ota-form-bottom{display:grid;grid-template-columns:1fr;gap:9px;width:100%}
body.customer-portal #ota-home .ota-form-bottom>.ota-search-submit{width:100%;min-height:54px;border-radius:12px}
body.customer-portal #ota-home .ota-form-bottom p,body.customer-portal #ota-home .b9-detail-link{font-size:11px;line-height:1.6;color:#6c6c6c}
body.customer-portal #ota-home .b9-detail-link{margin:2px 0 0;text-align:center}
body.customer-portal #ota-home .b9-detail-link a{color:#9a7100!important}
body.customer-portal #ota-home .trip-multi{width:100%;min-width:0;margin:0;padding:12px;border:1px solid #e6e5e0;border-radius:12px}
body.customer-portal #ota-home .trip-multi-list{display:grid;gap:12px}
body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight{grid-template-columns:repeat(2,minmax(0,1fr))}
body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.field-autocomplete,
body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-field:nth-child(4),
body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-return-field,
body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-swap{display:none!important}
body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.passenger-picker{grid-column:1/-1;grid-row:auto}
body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-search-submit{grid-column:1/-1;grid-row:auto}
body.customer-portal #ota-home .home-hotel-picker{width:100%;min-width:0}
body.customer-portal #ota-home .home-hotel-picker summary{min-height:52px;padding:12px;border:1px solid #e6e5e0;border-radius:12px;background:#fff;cursor:pointer}
body.customer-portal #ota-home .home-hotel-picker[open] .home-hotel-picker-body{background:#fff;border:1px solid #e6e5e0;border-radius:12px;padding:12px}
@media(max-width:767px){
 body.customer-portal #ota-home .trip-hero{padding:18px 0 28px!important}
 body.customer-portal #ota-home .trip-hero-inner{display:block!important;width:calc(100% - 24px)!important;max-width:540px!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
 body.customer-portal #ota-home .trip-hero-copy{margin:0 0 17px!important;padding:0!important}
 body.customer-portal #ota-home .trip-hero-copy h1{font-size:clamp(27px,7.2vw,36px)!important;line-height:1.17!important;margin:8px 0!important}
 body.customer-portal #ota-home .trip-hero-copy p{font-size:12px!important;line-height:1.65!important;margin:7px 0 12px!important}
 body.customer-portal #ota-home .trip-discover{min-height:34px!important;padding:7px 13px!important;font-size:11px!important}
 body.customer-portal #ota-home .trip-search{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 body.customer-portal #ota-home .trip-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;gap:3px!important;padding:5px!important;margin:0 0 12px!important;border-radius:36px!important}
 body.customer-portal #ota-home .trip-tab{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;min-height:54px!important;padding:6px 3px!important;border-radius:30px!important;font-size:11px!important;font-weight:750!important}
 body.customer-portal #ota-home .trip-tab svg{width:19px!important;height:19px!important}
 body.customer-portal #ota-home .trip-search-card{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:15px 13px 17px!important;border-radius:22px!important;box-sizing:border-box!important}
 body.customer-portal #ota-home .trip-search-forms,
 body.customer-portal #ota-home .ota-panel,
 body.customer-portal #ota-home .ota-form{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 body.customer-portal #ota-home .ota-panel[hidden]{display:none!important}
 body.customer-portal #ota-home .ota-form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:11px!important}
 body.customer-portal #ota-home .ota-form>*{width:100%!important;min-width:0!important;max-width:100%!important;flex:0 0 auto!important;box-sizing:border-box!important;margin-inline:0!important}
 body.customer-portal #ota-home .trip-type-options{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important}
 body.customer-portal #ota-home .ota-trip-types{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;width:100%!important;margin:0!important}
 body.customer-portal #ota-home .ota-trip-types label{display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;gap:4px!important;width:100%!important;min-width:0!important;min-height:33px!important;margin:0!important;padding:5px 3px!important;border-radius:19px!important;font-size:clamp(9px,2.5vw,11px)!important;white-space:nowrap!important;box-sizing:border-box!important}
 body.customer-portal #ota-home .ota-trip-types label input{flex:0 0 13px!important;width:13px!important;height:13px!important;margin:0!important}
 body.customer-portal #ota-home .ota-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 body.customer-portal #ota-home .ota-fields-flight{position:relative!important;overflow:visible!important;border:1px solid #e6e5e0!important;border-radius:16px!important}
 body.customer-portal #ota-home .ota-fields-flight>.ota-field{min-height:72px!important;padding:10px 10px!important;border:0!important;border-bottom:1px solid #e6e5e0!important;border-radius:0!important}
 body.customer-portal #ota-home .ota-fields-flight>.field-autocomplete:first-child{grid-column:1!important;grid-row:1!important}
 body.customer-portal #ota-home .ota-fields-flight>.field-autocomplete:nth-child(3){grid-column:2!important;grid-row:1!important}
 body.customer-portal #ota-home .ota-fields-flight>.ota-field:nth-child(4){grid-column:1!important;grid-row:2!important}
 body.customer-portal #ota-home .ota-fields-flight>.ota-return-field:not([hidden]){grid-column:2!important;grid-row:2!important}
 body.customer-portal #ota-home .ota-fields-flight>.field-autocomplete:first-child,
 body.customer-portal #ota-home .ota-fields-flight>.ota-field:nth-child(4){border-inline-end:1px solid #e6e5e0!important}
 body.customer-portal #ota-home .ota-fields-flight>.ota-swap{position:absolute!important;z-index:8!important;top:35px!important;left:50%!important;transform:translate(-50%,-50%)!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;margin:0!important;padding:0!important;border:1px solid #dfcb80!important;border-radius:50%!important;background:#fff9e6!important;color:#111214!important;display:grid!important;place-items:center!important;grid-column:auto!important;grid-row:auto!important}
 body.customer-portal #ota-home .ota-fields-flight>.passenger-picker{grid-column:1/-1!important;grid-row:auto!important;min-height:52px!important;padding:8px 11px!important;border:0!important;border-bottom:1px solid #e6e5e0!important}
 body.customer-portal #ota-home .ota-fields-flight>.ota-search-submit{grid-column:1/-1!important;grid-row:auto!important;width:calc(100% - 20px)!important;min-height:53px!important;margin:10px!important;border-radius:12px!important}
 body.customer-portal #ota-home .ota-fields-flight:has(>.ota-return-field[hidden])>.passenger-picker{grid-column:2!important;grid-row:2!important}
 body.customer-portal #ota-home .ota-fields-hotel>.field-autocomplete:first-child{grid-column:1/-1!important}
 body.customer-portal #ota-home .ota-fields-hotel>[data-hotel-guests]{grid-column:1/-1!important}
 body.customer-portal #ota-home .ota-fields:not(.ota-fields-flight)>.ota-search-submit{grid-column:1/-1!important;width:100%!important;margin:10px 0 0!important}
 body.customer-portal #ota-home .ota-fields-three>.ota-field:first-child{grid-column:1/-1!important}
 body.customer-portal #ota-home .ota-form-bottom{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
 body.customer-portal #ota-home .ota-form-bottom>.ota-search-submit{width:100%!important;min-height:53px!important}
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.field-autocomplete,
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-field:nth-child(4),
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-return-field,
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-swap{display:none!important}
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.passenger-picker{grid-column:1/-1!important;grid-row:auto!important}
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-search-submit{grid-column:1/-1!important;grid-row:auto!important}
 body.customer-portal #ota-home .ota-field>span{font-size:11px!important}
 body.customer-portal #ota-home .ota-field>:is(input,select){font-size:13px!important;max-width:100%!important}
 body.customer-portal #ota-home .ota-field input[type="date"]{font-size:12px!important;direction:ltr!important;text-align:start!important}
 body.customer-portal #ota-home .b9-detail-link{margin:0!important;text-align:center!important}
 body.customer-portal #ota-home .passenger-options{width:min(320px,calc(100vw - 45px))!important;max-width:calc(100vw - 45px)!important}
 body.customer-portal #ota-home .trip-multi-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.customer-portal #ota-home [hidden]{display:none!important}
}
@media(max-width:360px){body.customer-portal #ota-home .trip-search-card{padding:12px 9px!important}body.customer-portal #ota-home .ota-trip-types label{font-size:9px!important;padding-inline:2px!important}body.customer-portal #ota-home .ota-fields-flight>.ota-field{padding-inline:7px!important}}
/* Wider screens: one horizontal row of travel fields, compact action row. */
@media(min-width:900px){
 body.customer-portal #ota-home .ota-fields-flight{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
 body.customer-portal #ota-home .ota-fields-flight>.field-autocomplete:first-child{grid-column:1;grid-row:1}
 body.customer-portal #ota-home .ota-fields-flight>.field-autocomplete:nth-child(3){grid-column:2;grid-row:1}
 body.customer-portal #ota-home .ota-fields-flight>.ota-field:nth-child(4){grid-column:3;grid-row:1}
 body.customer-portal #ota-home .ota-fields-flight>.ota-return-field:not([hidden]){grid-column:4;grid-row:1}
 body.customer-portal #ota-home .ota-fields-flight>.ota-field:nth-child(4){border-inline-end:1px solid #e6e5e0}
 body.customer-portal #ota-home .ota-fields-flight>.ota-swap{left:25%;top:37px}
 body.customer-portal #ota-home .ota-fields-flight>.passenger-picker{grid-column:1/3;grid-row:2;border-bottom:0}
 body.customer-portal #ota-home .ota-fields-flight>.ota-search-submit{grid-column:3/5;grid-row:2}
 body.customer-portal #ota-home .ota-fields-flight:has(>.ota-return-field[hidden])>.passenger-picker{grid-column:1/3;grid-row:2}
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.passenger-picker{grid-column:1/3;grid-row:2}
 body.customer-portal #ota-home .trip-multi-mode .ota-fields-flight>.ota-search-submit{grid-column:3/5;grid-row:2}
}
