/* Domestic search result cards. Keep search, sorting and booking hooks intact. */
#hotelResult .hotel-result-item:has(.hotelImageResult) { display: grid; --card-accent: var(--mainColor, #2563eb); --card-soft: color-mix(in srgb, var(--card-accent) 4%, white); --card-line: color-mix(in srgb, var(--card-accent) 12%, white); direction: rtl; grid-template-columns: 24% minmax(0,1fr); height: auto; min-height: 214px; margin-bottom: 16px; padding: 12px; border: 1px solid var(--card-line); border-radius: 24px; background: #fff; box-shadow: 0 3px 14px #25313e05; overflow: visible; transition: border-color .2s, box-shadow .2s; }
#hotelResult .hotel-result-item:has(.hotelImageResult):hover { border-color: #cbd5df; box-shadow: 0 8px 24px #25313e0c; }
#hotelResult .hotel-result-item:has(.hotelImageResult) *, #hotelResult .hotel-result-item:has(.hotelImageResult) *::before { box-sizing: border-box; }
#hotelResult .hotel-result-item:has(.hotelImageResult) > div { width: auto; height: auto; min-width: 0; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-image { height: 100%; min-height: 188px; border-radius: 16px; background: #f1f4f7; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-image a { display: block; height: 100%; min-height: 188px; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(170px, 28%); width: 100%; height: 100%; min-height: 188px; border-radius: 0; line-height: 1.8; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-text { display: flex; gap: 6px; width: 100%; height: auto; min-width: 0; padding: 14px 20px; text-align: start; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .parent-hotel-name-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; direction: rtl; align-items: center; gap: 8px; width: 100%; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-name { color: #25313e; font-size: 19px; font-weight: 700; line-height: 1.7; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-name:hover { color: var(--mainColor); }
#hotelResult .hotel-result-item:has(.hotelImageResult) .rp-cel-hotel-star { display: flex; align-items: center; gap: 3px; height: auto; margin: 0; color: var(--card-accent); font-size: 14px; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-content-location { display: block; order: 1; width: 100%; margin: 5px 0 6px; color: #64748b; font-size: 12px; line-height: 1.9; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-content-location > span:first-child { display: none; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-content-location > span { color: inherit; font-size: inherit; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .text_div_more_hotel { order: 3; width: auto; margin: 0 !important; padding: 4px 5px; border-radius: 6px; background: #f8fafb; color: #77818b; font-size: 10px; line-height: 1.8; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotelpreferences { width: 100%; height: auto; margin: 0; padding: 0; overflow: hidden; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .internal-hotel-facilities { display: flex; flex-wrap: wrap; gap: 6px; max-height: 70px; overflow: hidden; margin: 0; padding: 0; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .internal-hotel-facilities > span { display: inline-flex; width: auto; margin: 0; padding: 5px 9px; border: 1px solid var(--card-line); border-radius: 10px; background: #fff; color: var(--card-accent); font-size: 11px; line-height: 1.6; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .internal-hotel-facilities > span::before, #hotelResult .hotel-result-item:has(.hotelImageResult) .internal-hotel-facilities > span::after { display: none; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-bottom { display: flex; justify-content: center; width: 100%; height: auto; padding: 14px; border: 0; border-inline-start: 1px solid var(--card-line); border-radius: 16px 0 0 16px; background: var(--card-soft); }
#hotelResult .hotel-result-item:has(.hotelImageResult) .price-box-hotel { display: flex; flex-direction: column; justify-content: center; gap: 10px; width: 100%; height: auto; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .nightText { color: #77818b; font-size: 11px; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .price_main { display: flex; flex-direction: row; direction: ltr; align-items: baseline; justify-content: center; gap: 5px; margin: 0; padding: 0; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .price_main .CurrencyCal { margin: 0; color: #25313e; font-size: 22px; font-weight: 700; line-height: 1.6; font-variant-numeric: tabular-nums; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .CurrencyText { color: #77818b; font-size: 10px; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .bookbtn { min-height: 46px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.8; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .bookbtn svg { width: 13px; height: 13px; }
#hotelResult .hotel-result-item:has(.hotelImageResult) a:focus-visible { outline: 2px solid var(--mainColor); outline-offset: 3px; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .parent-hotel-name-result > div { flex: 0 1 auto; min-width: 0; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .rp-cel-hotel-star { flex-shrink: 0; flex-wrap: nowrap; margin: 0; padding: 0; justify-self: end; background: transparent; border: 0; box-shadow: none; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .rp-cel-hotel-star > svg { flex-shrink: 0; width: 19px; height: 19px; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .rp-cel-hotel-star_span { display: none; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .hotelpreferences { order: 2; margin-top: 2px; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .bookbtn { background: var(--card-accent) !important; color: #fff !important; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .bookbtn svg { transform: none; }
#hotelResult .hotel-result-item:has(.hotelImageResult) .bookbtn:hover svg { transform: translateX(-3px); }
@media (max-width: 1199px) {
    #hotelResult .hotel-result-item:has(.hotelImageResult) { grid-template-columns: 175px minmax(0,1fr); }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-content { grid-template-columns: minmax(0,1fr) 160px; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-text { padding-inline: 12px; }
}
@media (max-width: 767px) {
    #hotelResult .hotel-result-item:has(.hotelImageResult) .parent-hotel-name-result { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .parent-hotel-name-result .rp-cel-hotel-star { grid-column: 1; justify-self: start; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) { grid-template-columns: 118px minmax(0,1fr); gap: 0 10px; min-height: 0; padding: 10px; border-radius: 14px; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-image, #hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-image a { min-height: 146px; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-content { display: contents; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) > div:has(> .hotel-result-item-content) { display: contents; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-text { padding: 2px 0 10px; gap: 5px; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-name { font-size: 14px; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .hotel-result-item-bottom { grid-column: 1 / -1; padding: 12px 0 0; margin-top: 10px; border: 0; border-top: 1px solid #e8edf1; background: #fff; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .price-box-hotel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 10px; text-align: start; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .price_main { grid-column: 1; justify-content: flex-end; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .price_main .CurrencyCal { font-size: 20px; }
    #hotelResult .hotel-result-item:has(.hotelImageResult) .bookbtn { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; min-width: 125px; }
}
@media (prefers-reduced-motion: reduce) { #hotelResult .hotel-result-item:has(.hotelImageResult) { transition: none; } }
