body { background: #f8faf9; }
.td-root .td-card { position: relative; cursor: pointer; }
.td-root .td-card-main-link { color: inherit; text-decoration: none; }
.td-root .td-card-main-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.td-root .td-card:focus-within { outline: 2px solid #007d81; outline-offset: 3px; }
.td-root .td-review-link { position: relative; z-index: 2; }
.td-budget-values, .td-budget-scale { display: flex; justify-content: space-between; gap: 8px; margin: 14px 0 8px; color: #718b7e; font-size: 10px; }
.td-budget-values strong { color: #295a50; font-size: 13px; }
.td-budget-slider { position: relative; height: 34px; margin: 0 10px; }
.td-budget-track { position: absolute; left: 0; right: 0; top: 15px; height: 5px; border-radius: 8px; background: #e1ebe6; }
.td-budget-track > div { position: absolute; height: 100%; background: #007d81; border-radius: inherit; }
.td-budget-slider input[type="range"] { position: absolute; inset: 0; width: 100%; height: 34px; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; pointer-events: none; background: transparent; border: 0; z-index: 3; }
.td-budget-slider input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; pointer-events: auto; width: 19px; height: 19px; border: 3px solid #fff; border-radius: 50%; background: #007d81; box-shadow: 0 0 0 1px #007d81, 0 3px 8px #007d8125; cursor: grab; }
.td-budget-slider input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: #007d81; box-shadow: 0 0 0 1px #007d81; cursor: grab; }
.td-budget-slider input:focus-visible { outline: 2px solid #e5bd77; outline-offset: 3px; }
.td-budget-scale { margin: 0 0 14px; }
.td-budget-apply { width: 100%; border: 1px solid #d6e8dd; border-radius: 9px; background: #edf7f1; color: #007d81; padding: 10px; font-size: 11px; font-weight: 600; cursor: pointer; }
.td-budget-apply:hover { background: #dfefe6; }
.td-root .td-sidebar-heading { display: flex; align-items: center; gap: 12px; padding: 5px 0 18px; margin-bottom: 16px; border-bottom: 1px solid #e6eeea; }
.td-sidebar-heading > i { display: grid; place-items: center; width: 38px; height: 38px; background: #eaf6f0; color: #007d81; border-radius: 11px; }
.td-sidebar-heading strong { display: block; color: #214e4b; font-size: 15px; }
.td-sidebar-heading span { display: block; margin-top: 4px; font-size: 10px; color: #81948a; }
.td-root .td-filter-title { font-size: 13px; font-weight: 650; margin: 16px 0 10px; }
.td-root .td-checkbox-list label { border-radius: 8px; padding: 8px; transition: background .2s; cursor: pointer; }
.td-root .td-checkbox-list label:hover { background: #f1f8f4; }
.td-review-link { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 16px; text-decoration: none; font-size: 11px; color: #789086; }
.td-review-link strong { color: #285d51; }
.td-review-link:hover { color: #007d81; text-decoration: underline; }
.td-rating-stars { display: inline-flex; gap: 3px; color: #c99b3e; font-size: 11px; }
.td-root .td-price-start { color: #7c8d83; font-size: 11px; font-weight: 500; text-align: center; }
.td-root .td-price-col { background: linear-gradient(145deg, #f8fcfa, #f1f8f4); border-radius: 14px; padding: 20px 16px; border: 1px solid #e5eee8; display: flex; flex-direction: column; justify-content: center; }
.td-root .td-price-col .hotel-price-details { margin-top: 4px !important; }
.td-root .td-price-col .price-text { font-size: 25px !important; font-weight: 700 !important; letter-spacing: -.7px; margin-bottom: 3px !important; }
.td-root .td-price-col .see-details-btn { margin-top: 18px; box-shadow: 0 5px 12px #007d8115; }
.hero { height: 260px; background-image: linear-gradient(90deg, #073e4920, #073e4900), url('../images/Group 1000003040 (1).png'); border-radius: 0 0 36px 36px; }
.search-box-wrapper { z-index: 20; }
.search-box-wrapper .search-box { margin-top: -70px; }
.td-root { background: #f8faf9; }
.td-root .td-wrapper { padding: 28px 0 44px; }
.td-root .td-container { width: 97%; max-width: none; }
.td-root .td-results-layout { gap: 14px !important; }
.td-root .td-header { text-align: left; margin-bottom: 24px; }
.td-root .td-header .td-title-main { color: #194b4c; font-size: 28px; line-height: 1.3; letter-spacing: -.7px; }
.td-root .td-subtitle { margin-top: 9px; }
.td-root .td-sidebar { width: 290px; min-width: 290px; border: 1px solid #e3ece7; border-radius: 18px; padding: 14px; box-shadow: 0 4px 16px #174b4d04; margin: 0; }
.td-root .td-checkbox-list label { padding: 4px 0; }
.td-root input[type="checkbox"] { accent-color: #007d81; }
.td-root .td-pill { border-color: #dce9e3; background: #fff; color: #4e7068; padding: 10px 18px; font-weight: 600; transition: background .2s; }
.td-root .td-pill:hover { background: #eaf5ef; }
.td-root .td-pill.td-active { background: #007d81; color: #fff; border-color: #007d81; }
.td-root .td-card { background: #fff; border: 1px solid #e0eae5; border-radius: 20px; padding: 18px; box-shadow: 0 5px 18px #174b4d06; gap: 20px; transition: box-shadow .25s, border-color .25s; }
.td-root .td-card:hover { border-color: #b1d1c5; box-shadow: 0 10px 26px #174b4d10; }
.td-root .td-main-img { width: 100%; height: 190px; object-fit: cover; border-radius: 13px; }
.td-root .td-thumb { border-radius: 7px; object-fit: cover; cursor: pointer; }
.td-root .td-title { color: #194b4c; line-height: 1.4; font-size: 21px; letter-spacing: -.4px; }
.td-root .td-flag { background: #eef7f1; color: #468471; border-radius: 6px; padding: 5px 8px; font-size: 10px; }
.td-root .td-details p { color: #778a81; font-size: 12px; line-height: 1.7; }
.td-root .td-tag { border: 1px solid #e4ede7; border-radius: 6px; background: #f8fbf9; color: #648075; font-size: 10px; }
.td-root .td-price-col { border-left: 1px solid #edf1ee; padding-left: 18px; }
.td-root .td-price-note { color: #87978e; font-size: 10px; line-height: 1.7; }
.td-root .hotel-price-details .price-text { color: #007d81 !important; font-size: 21px !important; }
.td-root .see-details-btn { width: 100%; padding: 11px 18px !important; border-radius: 10px !important; font-weight: 600; font-size: 12px; }
.td-empty { padding: 48px 24px; text-align: center; border: 1px solid #e0eae5; border-radius: 18px; background: #fff; color: #648075; }
@media (max-width: 1050px) { .td-root .td-sidebar { width: 260px; min-width: 260px; } .td-root .td-card { flex-wrap: wrap; } }
@media (max-width: 768px) {
    .td-root .td-results-layout { flex-direction: column; }
    .td-root .td-main { width: 100%; }
    .hero { height: 190px; }
    .search-box-wrapper .search-box { margin-top: -45px; }
    .td-root .td-sidebar { width: 100%; min-width: 0; }
    .td-root .td-header .td-title-main { font-size: 24px; }
    .td-root .td-price-col { border-left: 0; border-top: 1px solid #edf1ee; padding: 14px 0 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .td-root .td-card, .td-root .td-pill { transition: none; } }
/* Compact phone cards; desktop cards keep their existing layout. */
@media (max-width: 767px) {
    .search-results-page .td-root .td-list { gap: 12px; }
    .search-results-page .td-root .td-card { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 9px; padding: 8px; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 12px #174b4d0c; align-items: stretch; }
    .search-results-page .td-root .td-img-col { width: 105px; min-width: 0; margin: 0; gap: 0; }
    .search-results-page .td-root .td-main-img { width: 100%; height: 150px; min-height: 150px; border-radius: 7px; object-fit: cover; }
    .search-results-page .td-root .td-fav, .search-results-page .td-root .td-flag, .search-results-page .td-root .td-desc { display: none; }
    .search-results-page .td-root .td-details { min-width: 0; padding: 1px 2px 3px; margin: 0; display: flex; flex-direction: column; }
    .search-results-page .td-root .td-title { font-size: 14px; line-height: 1.35; margin: 0 0 4px; color: #007d81; font-weight: 650; letter-spacing: -.2px; }
    .search-results-page .td-root .td-review-link { margin: 0 0 5px; gap: 4px 6px; font-size: 9px; }
    .search-results-page .td-root .td-rating-stars { font-size: 9px; gap: 2px; }
    .search-results-page .td-root .td-details > p:not(.td-desc) { margin: 0 0 8px; font-size: 10px; line-height: 1.5; color: #7d9488; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .search-results-page .td-root .td-details > p > strong { display: none; }
    .search-results-page .td-root .td-tags { margin-top: auto; gap: 4px; padding-top: 5px; }
    .search-results-page .td-root .td-tag { font-size: 8px; padding: 4px 6px; border-radius: 4px; line-height: 1.4; background: #edf7f2; color: #478374; }
    .search-results-page .td-root .td-tag:nth-child(n+4) { display: none; }
    .search-results-page .td-root .td-price-col { grid-column: 1 / -1; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 2px 10px; width: calc(100% + 16px); padding: 10px 12px; margin: 0 -8px -8px; background: #007d81; border: 0; border-radius: 0; align-items: center; }
    .search-results-page .td-root .td-price-start { grid-column: 2; grid-row: 1; text-align: right; color: #c0e3d9; font-size: 9px; margin: 0; }
    .search-results-page .td-root .hotel-price-details { display: contents; }
    .search-results-page .td-root .hotel-price-details .price-text { grid-column: 2; grid-row: 2; text-align: right; color: #fff !important; font-size: 18px !important; line-height: 1.25; margin: 0 !important; letter-spacing: -.4px; }
    .search-results-page .td-root .td-price-note { grid-column: 2; grid-row: 3; text-align: right; color: #d0e9e0; font-size: 8px; line-height: 1.5; }
    .search-results-page .td-root .td-price-col .see-details-btn { grid-column: 1; grid-row: 1 / 4; width: 100%; margin: 0; min-height: 36px; padding: 9px 10px !important; font-size: 10px; border-radius: 8px !important; border: 1px solid #b7ddd150 !important; background: #ffffff18 !important; color: #fff !important; box-shadow: none; }
    .search-results-page .td-root .td-price-col .see-details-btn:hover { background: #ffffff28 !important; }
}
@media (max-width: 360px) {
    .search-results-page .td-root .td-card { grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
    .search-results-page .td-root .td-img-col { width: 88px; }
    .search-results-page .td-root .td-main-img { height: 145px; min-height: 145px; }
    .search-results-page .td-root .td-title { font-size: 12px; }
}
@media (max-width: 768px) {
    .search-results-page .hero { display: none; }
    .search-results-page .search-box-wrapper { width: 100%; margin: 16px 0 0; }
    .search-results-page .search-box-wrapper .search-box { width: 100%; max-width: none; margin: 0; height: auto; padding: 22px 16px; border-radius: 0 0 22px 22px; border-top: 0; box-sizing: border-box; }
    .search-results-page .booking-welcome { width: 100%; margin-bottom: 18px; }
    .search-results-page .booking-welcome-icon { display: none; }
    .search-results-page .booking-welcome > div { width: 100%; }
    .search-results-page .booking-welcome h1 { font-size: 25px; text-align: left; }
    .search-results-page .booking-welcome .subtitle { width: 100%; font-size: 14px; margin-top: 6px; text-align: left; }
    .search-results-page #thxBookingForm { width: 100%; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .search-results-page #thxBookingForm .thx-form-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .search-results-page #thxBookingForm .thx-field { width: 100%; padding: 12px 14px; border: 1px solid #deebe4; background: #fff; box-sizing: border-box; }
    .search-results-page #thxBookingForm .thx-field-inner input, .search-results-page #thxBookingForm select { font-size: 16px; }
    .search-results-page #thxBookingForm .thx-search-btn { grid-column: 1; min-height: 48px; margin-top: 2px; }
    .search-results-page #thxBookingForm .thx-guest-popup { max-width: 100%; }
}
