:root {
    --brand: #0f766e;
    --brand-dark: #0a5d57;
    --brand-soft: #e9f7f4;
    --accent: #ed6b5a;
    --ink: #171c1b;
    --muted: #707775;
    --line: #e7e9e8;
    --surface: #ffffff;
    --shadow: 0 8px 28px rgba(19, 35, 32, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.public-home {
    min-width: 320px;
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.dialog-open {
    overflow: hidden;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(360px, 540px) minmax(260px, 1fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    height: 68px;
    padding: 0 24px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    width: 180px;
    max-width: 100%;
    color: var(--brand);
}

.public-brand-logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.top-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    padding-left: 18px;
    background: #fff;
    border: 1px solid #dfe4e2;
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(20, 32, 30, 0.08);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.top-search:focus-within {
    border-color: rgba(15, 118, 110, 0.5);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.09), 0 4px 14px rgba(20, 32, 30, 0.08);
}

.top-search > svg {
    display: none;
}

.top-search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 12px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
    text-align: center;
}

.top-search input::placeholder {
    color: #979d9b;
}

.top-search button {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-right: 4px;
    color: #fff;
    background: var(--brand);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.top-search button:hover {
    background: var(--brand-dark);
}

.top-search svg,
.header-actions svg,
.category svg,
.mobile-bottom-nav svg,
.location svg,
.room-facilities svg,
.empty-state svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-search button svg {
    width: 19px;
    height: 19px;
    stroke-width: 2.3;
}

.mobile-search-copy {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 6px;
}

.icon-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.icon-button:hover {
    background: #f3f5f4;
}

.icon-button svg {
    width: 21px;
    height: 21px;
}

.public-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 126px;
    height: 38px;
    padding: 0 11px;
    overflow: hidden;
    color: #27342f;
    background: #f3f5f4;
    border: 1px solid #e2e7e5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.public-user-chip:hover {
    color: var(--brand-dark);
    background: #eaf3ef;
    border-color: #c9ded5;
}

.public-user-chip svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
}

.public-user-chip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wishlist-count {
    position: absolute;
    top: -1px;
    right: -1px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    color: #fff;
    background: var(--accent);
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    margin-left: 3px;
    padding: 0 12px;
    color: #4d5553;
    background: #f6f7f7;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.language-button svg {
    width: 14px;
    height: 14px;
}

.category-shell {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #f5f6f5;
}

.category-bar {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: stretch;
    gap: clamp(17px, 3.25vw, 50px);
    width: auto;
    height: 72px;
    padding: 0 28px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-color: #cbd5d1 transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.category-bar::-webkit-scrollbar {
    height: 5px;
}

.category-bar::-webkit-scrollbar-thumb {
    background: #cbd5d1;
    border-radius: 999px;
}

.category {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 55px;
    padding: 0 2px;
    color: #6f7674;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.category::after {
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px 2px 0 0;
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 140ms ease, transform 140ms ease;
}

.category:hover,
.category.active {
    color: var(--brand);
}

.category.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.category svg {
    width: 22px;
    height: 22px;
    color: var(--brand);
    stroke-width: 1.9;
}

.category span {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.filter-trigger {
    z-index: 2;
    flex: 0 0 82px;
    width: 82px;
    height: 72px;
    margin-left: 0;
    padding: 0 12px;
    color: var(--brand);
    background: #fff;
    border-left: 1px solid #edf0ef;
    box-shadow: -8px 0 18px rgba(18, 45, 39, 0.06);
}

.filter-trigger svg {
    padding: 2px;
    border: 1.5px solid currentColor;
    border-radius: 6px;
}

.listing-main {
    width: 100%;
    min-height: 58vh;
    padding: 18px 24px 52px;
}

.member-discovery {
    display: flex;
    flex-direction: column;
}

.member-discovery .feature-category-filter {
    order: 1;
}

.member-discovery .personal-offers {
    order: 2;
}

.personal-offers {
    margin: 2px 4px 30px;
}

.personal-offers-heading {
    margin-bottom: 14px;
}

.personal-offers-heading h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.personal-offers-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.personal-offer {
    position: relative;
    min-width: 0;
    min-height: 132px;
    padding: 15px 16px 8px;
    overflow: hidden;
    border: 1px solid rgba(61, 56, 49, 0.035);
    border-radius: 9px;
}

.personal-offer-label {
    min-height: 15px;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    white-space: nowrap;
}

.personal-offer-body {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-top: 14px;
}

.personal-offer-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.personal-offer-icon svg {
    width: 58px;
    height: 58px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.personal-offer-icon .offer-icon-fill {
    fill: currentColor;
    stroke: currentColor;
}

.personal-offer-icon .offer-icon-contrast {
    fill: #fff;
    stroke: #fff;
}

.personal-offer-copy {
    min-width: 0;
    color: #171c1b;
}

.personal-offer-copy small {
    display: block;
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.personal-offer-copy strong {
    display: block;
    margin-top: 2px;
    color: inherit;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
}

.personal-offer-copy > span {
    display: block;
    margin-top: 12px;
    color: #3f4543;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.55;
    white-space: nowrap;
}

.personal-offer-copy-benefit strong {
    margin-top: -2px;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: -0.015em;
    white-space: nowrap;
}

.personal-offer-copy-benefit > span {
    margin-top: 6px;
    font-size: 8.5px;
    line-height: 1.45;
}

.offer-vihost-exclusive .personal-offer-body,
.offer-extra-benefits .personal-offer-body {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
}

.offer-vihost-exclusive .personal-offer-icon,
.offer-extra-benefits .personal-offer-icon {
    width: 56px;
    height: 56px;
}

.offer-vihost-exclusive .personal-offer-icon svg,
.offer-extra-benefits .personal-offer-icon svg {
    width: 52px;
    height: 52px;
}

.personal-offer-arrow {
    position: absolute;
    right: 6px;
    top: 50%;
    bottom: auto;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: #111716;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(43, 52, 49, 0.13);
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(31, 38, 36, 0.08);
    transform: translateY(-50%);
    transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.personal-offer-arrow:hover {
    color: var(--brand);
    border-color: rgba(15, 118, 110, 0.38);
    transform: translate(2px, -50%);
}

.personal-offer-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.offer-early-booking,
.offer-last-minute {
    color: #ff502d;
    background: #fff8f4;
}

.offer-early-booking .personal-offer-icon,
.offer-last-minute .personal-offer-icon {
    background: #fff0e8;
}

.offer-long-stay {
    color: #f29b20;
    background: #fffbf1;
}

.offer-long-stay .personal-offer-icon {
    background: #fff2d8;
}

.offer-vihost-exclusive {
    color: #2770d9;
    background: #f4f8fd;
}

.offer-vihost-exclusive .personal-offer-icon {
    background: #e9f1ff;
}

.offer-extra-benefits {
    color: #8a36d2;
    background: #fcf7ff;
}

.offer-extra-benefits .personal-offer-icon {
    background: #f3e8ff;
}

.offer-early-booking .personal-offer-copy,
.offer-last-minute .personal-offer-copy,
.offer-long-stay .personal-offer-copy,
.offer-vihost-exclusive .personal-offer-copy,
.offer-extra-benefits .personal-offer-copy {
    color: #171c1b;
}

.feature-category-filter {
    margin: 3px 4px 30px;
}

.feature-category-heading {
    margin-bottom: 15px;
}

.feature-category-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.feature-category-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.feature-category-option {
    --feature-category-image: none;
    display: flex;
    position: relative;
    min-width: 0;
    min-height: 262px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 22px 14px 15px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background-color: #173f37;
    background-image: var(--feature-category-image);
    background-position: center;
    background-size: cover;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(20, 31, 28, 0.11);
    cursor: pointer;
    scroll-snap-align: start;
    isolation: isolate;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.feature-category-option::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(8, 16, 14, 0.04) 0%,
        rgba(8, 16, 14, 0.12) 32%,
        rgba(8, 16, 14, 0.72) 72%,
        rgba(8, 16, 14, 0.92) 100%
    );
    content: "";
    transition: background 180ms ease;
}

.feature-category-option:hover {
    box-shadow: 0 13px 28px rgba(20, 31, 28, 0.19);
    transform: translateY(-3px);
}

.feature-category-option.active {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--brand), 0 13px 28px rgba(15, 118, 110, 0.24);
}

.feature-category-option.active::before {
    background: linear-gradient(
        180deg,
        rgba(6, 68, 61, 0.08) 0%,
        rgba(6, 68, 61, 0.2) 34%,
        rgba(4, 52, 47, 0.78) 73%,
        rgba(4, 42, 38, 0.94) 100%
    );
}

.feature-category-icon {
    display: grid;
    position: relative;
    z-index: 1;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    margin-bottom: 13px;
    color: #d77a23;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(7, 17, 15, 0.2);
    place-items: center;
}

.feature-category-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-category-copy {
    display: flex;
    position: relative;
    z-index: 1;
    min-width: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.feature-category-copy strong {
    color: #fff;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.34);
}

.feature-category-copy small {
    display: -webkit-box;
    min-height: 31px;
    margin-top: 7px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.38);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feature-category-selected {
    display: grid;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 25px;
    height: 25px;
    color: #fff;
    background: var(--brand);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.22);
    opacity: 0;
    place-items: center;
    transform: scale(0.72);
    transition: opacity 160ms ease, transform 160ms ease;
}

.feature-category-selected svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-category-option.active .feature-category-selected {
    opacity: 1;
    transform: scale(1);
}

.listing-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    min-height: 58px;
    margin: 8px 0 18px;
}

.listing-toolbar-copy {
    min-width: 0;
}

.listing-toolbar-copy h2 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.listing-toolbar p {
    margin: 0;
    color: #737b79;
    font-size: 13px;
}

.listing-toolbar p strong {
    color: var(--ink);
}

.listing-toolbar label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #737b79;
    font-size: 12px;
}

.listing-toolbar select {
    height: 32px;
    padding: 0 28px 0 10px;
    color: #3e4543;
    background: #fff;
    border: 1px solid #e4e7e6;
    border-radius: 8px;
    font-weight: 600;
    outline: 0;
}

.featured-listing-section {
    margin-bottom: 28px;
}

.featured-room-divider {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 5px 0 16px;
}

.featured-room-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.featured-room-heading-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: #9a5b08;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid rgba(245, 158, 11, 0.55);
    border-radius: 12px;
}

.featured-room-heading-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.featured-room-heading strong {
    display: block;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.featured-room-heading p {
    margin: 3px 0 0;
    color: #737b79;
    font-size: 12px;
}

.featured-room-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    padding: 5px 0;
    color: var(--accent);
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.featured-room-toggle:hover {
    color: #c94e3f;
}

.featured-room-toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms ease;
}

.featured-room-toggle[aria-expanded="true"] svg {
    transform: rotate(-90deg);
}

.featured-room-toggle[hidden],
.featured-room-pagination[hidden] {
    display: none;
}

.featured-room-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 18px;
}

.featured-room-pagination > button,
.featured-room-pagination span button {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    color: #4f5855;
    background: #fff;
    border: 1px solid #dfe5e2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.featured-room-pagination span {
    display: inline-flex;
    gap: 6px;
}

.featured-room-pagination span button[aria-current="page"] {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.featured-room-pagination > button:disabled {
    color: #adb4b2;
    background: #f5f6f6;
    cursor: not-allowed;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 26px 20px;
}

.room-card {
    position: relative;
    min-width: 0;
    animation: card-in 260ms ease both;
    cursor: pointer;
    touch-action: manipulation;
}

.room-card.is-featured .room-image-wrap {
    box-shadow: 0 0 0 2px #f59e0b, 0 12px 28px rgba(180, 83, 9, 0.18);
}

.featured-room-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 6px 9px;
    color: #78350f;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid rgba(245, 158, 11, 0.72);
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(146, 64, 14, 0.2);
    font-size: 10px;
    font-weight: 800;
    pointer-events: none;
}

.room-card[hidden] {
    display: none;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

.room-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.34 / 1;
    overflow: hidden;
    background: #eef1f0;
    border-radius: 13px;
    transition: transform 140ms ease;
}

.room-card:active .room-image-wrap {
    transform: scale(0.985);
}

.room-open,
.room-copy {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.room-open {
    min-height: 100%;
    color: inherit;
}

.room-open img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.room-card:hover .room-open img {
    transform: scale(1.035);
}

.heart-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    padding: 0;
    color: white;
    background: rgba(30, 36, 35, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: transform 140ms ease, background 140ms ease;
}

.heart-button:hover {
    transform: scale(1.06);
}

.heart-button[aria-pressed="true"] {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.heart-button svg {
    width: 20px;
    height: 20px;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.8;
}

.heart-button[aria-pressed="true"] svg {
    fill: currentColor;
}

.room-facilities {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 25px;
    padding: 0 7px;
    color: #fff;
    background: rgba(26, 30, 29, 0.55);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.room-facilities svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.area-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: none;
    padding: 5px 8px;
    color: #fff;
    background: rgba(26, 30, 29, 0.55);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.room-copy {
    padding: 10px 2px 0;
}

.room-copy > strong {
    display: -webkit-box;
    min-height: 38px;
    max-height: 39px;
    overflow: hidden;
    color: #202523;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.room-rating-line {
    display: flex;
    align-items: center;
    gap: 3px;
    min-height: 17px;
    margin-top: 3px;
    color: #26312e;
    font-size: 10px;
    line-height: 1.4;
}

.room-rating-line > span {
    color: #f2a51a;
    font-size: 11px;
}

.room-rating-line b {
    font-weight: 750;
}

.room-rating-line small {
    color: #777f7c;
    font-size: 9px;
}

.room-rating-line.is-empty {
    gap: 4px;
    color: #7b827f;
    font-size: 12px;
}

.room-rating-line.is-empty > span {
    font-size: 13px;
}

.room-rating-line.is-empty small {
    color: #7b827f;
    font-size: 12px;
}

.location {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    min-height: 34px;
    max-height: 34px;
    margin-top: 3px;
    color: #7b827f;
    font-size: 12px;
    line-height: 1.42;
    overflow: hidden;
}

.location svg {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    margin-top: 1px;
}

.room-amenity-line {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 16px;
    margin-top: 2px;
    padding-bottom: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    color: #5f6865;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    overscroll-behavior-x: contain;
    scrollbar-color: #d5ddda transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.room-amenity-line::-webkit-scrollbar {
    height: 3px;
}

.room-amenity-line::-webkit-scrollbar-thumb {
    background: #d5ddda;
    border-radius: 999px;
}

.room-amenity-line > span {
    flex: 0 0 auto;
}

.room-amenity-line span + span::before {
    content: " · ";
    color: #a4aaa8;
}

.price-line {
    display: flex;
    align-items: baseline;
    margin-top: 7px;
}

.price-line b {
    color: var(--accent);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.price-line small {
    margin-left: 3px;
    color: #777e7c;
    font-size: 11px;
}

.price-line em {
    margin-left: auto;
    color: #777e7c;
    font-size: 11px;
    font-style: normal;
}

.empty-state {
    display: grid;
    place-items: center;
    max-width: 460px;
    margin: 80px auto;
    text-align: center;
}

.empty-state[hidden] {
    display: none;
}

.empty-state svg {
    width: 44px;
    height: 44px;
    color: #9da6a3;
}

.empty-state h2 {
    margin: 15px 0 7px;
    font-size: 20px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.empty-state button {
    margin-top: 18px;
    padding: 10px 16px;
    color: #fff;
    background: var(--brand);
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.public-footer {
    padding: 52px max(24px, calc((100% - 1320px) / 2)) 18px;
    background: #f6f8f7;
    border-top: 1px solid #edf0ef;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr repeat(3, 1fr);
    gap: 60px;
}

.footer-brand p {
    max-width: 390px;
    margin: 13px 0 0;
    color: #68706e;
    font-size: 13px;
    line-height: 1.7;
}

.footer-grid h2 {
    margin: 4px 0 16px;
    font-size: 14px;
}

.footer-grid > div:not(.footer-brand) a {
    display: block;
    width: max-content;
    margin: 10px 0;
    color: #68706e;
    font-size: 13px;
}

.footer-grid a:hover {
    color: var(--brand);
}

.copyright {
    margin: 36px 0 0;
    padding-top: 18px;
    color: #8a918f;
    border-top: 1px solid #e2e6e4;
    font-size: 12px;
}

.mobile-bottom-nav {
    display: none;
}

dialog {
    padding: 0;
    border: 0;
}

dialog::backdrop {
    background: rgba(13, 24, 22, 0.45);
    backdrop-filter: blur(3px);
}

.filter-dialog {
    width: min(520px, calc(100% - 28px));
    max-height: calc(100dvh - 28px);
    margin: auto;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(14, 28, 25, 0.24);
}

.dialog-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 17px;
    border-bottom: 1px solid var(--line);
}

.dialog-panel header small,
.room-dialog-copy > small {
    color: var(--brand);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.dialog-panel h2 {
    margin: 4px 0 0;
    font-size: 24px;
}

.dialog-panel header button,
.dialog-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0 0 2px;
    background: #f2f5f4;
    border: 0;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.filter-content {
    max-height: 60dvh;
    padding: 4px 24px 18px;
    overflow-y: auto;
}

.filter-content fieldset {
    margin: 0;
    padding: 20px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
}

.filter-content fieldset:last-child {
    border-bottom: 0;
}

.filter-content legend {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 750;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 10px;
}

.price-inputs label {
    color: var(--muted);
    font-size: 11px;
}

.price-inputs input {
    width: 100%;
    height: 43px;
    margin-top: 6px;
    padding: 0 12px;
    border: 1px solid #dfe4e2;
    border-radius: 10px;
    outline: 0;
}

.price-inputs input:focus {
    border-color: var(--brand);
}

.price-inputs > span {
    padding-bottom: 13px;
    color: #a3aaa8;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 40px;
    cursor: pointer;
}

.check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}

.check-row span {
    font-size: 14px;
}

.dialog-panel footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid var(--line);
}

.dialog-panel footer button {
    min-height: 43px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.clear-button {
    background: #fff;
    border: 1px solid #dfe4e2;
}

.apply-button {
    flex: 1;
    color: #fff;
    background: var(--brand);
    border: 1px solid var(--brand);
}

.room-dialog {
    width: min(880px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(14, 28, 25, 0.24);
}

.room-dialog-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    overflow: hidden;
}

.room-dialog-panel > img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(16, 26, 24, 0.14);
}

.room-dialog-copy {
    display: flex;
    flex-direction: column;
    padding: 54px 28px 28px;
}

.room-dialog-copy h2 {
    margin: 10px 0 9px;
    font-size: 28px;
    line-height: 1.18;
}

.room-dialog-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.dialog-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.dialog-features span {
    padding: 8px 10px;
    color: #49615c;
    background: var(--brand-soft);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
}

.dialog-booking {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.dialog-booking p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12px;
}

.dialog-booking strong {
    color: var(--accent);
    font-size: 22px;
}

.dialog-booking a {
    display: grid;
    place-items: center;
    height: 48px;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
}

.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    z-index: 100;
    padding: 11px 16px;
    color: #fff;
    background: #17201e;
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 1180px) {
    .header-row {
        grid-template-columns: 190px minmax(320px, 1fr) 220px;
    }

    .language-button {
        width: 36px;
        padding: 0;
        justify-content: center;
        font-size: 0;
    }

    .language-button span {
        font-size: 14px;
    }

    .language-button svg {
        display: none;
    }

    .detail-site-header .public-user-chip {
        max-width: 84px;
    }

    .room-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {
    .room-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .header-row {
        grid-template-columns: 160px minmax(280px, 1fr) 100px;
        gap: 12px;
    }

    .public-brand {
        width: 140px;
    }

    .language-button {
        display: none;
    }

    .public-user-chip {
        display: grid;
        width: 38px;
        padding: 0;
        place-items: center;
    }

    .public-user-chip span {
        display: none;
    }

    .personal-offers-grid {
        display: flex;
        gap: 12px;
        margin-right: -24px;
        padding-right: 24px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .personal-offers-grid::-webkit-scrollbar {
        display: none;
    }

    .personal-offer {
        flex: 0 0 230px;
        scroll-snap-align: start;
    }

    .feature-category-options {
        display: flex;
        gap: 12px;
        margin-right: -24px;
        padding: 3px 24px 6px 3px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .feature-category-options::-webkit-scrollbar {
        display: none;
    }

    .feature-category-option {
        flex: 0 0 205px;
        min-height: 250px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 36px;
    }

    .footer-grid > div:last-child {
        display: none;
    }
}

@media (max-width: 680px) {
    body.public-home {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    .site-header {
        position: sticky;
    }

    .header-row {
        display: flex;
        gap: 9px;
        height: 58px;
        padding: 0 12px;
    }

    .public-brand {
        flex: 0 0 auto;
        width: clamp(96px, 28.7vw, 112px);
    }

    .top-search {
        flex: 1;
        height: 46px;
        min-width: 0;
        padding: 0 12px;
        cursor: text;
    }

    .top-search > svg {
        display: block;
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        color: var(--brand);
        stroke-width: 2.3;
    }

    .top-search input {
        position: absolute;
        inset: 0;
        z-index: 2;
        padding: 0 4px 0 38px;
        opacity: 0;
        text-align: left;
    }

    .top-search input::-webkit-search-cancel-button {
        margin: 0;
    }

    .top-search:focus-within .mobile-search-copy {
        opacity: 0;
    }

    .top-search:focus-within input {
        z-index: 3;
        background: #fff;
        border-radius: inherit;
        opacity: 1;
    }

    .top-search:focus-within > svg {
        z-index: 4;
    }

    .mobile-search-copy {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
        padding-left: 1px;
        line-height: 1.12;
        pointer-events: none;
    }

    .mobile-search-copy strong {
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-search-copy small {
        margin-top: 4px;
        overflow: hidden;
        color: #89908e;
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .top-search button,
    .header-actions {
        display: none;
    }

    .category-bar {
        gap: 17px;
        width: 100%;
        height: 58px;
        padding: 0 13px;
    }

    .filter-trigger {
        display: none;
    }

    .category {
        min-width: 45px;
        gap: 3px;
    }

    .category:first-child {
        display: none;
    }

    .category svg {
        width: 18px;
        height: 18px;
    }

    .category span {
        font-size: 10px;
    }

    .listing-main {
        padding: 14px 12px 32px;
    }

    .personal-offers {
        margin: 2px 0 23px;
    }

    .personal-offers-heading {
        margin-bottom: 12px;
    }

    .personal-offers-heading h2 {
        font-size: 18px;
    }

    .personal-offers-grid {
        display: flex;
        gap: 8px;
        margin-right: 0;
        padding-right: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .personal-offers-grid::-webkit-scrollbar {
        display: none;
    }

    .personal-offer {
        flex: 0 0 calc((100% - 8px) / 2);
        min-height: 140px;
        padding: 11px 9px 8px;
        border-radius: 9px;
        scroll-snap-align: start;
    }

    .personal-offer-label {
        overflow: hidden;
        font-size: 9px;
        text-overflow: ellipsis;
    }

    .personal-offer-body {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 7px;
        margin-top: 10px;
    }

    .personal-offer-icon,
    .offer-vihost-exclusive .personal-offer-icon,
    .offer-extra-benefits .personal-offer-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .personal-offer-icon svg,
    .offer-vihost-exclusive .personal-offer-icon svg,
    .offer-extra-benefits .personal-offer-icon svg {
        width: 40px;
        height: 40px;
    }

    .offer-vihost-exclusive .personal-offer-body,
    .offer-extra-benefits .personal-offer-body {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 7px;
    }

    .personal-offer-copy small {
        font-size: 9px;
    }

    .personal-offer-copy strong {
        font-size: 22px;
    }

    .personal-offer-copy > span {
        margin-top: 8px;
        font-size: 7.5px;
        line-height: 1.45;
    }

    .personal-offer-copy-benefit strong {
        font-size: 10px;
        line-height: 1.35;
    }

    .personal-offer-copy-benefit > span {
        margin-top: 5px;
        font-size: 7px;
    }

    .personal-offer-arrow {
        right: 5px;
        top: auto;
        bottom: 5px;
        width: 23px;
        height: 23px;
        transform: none;
    }

    .personal-offer-arrow:hover {
        transform: translateX(2px);
    }

    .personal-offer-arrow svg {
        width: 15px;
        height: 15px;
    }

    .feature-category-filter {
        margin: 0 0 23px;
    }

    .feature-category-heading {
        margin: 0 0 12px;
    }

    .feature-category-heading h2 {
        font-size: 18px;
    }

    .feature-category-options {
        margin-right: -12px;
        padding: 3px 12px 6px 3px;
    }

    .feature-category-option {
        flex: 0 0 calc((100% - 12px) / 2);
        min-height: 200px;
        padding: 16px 9px 12px;
    }

    .feature-category-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .feature-category-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-category-copy strong {
        font-size: 14px;
    }

    .feature-category-copy small {
        min-height: 28px;
        margin-top: 5px;
        font-size: 9px;
    }

    .feature-category-selected {
        top: 8px;
        right: 8px;
        width: 22px;
        height: 22px;
    }

    .listing-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        min-height: 48px;
        margin: 5px 0 13px;
    }

    .listing-toolbar label {
        width: 100%;
        justify-content: space-between;
        font-size: 10px;
    }

    .listing-toolbar select {
        min-width: min(180px, 58vw);
        height: 28px;
        font-size: 10px;
    }

    .listing-toolbar p {
        font-size: 10px;
    }

    .listing-toolbar-copy h2 {
        margin-bottom: 4px;
        font-size: 18px;
    }

    .room-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .room-image-wrap {
        aspect-ratio: 1.18 / 1;
        border-radius: 12px;
    }

    .heart-button {
        top: 8px;
        right: 8px;
        width: 31px;
        height: 31px;
    }

    .heart-button svg {
        width: 18px;
        height: 18px;
    }

    .room-facilities {
        right: 6px;
        bottom: 6px;
        height: 22px;
        padding: 0 5px;
        font-size: 9px;
    }

    .room-facilities svg {
        width: 12px;
        height: 12px;
    }

    .room-copy {
        padding-top: 7px;
    }

    .room-copy > strong {
        min-height: 34px;
        max-height: 34px;
        font-size: 12px;
        line-height: 1.35;
    }

    .location {
        min-height: 29px;
        max-height: 29px;
        margin-top: 2px;
        font-size: 10px;
        line-height: 1.35;
    }

    .location svg {
        flex-basis: 11px;
        width: 11px;
        height: 11px;
    }

    .price-line {
        margin-top: 5px;
    }

    .price-line b {
        font-size: 13px;
    }

    .price-line small,
    .price-line em {
        font-size: 9px;
    }

    .price-line em {
        display: none;
    }

    .public-footer {
        display: none;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 35;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: calc(62px + env(safe-area-inset-bottom));
        padding: 7px 5px env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--line);
        box-shadow: 0 -7px 24px rgba(24, 37, 34, 0.07);
        backdrop-filter: blur(14px);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 0;
        color: #79817f;
        background: transparent;
        border: 0;
        font-size: 9px;
        cursor: pointer;
    }

    .mobile-bottom-nav .active {
        color: var(--brand);
        font-weight: 700;
    }

    .mobile-bottom-nav svg {
        width: 22px;
        height: 22px;
        stroke-width: 1.9;
    }

    .filter-dialog,
    .room-dialog {
        width: 100%;
        max-width: none;
        max-height: 92dvh;
        margin: auto 0 0;
        border-radius: 22px 22px 0 0;
    }

    .dialog-panel header {
        padding: 18px 18px 15px;
    }

    .filter-content {
        max-height: 58dvh;
        padding: 0 18px 14px;
    }

    .dialog-panel footer {
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    }

    .room-dialog-panel {
        display: block;
        max-height: 92dvh;
        overflow-y: auto;
    }

    .room-dialog-panel > img {
        height: 42dvh;
        min-height: 290px;
    }

    .room-dialog-copy {
        min-height: 320px;
        padding: 25px 20px calc(22px + env(safe-area-inset-bottom));
    }

    .room-dialog-copy h2 {
        font-size: 22px;
    }

    .dialog-booking {
        margin-top: 25px;
    }

    .toast {
        bottom: calc(76px + env(safe-area-inset-bottom));
        max-width: calc(100% - 28px);
        white-space: nowrap;
    }
}

@media (max-width: 370px) {
    .room-grid {
        gap: 16px 9px;
    }

    .room-copy > strong {
        font-size: 11px;
    }

    .price-line b {
        font-size: 12px;
    }
}

@media (max-width: 340px) {
    .featured-room-toggle {
        display: grid;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 1px solid #fed7aa;
        border-radius: 50%;
        place-items: center;
    }

    .featured-room-toggle span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .featured-room-toggle svg {
        width: 18px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
