.hotel-map-layout .selected-hotel-card {
    display: flex;
    flex-direction: column;
    height: clamp(620px, calc(100vh - 180px), 700px);
    overflow: hidden;
}
.hotel-map-layout .selected-hotel-card .selected-photo { flex: 0 0 auto; }
.hotel-map-layout .selected-hotel-card .selected-content {
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 8px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.hotel-map-layout .selected-hotel-card .selected-card-footer {
    flex: 0 0 auto;
    padding: 0 15px 9px;
    border-top: 1px solid #edf0f4;
    background: #fff;
}
.hotel-map-layout .selected-hotel-card .selected-card-footer .website-cta { min-height: 34px; margin-top: 5px; padding: 7px 10px; }
.hotel-map-layout .selected-hotel-card .detail-price { grid-template-columns: minmax(0, 1fr) minmax(82px, 102px); column-gap: 6px; min-height: 0; margin-top: 0; padding: 5px 8px; }
.hotel-map-layout .selected-hotel-card .detail-price strong { font-size: 21px; line-height: 1; }
.hotel-map-layout .selected-hotel-card .detail-price strong,
.hotel-map-layout .selected-hotel-card .detail-price .saving-highlight { grid-row: 1; }
.hotel-map-layout .selected-hotel-card .detail-price .saving-highlight { padding: 4px !important; border-radius: 7px; }
.hotel-map-layout .selected-hotel-card .detail-price .saving-highlight::before { margin-bottom: 1px; padding: 1px 3px; font-size: 5px; }
.hotel-map-layout .selected-hotel-card .detail-price .saving-highlight b { font-size: 11px; line-height: 1; }
.hotel-map-layout .selected-hotel-card .detail-price .saving-highlight small { margin-top: 2px; font-size: 6px; line-height: 1; }
.hotel-map-layout .selected-hotel-card .detail-price .price-fees { grid-row: 2; margin-top: 2px; font-size: 7px; line-height: 1; }
.detail-search-wrap[data-auto-scroll-target] { scroll-margin-top: 4px; }
.nearby-map .price-map-note { min-height: 0; padding: 5px 10px; line-height: 1.2; }
.nearby-map .price-map-note span { font-size: 9px; line-height: 1.2; }
.nearby-map .price-map-note span b { width: 17px; height: 17px; margin-right: 4px; font-size: 8px; }
.nearby-map .price-map-note small { font-size: 7px; line-height: 1.2; }
@media (max-width: 700px) {
    .hotel-map-layout .selected-hotel-card { height: auto; }
    .hotel-map-layout .selected-hotel-card .selected-content { overflow-y: visible; }
}
.selected-hotel-card .selected-content h2 { min-height: 2.3em; }
.selected-hotel-card .selected-name-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.selected-hotel-card .selected-name-row h2 { flex: 0 1 auto; min-width: 0; min-height: 0; margin: 4px 0 5px; overflow: hidden; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.selected-hotel-card .guest-rating-inline { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; margin-left: auto; padding: 6px 8px !important; white-space: nowrap; }
.selected-hotel-card .guest-rating-inline span { margin-left: 0; color: #fff; font-size: inherit; }
.selected-hotel-card .guest-rating-inline small { padding-left: 7px; border-left: 1px solid rgba(255, 255, 255, .32); color: #e0e8f3; font-size: 8px; font-weight: 700; line-height: 1.2; }
.selected-search-benefits { margin: 9px 0; font-family: "DM Sans", sans-serif; }
.selected-food-types { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 5px; }
.selected-food-types > span { display: inline-flex; align-items: center; gap: 6px; color: #187442; font-size: 11px; font-weight: 800; line-height: 1.3; }
.selected-food-types > span > i { position: relative; display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 2px; }
.selected-food-types > span > i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.selected-food-types > span.is-non-veg { color: #b32929; }
.selected-food-types > span.is-non-veg > i::after { width: 0; height: 0; border-right: 3px solid transparent; border-bottom: 6px solid currentColor; border-left: 3px solid transparent; border-radius: 0; background: transparent; }
.selected-couple-policy, .selected-smoking-policy, .selected-zero-payment { display: flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; margin: 5px 0 0; font-size: 11px; font-weight: 800; line-height: 1.3; }
.selected-couple-policy { color: #315a46; }
.selected-couple-policy svg { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: #248454; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.selected-couple-policy.is-restricted { color: #343a43; }
.selected-couple-policy.is-restricted svg { stroke: #c23a47; }
.selected-couple-policy .policy-slash { stroke-width: 2.2; }
.selected-smoking-policy { color: #34465e; }
.selected-smoking-policy svg { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.selected-zero-payment { margin-top: 4px; color: #34465e; }
.selected-zero-payment svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: #0b2451; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.selected-zero-payment b { color: #247347; font-size: 12px; }
.selected-search-benefits ul { margin: 3px 0 0; padding: 0; list-style: none; color: #247347; font-size: 11px; }
.selected-search-benefits li { margin: 5px 0; line-height: 1.35; }
.selected-search-benefits li::before { content: "✓"; margin-right: 6px; font-weight: 800; }
.selected-search-benefits li.is-non-refundable { color: #111; }
.selected-search-benefits li.is-non-refundable::before { color: #247347; }
.selected-more-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 10px 0 9px;
    padding: 11px 13px;
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    background: #fff;
    color: #0b2451;
    cursor: pointer;
    text-align: left;
    font: 700 13px/1.2 "DM Sans", sans-serif;
}
.selected-more-details:hover { border-color: #0b2451; background: #f7f9fc; }
.selected-more-details small { display: block; margin-top: 3px; color: #68758a; font-size: 11px; font-weight: 500; }
.selected-more-details svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.selected-hotel-card > .selected-more-details { flex: 0 0 auto; width: calc(100% - 30px); min-height: 36px; margin: 0 15px 6px; padding: 7px 10px; box-sizing: border-box; }
.selected-hotel-card > .selected-more-details small { margin-top: 1px; font-size: 9px; }

.hotel-more-dialog {
    position: fixed;
    inset: 0;
    width: min(880px, calc(100vw - 28px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #cad5e3;
    border-radius: 17px;
    background: #fff;
    color: #17243a;
    box-shadow: 0 28px 80px rgba(7, 26, 60, .3);
    font-family: "DM Sans", sans-serif;
    text-align: left;
}
.hotel-more-dialog[open] { display: block; animation: hotel-more-open .2s ease-out; }
.hotel-more-dialog::backdrop { background: rgba(7, 20, 42, .62); backdrop-filter: blur(4px); }
@keyframes hotel-more-open { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.hotel-more-panel { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.hotel-more-header { position: relative; display: flex; justify-content: space-between; gap: 16px; flex: 0 0 auto; padding: 15px 17px 13px; overflow: hidden; border-top: 3px solid #e9b949; border-bottom: 1px solid #dce3ec; background: linear-gradient(120deg, #fff 0%, #f7f9fc 72%, #eef3f9 100%); }
.hotel-more-header::after { position: absolute; right: 56px; top: -40px; width: 120px; height: 120px; border: 20px solid rgba(11, 36, 81, .035); border-radius: 50%; content: ""; pointer-events: none; }
.hotel-more-header > div, .hotel-more-header form { position: relative; z-index: 1; }
.hotel-more-eyebrow { color: #6b7280; font-size: 9px; font-weight: 700; }
.hotel-more-header h2 { margin: 0; color: #0b2451; font: 700 20px/1.2 "Playfair Display", serif; }
.hotel-more-header p { margin: 4px 0 0; color: #6b7280; font-size: 9px; font-weight: 600; line-height: 1.4; }
.hotel-more-stars { display: flex; gap: 2px; margin-top: 5px; }
.hotel-more-stars svg { width: 18px; height: 18px; fill: #e9b949; stroke: #bd8b24; stroke-width: 1; }
.hotel-more-stars svg.is-empty { fill: #fff; stroke: #c8d1dc; }
.hotel-more-close { display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 1px solid #cad5e3; border-radius: 50%; background: #fff; color: #0b2451; box-shadow: 0 3px 8px rgba(11, 36, 81, .08); cursor: pointer; font: 21px/1 sans-serif; transition: background .15s, color .15s; }
.hotel-more-close:hover { background: #0b2451; color: #fff; }
.hotel-more-dialog button:focus-visible { outline: 2px solid #f4c542; outline-offset: 2px; }
.hotel-more-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 9px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 11px; background: linear-gradient(145deg, #f7f9fc, #f2f5f8); }
.hotel-more-section { min-width: 0; padding: 0 10px 10px; overflow: hidden; border: 1px solid #d9e1eb; border-radius: 11px; background: #fff; box-shadow: 0 3px 10px rgba(11, 36, 81, .045); }
.hotel-more-section h3 { display: flex; align-items: center; gap: 7px; margin: 0 -10px 10px; padding: 8px 10px; border-bottom: 1px solid #e1e7ef; background: #fbfcfe; color: #0b2451; font-size: 11px; font-weight: 800; }
.hotel-more-section h3::before { display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; background: #0b2451; color: #f4c542; content: "◆"; font-size: 9px; box-shadow: 0 2px 5px rgba(11, 36, 81, .14); }
.hotel-more-section.is-offers { grid-column: 1 / -1; border-color: #cfdbea; }
.hotel-more-section.is-offers h3 { border-bottom-color: #d9e2ed; background: #f2f6fb; }
.hotel-more-section.is-offers h3::before { content: "%"; font-size: 11px; }
.hotel-more-section.is-stay h3::before { content: "⌂"; }
.hotel-more-section.is-facilities { border-color: #cfdbea; }
.hotel-more-section.is-facilities h3 { border-bottom-color: #d9e2ed; background: #f2f6fb; }
.hotel-more-section.is-facilities h3::before { content: "✓"; }
.hotel-more-section.is-food h3::before { content: "◇"; }
.hotel-more-section.is-benefits h3::before { content: "+"; font-size: 12px; }
.hotel-more-section.is-menu h3::before { content: "⋯"; font-size: 13px; line-height: .6; }
.hotel-more-section.is-nearby h3::before { content: "⌖"; }
.hotel-more-section h3 small { display: grid; place-items: center; min-width: 21px; height: 21px; margin-left: auto; padding: 0 6px; border: 1px solid #d8e0ea; border-radius: 999px; background: #fff; color: #0b2451; font-size: 9px; }
.hotel-more-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 7px; }
.hotel-more-benefits > div { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 9px; border: 1px solid #dce4ee; border-radius: 7px; background: linear-gradient(145deg, #fff, #f8fafc); }
.hotel-more-benefits i { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; background: #e9eff6; color: #0b2451; font-size: 11px; font-style: normal; font-weight: 900; }
.hotel-more-benefits span { display: block; min-width: 0; }
.hotel-more-benefits strong { display: block; color: #0b2451; font-size: 10px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.hotel-more-benefits small { display: block; margin-top: 2px; color: #68788d; font-size: 8px; font-weight: 600; line-height: 1.35; }
.hotel-more-benefits .is-discount strong, .hotel-more-benefits .is-advance strong { font-size: 11px; }
.hotel-more-benefits .is-advance { border-color: #e4d5a9; background: #fffdf7; }
.hotel-more-copy { margin: 0; color: #626873; font-size: 11px; line-height: 1.55; white-space: pre-line; }
.hotel-more-copy + .hotel-more-tags, .hotel-more-facts + .hotel-more-copy { margin-top: 9px; }
.hotel-more-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: -10px -10px -10px; background: #e7e9ed; }
.hotel-more-facts > div { min-width: 0; padding: 9px 10px; background: linear-gradient(145deg, #fff, #fbfcfe); }
.hotel-more-facts dt { margin-bottom: 3px; color: #737780; font-size: 8px; font-weight: 600; }
.hotel-more-facts dd { margin: 0; color: #0b2451; font-size: 9px; font-weight: 700; overflow-wrap: anywhere; }
.hotel-more-section.is-food .hotel-more-facts { display: block; margin-bottom: 0; background: none; }
.hotel-more-section.is-food .hotel-more-facts > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; padding: 7px 10px; border-bottom: 1px solid #eceef1; }
.hotel-more-section.is-food .hotel-more-facts > div:last-child { border-bottom: 0; }
.hotel-more-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.hotel-more-tags span { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 5px; min-height: 30px; padding: 5px 6px; border: 1px solid #dbe3ec; border-radius: 7px; background: linear-gradient(145deg, #fff, #f9fbfd); }
.hotel-more-tags i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e9eff6; color: #0b2451; font-size: 7px; font-style: normal; font-weight: 900; }
.hotel-more-tags strong { min-width: 0; color: #0b2451; font-size: 9px; overflow-wrap: anywhere; }
.hotel-more-tags small { color: #666; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.hotel-more-services { display: grid; gap: 1px; margin: -10px -10px -10px; background: #eceef1; }
.hotel-more-services > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; background: #fff; }
.hotel-more-services strong { color: #0b2451; font-size: 10px; }
.hotel-more-services p { margin: 3px 0 0; color: #69707b; font-size: 9px; line-height: 1.45; }
.hotel-more-services b { flex: none; color: #0b2451; font-size: 10px; }
.hotel-more-attractions { display: grid; gap: 1px; margin: -10px -10px -10px; padding: 0; background: #eceef1; list-style: none; }
.hotel-more-attractions li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 10px; padding: 8px 10px; background: #fff; font-size: 10px; }
.hotel-more-attractions strong { color: #0b2451; }
.hotel-more-attractions span { color: #0b2451; font-weight: 700; }
.hotel-more-attractions small { flex: 0 0 100%; color: #6b7789; font-size: 9px; }
@media (max-width: 759px) {
    .hotel-more-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 11px; }
    .hotel-more-panel { max-height: calc(100dvh - 16px); }
    .hotel-more-header { padding: 11px 12px; }
    .hotel-more-header h2 { font-size: 18px; }
    .hotel-more-content { grid-template-columns: 1fr; padding: 7px; }
    .hotel-more-section.is-offers { grid-column: auto; }
    .hotel-more-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hotel-more-tags { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .hotel-more-benefits { grid-template-columns: 1fr; } }

/* The map fills the screen below search; the hotel card floats above it. */
.hotel-details-main { --hotel-sidebar-width: clamp(300px, 25vw, 350px); padding-top: 12px; padding-bottom: 0 !important; }
.hotel-topline { display: flex; align-items: center; gap: 12px; min-height: 28px; margin-bottom: 5px; padding-left: calc(var(--hotel-sidebar-width) + 14px - clamp(18px, 4vw, 60px)); }
.hotel-topline .details-breadcrumb { flex: 0 1 auto; min-width: 0; max-width: none; margin: 0; white-space: nowrap; }
.hotel-topline .details-breadcrumb b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hotel-topline-actions { display: inline-flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.hotel-topline-brand { display: inline-flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid #dfe3e8; color: #0b2451; font-size: 10px; font-weight: 800; }
.hotel-topline-map-link { margin-left: auto; padding: 5px 8px; border: 1px solid #dfe3e8; border-radius: 6px; background: #fff; color: #0b2451; font-size: 9px; font-weight: 800; text-decoration: none; }
.hotel-topline-map-link:hover { border-color: #e9b949; background: #fffaf0; }
.hotel-map-layout.map-has-filters { display: block !important; position: relative; width: 100vw; height: calc(100dvh - var(--hotel-map-offset, 298px)); min-height: 650px !important; margin: 0 0 0 calc(50% - 50vw) !important; overflow: hidden; }
.hotel-map-layout.map-has-filters .selected-hotel-card { position: absolute !important; top: var(--map-canvas-top, 40px); left: 0; z-index: 1100; width: var(--hotel-sidebar-width); height: min(700px, calc(100% - var(--map-canvas-top, 40px) - 28px)); margin: 0; }
.hotel-map-layout.map-has-filters .nearby-map { width: 100%; height: 100% !important; border: 0; border-radius: 0; box-shadow: none; }
.hotel-map-layout.map-has-filters .real-map .map-legend { right: auto; left: 0; width: var(--hotel-sidebar-width); max-width: calc(100% - 24px); box-sizing: border-box; }
.hotel-map-layout.map-has-filters #hotelMap .leaflet-bottom.leaflet-right { bottom: 64px; }
.visual-map .map-filter-trigger { position: absolute; top: 50%; right: 16px; z-index: 1200; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 6px 14px 6px 7px; border: 1px solid #f1d37e; border-radius: 999px; background: #0b2451; color: #fff; box-shadow: 0 0 0 3px rgba(233, 185, 73, .27), 0 10px 24px rgba(7, 26, 60, .24); cursor: pointer; font: 800 12px "DM Sans", sans-serif; white-space: nowrap; transform: translateY(-50%); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.map-filter-trigger:hover { background: #163967; box-shadow: 0 0 0 4px rgba(233, 185, 73, .38), 0 13px 28px rgba(7, 26, 60, .28); transform: translateY(-50%) translateX(-3px); }
.visual-map .map-filter-trigger { animation: map-filter-attention 1.15s ease-in-out 4; }
@keyframes map-filter-attention {
    0%, 100% { box-shadow: 0 0 0 3px rgba(233, 185, 73, .27), 0 10px 24px rgba(7, 26, 60, .24); transform: translateY(-50%) scale(1); }
    50% { box-shadow: 0 0 0 8px rgba(233, 185, 73, .42), 0 14px 30px rgba(7, 26, 60, .32); transform: translateY(-50%) scale(1.06); }
}
.map-filter-trigger:hover, .map-filter-trigger:focus-visible { animation: none; }
@media (prefers-reduced-motion: reduce) { .visual-map .map-filter-trigger { animation: none; } }
.map-filter-trigger:focus-visible, .map-filter-close:focus-visible { outline: 2px solid #e9b949; outline-offset: 2px; }
.map-filter-trigger-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: linear-gradient(145deg, #f7df99, #e9b949); color: #0b2451; }
.map-filter-trigger svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.map-filter-dialog { position: fixed; inset: var(--map-filter-top, 0px) 0 auto auto; width: min(340px, calc(100vw - 12px)); height: var(--map-filter-height, 100dvh); max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 12px 0 0 12px; background: transparent; box-shadow: -16px 0 48px rgba(7, 26, 60, .22); }
.map-filter-dialog[open] { display: block; animation: map-filter-open .2s ease-out; }
.map-filter-dialog::backdrop { background: rgba(7, 20, 42, .1); }
@keyframes map-filter-open { from { opacity: .65; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.map-filter-rail { display: flex; flex-direction: column; width: 100%; min-width: 0; height: 100%; box-sizing: border-box; overflow: hidden; border-left: 1px solid #dfe3e8; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); font-family: "DM Sans", sans-serif; }
.map-filter-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex: 0 0 auto; padding: 17px 18px; border-bottom: 1px solid #e8ebef; }
.map-filter-heading h2 { margin: 0; color: #0b2451; font: 800 18px/1.2 "DM Sans", sans-serif; }
.map-filter-heading small { display: block; margin-top: 4px; color: #8a929d; font-size: 9px; }
.map-filter-close { display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 1px solid #dfe3e8; border-radius: 7px; background: #fff; color: #5e6875; cursor: pointer; font: 500 20px/1 "DM Sans", sans-serif; }
.map-filter-close:hover { border-color: #cdd7e3; background: #f7f9fc; color: #0b2451; }
.map-filter-form { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.map-filter-fields { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.map-filter-block { margin: 0; padding: 17px 18px; border: 0; border-bottom: 1px solid #e8ebef; }
.map-filter-block h3, .map-filter-block summary { margin: 0 0 13px; color: #283240; font-size: 13px; font-weight: 800; line-height: 1.35; }
.map-filter-block summary { margin-bottom: 0; cursor: pointer; list-style-position: outside; }
.map-filter-block[open] summary { margin-bottom: 13px; }
.map-filter-choice { position: relative; display: block; min-height: 31px; margin: 2px 0; color: #46515e; cursor: pointer; font-size: 10px; line-height: 1.25; }
.map-filter-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.map-filter-choice span { display: flex; align-items: center; gap: 8px; min-height: 31px; }
.map-filter-choice span::before { display: grid; place-items: center; flex: 0 0 auto; width: 17px; height: 17px; border: 1px solid #bfc9d6; border-radius: 4px; background: #fff; color: transparent; content: "✓"; font-size: 9px; font-weight: 900; }
.map-filter-choice input:checked + span { color: #0b2451; }
.map-filter-choice input:checked + span::before { border-color: #f4c542; background: #f4c542; color: #0b2451; }
.map-filter-choice input:focus-visible + span::before { outline: 2px solid #0b2451; outline-offset: 2px; }
.map-filter-block.is-advance h3 { display: flex; align-items: center; gap: 6px; color: #c73543; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.map-filter-block.is-advance h3::after { flex: 1; height: 1px; background: linear-gradient(90deg, #e25260, transparent); content: ""; }
.map-filter-block.is-advance .map-filter-choice { color: #0b2451; font-size: 11px; font-weight: 800; }
.map-filter-block.is-advance .map-filter-choice input:checked + span::before { border-color: #d92d3a; background: #d92d3a; color: #fff; }
.map-filter-block.is-discount summary { display: flex; align-items: center; gap: 7px; list-style: none; }
.map-filter-block.is-discount summary::-webkit-details-marker { display: none; }
.map-filter-block.is-discount summary::before { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px; background: #147d4c; color: #fff; content: "%"; font-size: 10px; }
.map-filter-block.is-discount summary::after { margin-left: auto; color: #647284; content: "⌄"; font-size: 15px; line-height: 1; }
.map-filter-discounts { display: grid; gap: 8px; }
.map-filter-discounts label { position: relative; cursor: pointer; }
.map-filter-discounts input, .map-filter-points input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.map-filter-discounts label > span { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; min-height: 66px; padding: 9px 11px; border: 1px solid #e2e7ec; border-radius: 9px; background: linear-gradient(90deg, #fff8df 0 68px, #fff 68px); box-shadow: 0 3px 9px rgba(7,26,60,.06); color: #0b2451; }
.map-filter-discounts b { display: grid; place-items: center; width: 58px; height: 42px; border-radius: 8px; background: #f0d681; color: #0b2451; font: 800 13px/1 "DM Sans", sans-serif; white-space: nowrap; }
.map-filter-discounts label:nth-child(2) b { background: #d8e9dd; }
.map-filter-discounts label:nth-child(3) b { background: #c9d7eb; }
.map-filter-discounts small { color: #64796e; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.map-filter-discounts i { justify-self: end; padding: 5px 7px; border: 1px dashed #c6ced7; border-radius: 5px; background: #fff; color: #647284; font-size: 7px; font-style: normal; font-weight: 800; }
.map-filter-discounts i .is-selected { display: none; }
.map-filter-discounts label:hover > span { border-color: #9bc7ac; background: #f7fcf8; transform: translateX(2px); }
.map-filter-discounts input:checked + span { border-color: #147d4c; background: linear-gradient(90deg, #e4f5ea 0 68px, #f7fcf8 68px); box-shadow: 0 6px 14px rgba(20,125,76,.12); }
.map-filter-discounts input:checked + span b { background: #147d4c; color: #fff; }
.map-filter-discounts input:checked + span i { border-color: #9ed4b9; background: #e5f5eb; color: #147d4c; }
.map-filter-discounts input:checked + span i .is-unselected { display: none; }
.map-filter-discounts input:checked + span i .is-selected { display: inline; }
.map-filter-discounts input:focus-visible + span, .map-filter-points input:focus-visible + span { outline: 2px solid #0b2451; outline-offset: 2px; }
.map-filter-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.map-filter-points label { position: relative; cursor: pointer; }
.map-filter-points label:first-child { grid-column: 1 / -1; }
.map-filter-points span { display: flex; align-items: center; justify-content: center; gap: 3px; min-height: 36px; border: 1px solid #dfe4ea; border-radius: 7px; background: #f8f9fb; color: #46515f; font-size: 11px; font-weight: 800; }
.map-filter-points label:first-child span { min-height: 32px; }
.map-filter-points i { color: #d7a62e; font-size: 10px; font-style: normal; }
.map-filter-points label:hover span { border-color: #aeb8c6; background: #fff; }
.map-filter-points input:checked + span { border-color: #e9b949; background: #e9b949; color: #0b2451; box-shadow: 0 4px 10px rgba(233,185,73,.2); }
.map-filter-points input:checked + span i { color: #0b2451; }
.map-filter-block .budget-values { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 16px; color: #0b2451; }
.map-filter-block .budget-values > span { display: grid; gap: 3px; min-width: 0; }
.map-filter-block .budget-values > span:last-child { text-align: right; }
.map-filter-block .budget-values small { color: #768395; font-size: 9px; font-weight: 600; }
.map-filter-block .budget-values b { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.map-filter-block .budget-chart { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 4px; height: 78px; margin: 0 0 7px; overflow: visible; border-bottom: 1px solid #dfe3e8; }
.map-filter-block .budget-bar { position: relative; display: flex; align-items: end; justify-content: center; min-width: 0; height: 100%; opacity: 1; transition: opacity .2s; }
.map-filter-block .budget-bar b { display: block; width: 100%; height: var(--bar-height); min-height: 8px; max-height: 100%; box-sizing: border-box; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #e9b949, #dba72f); }
.map-filter-block .budget-bar i { position: absolute; bottom: calc(var(--bar-height) + 3px); z-index: 1; color: #0b2451; font-size: 8px; font-style: normal; font-weight: 800; }
.map-filter-block .budget-bar.outside { opacity: .24; }
.map-filter-block .budget-bar.outside b { background: #aeb6c1; }
.map-filter-block .budget-slider { position: relative; height: 24px; }
.map-filter-block .budget-track { position: absolute; top: 10px; right: 0; left: 0; height: 4px; border-radius: 99px; background: #dfe3e8; }
.map-filter-block .budget-track span { position: absolute; inset: 0; border-radius: inherit; background: #e9b949; }
.map-filter-block .budget-slider input[type="range"] { position: absolute; top: 1px; left: 0; width: 100%; height: 20px; margin: 0; appearance: none; pointer-events: none; background: transparent; }
.map-filter-block .budget-slider input[type="range"]::-webkit-slider-thumb { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; appearance: none; pointer-events: auto; background: #0b2451; box-shadow: 0 0 0 1px #0b2451, 0 2px 6px rgba(7,26,60,.2); cursor: grab; }
.map-filter-block .budget-slider input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; pointer-events: auto; background: #0b2451; box-shadow: 0 0 0 1px #0b2451; cursor: grab; }
.map-filter-block .budget-help { margin: 9px 0 0; color: #8a929c; font-size: 9px; line-height: 1.4; }
.map-filter-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 auto; padding: 11px 18px; border-top: 1px solid #e8ebef; background: #fff; }
.map-filter-actions button { min-height: 37px; border-radius: 7px; cursor: pointer; font: 800 10px "DM Sans", sans-serif; }
.map-filter-reset { padding: 0 9px; border: 1px solid #dfe3e8; background: #fff; color: #5e6875; }
@media (max-width: 900px) {
    .hotel-topline { flex-wrap: wrap; gap: 6px; }
    .hotel-topline-actions { flex: 1 0 100%; }
    .hotel-topline-brand { padding-left: 0; border-left: 0; }
}
@media (max-width: 700px) {
    .hotel-topline { padding-left: 0; }
    .hotel-map-layout.map-has-filters { display: flex !important; flex-direction: column; height: auto; min-height: 0 !important; overflow: visible; }
    .hotel-map-layout.map-has-filters .selected-hotel-card { position: relative !important; top: auto; left: auto; width: calc(100% - 24px); height: auto; margin: 0 12px 14px; }
    .hotel-map-layout.map-has-filters .nearby-map { height: 100dvh !important; min-height: 680px !important; }
    .hotel-map-layout.map-has-filters .real-map .map-legend { left: 12px; width: calc(100% - 24px); }
    .visual-map .map-filter-trigger { right: 10px; }
}
