/* R17 — 13/10/2026: Only the none / Khachsan shortcode and its own body portal. */
.eh-legacy-search-area{background:#f3f7fa}
.eh-legacy-hotel-search{width:100%;color:#17314d}
.eh-legacy-hotel-search *,.eh-legacy-hotel-portal *{box-sizing:border-box}
.eh-legacy-hotel-search .eh-ps-form{background:#eaf0f3;border:0;border-radius:12px;padding:12px;margin:0}
.eh-legacy-hotel-search .eh-ts-destination{min-width:0}
.eh-legacy-hotel-search .eh-ps-destination{display:flex;align-items:center;gap:8px;min-height:58px;height:100%;padding:10px 14px}
.eh-legacy-hotel-search .eh-ps-destination input{width:100%;background:transparent;border:0;margin:0;padding:0;height:auto;box-shadow:none;font-size:14px}
.eh-legacy-hotel-search .eh-ps-guests summary,.eh-legacy-hotel-search .eh-hs-date-buttons>button,.eh-legacy-hotel-search .eh-ps-submit{min-height:58px}
.eh-legacy-hotel-search .eh-ps-status{color:#476477;grid-column:1/-1;margin:0}
.eh-legacy-hotel-search .eh-ps-status:empty{display:none}
.eh-legacy-hotel-portal .eh-hs-panel-body{padding:12px}
.eh-legacy-hotel-portal .eh-hs-product-suggestion{border:0;border-bottom:1px solid #edf2f5;border-radius:0;margin:0;padding:9px;grid-template-columns:40px minmax(0,1fr) auto;font-size:13px}
.eh-legacy-hotel-portal .eh-hs-suggestion-photo{width:40px;height:40px}
.eh-legacy-hotel-portal .eh-ts-ajax:not(:empty){margin-bottom:0}
@media(min-width:992px){
 .eh-legacy-hotel-search .eh-ps-form{display:grid;grid-template-columns:minmax(180px,1.05fr) minmax(280px,1.4fr) minmax(195px,1fr) 150px;gap:12px;align-items:stretch}
 .eh-legacy-hotel-search .eh-ps-bottom{display:contents}
 .eh-legacy-hotel-search .eh-hs-date-buttons{height:100%}
}
@media(min-width:768px) and (max-width:991px){
 .eh-legacy-hotel-search .eh-ps-bottom{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 130px}
}
@media(min-width:768px){
 .eh-legacy-hotel-portal .eh-hs-calendar .eh-hs-panel-footer{display:none}
 .eh-legacy-hotel-portal .eh-hs-guest-note{font-size:11px}
 .eh-legacy-hotel-portal .eh-hs-guest-panel .eh-hs-panel-footer{display:none}
 .eh-legacy-hotel-portal .eh-hs-calendar-status:empty{display:none}
}
@media(max-width:767px){
 .eh-legacy-hotel-search .eh-ps-form{padding:10px}
 .eh-legacy-hotel-search .eh-ps-bottom{grid-template-columns:minmax(0,1fr)}
 .eh-legacy-hotel-search .eh-hs-date-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eh-legacy-hotel-search .eh-hs-date-buttons>button{padding:10px}
 .eh-legacy-hotel-search .eh-ps-submit{width:100%;min-height:48px}
 .eh-legacy-hotel-portal .eh-hs-product-suggestion{grid-template-columns:40px minmax(0,1fr);gap:5px 10px}
 .eh-legacy-hotel-portal .eh-hs-suggestion-price{grid-column:2;text-align:left;max-width:none}
 .eh-legacy-hotel-portal .eh-hs-suggestion-photo{grid-row:span 2}
}
/* Use the full category container rather than the general shortcode's 780px limit. */
.eh-legacy-hotel-search .eh-ps{width:100%;max-width:none;margin:0}
.eh-legacy-hotel-search button,.eh-legacy-hotel-search input,.eh-legacy-hotel-search summary,.eh-legacy-hotel-portal button,.eh-legacy-hotel-portal input{font-family:inherit}

/* R17.3: Remove inherited top spacing from labels/date values in this shortcode only. */
.eh-legacy-hotel-search .eh-hs .eh-hs-date-buttons>button>span,
.eh-legacy-hotel-search .eh-hs .eh-hs-field-label,
.eh-legacy-hotel-search .eh-hs .eh-hs-date-buttons strong{margin-top:0}

/* R18 — 13/10/2026: A smaller form exclusively for eh_search_hotel_category. */
.eh-legacy-hotel-compact .eh-ps-form{padding:6px;gap:6px;border-radius:10px}
.eh-legacy-hotel-compact .eh-ps-destination{min-height:48px;padding:6px 10px;border-radius:8px}
.eh-legacy-hotel-compact .eh-ps-destination input{font-size:14px}
.eh-legacy-hotel-compact .eh-ps-guests summary{min-height:48px;padding:5px 10px;line-height:1.35}
.eh-legacy-hotel-compact .eh-hs-date-buttons>button{min-height:48px;padding:5px 10px}
.eh-legacy-hotel-compact .eh-hs-date-buttons>button:last-child{padding-left:14px}
.eh-legacy-hotel-compact .eh-hs-date-buttons>button>span,.eh-legacy-hotel-compact .eh-hs-field-label{font-size:11px;line-height:15px}
.eh-legacy-hotel-compact .eh-hs-date-buttons strong{font-size:13px;line-height:18px;margin-top:0}
.eh-legacy-hotel-compact [data-eh-guest-summary]{font-size:12px;line-height:18px;margin-top:0}
.eh-legacy-hotel-compact .eh-ps-submit{min-height:48px;padding:6px 10px;font-size:14px;border-radius:8px}
@media(min-width:992px){
 .eh-legacy-hotel-compact .eh-ps-form{grid-template-columns:minmax(160px,1.1fr) minmax(245px,1.25fr) minmax(190px,1fr) 120px}
}
@media(min-width:768px) and (max-width:991px){
 .eh-legacy-hotel-compact .eh-ps-bottom{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 110px;gap:6px;margin-top:6px}
}
@media(max-width:767px){
 .eh-legacy-hotel-compact .eh-ps-form{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:6px;padding:6px}
 .eh-legacy-hotel-compact .eh-ts-destination,.eh-legacy-hotel-compact .eh-hs-date-area{grid-column:1/-1}
 .eh-legacy-hotel-compact .eh-ps-bottom{display:contents}
 .eh-legacy-hotel-compact .eh-ps-destination{min-height:44px}
 .eh-legacy-hotel-compact .eh-ps-destination input{font-size:16px}
 .eh-legacy-hotel-compact .eh-ps-guests summary{min-height:44px;padding:4px 8px}
 .eh-legacy-hotel-compact .eh-ps-submit{min-height:44px;min-width:0;padding:5px;font-size:12px}
 .eh-legacy-hotel-compact .eh-hs-submit-mobile{font-size:12px}
 .eh-legacy-hotel-compact .eh-hs-native-dates label{padding:6px;font-size:11px}
 .eh-legacy-hotel-compact .eh-hs-native-dates input{font-size:14px}
}
