:root {
    --th-bg: #ffffff;
    --th-panel: #ffffff;
    --th-soft: #f7fafb;
    --th-map: #edf4f1;
    --th-text: #101828;
    --th-muted: #667085;
    --th-line: #e4e8ee;
    --th-teal: #007a78;
    --th-teal-dark: #005f5d;
    --th-teal-soft: #e6f4f2;
    --th-coral: #ff625a;
    --th-coral-dark: #ee4f47;
    --th-gold: #ffb020;
    --th-shadow: 0 14px 34px rgba(16, 24, 40, .075);
    --th-radius: 8px;
    --th-frame: 1240px;
    --th-sidebar: 220px;
    --th-map-width: 270px;
}

@media (max-width: 720px) {
    .th-compare-offers-head,
    .th-compare-offer-list article {
        display: grid;
        grid-template-columns: 1fr;
    }

    .th-compare-offers-head > span,
    .th-compare-offer-list article > span,
    .th-compare-offer-list .th-light-button {
        justify-self: start;
    }
}

/* Homepage refresh */
.th-home-page {
    background: #fff;
}

.th-header-phone,
.th-footer-phone,
.th-mobile-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0f766e;
    font-weight: 900;
    text-decoration: none;
}

.th-header-phone {
    min-height: 36px;
    border: 1px solid #d8ebe8;
    border-radius: 8px;
    background: #f2fbf9;
    padding: 0 12px;
    white-space: nowrap;
}

.th-footer-phone {
    margin-top: 10px;
}

.th-home-hero {
    padding: 34px 0 40px;
    background:
        linear-gradient(90deg, rgba(0, 122, 120, .09), rgba(255, 255, 255, 0) 46%),
        linear-gradient(180deg, #f8fbfd 0%, #fff 76%);
}

.th-home-hero.is-standalone {
    position: relative;
    min-height: 470px;
    padding: 54px 0 58px;
    background:
        linear-gradient(90deg, rgba(9, 24, 36, .78) 0%, rgba(9, 24, 36, .58) 47%, rgba(9, 24, 36, .16) 100%),
        var(--th-home-hero-bg),
        linear-gradient(180deg, #eef4f8 0%, #fff 100%);
    background-position: center;
    background-size: cover;
}

.th-home-hero.is-standalone .th-home-hero-grid {
    display: block;
}

.th-home-hero.is-standalone .th-home-hero-copy {
    max-width: 100%;
}

.th-home-hero.is-standalone .th-home-hero-copy h1,
.th-home-hero.is-standalone .th-home-stats strong {
    color: #fff;
}

.th-home-hero.is-standalone .th-home-hero-copy p,
.th-home-hero.is-standalone .th-home-stats span {
    color: rgba(255, 255, 255, .82);
}

.th-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .82fr);
    gap: 30px;
    align-items: center;
}

.th-home-hero-copy h1 {
    max-width: 720px;
    margin: 0;
    color: #0f172a;
    font-size: 42px;
    line-height: 1.06;
    font-weight: 850;
    letter-spacing: 0;
}

.th-home-hero-copy p {
    max-width: 640px;
    margin: 16px 0 22px;
    color: #475467;
    font-size: 15px;
    line-height: 1.65;
}

.th-home-search {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) minmax(150px, .78fr) minmax(190px, .86fr) auto;
    gap: 1px;
    overflow: visible;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #dfe7ef;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .11);
}

.th-home-search.is-standalone {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: none;
}

.th-home-search.is-standalone .th-search-field {
    flex: 1 1 0;
    min-width: 0;
}

.th-home-search.is-standalone > button[type="submit"] {
    flex: 0 0 220px;
}

.th-home-search .th-search-field {
    display: grid;
    gap: 6px;
    background: #fff;
    padding: 13px 14px;
    border-right: 0;
}

.th-home-search > .th-search-field > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
}

.th-home-search .th-search-field > input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #101828;
    font-size: 13px;
    font-weight: 800;
}

.th-home-search > button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    border: 0;
    background: var(--th-coral);
    color: #fff;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 850;
}

.th-home-search .th-search-value {
    font-size: 13px;
    font-weight: 850;
}

.th-date-placeholder {
    color: #98a2b3;
}

.th-home-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
}

.th-home-stats span {
    display: grid;
    color: #667085;
    font-weight: 750;
}

.th-home-stats strong {
    color: #0f172a;
    font-size: 22px;
    line-height: 1;
}

.th-home-hero-media {
    position: relative;
    min-height: 410px;
}

.th-home-hero-media img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .18);
}

.th-home-floating-panel {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 4px;
    width: min(260px, calc(100% - 36px));
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: #172033;
    padding: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}

.th-home-floating-panel i {
    color: var(--th-teal);
    font-size: 18px;
}

.th-home-floating-panel span {
    color: #667085;
}

.th-home-section {
    padding: 38px 0;
}

.th-home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.th-home-section-head h2 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.15;
}

.th-home-section-head p {
    margin: 0;
    color: #667085;
}

.th-home-section-head a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--th-teal);
    font-weight: 850;
}

.th-home-destinations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.th-home-destinations a {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 178px;
    overflow: hidden;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 16px;
    isolation: isolate;
}

.th-home-destinations a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .72));
}

.th-home-destinations span {
    font-size: 18px;
    font-weight: 900;
}

.th-home-destinations strong,
.th-home-destinations em {
    font-style: normal;
    font-weight: 750;
}

.th-home-band {
    background: #f7fafb;
    border-block: 1px solid #e8edf3;
}

.th-home-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.th-home-property-grid article {
    display: grid;
    gap: 10px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .055);
}

.th-home-property-photo {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 7px;
    background-position: center;
    background-size: cover;
}

.th-home-property-grid article > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.th-home-rating {
    display: inline-grid;
    width: 34px;
    height: 28px;
    place-items: center;
    border-radius: 6px;
    background: var(--th-teal);
    color: #fff;
    font-weight: 900;
}

.th-home-property-grid h3 {
    margin: 0;
    font-size: 15px;
}

.th-home-property-grid p {
    margin: 0;
    color: #667085;
}

.th-home-property-grid footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #edf1f5;
    padding-top: 10px;
}

.th-home-property-grid footer a {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 6px;
    background: #fff3f1;
    color: var(--th-coral);
}

.th-home-single-property {
    display: grid;
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
    gap: 18px;
    align-items: stretch;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .065);
}

.th-home-single-photo {
    display: block;
    min-height: 360px;
    border-radius: 7px;
    background-position: center;
    background-size: cover;
}

.th-home-single-copy {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 10px 8px 10px 2px;
}

.th-home-single-meta,
.th-home-single-facilities,
.th-home-single-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.th-home-single-actions .th-coral-button,
.th-home-single-actions .th-light-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.th-home-single-meta span,
.th-home-single-facilities span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e5eaf0;
    border-radius: 7px;
    background: #f8fafc;
    color: #475467;
    padding: 7px 9px;
    font-size: 12px;
    font-weight: 800;
}

.th-home-single-copy h3 {
    margin: 0;
    color: #101828;
    font-size: 25px;
    line-height: 1.15;
}

.th-home-single-copy p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
}

.th-home-single-address {
    font-weight: 800;
}

.th-home-single-phone {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: #0f766e;
    font-weight: 900;
    text-decoration: none;
}

.th-home-rooms {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.th-home-room-list {
    display: grid;
    gap: 12px;
}

.th-home-room-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) minmax(150px, auto);
    gap: 14px;
    align-items: center;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.th-home-room-photo {
    display: block;
    width: 132px;
    height: 96px;
    overflow: hidden;
    border-radius: 7px;
    background: #edf2f7;
}

.th-home-room-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-home-room-copy h3 {
    margin: 0 0 6px;
    color: #101828;
    font-size: 17px;
}

.th-home-room-copy p {
    margin: 0 0 8px;
    color: #667085;
    line-height: 1.45;
}

.th-home-room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.th-home-room-meta span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    border: 1px solid #e5eaf0;
    border-radius: 7px;
    background: #f8fafc;
    color: #475467;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 800;
}

.th-home-room-action {
    display: grid;
    gap: 10px;
    justify-items: end;
    text-align: right;
}

.th-home-room-action strong {
    color: #101828;
    font-size: 17px;
}

.th-home-info-strip {
    margin-top: 22px;
}

.th-home-info-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.th-home-info-list article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
}

.th-home-info-list article > i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: #ecfbf8;
    color: #0f766e;
}

.th-home-info-list h3 {
    margin: 0 0 5px;
    color: #101828;
    font-size: 15px;
}

.th-home-info-list p {
    margin: 0;
    color: #667085;
    line-height: 1.5;
}

.th-home-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
    gap: 16px;
    padding: 38px 0 52px;
}

.th-home-agent-panel,
.th-home-mix-panel {
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .055);
    padding: 22px;
}

.th-home-agent-panel {
    background: linear-gradient(135deg, #073b3a, #007a78);
    color: #fff;
}

.th-home-agent-panel h2 {
    max-width: 680px;
    margin: 0;
    font-size: 26px;
}

.th-home-agent-panel p {
    max-width: 720px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.65;
}

.th-home-agent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.th-home-agent-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    border-radius: 7px;
    background: #fff;
    color: var(--th-teal-dark);
    padding: 0 13px;
    font-weight: 850;
}

.th-home-mix-panel h3 {
    margin: 0 0 12px;
}

.th-home-mix-panel a {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 9px 0 12px;
    border-bottom: 1px solid #edf1f5;
}

.th-home-mix-panel a:last-child {
    border-bottom: 0;
}

.th-home-mix-panel em {
    position: absolute;
    left: 0;
    bottom: 5px;
    height: 3px;
    border-radius: 999px;
    background: var(--th-teal);
}

/* Client account polish */
.th-account-hero-modern {
    background:
        linear-gradient(135deg, rgba(0, 122, 120, .12), rgba(255, 98, 90, .08)),
        #fff;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .055);
}

.th-account-sidebar a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.th-account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.th-account-stat-grid article,
.th-account-progress-card,
.th-account-booking-list article {
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .045);
}

.th-account-stat-grid article {
    padding: 16px;
}

.th-account-stat-grid span {
    color: var(--th-muted);
    font-weight: 850;
}

.th-account-stat-grid strong {
    display: block;
    margin: 5px 0;
    font-size: 22px;
}

.th-account-stat-grid small {
    color: var(--th-muted);
}

.th-account-progress {
    display: grid;
    gap: 8px;
}

.th-account-progress span {
    display: flex;
    justify-content: space-between;
    color: #475467;
    font-weight: 800;
}

.th-account-progress em {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f7;
}

.th-account-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--th-teal);
}

.th-account-verify-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #fedf89;
    border-radius: 8px;
    background: #fffbeb;
    color: #92400e;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 800;
}

.th-account-verify-warning i {
    margin-top: 1px;
    color: #d97706;
    font-size: 17px;
}

.th-account-booking-list {
    display: grid;
    gap: 8px;
}

.th-account-booking-list article {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) .8fr .65fr .5fr auto;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
}

.th-account-booking-list strong,
.th-account-booking-list span {
    display: block;
}

.th-account-booking-list span,
.th-account-booking-list small {
    color: var(--th-muted);
}

.th-account-booking-list em, .th-account-table em {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
    padding: 0 8px;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
}

.th-account-table {
    overflow-x: auto;
    border: 1px solid var(--th-line);
    border-radius: 8px;
}

.th-account-table table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.th-account-table th,
.th-account-table td {
    padding: 10px 12px;
    border-top: 1px solid var(--th-line);
    text-align: left;
}

.th-account-table thead th {
    border-top: 0;
    background: var(--th-soft);
    color: var(--th-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-account-table small {
    display: block;
    color: var(--th-muted);
}

.th-account-table-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.th-account-table-actions .th-table-icon-action {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-teal-dark);
    cursor: pointer;
}

.th-account-table-actions .th-table-icon-action:hover {
    border-color: var(--th-teal);
    background: var(--th-teal-soft);
}

.th-account-review-modal[hidden] {
    display: none !important;
}

.th-account-review-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: grid;
    place-items: center;
    padding: 18px;
}

.th-account-review-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(3px);
}

.th-account-review-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 38px);
    overflow: auto;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
    padding: 18px;
}

.th-review-rating-grid {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.th-review-rating-grid label {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(170px, 1.2fr) 34px;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: var(--th-soft);
    padding: 8px 10px;
}

.th-review-rating-grid span,
.th-review-text-field span {
    color: #344054;
    font-size: 12px;
    font-weight: 850;
}

.th-review-rating-grid strong {
    display: grid;
    min-width: 30px;
    height: 26px;
    place-items: center;
    border-radius: 7px;
    background: var(--th-teal);
    color: #fff;
    font-size: 12px;
}

.th-review-text-field {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}

.th-review-text-field input,
.th-review-text-field textarea {
    width: 100%;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-text);
    padding: 9px 11px;
}

.th-account-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.th-account-form label {
    display: grid;
    gap: 6px;
}

.th-account-form label span {
    color: #344054;
    font-weight: 850;
}

.th-account-form input,
.th-account-form select {
    min-height: 38px;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    padding: 0 11px;
    background: #fff;
    color: var(--th-text);
}

.th-account-field-wide,
.th-account-avatar-field {
    grid-column: 1 / -1;
}

.th-account-avatar-field > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.th-avatar-preview {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
}

.th-account-avatar-field img,
.th-account-avatar-field em {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
    font-style: normal;
    font-weight: 900;
    object-fit: cover;
}

.th-account-avatar-field input {
    max-width: 320px;
}

.th-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.th-upload-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(0, 109, 119, .24);
    border-radius: 7px;
    background: #f3fbfa;
    color: var(--th-teal);
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.th-upload-button:hover {
    border-color: rgba(0, 109, 119, .45);
    background: #e6f5f3;
}

.th-account-avatar-field small {
    color: var(--th-muted);
    font-size: 11px;
}

.th-account-form button {
    justify-self: start;
    min-height: 36px;
    padding: 0 14px;
}

.th-claim-page {
    background: #f6f8fb;
    min-height: 70vh;
    padding: 36px 0 56px;
}

.th-claim-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 18px;
    align-items: start;
}

.th-claim-panel {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
    padding: 22px;
}

.th-claim-side-panel {
    min-height: 360px;
}

.th-claim-panel h1,
.th-claim-panel h2 {
    margin: 8px 0 10px;
    font-size: 24px;
}

.th-claim-panel p {
    color: #667085;
    line-height: 1.6;
}

.th-claim-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.th-claim-form label {
    display: grid;
    gap: 6px;
    color: #344054;
    font-weight: 700;
}

.th-claim-form input {
    width: 100%;
    border: 1px solid #d9e1ec;
    border-radius: 7px;
    padding: 12px 13px;
    color: #111827;
}

.th-claim-form select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d9e1ec;
    border-radius: 7px;
    background: #fff;
    padding: 0 12px;
    color: #111827;
}

.th-claim-form .th-coral-button,
.th-claim-form .th-light-button {
    width: 100%;
    min-height: 40px;
}

.th-claim-alert {
    display: flex;
    gap: 8px;
    align-items: center;
    border-radius: 7px;
    margin-top: 14px;
    padding: 12px 14px;
    font-weight: 700;
}

.th-claim-alert.is-success {
    background: #e9f8ef;
    color: #0f7a3a;
}

.th-claim-alert.is-error {
    background: #fff0ef;
    color: #d4473f;
}

.th-claim-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0b7a75;
    font-weight: 800;
    margin: 12px 0;
}

.th-claim-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.th-claim-actions form {
    display: contents;
}

.th-claim-empty-state {
    display: grid;
    gap: 13px;
}

.th-claim-empty-state > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: #e6f4f3;
    color: var(--th-teal-dark);
    font-size: 24px;
}

.th-claim-empty-state ul {
    display: grid;
    gap: 9px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    color: #344054;
    font-weight: 700;
}

.th-claim-empty-state li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.th-claim-empty-state li i {
    color: var(--th-teal);
}

.th-claim-agent-register {
    gap: 12px;
}

.th-claim-agent-register .th-agent-billing-register {
    background: #f8fbfb;
}

.th-claim-agent-register .th-company-billing-grid {
    grid-template-columns: 1fr;
}

@media (max-width: 820px) {
    .th-claim-shell {
        grid-template-columns: 1fr;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--th-bg);
    color: var(--th-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.th-frame {
    width: min(var(--th-frame), calc(100% - 84px));
    margin: 0 auto;
}

.th-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--th-line);
}
.th-header-inner {
    display: flex;
    align-items: center;
    min-height: 66px;
    gap: 22px;
}
.th-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 165px;
}
.th-brand strong {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--th-teal-dark);
}
.th-brand strong span { color: var(--th-coral); }
.th-brand-logo {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.th-brand-pin {
    position: relative;
    display: inline-block;
    width: 23px;
    height: 23px;
    border-radius: 50% 50% 50% 0;
    background: var(--th-teal-dark);
    transform: rotate(-45deg);
}
.th-brand-pin::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #fff;
}
.th-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 66px;
    font-weight: 700;
}
.th-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    color: #101828;
}
.th-nav a.is-active,
.th-nav a:hover { color: var(--th-teal-dark); }
.th-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--th-teal);
}
.th-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.th-header-dropdown {
    position: relative;
}
.th-locale {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    border: 1px solid var(--th-line);
    border-radius: 24px;
    background: #fff;
    color: var(--th-text);
    padding: 0 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}
.th-locale .th-lang-code {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    line-height: 1;
}
.th-locale .th-lang-flag {
    width: 22px;
    height: 22px;
    min-width: 22px;
}
.th-lang-code {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.th-language-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.th-language-menu a small {
    margin-left: auto;
    color: var(--th-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.th-language-menu a.active {
    color: var(--th-teal);
    background: var(--th-teal-soft);
}
.th-icon-button,
.th-account-button {
    min-height: 34px;
    border: 1px solid var(--th-line);
    background: #fff;
    color: var(--th-text);
    border-radius: 24px;
}
.th-icon-button {
    width: 34px;
    font-size: 17px;
}
.th-account-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    font-weight: 700;
}
.th-account-icon {
    display: inline-flex;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    line-height: 1;
    position: static;
}
.th-account-icon::after {
    display: none;
    content: none;
}
.th-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
}
.th-header-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 80;
    width: 286px;
    padding: 10px;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .16);
}
.th-header-menu strong {
    display: block;
    padding: 4px 6px 9px;
}
.th-header-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--th-text);
    font-weight: 750;
    text-decoration: none;
}
.th-header-menu a:hover {
    background: var(--th-soft);
    color: var(--th-teal-dark);
}
.th-menu-empty {
    margin: 0;
    padding: 12px 8px;
    color: var(--th-muted);
    font-weight: 700;
}
.th-menu-footer {
    margin-top: 6px;
    border-top: 1px solid var(--th-line);
    color: var(--th-teal) !important;
}
.th-favorite-menu-photo {
    flex: 0 0 42px;
    width: 42px;
    height: 34px;
    border-radius: 7px;
    background: #dfe8e8 center/cover no-repeat;
}
.th-favorite-menu-item span:last-child {
    min-width: 0;
}
.th-favorite-menu-item strong,
.th-favorite-menu-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.th-favorite-menu-item small {
    color: var(--th-muted);
    font-size: 11px;
}
.th-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1em;
}

.th-search-band {
    background: linear-gradient(90deg, #006b68, #007f7d 55%, #006b68);
    padding: 16px 0;
}
.th-search-box {
    display: grid;
    grid-template-columns: 1.25fr 1.1fr 1.05fr 132px;
    background: #fff;
    border-radius: 11px;
    box-shadow: var(--th-shadow);
    overflow: visible;
}
.th-search-field {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 13px 17px;
    border-right: 1px solid var(--th-line);
}
.th-search-field span,
.th-city-select span,
.th-booking-card label span {
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 700;
}
.th-search-field input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--th-text);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
}
.th-search-value {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    color: var(--th-text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.th-destination-dropdown,
.th-search-popover {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: 0;
    min-width: 100%;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .16);
}
.th-destination-dropdown {
    width: 360px;
    max-height: 330px;
    overflow-y: auto;
}
.th-destination-option {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--th-line);
    background: transparent;
    padding: 11px 13px;
    text-align: left;
    cursor: pointer;
}
.th-destination-option:hover,
.th-destination-option:focus {
    background: var(--th-soft);
}
.th-destination-option:last-child {
    border-bottom: 0;
}
.th-destination-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    background: var(--th-teal-soft);
    color: var(--th-teal);
    font-weight: 900;
}
.th-destination-option strong,
.th-destination-option small {
    display: block;
}
.th-destination-option small {
    margin-top: 2px;
    color: var(--th-muted);
}
.th-destination-empty {
    padding: 13px;
    color: var(--th-muted);
    font-weight: 700;
}
.th-calendar-popover {
    width: 372px;
    padding: 12px;
}
.th-calendar-head,
.th-calendar-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.th-calendar-head button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-text);
    cursor: pointer;
}
.th-calendar-weekdays,
.th-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.th-calendar-weekdays {
    margin: 12px 0 7px;
    color: var(--th-muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}
.th-calendar-day {
    display: grid;
    min-height: 48px;
    align-content: center;
    gap: 2px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-text);
    text-align: center;
    cursor: pointer;
}
.th-calendar-day small {
    color: var(--th-muted);
    font-size: 10px;
}
.th-calendar-day.is-muted {
    visibility: hidden;
}
.th-calendar-day.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}
.th-calendar-day.is-selected,
.th-calendar-day.is-range {
    border-color: var(--th-teal);
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
}
.th-calendar-day.is-start,
.th-calendar-day.is-end {
    background: var(--th-teal);
    color: #fff;
}
.th-calendar-day.is-start small,
.th-calendar-day.is-end small {
    color: rgba(255,255,255,.82);
}
.th-calendar-actions {
    margin-top: 12px;
}
.th-calendar-actions .th-coral-button,
.th-calendar-actions .th-light-button,
.th-popover-apply {
    min-height: 36px;
    padding: 0 14px;
    text-decoration: none;
}
.th-guests-popover {
    width: 305px;
    padding: 14px;
}
.th-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--th-line);
}
.th-guest-row:first-child {
    padding-top: 0;
}
.th-guest-row small {
    display: block;
    margin-top: 2px;
    color: var(--th-muted);
}
.th-stepper {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.th-stepper button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-teal);
    font-weight: 900;
    cursor: pointer;
}
.th-stepper span {
    min-width: 18px;
    color: var(--th-text);
    text-align: center;
    font-weight: 800;
}
.th-popover-apply {
    width: 100%;
    margin-top: 13px;
}
.th-search-submit,
.th-coral-button,
.th-reserve-unit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--th-coral);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(255, 98, 90, .24);
}
.th-search-submit {
    margin: 12px;
    min-height: 42px;
    font-size: 12px;
}
.th-search-submit:hover,
.th-coral-button:hover,
.th-reserve-unit:hover {
    background: var(--th-coral-dark);
}

.th-booking-layout {
    display: grid;
    grid-template-columns: var(--th-sidebar) minmax(470px, 1fr) var(--th-map-width);
    width: min(var(--th-frame), calc(100% - 84px));
    margin: 0 auto;
    min-height: calc(100vh - 112px);
}
.th-filter-panel {
    border-right: 1px solid var(--th-line);
    padding: 24px 17px 38px 0;
}
.th-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.th-filter-header h2 {
    margin: 0;
    font-size: 17px;
}
.th-filter-header button {
    border: 0;
    color: var(--th-coral);
    background: transparent;
    font-weight: 700;
}
.th-filter-block {
    padding: 0 0 18px;
    margin-bottom: 17px;
    border-bottom: 1px solid var(--th-line);
}
.th-filter-title {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 0 11px;
    border: 0;
    background: transparent;
    color: var(--th-text);
    font-weight: 800;
    text-align: left;
}
.th-filter-title::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--th-muted);
    border-bottom: 1.5px solid var(--th-muted);
    transform: rotate(225deg);
    margin-top: 7px;
}
.th-filter-block label,
.th-city-select {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0;
    color: #344054;
}
.th-amenities-filter-list {
    display: grid;
    gap: 2px;
}
.th-amenities-filter-list.is-expanded {
    max-height: 236px;
    overflow-y: auto;
    padding-right: 5px;
}
#amenitiesFilter label {
    margin: 4px 0;
    gap: 7px;
    line-height: 1.25;
}
#amenitiesFilter label span {
    min-width: 0;
}
.th-amenities-filter-list label.is-extra-hidden {
    display: none;
}
.th-filter-empty {
    color: var(--th-muted);
    font-size: 12px;
    line-height: 1.45;
    padding: 3px 0 5px;
}
.th-filter-show-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: var(--th-teal);
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}
.th-filter-block label small {
    margin-left: auto;
    color: var(--th-muted);
    font-size: 12px;
}
.th-filter-block input[type="checkbox"],
.th-filter-block input[type="radio"] {
    width: 15px;
    height: 15px;
    accent-color: var(--th-teal);
}
.th-city-select {
    display: grid;
    gap: 6px;
    align-items: start;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--th-line);
    margin-bottom: 24px;
}
.th-city-select select,
.th-results-actions select,
.th-filter-block input[type="number"],
.th-booking-card input {
    min-height: 33px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-text);
    padding: 0 12px;
    outline: 0;
}
.th-filter-stars {
    color: var(--th-gold);
    letter-spacing: 0;
    font-size: 11px;
    line-height: 1;
}

.th-filter-stars i {
    margin-right: 1px;
}
.th-budget-chart {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: end;
    height: 56px;
    gap: 4px;
    margin: 2px 0 8px;
}
.th-budget-chart span {
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #d3e8e7, #96cdca);
}
.th-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
}
.th-price-row input {
    width: 100%;
    min-width: 0;
}

.th-results-column {
    padding: 24px 17px 34px;
}
.th-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.th-results-bar strong {
    font-size: 14px;
}
.th-results-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.th-results-actions label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--th-muted);
    font-weight: 700;
}
.th-view-toggle {
    width: 32px;
    height: 32px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-muted);
    font-size: 17px;
}
.th-view-toggle.is-active {
    background: var(--th-teal);
    color: #fff;
    border-color: var(--th-teal);
}
.th-property-list {
    display: grid;
    gap: 13px;
}
.th-property-list.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.th-property-list.is-grid .th-stay-card {
    grid-template-columns: 1fr;
}
.th-property-list.is-grid .th-stay-price {
    border-left: 0;
    border-top: 1px solid var(--th-line);
}
.th-stay-card {
    position: relative;
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr) 132px;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .04);
}
.th-stay-photo-wrap {
    position: relative;
    min-height: 182px;
}
.th-stay-photo {
    position: relative;
    display: block;
    height: 100%;
    min-height: 182px;
    background: #dfe9ea url("../images/apartment-mountain.png") center/cover no-repeat;
}
.th-recommended {
    position: absolute;
    top: 14px;
    left: 13px;
    padding: 5px 8px;
    border-radius: 6px;
    background: #00a89d;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
.th-save {
    position: absolute;
    top: 13px;
    right: 13px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, .22);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color .16s ease, transform .16s ease;
    z-index: 3;
}
.th-save:hover,
.th-save.is-saved {
    background: var(--th-coral);
    transform: translateY(-1px);
}
.th-stay-body {
    padding: 16px 17px 14px;
}
.th-stay-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.th-stay-card h2 {
    margin: 0 0 9px;
    font-size: 16px;
    line-height: 1.18;
}
.th-stars {
    color: var(--th-gold);
    letter-spacing: 0;
    margin-bottom: 12px;
}
.th-card-classification {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    color: var(--th-gold);
    font-size: 12px;
}
.th-card-classification span:not(.th-unclassified) {
    margin-left: 4px;
    color: var(--th-muted);
    font-size: 11px;
    font-weight: 800;
}
.th-unclassified {
    display: inline-flex;
    align-items: center;
    min-height: 19px;
    padding: 0 7px;
    border: 1px solid #d7dee7;
    border-radius: 999px;
    color: #667085;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 800;
}
.th-type-pill,
.th-kind-badge {
    display: inline-flex;
    align-items: center;
    height: 21px;
    padding: 0 9px;
    border: 1px solid #cfd7df;
    border-radius: 6px;
    color: #344054;
    font-size: 11px;
    font-weight: 700;
}
.th-card-score-line {
    display: grid;
    grid-template-columns: 44px auto 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}
.th-card-score-line strong,
.th-detail-score strong {
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--th-teal);
    color: #fff;
    font-weight: 900;
}
.th-card-score-line strong {
    width: 34px;
    height: 29px;
}
.th-card-score-line span {
    font-weight: 800;
}
.th-card-score-line small,
.th-stay-location,
.th-stay-price span,
.th-stay-price small {
    color: var(--th-muted);
}
.th-card-score-line.is-empty strong,
.th-detail-score.is-empty strong {
    background: #e7edf0;
    color: #667085;
}
.th-card-score-line.is-empty span {
    color: #667085;
}
.th-stay-location {
    margin: 0 0 12px;
}
.th-card-amenities {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #344054;
}
.th-card-no-amenities {
    margin: 0;
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 700;
}
.th-card-amenities li::before,
.th-facility-grid span::before,
.th-free-cancel::before {
    content: "✓";
    margin-right: 8px;
    color: var(--th-teal);
    font-weight: 900;
}
.th-stay-price {
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 16px 13px;
    border-left: 1px solid var(--th-line);
    text-align: center;
}
.th-stay-price strong {
    font-size: 18px;
    margin-bottom: 8px;
}
.th-stay-price strong.is-unavailable {
    color: #667085;
    font-size: 13px;
    line-height: 1.25;
}
.th-coral-button {
    min-height: 32px;
    padding: 0 12px;
    margin-top: 12px;
}
.th-details-button {
    min-width: 0;
    max-width: 100%;
    padding: 0 11px;
    white-space: nowrap;
}
.th-details-button .th-btn-icon {
    color: #fff;
    font-size: 13px;
}

.th-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
}

.th-book-now-button,
.th-card-actions .th-details-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    margin-top: 0;
    border-radius: 8px;
}

.th-card-actions .th-details-button {
    border: 1px solid var(--th-line);
    background: #fff;
    color: var(--th-teal);
}

.th-card-actions .th-details-button i {
    color: var(--th-teal);
}
.th-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.th-icon-action i {
    font-size: 15px;
}
.th-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;
}
.th-loading {
    padding: 34px;
    border: 1px dashed var(--th-line);
    border-radius: 12px;
    color: var(--th-muted);
    background: var(--th-soft);
}
.th-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 195px;
    min-height: 32px;
    margin: 24px auto 0;
    border: 1px solid var(--th-teal);
    border-radius: 8px;
    background: #fff;
    color: var(--th-teal);
    font-weight: 800;
}
.th-load-more .th-load-icon {
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--th-teal-soft);
    font-weight: 900;
}
.th-load-more.is-loading .th-load-icon {
    border: 2px solid rgba(0, 122, 120, .22);
    border-top-color: var(--th-teal);
    background: transparent;
    color: transparent;
    animation: th-spin .75s linear infinite;
}
@keyframes th-spin {
    to { transform: rotate(360deg); }
}
.th-pagination {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.th-pagination button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
}
.th-pagination button.is-active {
    background: var(--th-teal);
    color: #fff;
}

.th-map-panel {
    position: sticky;
    top: 66px;
    align-self: start;
    height: calc(100vh - 66px);
    padding: 24px 0 18px;
}
.th-map-live {
    position: absolute;
    top: 34px;
    left: 15px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .14);
    font-weight: 700;
}
.th-map-live input { accent-color: var(--th-teal); }
.th-map-canvas {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #edf4f1;
}
.th-map-water {
    position: absolute;
    inset: 0 0 0 62%;
    background: linear-gradient(180deg, #d7eff4, #bfdee6);
}
.th-map-road {
    position: absolute;
    background: #f8c96d;
    border: 2px solid #fff4d4;
    border-radius: 999px;
    opacity: .86;
}
.th-map-road-a { width: 8px; height: 92%; left: 49%; top: 4%; transform: rotate(9deg); }
.th-map-road-b { width: 8px; height: 70%; left: 31%; top: 18%; transform: rotate(-22deg); }
.th-map-road-c { width: 72%; height: 8px; left: 10%; top: 42%; transform: rotate(-11deg); }
.th-map-park {
    position: absolute;
    display: grid;
    place-items: center;
    color: #538966;
    background: #d7ead9;
    font-size: 12px;
}
.th-map-park-a { left: 7%; bottom: 12%; width: 42%; height: 22%; border-radius: 48% 52% 34% 48%; }
.th-map-park-b { right: 8%; top: 52%; width: 28%; height: 17%; border-radius: 50%; }
.th-map-city {
    position: absolute;
    left: 50%;
    top: 36%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 24px;
    font-weight: 800;
    color: rgba(16, 24, 40, .78);
}
.th-map-pin {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    padding: 8px 11px;
    border-radius: 9px;
    background: #fff;
    color: var(--th-teal-dark);
    box-shadow: 0 8px 20px rgba(16, 24, 40, .18);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.th-map-pin.is-active {
    background: var(--th-teal);
    color: #fff;
}
.th-map-zoom {
    position: absolute;
    right: 16px;
    bottom: 18px;
    display: grid;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .14);
}
.th-map-zoom button {
    width: 42px;
    height: 42px;
    border: 0;
    background: #fff;
    font-size: 24px;
    font-weight: 700;
}
.th-map-zoom button + button { border-top: 1px solid var(--th-line); }

.th-map-canvas .leaflet-control-container,
.th-map-canvas .leaflet-popup-content {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
}
.th-map-canvas .leaflet-control-zoom a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: var(--th-text);
}
.th-leaflet-price {
    border: 0;
    background: transparent;
}
.th-leaflet-price span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 22px;
    padding: 0 7px;
    border: 1px solid rgba(0, 122, 120, .22);
    border-radius: 8px;
    background: #fff;
    color: var(--th-teal-dark);
    box-shadow: 0 7px 15px rgba(16, 24, 40, .16);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}
.th-leaflet-price span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(0, 122, 120, .22);
    border-bottom: 1px solid rgba(0, 122, 120, .22);
    background: inherit;
    transform: translateX(-50%) rotate(45deg);
}
.th-leaflet-price span.is-active {
    background: var(--th-teal);
    color: #fff;
}
.th-map-canvas .leaflet-tooltip {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .18);
}
.th-map-tooltip {
    display: grid;
    gap: 4px;
    min-width: 180px;
    padding: 3px 1px;
}
.th-map-tooltip strong {
    font-size: 13px;
}
.th-map-tooltip span,
.th-map-tooltip small {
    color: var(--th-muted);
}
.th-map-tooltip em {
    color: var(--th-teal-dark);
    font-style: normal;
    font-weight: 900;
}
.th-map-popup {
    display: grid;
    gap: 5px;
    min-width: 170px;
}
.th-map-popup strong {
    font-size: 13px;
}
.th-map-popup span {
    color: var(--th-muted);
}
.th-map-popup em {
    color: var(--th-teal-dark);
    font-style: normal;
    font-weight: 900;
}
.th-detail-pin {
    background: transparent;
    border: 0;
}
.th-detail-pin span {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--th-coral);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .24);
    transform: rotate(-45deg);
}
.th-detail-pin span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.th-detail-page {
    background: #fff;
}
.th-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0 20px;
}
.th-back-link {
    color: var(--th-text);
    font-weight: 800;
}
.th-back-link::before {
    content: "←";
    margin-right: 8px;
}
.th-detail-top-actions {
    display: flex;
    gap: 18px;
}
.th-link-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: var(--th-text);
    font-weight: 700;
    cursor: pointer;
}
.th-link-action.is-saved,
.th-link-action.is-copied {
    color: var(--th-teal-dark);
}
.th-detail-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 4px;
    height: 376px;
    overflow: hidden;
    border-radius: 9px;
}
.th-gallery-hero,
.th-gallery-stack > div {
    background: #dfe8e8 center/cover no-repeat;
}
.th-gallery-hero,
.th-gallery-stack button {
    border: 0;
    background-color: #dfe8e8;
    background-position: center;
    background-size: cover;
}
.th-gallery-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}
.th-gallery-stack button {
    border: 0;
    background:
        linear-gradient(rgba(0,0,0,.36), rgba(0,0,0,.36)),
        url("../images/apartment-mountain.png") center/cover no-repeat;
    color: #fff;
    font-weight: 800;
}
.th-gallery-stack button:not(.th-gallery-more) {
    background-color: #eef4f5;
    background-repeat: no-repeat;
    background-size: contain;
    color: transparent;
}
.th-gallery-more {
    position: relative;
    color: #fff;
}
.th-detail-title {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 0 22px;
}
.th-detail-title h1 {
    display: inline;
    margin: 0 12px 0 0;
    font-size: 31px;
    line-height: 1.12;
}
.th-detail-title p {
    margin: 12px 0 0;
    color: var(--th-muted);
}
.th-detail-title a {
    color: var(--th-teal);
    font-weight: 800;
}
.th-detail-score {
    display: grid;
    grid-template-columns: 58px auto;
    align-items: center;
    column-gap: 12px;
    min-width: 190px;
}
.th-detail-score strong {
    grid-row: span 2;
    width: 58px;
    height: 58px;
    font-size: 24px;
}
.th-detail-score span {
    font-weight: 900;
}
.th-detail-score small {
    color: var(--th-muted);
}
.th-detail-score.is-empty {
    grid-template-columns: 48px auto;
    min-width: 170px;
}
.th-detail-score.is-empty strong {
    width: 48px;
    height: 48px;
    font-size: 18px;
}
.th-feature-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--th-line);
    border-bottom: 1px solid var(--th-line);
}
.th-feature-strip span {
    padding: 18px 16px;
    border-right: 1px solid var(--th-line);
    font-weight: 700;
    color: #344054;
}
.th-feature-strip span:last-child { border-right: 0; }
.th-detail-tabs {
    display: flex;
    align-items: center;
    gap: 52px;
    border-bottom: 1px solid var(--th-line);
}
.th-detail-tabs button {
    position: relative;
    min-height: 62px;
    border: 0;
    background: transparent;
    color: var(--th-muted);
    font-weight: 800;
}
.th-detail-tabs button.is-active {
    color: var(--th-teal);
}
.th-detail-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--th-teal);
}

.th-detail-tabs .th-detail-reserve-now {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--th-coral);
    color: #fff;
    padding: 0 13px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(255, 98, 90, .18);
}

.th-detail-tabs .th-detail-reserve-now::after {
    display: none;
}
.th-detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 295px;
    gap: 28px;
    padding: 28px 0 30px;
}
.th-detail-tab-panel { display: none; }
.th-detail-tab-panel.is-active { display: grid; gap: 22px; }
.th-detail-card {
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    padding: 26px;
}
.th-detail-card h2 {
    margin: 0 0 16px;
    font-size: 20px;
}
.th-detail-card p {
    max-width: 720px;
    color: #344054;
    margin: 0 0 12px;
}
.th-detail-card a {
    color: var(--th-teal);
    font-weight: 800;
}
.th-facility-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
}
.th-facility-grid .th-card-no-amenities {
    grid-column: 1 / -1;
}
.th-compare-offers {
    display: grid;
    gap: 15px;
}
.th-compare-offers-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}
.th-compare-offers-head h2,
.th-compare-offers-head p {
    margin-bottom: 5px;
}
.th-compare-offers-head > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #027a48;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.th-compare-offer-list {
    display: grid;
    gap: 10px;
}
.th-compare-offer-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid var(--th-line);
    border-radius: 9px;
    background: #fbfcfd;
}
.th-compare-offer-list strong {
    display: block;
    font-size: 14px;
}
.th-compare-offer-list small {
    display: block;
    color: var(--th-muted);
    margin-top: 3px;
}
.th-compare-offer-list article > span {
    font-weight: 900;
    color: var(--th-text);
    white-space: nowrap;
}
.th-compare-offer-list .th-light-button {
    min-height: 31px;
    margin: 0;
    white-space: nowrap;
}
.th-booking-card {
    align-self: start;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .05);
}

.th-detail-side {
    position: relative;
    display: grid;
    gap: 12px;
    align-content: start;
    align-self: start;
}
.th-booking-card-head {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--th-line);
}
.th-booking-card-head strong {
    display: inline;
    font-size: 29px;
}
.th-booking-card-head span {
    color: var(--th-muted);
    font-weight: 700;
}
.th-booking-card-head small {
    display: block;
    color: var(--th-muted);
    margin-top: 6px;
}
.th-booking-card form {
    display: grid;
    gap: 13px;
}
.th-booking-card label {
    display: grid;
    gap: 7px;
}
.th-form-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.th-booking-card input {
    width: 100%;
    min-width: 0;
    height: 36px;
    border: 1px solid var(--th-line);
    border-radius: 7px;
    padding: 0 9px;
    font: inherit;
    font-size: 12px;
}
.th-booking-card .th-form-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.th-booking-card .th-search-submit,
.th-contact-card .th-light-button {
    min-height: 36px;
    margin: 0;
    padding: 0 12px;
    font-size: 12px;
}
.th-quote-box {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-radius: 8px;
    background: var(--th-soft);
    color: var(--th-muted);
}
.th-quote-box strong {
    color: var(--th-text);
    font-size: 18px;
}
.th-booking-submit {
    width: 100%;
    margin: 4px 0 0;
}

.th-room-options-card {
    display: grid;
    gap: 16px;
}

.th-room-options-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.th-room-options-head h2 {
    margin-bottom: 5px;
}

.th-room-options-stay {
    min-width: 180px;
    padding: 10px 12px;
    border: 1px solid #d8e6e3;
    border-radius: 8px;
    background: #f0fbf8;
    text-align: right;
}

.th-room-options-stay strong,
.th-room-options-stay span {
    display: block;
}

.th-room-options-stay span {
    margin-top: 3px;
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 800;
}

.th-room-search-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 9px;
    padding: 10px;
    border: 1px solid #dce7ed;
    border-radius: 8px;
    background: #f8fbfd;
}

.th-room-search-strip label {
    display: grid;
    gap: 5px;
}

.th-room-search-strip span {
    color: var(--th-muted);
    font-size: 11px;
    font-weight: 900;
}

.th-room-search-strip input,
.th-room-select-cell select {
    width: 100%;
    height: 34px;
    min-width: 0;
    border: 1px solid var(--th-line);
    border-radius: 7px;
    background: #fff;
    color: var(--th-text);
    padding: 0 9px;
    outline: none;
}

.th-room-search-strip button {
    align-self: end;
    min-height: 34px;
    padding: 0 12px;
    white-space: nowrap;
}

.th-room-options-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--th-line);
    border-radius: 8px;
}

.th-room-options-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
    table-layout: fixed;
}

.th-room-options-table th {
    padding: 10px;
    background: #f1f7f8;
    color: #344054;
    font-size: 12px;
    text-align: left;
    vertical-align: top;
}

.th-room-options-table td {
    padding: 12px 10px;
    border-top: 1px solid var(--th-line);
    vertical-align: top;
}

.th-room-options-table th:nth-child(1),
.th-room-options-table td:nth-child(1) {
    width: 30%;
}

.th-room-options-table th:nth-child(2),
.th-room-options-table td:nth-child(2) {
    width: 15%;
}

.th-room-options-table th:nth-child(3),
.th-room-options-table td:nth-child(3) {
    width: 26%;
}

.th-room-options-table th:nth-child(4),
.th-room-options-table td:nth-child(4) {
    width: 16%;
}

.th-room-options-table th:nth-child(5),
.th-room-options-table td:nth-child(5) {
    width: 13%;
}

.th-room-option-title {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
}

.th-room-option-title img {
    width: 82px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
}

.th-room-option-title strong {
    display: block;
    color: var(--th-teal-dark);
    font-size: 15px;
}

.th-room-option-title p {
    margin: 4px 0 8px;
    color: var(--th-muted);
    font-size: 12px;
}

.th-room-option-title span,
.th-room-policy-list li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 7px 5px 0;
    color: #344054;
    font-size: 12px;
    font-weight: 750;
}

.th-room-option-title i,
.th-room-policy-list i,
.th-room-capacity i {
    color: var(--th-teal);
}

.th-room-capacity strong,
.th-room-capacity span,
.th-room-price strong,
.th-room-price span {
    display: block;
}

.th-room-capacity span,
.th-room-price span {
    margin-top: 4px;
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 750;
}

.th-room-policy-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.th-room-price strong {
    font-size: 17px;
}

.th-room-select-cell {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.th-room-reserve-row {
    width: 100%;
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
    justify-content: center;
}

.th-detail-reservation-card {
    position: sticky;
    top: 88px;
}

.th-detail-reservation-empty {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 14px;
    border: 1px dashed #d8e3ea;
    border-radius: 8px;
    color: var(--th-muted);
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.th-detail-reservation-empty i {
    color: var(--th-coral);
    font-size: 22px;
}

.th-detail-reservation-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    border-radius: 7px;
    color: var(--th-teal);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.th-detail-reservation-list {
    display: grid;
    gap: 7px;
}

.th-detail-reservation-list article,
.th-detail-reservation-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--th-line);
}

.th-detail-reservation-list strong,
.th-detail-reservation-list span {
    font-size: 12px;
}

.th-detail-reservation-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 26px;
}

.th-detail-reservation-list small {
    display: block;
    color: var(--th-muted);
    font-size: 11px;
    font-weight: 750;
}

.th-detail-reservation-list button {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid #f1c4c0;
    border-radius: 7px;
    background: #fff7f6;
    color: #b42318;
}

.th-room-reserve-row.is-disabled,
.th-room-reserve-row:disabled {
    opacity: .62;
    cursor: not-allowed;
    filter: grayscale(.2);
}

.th-book-now-button.is-disabled,
.th-book-now-button:disabled {
    background: #eef2f6 !important;
    color: #667085 !important;
    cursor: not-allowed;
    box-shadow: none;
}

.th-sold-out-note {
    color: #b42318 !important;
    font-weight: 900;
}

.th-room-availability-note {
    align-items: center;
    grid-template-columns: auto auto minmax(0, 1fr);
    justify-content: start;
    min-height: 0;
    padding: 10px 12px;
    border-color: #fedf89;
    background: #fffbeb;
    color: #92400e;
}

.th-room-availability-note i,
.th-room-availability-note strong,
.th-room-availability-note span {
    color: inherit;
}

.th-room-availability-note span {
    font-size: 12px;
    font-weight: 750;
}

.th-book-account-locked {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #b7e4c7;
    border-radius: 8px;
    background: #ecfdf3;
    color: #166534;
    padding: 12px;
}

.th-book-account-locked i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #d1fae5;
    color: #067647;
    font-size: 18px;
}

.th-book-account-locked strong,
.th-book-account-locked small {
    display: block;
}

.th-book-account-locked small {
    color: #047857;
    font-weight: 800;
}

.th-detail-reservation-total {
    border-bottom: 0;
    font-size: 16px;
    font-weight: 900;
}

.th-booking-submit.is-disabled {
    pointer-events: auto;
    opacity: .55;
    filter: grayscale(.2);
}
.th-free-cancel {
    color: #079455;
    font-size: 13px;
}
.th-form-message {
    min-height: 21px;
    color: var(--th-teal);
    font-weight: 700;
}
.th-form-message.is-error { color: #b42318; }
.th-contact-card {
    display: grid;
    gap: 13px;
}
.th-contact-line {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: var(--th-soft);
}
.th-contact-line span {
    color: var(--th-muted);
    font-weight: 800;
}
.th-review-list {
    display: grid;
    gap: 12px;
}
.th-review-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: var(--th-soft);
}
.th-review-score span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 30px;
    border-radius: 7px;
    background: var(--th-teal);
    color: #fff;
    font-weight: 900;
}

.th-review-score {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 4px;
    min-width: 0;
}

.th-review-score em {
    display: inline-flex;
    max-width: 74px;
    gap: 1px;
    color: #f5a623;
    font-size: 11px;
    font-style: normal;
    line-height: 1;
}

.th-review-list article p {
    grid-column: 1 / -1;
    margin: 0;
}
.th-review-list small {
    color: var(--th-muted);
}

.th-review-load-more {
    margin-top: 14px;
}

.th-review-source-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 12px;
    border-radius: 8px;
    background: #f2f7fb;
    color: #475467;
    padding: 10px 12px;
    font-size: 12.5px;
    font-weight: 700;
}
.th-location-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, .45fr) auto;
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
}
.th-location-summary strong {
    display: block;
    margin-bottom: 5px;
}
.th-location-summary p {
    margin: 0;
}
.th-detail-location-map {
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #edf4f1;
}
.th-map-empty {
    display: grid;
    min-height: 360px;
    place-items: center;
    color: var(--th-muted);
    font-weight: 800;
    padding: 18px;
    text-align: center;
}
.th-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.th-info-modal[hidden] {
    display: none;
}

.th-info-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.th-info-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
}

.th-info-modal-card {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    border-radius: 12px;
    background: #fff;
    padding: 26px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    text-align: center;
}

.th-info-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.th-info-modal-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    place-items: center;
    border-radius: 50%;
    background: #fff3f1;
    color: var(--th-coral);
    font-size: 20px;
}

.th-info-modal-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.th-info-modal-card p {
    margin: 0;
    color: #667085;
}

.th-info-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}
.th-gallery-modal.is-open {
    display: block;
}
.th-gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, .72);
}
.th-gallery-modal-dialog {
    position: absolute;
    inset: 36px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
}
.th-gallery-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.th-gallery-stage {
    position: relative;
    min-height: 0;
}
.th-gallery-stage img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    background: #101828;
    border-radius: 8px;
}
.th-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--th-text);
    box-shadow: 0 12px 26px rgba(16, 24, 40, .2);
    font-size: 30px;
    font-weight: 700;
    transform: translateY(-50%);
}
.th-gallery-prev {
    left: 16px;
}
.th-gallery-next {
    right: 16px;
}
.th-gallery-close {
    justify-self: end;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}
.th-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}
.th-gallery-thumbs button {
    flex: 0 0 92px;
    height: 62px;
    border: 2px solid transparent;
    border-radius: 7px;
    background: #dfe8e8 center/cover no-repeat;
}
.th-gallery-thumbs button.is-active {
    border-color: var(--th-teal);
}
.th-availability {
    padding: 10px 0 70px;
}
.th-availability-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 24px 0 18px;
}
.th-availability-head h2 {
    margin: 0 0 8px;
    font-size: 24px;
}
.th-availability-head p {
    margin: 0;
    color: var(--th-muted);
}
.th-availability-head a {
    color: var(--th-teal);
    font-weight: 800;
}
.th-date-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid var(--th-line);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
.th-date-strip span {
    min-height: 58px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--th-muted);
    border-right: 1px solid var(--th-line);
    font-weight: 800;
}
.th-date-strip small,
.th-date-strip em {
    font-size: 10px;
    font-style: normal;
}
.th-date-strip em {
    color: inherit;
    opacity: .85;
}
.th-date-strip span:last-child { border-right: 0; }
.th-date-strip span.is-active {
    background: var(--th-teal);
    color: #fff;
}
.th-room-table {
    border: 1px solid var(--th-line);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}
.th-room-row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(160px, .8fr) 160px 118px;
    align-items: center;
    gap: 12px;
    min-height: 96px;
    padding: 14px 18px;
    border-top: 1px solid var(--th-line);
}
.th-public-room-inventory {
    margin-top: 18px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
}
.th-public-room-inventory h3 {
    margin: 0 0 12px;
    font-size: 17px;
}
.th-public-room-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.th-public-room-grid article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fbfcfe;
    padding: 12px;
}
.th-public-room-grid strong,
.th-public-room-grid span,
.th-public-room-grid small {
    display: block;
}
.th-public-room-grid span {
    color: var(--th-teal-dark);
    font-weight: 800;
}
.th-public-room-grid small {
    color: var(--th-muted);
}
.th-public-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 12px;
}
.th-public-amenities span {
    border: 1px solid var(--th-line);
    border-radius: 999px;
    background: #f8fbfd;
    padding: 7px 10px;
    color: #344054;
    font-weight: 800;
}
.th-card-amenities li::before,
.th-free-cancel::before {
    content: "\2713";
}
.th-facility-grid span::before {
    content: none;
}
.th-public-icon {
    display: inline-grid;
    width: 19px;
    height: 19px;
    margin-right: 7px;
    place-items: center;
    border-radius: 50%;
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    vertical-align: middle;
}
.th-public-icon::before {
    content: "\2713";
}
.th-public-room-note {
    color: var(--th-muted);
}
.th-public-room-calendar del,
.th-public-room-calendar em {
    display: block;
    font-size: 11px;
}
.th-public-room-calendar del {
    color: #98a2b3;
}
.th-public-room-calendar em {
    color: #c43c35;
    font-style: normal;
    font-weight: 900;
}
.th-public-room-calendar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}
.th-public-room-calendar article {
    border: 1px solid var(--th-line);
    border-radius: 7px;
    background: #fff;
    padding: 8px;
}
.th-public-room-calendar article.is-available {
    border-color: rgba(0, 122, 120, .3);
    background: #f0fbf8;
}
.th-public-room-calendar article.is-closed {
    border-color: #ffd2cf;
    background: #fff3f1;
}
.th-public-room-calendar strong,
.th-public-room-calendar span,
.th-public-room-calendar small {
    display: block;
}
.th-public-room-calendar span {
    color: var(--th-teal-dark);
    font-weight: 850;
}
.th-public-room-calendar small {
    color: var(--th-muted);
    font-size: 11px;
}
.th-room-row-head {
    min-height: 48px;
    background: var(--th-soft);
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.th-room-name {
    display: flex;
    align-items: center;
    gap: 14px;
}
.th-room-name img {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 7px;
}
.th-room-name strong,
.th-room-name small,
.th-room-name em {
    display: block;
}
.th-room-name small,
.th-room-icons {
    color: var(--th-muted);
}
.th-room-name em {
    color: #079455;
    font-style: normal;
    margin-top: 4px;
}
.th-reserve-unit {
    min-height: 44px;
}
.th-reserve-unit.is-selected {
    background: var(--th-teal);
}

.th-marketing-page {
    background: #f7fafb;
    min-height: 70vh;
}
.th-simple-page,
.th-auth-page {
    padding: 46px 0 74px;
}
.th-simple-head {
    max-width: 720px;
    margin-bottom: 22px;
}
.th-simple-head p,
.th-auth-card p {
    margin: 0 0 8px;
    color: var(--th-teal);
    font-weight: 900;
}
.th-simple-head h1,
.th-auth-card h1 {
    margin: 0 0 10px;
    font-size: 32px;
}
.th-simple-head span,
.th-auth-card span {
    color: var(--th-muted);
    font-weight: 700;
}
.th-simple-card,
.th-auth-card {
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .05);
}
.th-simple-card {
    padding: 22px;
}
.th-favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.th-favorite-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
}

.th-favorite-card-link {
    display: block;
    color: var(--th-text);
    text-decoration: none;
}

.th-favorite-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #d92d20;
    box-shadow: 0 8px 22px rgba(16, 24, 40, .16);
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, color .16s ease;
}

.th-favorite-remove:hover {
    transform: translateY(-1px);
    background: #d92d20;
    color: #fff;
}
.th-favorite-card-photo {
    display: block;
    min-height: 150px;
    background: #dfe8e8 center/cover no-repeat;
}
.th-favorite-card-body {
    display: grid;
    gap: 6px;
    padding: 13px;
}
.th-favorite-card-body small {
    color: var(--th-muted);
}
.th-auth-card {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, .55fr);
    gap: 26px;
    max-width: 900px;
    margin: 0 auto;
    padding: 28px;
}
.th-auth-form {
    display: grid;
    gap: 14px;
}
.th-auth-form label {
    display: grid;
    gap: 7px;
}
.th-auth-form input,
.th-auth-form select {
    min-height: 40px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    padding: 0 12px;
}

[hidden],
.th-agent-billing-register[hidden],
.th-company-billing-grid[hidden] {
    display: none !important;
}

.th-agent-billing-register {
    display: grid;
    gap: 12px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: var(--th-soft);
    padding: 12px;
}
.th-company-billing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.th-company-billing-grid .th-agent-field-span {
    grid-column: 1 / -1;
}
.th-vies-check-button {
    min-height: 40px;
    align-self: end;
}
.th-vies-message {
    align-self: center;
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 800;
}
.th-vies-message.is-success {
    color: #067647;
}
.th-vies-message.is-warning {
    color: #b54708;
}
.th-vies-message.is-error {
    color: #ba3028;
}
.th-auth-form a {
    color: var(--th-teal);
    font-weight: 800;
    text-align: center;
}
.th-auth-links {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}
.th-auth-links a {
    color: var(--th-teal);
    font-weight: 850;
    text-decoration: none;
}
.th-auth-alert {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
}
.th-auth-alert.is-error {
    border: 1px solid #ffd2cf;
    background: #fff3f1;
    color: #ba3028;
}
.th-auth-alert.is-success {
    border: 1px solid rgba(0, 122, 120, .25);
    background: #effbf8;
    color: var(--th-teal-dark);
}
.th-account-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}
.th-account-hero p {
    margin: 0 0 8px;
    color: var(--th-teal);
    font-weight: 900;
}
.th-account-hero h1 {
    margin: 0 0 8px;
    font-size: 30px;
}
.th-account-hero span {
    color: var(--th-muted);
    font-weight: 700;
}
.th-account-badge {
    display: grid;
    min-width: 110px;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}
.th-account-badge strong {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--th-teal);
    color: #fff;
}
.th-account-badge span {
    font-size: 12px;
    font-weight: 900;
}
.th-account-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
}
.th-account-sidebar {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 8px;
    align-self: start;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    padding: 12px;
}
.th-account-sidebar a {
    border-radius: 8px;
    color: #344054;
    font-weight: 850;
    padding: 10px 12px;
    text-decoration: none;
}
.th-account-sidebar a.is-active,
.th-account-sidebar a:hover {
    background: #effbf8;
    color: var(--th-teal-dark);
}
.th-account-main {
    display: grid;
    gap: 18px;
}
.th-page-heading {
    padding: 38px 0 24px;
}
.th-page-heading span {
    color: var(--th-teal);
    font-weight: 900;
}
.th-page-heading h1 {
    margin: 6px 0 8px;
    font-size: 30px;
}
.th-page-heading p {
    max-width: 620px;
    margin: 0;
    color: var(--th-muted);
}
.th-offer-grid,
.th-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 54px;
}
.th-offer-card,
.th-guide-card,
.th-empty-state {
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
}
.th-offer-card > div,
.th-guide-card {
    padding: 17px;
}
.th-offer-photo {
    position: relative;
    display: block;
    min-height: 165px;
    background: #dfe9ea center/cover no-repeat;
}
.th-offer-photo span {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 8px;
    border-radius: 6px;
    background: var(--th-coral);
    color: #fff;
    font-weight: 900;
}
.th-offer-card small,
.th-offer-card p,
.th-guide-card p {
    color: var(--th-muted);
}
.th-offer-card h2,
.th-guide-card h2 {
    margin: 6px 0 8px;
    font-size: 17px;
}
.th-offer-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 0;
}
.th-offer-meta strong {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 29px;
    border-radius: 7px;
    background: var(--th-teal);
    color: #fff;
}
.th-offer-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.th-offer-price del {
    color: var(--th-muted);
}
.th-offer-price b {
    font-size: 18px;
}
.th-empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--th-muted);
}
.th-guide-card dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 16px 0;
}
.th-guide-card dl div {
    padding: 10px;
    border-radius: 8px;
    background: var(--th-soft);
}
.th-guide-card dt {
    color: var(--th-muted);
    font-weight: 800;
}
.th-guide-card dd {
    margin: 2px 0 0;
    font-size: 18px;
    font-weight: 900;
}

.th-site-footer {
    border-top: 1px solid var(--th-line);
    background: #fff;
}
.th-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 24px;
    padding: 36px 0;
}
.th-brand-footer {
    min-width: 0;
}
.th-brand-footer strong { font-size: 22px; }
.th-footer-grid p,
.th-footer-grid a {
    color: var(--th-muted);
}
.th-footer-grid span {
    display: block;
    font-weight: 900;
    margin-bottom: 10px;
}
.th-footer-grid a {
    display: block;
    margin: 7px 0;
}
.th-footer-language-dropdown {
    display: inline-block;
    width: min(100%, 250px);
}
.th-footer-language-button {
    display: inline-flex;
    width: 100%;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    border: 1px solid var(--th-line);
    border-radius: 24px;
    background: #fff;
    color: var(--th-text);
    padding: 6px 10px;
    font-weight: 800;
    cursor: pointer;
}
.th-footer-language-button .th-lang-flag {
    width: 20px;
    height: 20px;
    min-width: 20px;
}
.th-footer-language-button i {
    margin-left: auto;
    color: var(--th-muted);
    font-size: 12px;
}
.th-footer-language-menu {
    left: 0;
    right: auto;
    bottom: calc(100% + 10px);
    top: auto;
    width: 250px;
}

.th-footer-grid .th-footer-language-menu a {
    display: flex;
    margin: 0;
}

/* Home compatibility */
.th-hero,
.th-section,
.th-listing-hero {
    padding: 64px 0;
}
.th-hero {
    background: linear-gradient(90deg, #006b68, #007f7d);
    color: #fff;
}
.th-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 36px;
    align-items: center;
}
.th-hero h1 {
    font-size: 56px;
    line-height: 1;
    margin: 0 0 16px;
}
.th-hero p { max-width: 620px; font-size: 18px; }
.th-photo-stack { min-height: 360px; position: relative; }
.th-photo-card { position: absolute; border-radius: 12px; background-size: cover; background-position: center; box-shadow: var(--th-shadow); }
.th-photo-card-large { inset: 0 48px 48px 0; background-image: url("../images/hero-coast.png"); }
.th-photo-card-small { right: 0; bottom: 0; width: 210px; height: 155px; background-image: url("../images/apartment-mountain.png"); }
.th-floating-score { position: absolute; right: 18px; top: 18px; padding: 16px; border-radius: 10px; background: #fff; color: var(--th-text); }
.th-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.th-feature-grid article { padding: 24px; border: 1px solid var(--th-line); border-radius: 10px; }

.th-agent-page {
    background: #f7fafb;
}
.th-agent-hero {
    background: linear-gradient(90deg, #006b68, #007f7d);
    color: #fff;
    padding: 34px 0;
}
.th-agent-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}
.th-agent-hero span {
    font-weight: 800;
    opacity: .82;
}
.th-agent-hero h1 {
    margin: 6px 0 10px;
    font-size: 34px;
}
.th-agent-hero p {
    max-width: 640px;
    margin: 0;
    color: rgba(255,255,255,.84);
}
.th-agent-plan-card {
    min-width: 245px;
    padding: 18px;
    border-radius: 10px;
    background: #fff;
    color: var(--th-text);
    box-shadow: var(--th-shadow);
}
.th-agent-plan-card small,
.th-agent-plan-card span,
.th-agent-plan-card em {
    display: block;
    color: var(--th-muted);
    font-style: normal;
}
.th-agent-plan-card strong {
    display: block;
    font-size: 24px;
    margin: 4px 0;
}
.th-agent-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    padding-top: 24px;
    padding-bottom: 64px;
}
.th-agent-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
}
.th-agent-sidebar a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--th-muted);
    font-weight: 800;
}
.th-agent-sidebar a.is-active,
.th-agent-sidebar a:hover {
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
}
.th-agent-main {
    display: grid;
    gap: 18px;
}
.th-agent-alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 800;
}
.th-agent-alert.is-success {
    background: #e9f8ef;
    color: #067647;
}
.th-agent-alert.is-error {
    background: #fff1f0;
    color: #b42318;
}
.th-agent-alert a {
    color: inherit;
    text-decoration: underline;
}
.th-agent-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.th-agent-stats article,
.th-agent-section {
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
}
.th-agent-stats article {
    padding: 17px;
}
.th-agent-stats span {
    color: var(--th-muted);
    font-weight: 800;
}
.th-agent-stats strong {
    display: block;
    font-size: 27px;
    margin: 6px 0;
}
.th-agent-stats small {
    color: var(--th-muted);
}
.th-agent-section {
    padding: 21px;
}
.th-agent-notice {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #d1fae5;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 800;
}
.th-agent-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}
.th-agent-section h2 {
    margin: 0 0 6px;
    font-size: 20px;
}
.th-agent-section p {
    margin: 0;
    color: var(--th-muted);
}
.th-agent-table {
    border: 1px solid var(--th-line);
    border-radius: 10px;
    overflow: hidden;
}
.th-agent-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) .7fr .55fr .7fr .65fr .45fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-top: 1px solid var(--th-line);
}
.th-agent-row:first-child { border-top: 0; }
.th-agent-row-head {
    background: var(--th-soft);
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.th-agent-row strong,
.th-agent-row small {
    display: block;
}
.th-agent-row small {
    color: var(--th-muted);
    margin-top: 3px;
}
.th-agent-row em {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
}
.th-agent-row a {
    color: var(--th-teal);
    font-weight: 800;
}
.th-agent-row-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}
.th-agent-properties-table {
    overflow: visible;
}
.th-agent-properties-table .th-agent-row {
    grid-template-columns: minmax(0, 1.25fr) minmax(150px, 1.25fr) .52fr .42fr .58fr .72fr 48px;
}
.th-agent-row-menu-cell {
    justify-content: flex-end;
    position: relative;
}
.th-agent-kebab-menu {
    position: relative;
    display: inline-grid;
    justify-items: end;
}
.th-agent-kebab-menu summary {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    list-style: none;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-text);
    cursor: pointer;
}
.th-agent-kebab-menu summary::-webkit-details-marker {
    display: none;
}
.th-agent-kebab-menu[open] summary {
    border-color: var(--th-teal);
    color: var(--th-teal-dark);
    box-shadow: 0 8px 20px rgba(0, 109, 119, .12);
}
.th-agent-kebab-menu div {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    display: grid;
    min-width: 156px;
    padding: 6px;
    border: 1px solid var(--th-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 24, 40, .16);
}
.th-agent-kebab-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 9px;
    border-radius: 7px;
    color: var(--th-text);
    font-size: 12px;
    white-space: nowrap;
}
.th-agent-kebab-menu a:hover {
    background: var(--th-soft);
    color: var(--th-teal-dark);
}
.th-agent-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}
.th-agent-form label {
    display: grid;
    gap: 7px;
}
.th-agent-form span {
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 800;
}
.th-agent-profile-subhead {
    border-top: 1px solid var(--th-line);
    color: var(--th-teal-dark);
    margin-top: 4px;
    padding-top: 14px;
}
.th-agent-profile-subhead strong {
    font-size: 13px;
}
.th-agent-form input,
.th-agent-form select,
.th-agent-form textarea {
    min-height: 39px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    color: var(--th-text);
    outline: 0;
}
.th-agent-form textarea {
    padding: 11px 12px;
    resize: vertical;
}
.th-agent-form button {
    grid-column: 1 / -1;
    width: max-content;
    min-width: 230px;
    margin: 4px 0 0;
}
.th-agent-form-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.th-agent-field-span {
    grid-column: span 3;
}

.th-agent-table-wide {
    width: 100%;
}
.th-small-button {
    min-height: 30px !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    line-height: 1 !important;
}
.th-room-table-admin .th-agent-row {
    grid-template-columns: .7fr minmax(0, 1.3fr) .8fr .8fr minmax(190px, 1fr);
}
.th-room-table-admin .th-agent-row-actions {
    justify-content: flex-end;
}
.th-light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-text);
    font-weight: 800;
}
.th-light-button:hover {
    border-color: var(--th-teal);
    color: var(--th-teal-dark);
}
.th-agent-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
}
.th-agent-check-grid label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-weight: 700;
}
.th-agent-check-grid input {
    width: 15px;
    height: 15px;
    accent-color: var(--th-teal);
}
.th-agent-create-form {
    display: grid;
    gap: 18px;
}
.th-agent-create-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.th-agent-create-actions .th-search-submit {
    margin: 0;
    min-width: 210px;
}
.th-agent-bookings {
    display: grid;
    gap: 10px;
}
.th-agent-bookings article,
.th-agent-empty {
    padding: 14px;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: var(--th-soft);
}
.th-agent-bookings strong,
.th-agent-bookings span,
.th-agent-bookings small {
    display: block;
}
.th-agent-bookings span,
.th-agent-bookings small,
.th-agent-empty {
    color: var(--th-muted);
}
.th-agent-bookings em {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff5d6;
    color: #b54708;
    font-style: normal;
    font-weight: 800;
}
.th-agent-bookings em.is-success {
    background: #e9f8ef;
    color: #067647;
}
.th-agent-bookings em.is-info {
    background: #e0f2fe;
    color: #075985;
}
.th-agent-bookings em.is-danger {
    background: #fee2e2;
    color: #991b1b;
}
.th-agent-bookings em.is-muted {
    background: #eef2f6;
    color: #475467;
}
.th-agent-bookings em.is-warning {
    background: #fff7e6;
    color: #b54708;
}
.th-agent-bookings b {
    display: block;
    margin-top: 8px;
    color: var(--th-text);
}
.th-agent-bookings-table article {
    display: grid;
    grid-template-columns: minmax(120px, .6fr) minmax(0, 1.4fr) minmax(0, 1.4fr) .5fr .45fr;
    gap: 12px;
    align-items: center;
}
.th-agent-bookings-table small,
.th-agent-bookings-table b,
.th-agent-bookings-table em {
    margin-top: 0;
}
.th-agent-bookings-table .th-agent-row {
    grid-template-columns: minmax(130px, .9fr) minmax(160px, 1.05fr) minmax(150px, .9fr) minmax(90px, .5fr) minmax(100px, .55fr) minmax(230px, 1fr);
    padding: 10px 12px;
}
.th-agent-booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}
.th-agent-booking-actions form {
    margin: 0;
}
.th-status-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid transparent;
    color: #fff !important;
}
.th-status-button.is-success {
    background: #0f8a61 !important;
}
.th-status-button.is-info {
    background: #087ea4 !important;
}
.th-status-button.is-danger {
    background: #d84a43 !important;
}
.th-agent-row em.is-success {
    background: #dcfce7;
    color: #166534;
}
.th-agent-row em.is-info {
    background: #e0f2fe;
    color: #075985;
}
.th-agent-row em.is-danger {
    background: #fee2e2;
    color: #991b1b;
}
.th-agent-row em.is-muted {
    background: #eef2f6;
    color: #475467;
}
.th-agent-row em.is-warning {
    background: #fff5d6;
    color: #b54708;
}

.th-billing-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.th-billing-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
    padding: 0 12px;
    font-weight: 900;
    white-space: nowrap;
}

.th-billing-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.th-billing-plan {
    display: grid;
    gap: 14px;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(16, 24, 40, .05);
}

.th-billing-plan.is-current {
    border-color: var(--th-teal);
    box-shadow: 0 18px 40px rgba(0, 109, 119, .12);
}

.th-billing-plan.is-free {
    background: #fbfefd;
}

.th-billing-plan-head span,
.th-billing-plan label span {
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 850;
}

.th-billing-plan h2 {
    margin: 4px 0;
    font-size: 22px;
}

.th-billing-plan strong {
    color: var(--th-teal-dark);
    font-size: 18px;
}

.th-billing-plan ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #344054;
}

.th-billing-plan li {
    display: flex;
    gap: 8px;
    align-items: center;
}

.th-billing-plan li i {
    color: var(--th-teal);
}

.th-billing-plan label {
    display: grid;
    gap: 6px;
}

.th-billing-plan select {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: var(--th-text);
    padding: 0 11px;
}

.th-billing-plan .th-coral-button {
    min-height: 38px;
}

.th-plan-current-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 8px;
    background: #e8f7f3;
    color: var(--th-teal-dark);
    padding: 9px 11px;
    font-weight: 850;
}

.th-plan-current-note.is-muted {
    background: #f3f6f9;
    color: #667085;
}

.th-current-subscription {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(520px, auto);
    gap: 16px;
    align-items: center;
}

.th-current-subscription > div > span {
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 850;
}

.th-current-subscription h2 {
    margin: 3px 0 4px;
}

.th-subscription-metrics {
  display: grid;
    gap: 3px;
}

.th-subscription-metrics strong {
    color: var(--th-teal-dark);
    font-size: 21px;
}

.th-subscription-metrics em {
    color: var(--th-muted);
    font-style: normal;
    font-weight: 800;
}

.th-renew-form {
    grid-template-columns: minmax(180px, 1fr) 116px 112px auto;
    align-items: start;
    gap: 8px;
    max-width: none;
}

.th-renew-form select {
    height: 38px;
    min-height: 38px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 750;
    color: #101828;
}

.th-renew-form select[name="plan_id"] {
    min-width: 180px;
}

.th-renew-form select[name="period_months"] {
    min-width: 116px;
}

.th-renew-form select[name="processor"] {
    min-width: 112px;
}

.th-renew-form .th-coral-button {
    height: 38px;
    min-height: 38px;
    padding: 0 14px;
    white-space: nowrap;
}

.th-renew-form small {
    grid-column: 1 / -1;
    color: var(--th-muted);
    font-weight: 750;
    text-align: right;
    margin-top: 1px;
}

.th-pending-plan-change {
    display: flex;
    align-items: center;
    gap: 12px;
    border-color: #fedf89;
    background: #fffbeb;
}

.th-pending-plan-change > i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: #fef0c7;
    color: #b54708;
    font-size: 18px;
}

.th-pending-plan-change strong,
.th-pending-plan-change p {
    display: block;
    margin: 0;
}

.th-pending-plan-change p {
    color: #667085;
    margin-top: 3px;
}

.th-transaction-table .th-agent-row {
    grid-template-columns: minmax(120px, 1fr) .8fr .7fr .7fr .55fr .75fr .6fr;
}

.th-agent-row em.is-success {
    background: #e9f8ef;
    color: #067647;
}

.th-agent-row em.is-warning {
    background: #fff7e6;
    color: #b54708;
}

.th-agent-row em.is-muted {
    background: #eef2f6;
    color: #667085;
}

.th-checkout-status-wrap {
    min-height: 560px;
    display: grid;
    place-items: center;
    padding-top: 50px;
    padding-bottom: 70px;
}

.th-checkout-status {
    width: min(520px, 100%);
    display: grid;
    justify-items: center;
    gap: 13px;
    border: 1px solid var(--th-line);
    border-radius: 10px;
    background: #fff;
    padding: 34px;
    text-align: center;
    box-shadow: var(--th-shadow);
}

.th-checkout-status span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
    font-size: 28px;
}

.th-checkout-status.is-error span {
    background: #fff1f0;
    color: #b42318;
}

.th-checkout-status.is-warning span,
.th-checkout-status.is-pending span {
    background: #fff7e6;
    color: #b54708;
}

.th-checkout-status h1 {
    margin: 0;
    font-size: 28px;
}

.th-checkout-status p {
    margin: 0;
    color: var(--th-muted);
}

@media (max-width: 1220px) {
    .th-booking-layout {
        grid-template-columns: 245px minmax(0, 1fr);
        width: calc(100% - 48px);
    }
    .th-map-panel { display: none; }
    .th-filter-panel { padding-left: 0; }
}

@media (max-width: 980px) {
    .th-header-inner { min-height: 74px; }
    .th-brand { min-width: 0; }
    .th-brand strong { font-size: 23px; }
    .th-nav { display: none; }
    .th-search-box {
        grid-template-columns: 1fr 1fr;
    }
    .th-search-submit {
        grid-column: span 2;
    }
    .th-booking-layout {
        grid-template-columns: 1fr;
    }
    .th-filter-panel {
        border-right: 0;
        padding: 22px 0;
    }
    .th-results-column {
        padding: 20px 0 44px;
    }
    .th-detail-gallery,
    .th-detail-main,
    .th-location-summary,
    .th-hero-grid {
        grid-template-columns: 1fr;
    }
    .th-detail-gallery {
        height: auto;
    }
    .th-gallery-hero {
        min-height: 330px;
    }
    .th-gallery-stack {
        min-height: 190px;
    }
    .th-booking-card {
        position: static;
    }
    .th-feature-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .th-room-row {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .th-room-row-head {
        display: none;
    }
    .th-agent-hero-inner,
    .th-agent-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
    .th-agent-sidebar {
        position: static;
    }
    .th-favorites-grid,
    .th-auth-card {
        grid-template-columns: 1fr;
    }
    .th-company-billing-grid {
        grid-template-columns: 1fr;
    }
    .th-agent-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .th-agent-row {
        grid-template-columns: 1fr;
    }
    .th-agent-table-wide .th-agent-row,
    .th-agent-properties-table .th-agent-row {
        grid-template-columns: 1fr;
    }
    .th-agent-row-menu-cell {
        justify-content: flex-start;
    }
    .th-agent-row-head {
        display: none;
    }
    .th-agent-form {
        grid-template-columns: 1fr;
    }
    .th-agent-form-wide,
    .th-agent-check-grid,
    .th-agent-bookings-table article {
        grid-template-columns: 1fr;
    }
    .th-agent-field-span {
        grid-column: auto;
    }
    .th-agent-create-actions {
        justify-content: stretch;
        display: grid;
    }
    .th-agent-create-actions .th-search-submit,
    .th-agent-create-actions .th-light-button {
        width: 100%;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 12.5px;
    }
    .th-frame {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .th-header-actions {
        display: none;
    }
    .th-header-menu {
        right: auto;
        left: 0;
        width: min(286px, calc(100vw - 40px));
    }
    .th-booking-layout {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .th-search-band {
        padding: 16px 0;
    }
    .th-search-box {
        width: 100%;
    }
    .th-destination-dropdown,
    .th-calendar-popover,
    .th-guests-popover {
        width: min(100%, calc(100vw - 40px));
        max-width: calc(100vw - 40px);
    }
    .th-search-box,
    .th-property-list.is-grid,
    .th-stay-card,
    .th-search-submit,
    .th-footer-grid,
    .th-feature-grid,
    .th-form-pair,
    .th-facility-grid {
        grid-template-columns: 1fr;
    }
    .th-search-submit {
        grid-column: auto;
        width: auto;
        margin-right: 28px;
    }
    .th-search-field {
        border-right: 0;
        border-bottom: 1px solid var(--th-line);
    }
    .th-results-bar {
        display: grid;
    }
    .th-filter-header,
    .th-filter-block,
    .th-city-select,
    .th-budget-chart {
        width: 100%;
        max-width: 100%;
    }
    .th-filter-header button {
        display: none;
    }
    .th-price-row {
        grid-template-columns: 1fr;
    }
    .th-results-actions {
        flex-wrap: wrap;
    }
    .th-stay-photo {
        min-height: 220px;
    }
    .th-stay-price {
        align-content: center;
        justify-items: center;
        text-align: center;
        border-left: 0;
        border-top: 1px solid var(--th-line);
    }
    .th-detail-top,
    .th-detail-title,
    .th-availability-head {
        display: grid;
        gap: 16px;
    }
    .th-detail-gallery {
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .th-detail-title h1 {
        display: block;
        font-size: 24px;
        margin-bottom: 10px;
    }
    .th-feature-strip {
        grid-template-columns: 1fr;
    }
    .th-feature-strip span {
        border-right: 0;
        border-bottom: 1px solid var(--th-line);
    }
    .th-detail-tabs {
        overflow-x: auto;
        gap: 28px;
    }
    .th-date-strip {
        overflow-x: auto;
        grid-template-columns: repeat(7, 86px);
    }
    .th-account-hero,
    .th-account-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    .th-account-sidebar {
        position: static;
    }
    .th-agent-stats {
        grid-template-columns: 1fr;
    }
    .th-billing-status {
        display: grid;
    }
    .th-current-subscription {
        grid-template-columns: 1fr;
    }
    .th-subscription-metrics {
        justify-items: start;
    }
    .th-renew-form {
        grid-template-columns: 1fr;
    }
    .th-renew-form select[name="plan_id"],
    .th-renew-form select[name="period_months"],
    .th-renew-form select[name="processor"] {
        min-width: 0;
        width: 100%;
    }
    .th-renew-form .th-coral-button {
        width: 100%;
        justify-content: center;
    }
    .th-renew-form small {
        text-align: left;
    }
    .th-billing-plans {
        grid-template-columns: 1fr;
    }
    .th-agent-section-head {
        display: grid;
    }
    .th-hero h1 {
        font-size: 38px;
    }
    .th-photo-stack {
        display: none;
    }
}

/* 2026-06-08 final polish layer */
:root {
    --th-frame: 1168px;
    --th-sidebar: 210px;
    --th-map-width: 256px;
    --th-shadow: 0 10px 28px rgba(16, 24, 40, .07);
}

.th-site-header {
    backdrop-filter: saturate(160%) blur(10px);
    background: rgba(255, 255, 255, .96);
}

.th-header-inner {
    min-height: 62px;
}

.th-brand strong {
    font-size: 20px;
}

.th-nav {
    height: 62px;
    gap: 22px;
    font-size: 11.5px;
}

.th-icon-button,
.th-account-button,
.th-light-button,
.th-coral-button,
.th-danger-button,
.th-search-submit,
.th-home-agent-actions a,
.th-home-search > button[type="submit"] {
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.th-icon-button:hover,
.th-account-button:hover,
.th-light-button:hover,
.th-table-icon-action:hover {
    transform: translateY(-1px);
}

.th-home-hero {
    padding: 28px 0 34px;
}

.th-home-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(330px, .78fr);
    gap: 26px;
}

.th-home-hero-copy h1 {
    font-size: 36px;
    max-width: 640px;
}

.th-home-hero-copy p {
    max-width: 590px;
    margin: 13px 0 18px;
    font-size: 13px;
}

.th-home-search {
    grid-template-columns: minmax(176px, 1.05fr) minmax(128px, .6fr) minmax(164px, .72fr) 128px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .11);
}

.th-home-search.is-standalone {
    max-width: none;
}

.th-home-search .th-search-field {
    padding: 11px 12px;
}

.th-home-search .th-search-field > input {
    min-width: 0;
    font-size: 12px;
}

.th-home-search > button[type="submit"] {
    min-width: 128px;
    padding: 0 13px;
    white-space: nowrap;
}

@media (min-width: 861px) and (max-width: 1320px) {
    .th-home-search {
        grid-template-columns: minmax(0, 1fr) minmax(118px, .54fr);
    }

    .th-home-search.is-standalone {
        display: flex;
    }

    .th-home-search-destination {
        grid-column: 1 / -1;
    }

    .th-home-search > button[type="submit"] {
        min-height: 42px;
        grid-column: 1 / -1;
    }

    .th-home-search.is-standalone > button[type="submit"] {
        grid-column: auto;
        flex-basis: 190px;
    }
}

.th-home-stats {
    gap: 15px;
    margin-top: 16px;
}

.th-home-stats strong {
    font-size: 20px;
}

.th-home-hero-media,
.th-home-hero-media img {
    min-height: 360px;
    height: 360px;
}

.th-home-floating-panel {
    right: 14px;
    bottom: 14px;
    width: min(236px, calc(100% - 28px));
    padding: 12px;
}

.th-home-section {
    padding: 32px 0;
}

.th-home-section-head {
    margin-bottom: 14px;
}

.th-home-section-head h2 {
    font-size: 21px;
}

.th-home-destinations {
    gap: 10px;
}

.th-home-destinations a {
    min-height: 154px;
    padding: 14px;
}

.th-home-destinations span {
    font-size: 16px;
}

.th-home-property-grid {
    gap: 12px;
}

.th-home-property-grid article {
    gap: 8px;
    padding: 9px;
}

.th-home-rating {
    width: 31px;
    height: 26px;
    font-size: 11px;
}

.th-home-property-grid h3 {
    font-size: 13.5px;
}

.th-home-property-grid footer a,
.th-table-icon-action {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 7px;
    background: #fff3f1;
    color: var(--th-coral);
}

.th-home-split {
    gap: 14px;
    padding: 34px 0 48px;
}

.th-home-agent-panel,
.th-home-mix-panel {
    padding: 19px;
}

.th-home-agent-panel h2 {
    font-size: 22px;
}

.th-home-agent-panel p {
    font-size: 12.5px;
}

.th-home-agent-actions a,
.th-light-button,
.th-coral-button,
.th-danger-button {
    min-height: 32px;
    border-radius: 7px;
    padding: 0 11px;
    font-size: 11.5px;
    line-height: 1;
}

.th-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #ffd0cc;
    background: #fff3f1;
    color: #ba3028;
    font-weight: 850;
}

.th-danger-button:hover {
    background: #ffe4e1;
    color: #9f2520;
}

.th-account-hero-modern {
    padding: 18px;
}

.th-account-hero h1 {
    font-size: 25px;
}

.th-account-badge {
    min-width: 98px;
    padding: 12px;
}

.th-account-badge strong {
    width: 40px;
    height: 40px;
}

.th-account-grid {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 14px;
}

.th-account-sidebar {
    top: 82px;
    gap: 5px;
    padding: 9px;
}

.th-account-sidebar a {
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 11.5px;
}

.th-account-main {
    display: grid;
    gap: 14px;
}

.th-account-stat-grid {
    gap: 10px;
}

.th-account-stat-grid article {
    padding: 13px;
}

.th-account-stat-grid strong {
    font-size: 19px;
}

.th-simple-card {
    padding: 18px;
    border-radius: 8px;
}

.th-account-booking-list article {
    grid-template-columns: minmax(0, 1.35fr) .8fr .65fr .48fr 34px auto;
    min-height: 54px;
    padding: 9px 10px;
}

.th-account-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 23px;
    border-radius: 999px;
    padding: 0 8px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.th-account-status.is-pending {
    background: #fff7e6;
    color: #b54708;
}

.th-account-status.is-confirmed {
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
}

.th-account-status.is-cancelled {
    background: #fff0ef;
    color: #ba3028;
}

.th-account-status.is-completed {
    background: #eef4ff;
    color: #1849a9;
}

.th-account-table {
    background: #fff;
}

.th-account-table th, .th-account-table td {
    padding: 9px 10px;
    vertical-align: middle;
    font-size: 13px;
}

.th-account-table tbody tr:hover {
    background: #f9fbfd;
}

.th-booking-detail-card {
    display: grid;
    gap: 16px;
}

.th-booking-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.th-booking-detail-head small {
    color: var(--th-muted);
    font-weight: 850;
    text-transform: uppercase;
}

.th-booking-detail-head h2 {
    margin: 3px 0 6px;
    font-size: 20px;
}

.th-booking-detail-head p {
    margin: 0;
    color: var(--th-muted);
}

.th-booking-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.th-booking-detail-grid article {
    display: grid;
    gap: 4px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: var(--th-soft);
    padding: 12px;
}

.th-booking-detail-grid i {
    color: var(--th-teal);
    font-size: 17px;
}

.th-booking-detail-grid span {
    color: var(--th-muted);
    font-weight: 800;
}

.th-booking-detail-grid strong {
    font-size: 12.5px;
}

.th-booking-room-breakdown {
    display: grid;
    gap: 8px;
}

.th-booking-room-breakdown article {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
}

.th-booking-room-breakdown i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
}

.th-booking-room-breakdown strong,
.th-booking-room-breakdown span {
    display: block;
}

.th-booking-room-breakdown span {
    margin-top: 2px;
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 800;
}

.th-booking-room-breakdown small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 5px 8px 0 0;
    color: #475467;
    font-size: 11.5px;
    font-weight: 800;
}

.th-booking-room-breakdown small i {
    display: inline;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--th-teal);
    font-size: 13px;
}

.th-booking-payment-box {
    display: grid;
    gap: 11px;
    border: 1px solid #d8e3ea;
    border-radius: 8px;
    background: #f8fbfc;
    padding: 13px;
}

.th-booking-payment-box > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.th-booking-payment-box > div:first-child > i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--th-teal-soft);
    color: var(--th-teal-dark);
    font-size: 18px;
}

.th-booking-payment-box strong,
.th-booking-payment-box span {
    display: block;
}

.th-booking-payment-box span,
.th-booking-payment-box p {
    margin: 0;
    color: var(--th-muted);
    font-weight: 800;
}

.th-booking-payment-box pre {
    white-space: pre-wrap;
    margin: 0;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    color: #344054;
    padding: 10px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
}

.th-booking-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.th-booking-detail-actions form {
    margin: 0;
}

.th-account-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.th-account-form input,
.th-account-form select {
    min-height: 34px;
}

.th-agent-alert {
    width: 100%;
    border-radius: 8px;
    padding: 10px 12px;
}

.th-agent-alert,
.th-auth-alert,
.th-claim-alert {
    position: relative;
    padding-right: 38px !important;
    transition: opacity .2s ease, transform .2s ease;
}

.th-agent-alert.is-hiding,
.th-auth-alert.is-hiding,
.th-claim-alert.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

.th-alert-close {
    position: absolute;
    top: 8px;
    right: 9px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: rgba(15, 23, 42, .08);
    color: inherit;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
}

.th-detail-sidebar-extension {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    align-content: start;
}

.th-plugin-inline-slot {
    display: grid;
    gap: 12px;
}

.th-plugin-public-box {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(0, 118, 111, .16);
    border-radius: 8px;
    background: #f4fbfa;
    color: #0f2f3a;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(15, 47, 58, .06);
}

.th-plugin-public-box strong {
    font-size: 13px;
}

.th-plugin-public-box span {
    color: var(--th-muted);
}

.th-plugin-doc-page {
    padding: 34px 0 70px;
    background: linear-gradient(180deg, #f7fbfb 0, #fff 280px);
}

.th-plugin-doc-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0 26px;
}

.th-plugin-doc-hero span {
    color: var(--th-teal);
    font-weight: 800;
}

.th-plugin-doc-hero h1 {
    margin: 6px 0 8px;
    font-size: 34px;
}

.th-plugin-doc-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--th-muted);
    line-height: 1.55;
}

.th-plugin-doc-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.th-plugin-doc-toc {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}

.th-plugin-doc-toc a {
    border-radius: 6px;
    color: #0f2f3a;
    font-weight: 800;
    padding: 9px 10px;
    text-decoration: none;
}

.th-plugin-doc-toc a:hover {
    background: #ecf7f6;
    color: var(--th-teal);
}

.th-plugin-doc-content {
    display: grid;
    gap: 18px;
}

.th-plugin-doc-content section {
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .045);
}

.th-plugin-doc-content h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.th-plugin-doc-content p,
.th-plugin-doc-content li {
    color: #475467;
    line-height: 1.6;
}

.th-plugin-doc-content pre {
    overflow: auto;
    border-radius: 8px;
    background: #0f1f2a;
    color: #e6f4f1;
    padding: 16px;
    font-size: 12px;
    line-height: 1.55;
}

.th-plugin-hook-list {
    display: grid;
    gap: 10px;
}

.th-plugin-hook-list article {
    border: 1px solid var(--th-line);
    border-radius: 8px;
    padding: 12px;
}

.th-plugin-hook-list strong,
.th-plugin-hook-list span {
    display: block;
}

.th-plugin-hook-list span {
    color: var(--th-teal);
    font-weight: 800;
    margin-top: 3px;
}

.th-richtext-wrapper {
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 8px;
    background: #fff;
}

.th-richtext-wrapper .ql-toolbar.ql-snow,
.th-richtext-wrapper .ql-container.ql-snow {
    border: 0;
}

.th-richtext-wrapper .ql-toolbar.ql-snow {
    border-bottom: 1px solid var(--th-line);
    background: #f7fbfb;
}

.th-richtext-wrapper .ql-editor {
    min-height: 240px;
    font-size: 12.5px;
    line-height: 1.6;
}

@media (max-width: 1120px) {
    .th-home-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-home-search.is-standalone {
        display: flex;
    }

    .th-home-search > button[type="submit"] {
        min-height: 42px;
        grid-column: span 2;
    }

    .th-home-search.is-standalone > button[type="submit"] {
        grid-column: auto;
        flex-basis: 174px;
    }

    .th-home-destinations,
    .th-home-property-grid,
    .th-home-info-list,
    .th-booking-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-home-room-item {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .th-home-room-photo {
        width: 118px;
        height: 86px;
    }

    .th-home-room-action {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 860px) {
    .th-frame,
    .th-booking-layout {
        width: min(100%, calc(100% - 36px));
    }

    .th-header-phone {
        display: none;
    }

    .th-home-hero-grid,
    .th-home-split,
    .th-home-single-property,
    .th-account-grid,
    .th-plugin-doc-layout {
        grid-template-columns: 1fr;
    }

    .th-home-room-item {
        grid-template-columns: 106px minmax(0, 1fr);
        align-items: start;
    }

    .th-home-room-photo {
        width: 106px;
        height: 82px;
    }

    .th-home-single-photo {
        min-height: 280px;
    }

    .th-home-room-action {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        justify-items: stretch;
        text-align: left;
    }

    .th-plugin-doc-hero {
        display: grid;
        align-items: start;
    }

    .th-plugin-doc-toc {
        position: static;
    }

    .th-home-hero-copy h1 {
        font-size: 30px;
    }

    .th-account-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-account-booking-list article {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 11.5px;
    }

    .th-frame,
    .th-booking-layout {
        width: min(100%, calc(100% - 28px));
        padding-left: 0;
        padding-right: 0;
    }

    .th-home-hero {
        padding-top: 22px;
    }

    .th-home-search,
    .th-home-destinations,
    .th-home-property-grid,
    .th-home-info-list,
    .th-booking-detail-grid,
    .th-account-stat-grid,
    .th-account-form {
        grid-template-columns: 1fr;
    }

    .th-home-search.is-standalone {
        flex-direction: column;
    }

    .th-home-search > button[type="submit"] {
        grid-column: auto;
    }

    .th-home-room-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
    }

    .th-home-room-photo {
        width: 92px;
        height: 74px;
    }

    .th-home-room-action {
        display: grid;
        justify-items: stretch;
    }

    .th-home-hero-media,
    .th-home-hero-media img {
        min-height: 260px;
        height: 260px;
    }

    .th-account-sidebar {
        grid-template-columns: 1fr;
    }

    .th-booking-detail-head {
        display: grid;
    }

    .th-marketing-page .th-page-heading {
        padding-top: 24px;
        padding-bottom: 18px;
    }

    .th-offer-grid,
    .th-guide-grid {
        width: min(100%, calc(100% - 28px));
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding-left: 0;
        padding-right: 0;
    }

    .th-offer-card,
    .th-guide-card {
        width: 100%;
        min-width: 0;
    }

    .th-offer-card > div,
    .th-guide-card {
        padding: 14px;
    }

    .th-offer-photo {
        min-height: 190px;
    }

    .th-offer-price {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .th-offer-price .th-coral-button {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
        margin-top: 2px;
    }

    .th-guide-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.th-maintenance-page {
    min-height: min(620px, calc(100vh - 180px));
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    text-align: center;
    padding: 60px 20px;
}

.th-maintenance-mark {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border-radius: 20px;
    background: #e8f4f3;
    color: #00766f;
    font-size: 28px;
}

.th-maintenance-page p {
    margin: 0;
    color: #00766f;
    font-weight: 700;
}

.th-maintenance-page h1 {
    margin: 0;
    font-size: 34px;
}

.th-maintenance-page span {
    max-width: 560px;
    color: #5f6f7c;
    line-height: 1.6;
}

/* Room booking flow */
.th-book-page {
    background: #f7fafb;
    min-height: 100vh;
    padding-bottom: 44px;
}

.th-book-hero {
    border-bottom: 1px solid #e6ebf1;
    background: linear-gradient(180deg, #ffffff, #f7fafb);
    padding: 22px 0 18px;
}

.th-book-hero-inner {
    display: grid;
    gap: 14px;
}

.th-book-back {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    color: var(--th-teal);
    font-weight: 850;
}

.th-book-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 18px;
    align-items: center;
}

.th-book-title span {
    display: block;
    margin-bottom: 5px;
    color: var(--th-coral);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-book-title h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.12;
}

.th-book-title p {
    margin: 8px 0 0;
    color: #667085;
}

.th-book-title img {
    width: 150px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
}

.th-book-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
    padding-top: 18px;
}

.th-book-main,
.th-book-summary {
    display: grid;
    gap: 14px;
}

.th-book-summary {
    position: sticky;
    top: 88px;
}

.th-book-card,
.th-book-summary-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
    padding: 16px;
}

.th-book-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
    margin-bottom: 14px;
}

.th-book-card-head h2,
.th-book-summary-card h2 {
    margin: 0 0 5px;
    font-size: 18px;
}

.th-book-card-head p {
    margin: 0;
    color: #667085;
}

.th-book-compact-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 8px;
}

.th-book-compact-search label,
.th-book-customer-form label {
    display: grid;
    gap: 6px;
    color: #475467;
    font-size: 12px;
    font-weight: 800;
}

.th-book-compact-search input,
.th-book-customer-form input,
.th-book-customer-form select,
.th-book-customer-form textarea,
.th-book-guest-inputs input {
    width: 100%;
    min-width: 0;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
    color: #101828;
    font: inherit;
    font-size: 12px;
}

.th-book-compact-search input,
.th-book-customer-form input,
.th-book-customer-form select,
.th-book-guest-inputs input {
    height: 34px;
    padding: 0 9px;
}

.th-book-customer-form textarea {
    min-height: 76px;
    padding: 9px;
}

.th-book-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
}

.th-book-calendar button {
    min-height: 86px;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    padding: 8px;
    text-align: left;
}

.th-book-calendar button small,
.th-book-calendar button strong,
.th-book-calendar button span,
.th-book-calendar button em,
.th-book-calendar button del {
    display: block;
}

.th-book-calendar button small {
    color: #667085;
    font-size: 10px;
    font-weight: 900;
}

.th-book-calendar button strong {
    font-size: 18px;
}

.th-book-calendar button em {
    margin-top: 5px;
    color: var(--th-teal);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.th-book-calendar button del {
    color: #98a2b3;
    font-size: 10px;
}

.th-book-calendar button.is-available {
    border-color: rgba(0, 122, 120, .25);
    background: #f7fffd;
}

.th-book-calendar button.is-unavailable {
    opacity: .55;
    background: #f3f6f8;
}

.th-book-calendar button.is-selected {
    border-color: var(--th-teal);
    background: #e7f6f2;
    box-shadow: inset 0 0 0 1px var(--th-teal);
}

.th-book-party {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.th-book-party span,
.th-book-room-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: #eef6f5;
    color: var(--th-teal);
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 850;
}

.th-book-room-list {
    display: grid;
    gap: 12px;
}

.th-book-room-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 158px;
    gap: 14px;
    align-items: stretch;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    padding: 10px;
}

.th-book-room-card > img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    border-radius: 7px;
}

.th-book-room-body {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.th-book-room-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.th-book-room-top h3 {
    margin: 0 0 4px;
    font-size: 17px;
}

.th-book-room-top p {
    margin: 0;
    color: #667085;
}

.th-book-room-meta,
.th-book-room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.th-book-room-meta span,
.th-book-room-amenities span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #344054;
    font-size: 12px;
}

.th-book-room-action {
    display: grid;
    align-content: end;
    justify-items: end;
    text-align: right;
}

.th-book-room-action strong {
    font-size: 18px;
}

.th-book-room-action small {
    color: #667085;
}

.th-book-empty {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 34px;
    color: #667085;
    border: 1px dashed #d8e0ea;
    border-radius: 8px;
}

.th-book-empty i {
    color: var(--th-coral);
    font-size: 28px;
}

.th-book-summary-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
}

.th-book-summary-dates span,
.th-book-policy,
.th-book-selected-list article {
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #f8fbfd;
    padding: 10px;
}

.th-book-summary-dates small,
.th-book-summary-empty,
.th-book-selected-list small {
    color: #667085;
}

.th-book-summary-dates strong {
    display: block;
}

.th-book-summary-line,
.th-book-total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #edf1f5;
}

.th-book-total {
    margin-top: 10px;
    color: #101828;
    font-size: 17px;
    font-weight: 900;
}

.th-book-selected-list {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.th-book-selected-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 30px 30px;
    gap: 7px;
    align-items: center;
}

.th-book-selected-list button {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
    color: #344054;
}

.th-book-policy {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.th-book-policy i {
    color: var(--th-teal);
}

.th-book-policy span {
    display: block;
    color: #667085;
    font-size: 12px;
}

.th-book-customer-form {
    display: grid;
    gap: 10px;
}

.th-book-confirm-hero {
    background: #fff;
}

.th-book-confirm-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
}

.th-book-step-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}

.th-book-step {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #667085;
    font-size: 12px;
    font-weight: 850;
}

.th-book-step span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    background: #eef4f5;
    color: var(--th-teal-dark);
}

.th-book-step.is-active {
    color: #101828;
}

.th-book-step.is-active span {
    background: var(--th-teal);
    color: #fff;
}

.th-book-step.is-complete {
    color: var(--th-teal-dark);
}

.th-book-step.is-complete span {
    background: #e6f5f2;
    color: var(--th-teal);
}

.th-book-secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: start;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #087443;
    font-size: 12px;
    font-weight: 900;
}

.th-book-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.th-book-span-2 {
    grid-column: 1 / -1;
}

.th-book-subcard {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #f8fbfd;
}

.th-book-subcard h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.th-book-subcard p {
    margin: 0;
    color: #667085;
}

.th-book-checkline {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.th-book-checkline input {
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    margin-top: 2px;
}

.th-book-checkline small {
    display: block;
    margin-top: 2px;
    color: #667085;
    font-weight: 700;
}

.th-book-account-passwords {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.th-book-confirm-room-list {
    display: grid;
    gap: 10px;
}

.th-book-confirm-room-card {
    grid-template-columns: 110px minmax(0, 1fr) 130px;
    gap: 12px;
    padding: 10px;
    background: #fff;
}

.th-book-confirm-room-card > img {
    height: 86px;
}

.th-book-confirm-room-card .th-book-room-action {
    justify-items: end;
    align-content: center;
}

.th-book-final-actions {
    display: grid;
    gap: 10px;
}

.th-book-success-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border-color: rgba(6, 118, 71, .22);
    background: linear-gradient(180deg, #f4fbf7 0, #fff 100%);
}

.th-book-success-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 999px;
    background: #dcfae6;
    color: #067647;
    font-size: 25px;
}

.th-book-success-card span {
    display: inline-flex;
    margin-bottom: 4px;
    color: #067647;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-book-success-card h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.th-book-success-card p {
    margin: 0;
    color: #475467;
}

.th-book-success-code {
    margin-top: 10px;
    color: #344054;
    font-weight: 800;
}

.th-book-success-link {
    width: max-content;
    min-width: 0;
}

.th-book-summary-property {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 10px 0 12px;
}

.th-book-summary-property img {
    width: 76px;
    height: 64px;
    border-radius: 7px;
    object-fit: cover;
}

.th-book-summary-property strong,
.th-book-summary-property span {
    display: block;
}

.th-book-summary-property span {
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
}

.th-book-confirm-summary .th-book-selected-list article {
    grid-template-columns: minmax(0, 1fr) auto;
}

.th-book-modal {
    position: fixed;
    z-index: 2300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
}

.th-book-modal[hidden] {
    display: none;
}

.th-book-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .46);
}

.th-book-modal-dialog {
    position: relative;
    width: min(560px, calc(100vw - 28px));
    max-height: calc(100vh - 38px);
    overflow: auto;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .28);
}

.th-book-modal-head,
.th-book-modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #e5eaf0;
}

.th-book-modal-actions {
    justify-content: flex-end;
    border-top: 1px solid #e5eaf0;
    border-bottom: 0;
}

.th-book-modal-head span {
    display: block;
    color: var(--th-teal);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-book-modal-head button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
}

.th-book-modal-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.th-book-modal-body label {
    display: grid;
    gap: 6px;
    color: #344054;
    font-weight: 800;
}

.th-book-guest-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 8px;
}

.th-form-message.is-success {
    color: #067647;
}

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

    .th-room-options-head {
        display: grid;
    }

    .th-room-options-stay {
        text-align: left;
    }

    .th-detail-reservation-card {
        position: static;
    }

    .th-book-layout,
    .th-book-title {
        grid-template-columns: 1fr;
    }

    .th-book-summary {
        position: static;
    }

    .th-book-room-card {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .th-book-room-action {
        grid-column: 1 / -1;
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 720px) {
    .th-room-search-strip {
        grid-template-columns: 1fr 1fr;
    }

    .th-room-search-strip button {
        grid-column: 1 / -1;
    }

    .th-book-calendar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-book-card-head,
    .th-book-room-top {
        display: grid;
    }

    .th-book-compact-search,
    .th-book-room-card,
    .th-book-form-grid,
    .th-book-account-passwords,
    .th-book-success-card,
    .th-book-step-card,
    .th-book-summary-dates {
        grid-template-columns: 1fr;
    }

    .th-book-success-link {
        width: 100%;
    }

    .th-book-room-card > img {
        height: 190px;
    }
}

.rev-title {
    font-weight: bold;
    font-size: 13px;
}

.rev-user {
    color: #de6861;
}

/* Mobile booking list refinements */
.th-mobile-menu-button,
.th-mobile-filter-head,
.th-mobile-filter-actions,
.th-mobile-filter-button,
.th-filter-backdrop,
.th-mobile-menu-panel {
    display: none;
}

.th-results-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.th-load-more {
    display: flex;
    width: fit-content;
}

.th-brand-footer,
.th-footer-grid a.th-brand-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.th-brand-footer strong {
    display: inline-flex;
    white-space: nowrap;
    line-height: 1;
}

.th-restoring-listing .th-search-page {
    opacity: 0;
}

@media (max-width: 860px) {
    body.th-mobile-menu-lock,
    body.th-filter-lock {
        overflow: hidden;
    }

    .th-site-header {
        z-index: 1200;
    }

    .th-header-inner {
        position: relative;
        min-height: 58px;
        gap: 12px;
    }

    .th-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .th-brand strong {
        font-size: 19px;
    }

    .th-brand-logo,
    .th-brand-pin {
        flex: 0 0 auto;
    }

    .th-mobile-menu-button {
        display: inline-grid;
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        place-items: center;
        margin-left: auto;
        border: 1px solid var(--th-line);
        border-radius: 10px;
        background: #fff;
        color: var(--th-teal-dark);
        font-size: 22px;
        box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
    }

    .th-header-actions {
        display: none;
    }

    .th-mobile-menu-panel {
        position: fixed;
        top: 66px;
        right: 14px;
        left: 14px;
        z-index: 1210;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        padding: 10px;
        border: 1px solid var(--th-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 22px 56px rgba(16, 24, 40, .2);
    }

    .th-mobile-menu-panel:not([hidden]) {
        display: grid;
        gap: 10px;
    }

    .th-mobile-menu-section {
        display: grid;
        gap: 4px;
        padding: 6px;
        border-radius: 12px;
        background: var(--th-soft);
    }

    .th-mobile-menu-section strong {
        padding: 7px 9px 4px;
        color: var(--th-muted);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .02em;
    }

    .th-mobile-menu-section a {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 9px;
        color: var(--th-text);
        font-weight: 800;
    }

    .th-mobile-menu-section a.is-active,
    .th-mobile-menu-section a:hover {
        background: #fff;
        color: var(--th-teal-dark);
        box-shadow: 0 8px 18px rgba(16, 24, 40, .06);
    }

    .th-mobile-language-list a {
        justify-content: flex-start;
    }

    .th-search-band {
        padding: 14px 0;
    }

    .th-booking-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .th-filter-panel {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1300;
        width: min(100vw, 430px);
        max-width: 100vw;
        height: 100vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(-105%);
        transition: transform .24s ease;
        border-right: 0;
        background: #fff;
        padding: 14px 16px 24px;
        box-shadow: 22px 0 52px rgba(16, 24, 40, .22);
    }

    .th-filter-panel.is-open {
        transform: translateX(0);
    }

    .th-mobile-filter-head {
        position: sticky;
        top: -14px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: -14px -16px 16px;
        padding: 14px 16px;
        border-bottom: 1px solid var(--th-line);
        background: #fff;
    }

    .th-mobile-filter-head strong {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
    }

    .th-mobile-filter-head button {
        display: inline-grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 1px solid var(--th-line);
        border-radius: 9px;
        background: #fff;
        color: var(--th-text);
    }

    .th-mobile-filter-actions {
        position: static;
        display: grid;
        width: 100%;
        margin: 18px 0 0;
        padding: 14px 0 0;
        border-top: 1px solid var(--th-line);
        background: transparent;
        box-shadow: none;
    }

    .th-mobile-filter-actions .th-coral-button {
        width: 100%;
        justify-content: center;
        margin: 0;
    }

    .th-filter-backdrop:not([hidden]) {
        position: fixed;
        inset: 0;
        z-index: 1290;
        display: block;
        background: rgba(16, 24, 40, .42);
    }

    .th-filter-header h2 {
        display: none;
    }

    .th-filter-header {
        margin-bottom: 14px;
    }

    .th-filter-header button {
        display: inline-flex;
        min-height: 30px;
        align-items: center;
        margin-left: auto;
    }

    .th-results-bar {
        align-items: stretch;
    }

    .th-results-summary {
        justify-content: space-between;
        width: 100%;
    }

    .th-mobile-filter-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid var(--th-line);
        border-radius: 9px;
        background: #fff;
        color: var(--th-teal-dark);
        font-weight: 850;
        box-shadow: 0 8px 18px rgba(16, 24, 40, .06);
    }
}

@media (max-width: 720px) {
    .th-filter-panel {
        width: 100vw;
    }

    .th-results-bar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .th-results-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .th-results-actions label {
        min-width: 0;
    }

    .th-results-actions label select {
        min-width: 0;
        width: 100%;
    }

    .th-view-toggle {
        display: none;
    }

    .th-load-more {
        width: min(100%, 230px);
        margin-left: auto;
        margin-right: auto;
    }

    .th-site-footer .th-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
    }

    .th-site-footer .th-footer-grid > div:first-child,
    .th-site-footer .th-footer-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .th-brand-footer strong {
        font-size: 20px;
    }

    .th-footer-language-dropdown {
        width: 100%;
        max-width: 260px;
    }

    .th-footer-language-button {
        min-height: 38px;
        padding-top: 0;
        padding-bottom: 0;
        line-height: 1;
    }

    .th-footer-language-button span:not(.th-lang-flag) {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
    }

    .th-footer-language-menu {
        width: min(260px, calc(100vw - 28px));
    }

    .th-detail-tabs {
        flex-wrap: nowrap;
        align-items: center;
        gap: 22px;
        min-height: 52px;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .th-detail-tabs::-webkit-scrollbar {
        display: none;
    }

    .th-detail-tabs button,
    .th-detail-tabs .th-detail-reserve-now {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .th-detail-tabs button {
        min-height: 52px;
    }
}

html.th-dir-rtl body {
    direction: rtl;
    text-align: right;
}

html.th-dir-rtl input,
html.th-dir-rtl textarea,
html.th-dir-rtl select {
    direction: rtl;
    text-align: right;
}

html.th-dir-rtl input[type="email"],
html.th-dir-rtl input[type="tel"],
html.th-dir-rtl input[type="url"],
html.th-dir-rtl input[type="number"],
html.th-dir-rtl .th-lang-code,
html.th-dir-rtl code,
html.th-dir-rtl pre {
    direction: ltr;
    text-align: left;
}

html.th-dir-rtl .th-header-actions {
    margin-left: 0;
    margin-right: auto;
}

html.th-dir-rtl .th-header-menu {
    right: auto;
    left: 0;
    text-align: right;
}

html.th-dir-rtl .th-language-menu a small {
    margin-left: 0;
    margin-right: auto;
}

html.th-dir-rtl .th-home-search .th-search-field,
html.th-dir-rtl .th-results-bar,
html.th-dir-rtl .th-account-sidebar a,
html.th-dir-rtl .th-account-table th,
html.th-dir-rtl .th-account-table td {
    text-align: right;
}

html.th-dir-rtl .th-detail-tabs {
    direction: rtl;
}

html.th-dir-rtl .leaflet-container {
    direction: ltr;
}
