/* =========================================================
   UTP Hotel Page
   Version: 1.0

   Scope:
   Market Workspace
   Hotel Page
   ========================================================= */


/* =========================================================
   Hotel Hero
   ========================================================= */

.utp-hotel-hero {
    position: relative;

    margin: 34px 0 18px;
    padding: 0 2px 20px;

    border-bottom: 1px solid rgba(11, 22, 34, 0.09);
}



/* Navigation
   --------------------------------------------------------- */

.utp-hotel-hero__navigation {
    margin: 0 0 22px;
}

.utp-hotel-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #718096;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    text-decoration: none;

    transition:
        color 0.16s ease,
        transform 0.16s ease;
}

.utp-hotel-hero__back:hover,
.utp-hotel-hero__back:focus {
    color: #f5793b;
    text-decoration: none;
    transform: translateX(-2px);
    outline: none;
}

.utp-hotel-hero__back:focus-visible {
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(245, 121, 59, 0.16);
}

.utp-hotel-hero__back span[aria-hidden="true"] {
    position: relative;
    top: -1px;

    font-size: 16px;
    line-height: 1;
}


/* Main layout
   --------------------------------------------------------- */

.utp-hotel-hero__main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 44px;
}

.utp-hotel-hero__identity {
    flex: 1;
    min-width: 0;
}


/* Stars
   --------------------------------------------------------- */

.utp-hotel-hero__stars {
    margin: 0 0 10px;

    color: #f5793b;

    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 3px;
}


/* Hotel name
   --------------------------------------------------------- */

.utp-hotel-hero__title {
    max-width: 900px;
    margin: 0;

    color: #0b1622;

    font-size: clamp(30px, 2.8vw, 42px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -0.045em;

    text-wrap: balance;
}


/* Address
   --------------------------------------------------------- */

.utp-hotel-hero__address {
    position: relative;

    max-width: 820px;
    margin: 14px 0 0;
    padding-left: 21px;

    color: #64748b;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.utp-hotel-hero__address::before {
    content: "";

    position: absolute;
    top: 3px;
    left: 1px;

    width: 13px;
    height: 16px;

    background-color: #f5793b;

    opacity: 0.88;

    clip-path: polygon(
        50% 0%,
        75% 6%,
        92% 24%,
        100% 47%,
        93% 68%,
        77% 83%,
        50% 100%,
        23% 83%,
        7% 68%,
        0% 47%,
        8% 24%,
        25% 6%
    );
}

.utp-hotel-hero__address::after {
    content: "";

    position: absolute;
    top: 7px;
    left: 5px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #ffffff;
}


/* Reviews
   --------------------------------------------------------- */

.utp-hotel-hero__review {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

    margin: 18px 0 0;
}

.utp-hotel-hero__review-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 46px;
    height: 42px;
    padding: 0 11px;

    box-sizing: border-box;

    border-radius: 13px;

    background: #0b1622;
    color: #ffffff;

    font-size: 16px;
    font-weight: 950;
    line-height: 1;

    box-shadow: 0 10px 24px rgba(11, 22, 34, 0.14);
}

.utp-hotel-hero__review-label {
    color: #0b1622;

    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.utp-hotel-hero__review-count {
    color: #64748b;

    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
}

.utp-hotel-hero__review-count::before {
    content: "•";

    margin-right: 10px;

    color: #cbd5e1;
}


/* Actions
   --------------------------------------------------------- */

.utp-hotel-hero__actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    width: 310px;
    padding-bottom: 3px;
}

.utp-hotel-hero__rooms-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    min-height: 58px;
    padding: 5px 6px 5px 20px;

    box-sizing: border-box;

    border: 0;
    border-radius: 18px;

    background: linear-gradient(135deg, #ff5e44, #ff9438);
    color: #ffffff;

    font-size: 14px;
    font-weight: 950;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    box-shadow:
        0 17px 38px rgba(255, 94, 68, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.23);

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.utp-hotel-hero__rooms-link span[aria-hidden="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;

    font-size: 17px;
    line-height: 1;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20);

    transition:
        background 0.16s ease,
        transform 0.16s ease;
}

.utp-hotel-hero__rooms-link:hover,
.utp-hotel-hero__rooms-link:focus {
    color: #ffffff;
    text-decoration: none;

    transform: translateY(-2px);

    box-shadow:
        0 22px 44px rgba(255, 94, 68, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);

    outline: none;
}

.utp-hotel-hero__rooms-link:hover span[aria-hidden="true"],
.utp-hotel-hero__rooms-link:focus span[aria-hidden="true"] {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(2px);
}

.utp-hotel-hero__rooms-link:focus-visible {
    box-shadow:
        0 0 0 4px rgba(245, 121, 59, 0.20),
        0 22px 44px rgba(255, 94, 68, 0.32);
}

.utp-hotel-hero__secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.utp-hotel-hero__secondary-action {
    appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    min-height: 36px;
    padding: 0 12px;

    box-sizing: border-box;

    border: 1px solid var(--utp-color-primary, #ff5e44);
    border-radius: 12px;

    background: rgba(255, 106, 61, 0.08);
    color: var(--utp-color-primary, #ff5e44);

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color 0.20s ease,
        color 0.20s ease,
        border-color 0.20s ease,
        transform 0.20s ease,
        box-shadow 0.20s ease;
}

.utp-hotel-hero__secondary-action:hover {
    background: var(--utp-color-primary, #ff5e44);
    color: #ffffff;
    border-color: var(--utp-color-primary, #ff5e44);

    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(255, 106, 61, 0.18);
}

.utp-hotel-hero__secondary-action:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 3px rgba(255, 106, 61, 0.18),
        0 10px 24px rgba(255, 106, 61, 0.18);
}

.utp-hotel-hero__secondary-action span:first-child {
    font-size: 16px;
    line-height: 1;
}

/* =========================================================
   Gallery alignment
   Keeps the gallery visually connected to the Hero.
   ========================================================= */

.utp-hotel-gallery {
    margin-top: 22px;
}

/* =========================================================
   Hotel Gallery
   ========================================================= */

.utp-hotel-gallery {
    position: relative;

    width: 100%;
    margin: 22px 0 30px;

    overflow: hidden;

    border-radius: 24px;

    background: #eef2f6;

    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.10);
}


/* Gallery grid
   --------------------------------------------------------- */

.utp-hotel-gallery__grid {
    display: grid;

    width: 100%;
    height: 500px;

    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(0, 0.85fr)
        minmax(0, 0.85fr);

    grid-template-rows: repeat(2, minmax(0, 1fr));

    gap: 4px;

    background: #ffffff;
}


/* Image cells
   --------------------------------------------------------- */

.utp-hotel-gallery__item {
    position: relative;

    min-width: 0;
    min-height: 0;
    margin: 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #edf1f5,
            #e4e9ef
        );
}

.utp-hotel-gallery__item--primary {
    grid-column: 1;
    grid-row: 1 / span 2;
}


/* Image
   --------------------------------------------------------- */

.utp-hotel-gallery__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.001);

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.utp-hotel-gallery__item:hover .utp-hotel-gallery__image {
    transform: scale(1.035);
    filter: brightness(0.96);
}


/* Photo count overlay
   --------------------------------------------------------- */

.utp-hotel-gallery__more {
    position: absolute;
    right: 16px;
    bottom: 16px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 42px;
    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 14px;

    background: rgba(11, 22, 34, 0.80);
    color: #ffffff;

    font-size: 13px;
    font-weight: 900;
    line-height: 1;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.26);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.utp-hotel-gallery__more-icon {
    font-size: 16px;
    line-height: 1;
}

.utp-hotel-gallery__more-text {
    white-space: nowrap;
}


/* Fewer than five images
   --------------------------------------------------------- */

.utp-hotel-gallery__grid--1 {
    display: block;
}

.utp-hotel-gallery__grid--1 .utp-hotel-gallery__item {
    width: 100%;
    height: 100%;
}

.utp-hotel-gallery__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
}

.utp-hotel-gallery__grid--2 .utp-hotel-gallery__item--primary {
    grid-column: auto;
    grid-row: auto;
}

.utp-hotel-gallery__grid--3 {
    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(0, 1fr);

    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.utp-hotel-gallery__grid--3 .utp-hotel-gallery__item--primary {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.utp-hotel-gallery__grid--4 {
    grid-template-columns:
        minmax(0, 1.55fr)
        repeat(2, minmax(0, 1fr));

    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.utp-hotel-gallery__grid--4 .utp-hotel-gallery__item--primary {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.utp-hotel-gallery__grid--4 .utp-hotel-gallery__item:nth-child(4) {
    grid-column: 2 / span 2;
}


/* Empty state
   --------------------------------------------------------- */

.utp-hotel-gallery--empty {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 320px;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(245, 121, 59, 0.10),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #f6f8fa,
            #edf1f5
        );
}

.utp-hotel-gallery__placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;

    max-width: 420px;
    padding: 40px 24px;

    text-align: center;
}

.utp-hotel-gallery__placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin-bottom: 18px;

    border-radius: 20px;

    background: #ffffff;
    color: #f5793b;

    font-size: 26px;
    line-height: 1;

    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.10);
}

.utp-hotel-gallery__placeholder-title {
    color: #0b1622;

    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.utp-hotel-gallery__placeholder-text {
    margin-top: 8px;

    color: #64748b;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
    .utp-hotel-gallery__grid {
        height: 420px;

        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(0, 1fr);

        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .utp-hotel-gallery__item--primary {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .utp-hotel-gallery__item:nth-child(n + 4) {
        display: none;
    }

    .utp-hotel-gallery__grid--1 {
        display: block;
    }

    .utp-hotel-gallery__grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 1fr;
    }

    .utp-hotel-gallery__grid--2 .utp-hotel-gallery__item--primary {
        grid-column: auto;
        grid-row: auto;
    }
}


@media (max-width: 640px) {
    .utp-hotel-gallery {
        margin: 18px 0 24px;

        border-radius: 18px;
    }

    .utp-hotel-gallery__grid {
        display: grid;

        height: auto;
        min-height: 0;

        grid-template-columns: 1fr;
        grid-template-rows:
            260px
            130px;

        gap: 4px;
    }

    .utp-hotel-gallery__item--primary {
        grid-column: 1;
        grid-row: 1;
    }

    .utp-hotel-gallery__item:nth-child(2) {
        display: block;

        grid-column: 1;
        grid-row: 2;
    }

    .utp-hotel-gallery__item:nth-child(n + 3) {
        display: none;
    }

    .utp-hotel-gallery__grid--1 {
        display: block;
        height: 300px;
    }

    .utp-hotel-gallery__more {
        right: 12px;
        bottom: 12px;

        min-height: 38px;
        padding: 0 13px;

        border-radius: 12px;

        font-size: 12px;
    }

    .utp-hotel-gallery--empty {
        min-height: 260px;
    }
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
    .utp-hotel-hero {
        margin-top: 30px;
    }

    .utp-hotel-hero__main {
        align-items: flex-start;
        flex-direction: column;

        gap: 24px;
    }

    .utp-hotel-hero__actions {
        width: 100%;
        padding-bottom: 0;
    }

    .utp-hotel-hero__rooms-link {
        width: 100%;
        min-width: 0;
    }

    .utp-hotel-hero__secondary-actions {
        width: 100%;
    }
}


@media (max-width: 640px) {
    .utp-hotel-hero {
        margin: 24px 0 14px;
        padding-bottom: 18px;
    }

    .utp-hotel-hero__navigation {
        margin-bottom: 18px;
    }

    .utp-hotel-hero__title {
        font-size: clamp(30px, 10vw, 40px);
        line-height: 1.07;
        letter-spacing: -0.035em;
    }

    .utp-hotel-hero__address {
        margin-top: 12px;

        font-size: 13px;
        line-height: 1.5;
    }

    .utp-hotel-hero__review {
        gap: 8px;

        margin-top: 17px;
    }

    .utp-hotel-hero__review-count {
        width: 100%;
    }

    .utp-hotel-hero__review-count::before {
        display: none;
    }

    .utp-hotel-hero__rooms-link {
        min-height: 56px;
        padding-left: 18px;
    }

    .utp-hotel-hero__rooms-link span[aria-hidden="true"] {
        flex-basis: 44px;

        width: 44px;
        height: 44px;
    }

    .utp-hotel-gallery {
        margin-top: 18px;
    }
}
/* =========================================================
   Hotel Gallery Lightbox
   ========================================================= */

html.utp-hotel-lightbox-is-open,
body.utp-hotel-lightbox-is-open {
    overflow: hidden;
}


/* Lightbox shell
   --------------------------------------------------------- */

.utp-hotel-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease;
}

.utp-hotel-lightbox[hidden] {
    display: none !important;
}

.utp-hotel-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Backdrop
   --------------------------------------------------------- */

.utp-hotel-lightbox__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(3, 8, 17, 0.92);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* Dialog
   --------------------------------------------------------- */

.utp-hotel-lightbox__dialog {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width:min(1440px,96vw);
    height:calc(100vh - 40px);

    box-sizing: border-box;
}


/* Figure
   --------------------------------------------------------- */

.utp-hotel-lightbox__figure {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    margin: 0;

    overflow: hidden;

    border-radius: 24px;

    background: #07101b;

    border: 1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.55);
}


/* Image area
   --------------------------------------------------------- */

.utp-hotel-lightbox__media {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;
    min-height: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(255, 255, 255, 0.07),
            transparent 42%
        ),
        #050b13;
}

.utp-hotel-lightbox__image {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    opacity: 1;

    transition: opacity 0.16s ease;
}

.utp-hotel-lightbox.is-loading .utp-hotel-lightbox__image {
    opacity: 0.25;
}


/* Loading indicator
   --------------------------------------------------------- */

.utp-hotel-lightbox.is-loading .utp-hotel-lightbox__media::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 42px;
    height: 42px;

    margin: -21px 0 0 -21px;

    border: 3px solid rgba(255, 255, 255, 0.20);
    border-top-color: #f5793b;
    border-radius: 50%;

    animation: utp-hotel-lightbox-spin 0.8s linear infinite;
}

@keyframes utp-hotel-lightbox-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Footer
   --------------------------------------------------------- */

.utp-hotel-lightbox__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 64px;
    padding: 14px 20px;

    box-sizing: border-box;

    background: rgba(11, 22, 34, 0.96);

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.utp-hotel-lightbox__caption {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.utp-hotel-lightbox__counter {
    flex: 0 0 auto;

    color: #ffffff;

    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}


/* Close button
   --------------------------------------------------------- */

.utp-hotel-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;

    background: rgba(11, 22, 34, 0.78);
    color: #ffffff;

    font-size: 30px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.30);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        background 0.16s ease,
        transform 0.16s ease;
}

.utp-hotel-lightbox__close:hover,
.utp-hotel-lightbox__close:focus {
    background: #f5793b;
    transform: scale(1.04);
    outline: none;
}


/* Previous / Next
   --------------------------------------------------------- */

.utp-hotel-lightbox__navigation {
    position: absolute;
    top: 50%;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-top: -26px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 17px;

    background: rgba(11, 22, 34, 0.78);
    color: #ffffff;

    font-size: 24px;
    font-weight: 800;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.30);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        background 0.16s ease,
        transform 0.16s ease;
}

.utp-hotel-lightbox__navigation:hover,
.utp-hotel-lightbox__navigation:focus {
    background: #f5793b;
    outline: none;
}

.utp-hotel-lightbox__navigation--previous {
    left: 18px;
}

.utp-hotel-lightbox__navigation--next {
    right: 18px;
}

.utp-hotel-lightbox__navigation--previous:hover {
    transform: translateX(-2px);
}

.utp-hotel-lightbox__navigation--next:hover {
    transform: translateX(2px);
}


/* Gallery cursor
   --------------------------------------------------------- */

.utp-hotel-gallery__item[role="button"] {
    cursor: zoom-in;
}

.utp-hotel-gallery__item[role="button"]:focus-visible {
    outline: 3px solid rgba(245, 121, 59, 0.85);
    outline-offset: -3px;
}


/* Image error
   --------------------------------------------------------- */

.utp-hotel-lightbox.has-image-error .utp-hotel-lightbox__media::before {
    content: "Image unavailable";

    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 760px) {
    .utp-hotel-lightbox {
        padding: 12px;
    }

    .utp-hotel-lightbox__dialog {
        height: calc(100vh - 24px);
    }

    .utp-hotel-lightbox__figure {
        border-radius: 18px;
    }

    .utp-hotel-lightbox__close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

        border-radius: 13px;
    }

    .utp-hotel-lightbox__navigation {
        width: 44px;
        height: 44px;

        margin-top: -22px;

        border-radius: 14px;

        font-size: 20px;
    }

    .utp-hotel-lightbox__navigation--previous {
        left: 10px;
    }

    .utp-hotel-lightbox__navigation--next {
        right: 10px;
    }

    .utp-hotel-lightbox__footer {
        min-height: 58px;
        padding: 12px 14px;
    }

    .utp-hotel-lightbox__caption {
        font-size: 12px;
    }

    .utp-hotel-lightbox__counter {
        font-size: 12px;
    }
}


/* =========================================================
   Hotel Quick Facts
   ========================================================= */

.utp-hotel-facts {
    margin: 34px 0 38px;
}

.utp-hotel-facts__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 18px;
}

.utp-hotel-facts__eyebrow {
    display: block;

    margin-bottom: 6px;

    color: #f5793b;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.utp-hotel-facts__title {
    margin: 0;

    color: #0b1622;

    font-size: clamp(24px, 2vw, 30px);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.utp-hotel-facts__grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.utp-hotel-fact {
    display: flex;
    align-items: center;
    gap: 15px;

    min-width: 0;
    min-height: 86px;
    padding: 14px;

    box-sizing: border-box;

    border: 1px solid rgba(11, 22, 34, 0.07);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1),
            rgba(248, 250, 252, 0.96)
        );

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.07);

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease;
}

.utp-hotel-fact:hover {
    transform: translateY(-2px);

    border-color: rgba(245, 121, 59, 0.20);

    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.10);
}

.utp-hotel-fact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 94, 68, 0.14),
            rgba(255, 148, 56, 0.18)
        );
    color: #f5793b;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.utp-hotel-fact__icon svg {
    display: block;

    width: 20px;
    height: 20px;

    fill: currentColor;
}

.utp-hotel-fact__content {
    min-width: 0;
}

.utp-hotel-fact__label {
    display: block;

    margin-bottom: 6px;

    color: #7c8a9b;

    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.utp-hotel-fact__value {
    display: block;

    overflow: hidden;

    color: #0b1622;

    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Responsive
   --------------------------------------------------------- */

@media (max-width: 980px) {
    .utp-hotel-facts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .utp-hotel-facts {
        margin: 28px 0 32px;
    }

    .utp-hotel-facts__header {
        margin-bottom: 15px;
    }

    .utp-hotel-facts__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .utp-hotel-fact {
        min-height: 96px;
        padding: 16px;

        border-radius: 18px;
    }

    .utp-hotel-fact__icon {
        flex-basis: 44px;

        width: 44px;
        height: 44px;

        border-radius: 14px;
    }

    .utp-hotel-fact__icon svg {
        width: 21px;
        height: 21px;
    }

    .utp-hotel-fact__value {
        white-space: normal;
    }
}


/* =========================================================
   Hotel Rooms
   ========================================================= */

.utp-hotel-rooms {
    margin: 46px 0 56px;
}

.utp-hotel-rooms__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 20px;
}

.utp-hotel-rooms__eyebrow {
    display: block;

    margin-bottom: 6px;

    color: #f5793b;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.utp-hotel-rooms__title {
    margin: 0;

    color: #0b1622;

    font-size: clamp(27px, 2.3vw, 34px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.utp-hotel-rooms__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 14px;

    border-radius: 12px;

    background: #f3f6f8;
    color: #64748b;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.utp-hotel-rooms__list {
    display: grid;
    gap: 30px;
}


/* Room card
   --------------------------------------------------------- */

.utp-room-card {
    overflow: hidden;

    border: 1px solid #d6dee7;
    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.10);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.utp-room-card:hover {
    transform: translateY(-2px);

    border-color: rgba(245, 121, 59, 0.42);

    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.14);
}

.utp-room-card__summary {
    display: grid;

    grid-template-columns: 210px minmax(0, 1fr);

    min-height: 150px;

    background: #fcfdfe;

    border-bottom: 1px solid #dfe5ec;
}

.utp-room-card__media {
    min-width: 0;
    height: 150px;

    overflow: hidden;

    background: #edf1f5;
}

.utp-room-card__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.utp-room-card:hover .utp-room-card__image {
    transform: scale(1.035);
}

.utp-room-card__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;

    width: 100%;
    height: 100%;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(245, 121, 59, 0.14),
            transparent 38%
        ),
        linear-gradient(135deg, #f4f6f8, #e8edf2);
    color: #f5793b;
}

.utp-room-card__image-placeholder svg {
    width: 46px;
    height: 46px;

    fill: currentColor;

    opacity: 0.72;
}

.utp-room-card__image-placeholder-text {
    max-width: 150px;

    color: #7c8a9b;

    font-size: 11px;
    font-weight: 850;
    line-height: 1.35;

    text-align: center;
}

.utp-room-card__details {
    min-width: 0;
    padding: 18px 24px 18px;
}

.utp-room-card__title {
    margin: 0;

    color: #0b1622;

    font-size: clamp(21px, 1.8vw, 27px);
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.utp-room-card__description {
    display: -webkit-box;

    max-width: 780px;
    margin: 11px 0 0;

    overflow: hidden;

    color: #64748b;

    font-size: 13px;
    font-weight: 550;
    line-height: 1.55;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.utp-room-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 18px;

    margin-top: 12px;
}

.utp-room-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #405166;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.utp-room-card__meta-item svg {
    flex: 0 0 17px;

    width: 17px;
    height: 17px;

    fill: #f5793b;
}

.utp-room-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 12px;
}

.utp-room-card__amenity {
    display: inline-flex;
    align-items: center;

    min-height: 30px;
    padding: 0 10px;

    border-radius: 10px;

    background: #f4f7f9;
    color: #5f6f82;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}


/* Rate rows
   --------------------------------------------------------- */

.utp-room-card__rates {
    border-top: 1px solid #dfe5ec;

    background: #ffffff;
}

.utp-room-rate {
    display: grid;
    align-items: center;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        158px;

    grid-template-areas:
        "conditions price action";

    gap: 18px;

    min-height: 82px;
    padding: 10px 18px;

    box-sizing: border-box;
}

.utp-room-rate + .utp-room-rate {
    border-top: 1px solid rgba(11, 22, 34, 0.07);
}

.utp-room-rate__conditions {
    grid-area: conditions;

    min-width: 0;
}

.utp-room-rate__conditions-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 14px;
}

.utp-room-rate__board,
.utp-room-rate__cancellation {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #0b1622;

    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
}

.utp-room-rate__board svg,
.utp-room-rate__cancellation svg {
    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    fill: currentColor;
}

.utp-room-rate__board {
    color: #314155;
}

.utp-room-rate__cancellation--refundable {
    color: #198754;
}

.utp-room-rate__cancellation--non-refundable {
    color: #a04b3a;
}

.utp-room-rate__policy {
    display: block;

    margin-top: 5px;

    color: #64748b;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.utp-room-rate__availability {
    display: inline-flex;
    align-items: center;

    min-height: 27px;
    padding: 0 9px;

    border-radius: 9px;

    background: rgba(245, 121, 59, 0.10);
    color: #d55a21;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.utp-room-rate__price-block {
    grid-area: price;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;

    min-width: 118px;

    text-align: right;
}

.utp-room-rate__price-label {
    margin-bottom: 1px;

    color: #8491a2;

    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.utp-room-rate__price {
    color: #0b1622;

    font-size: 26px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.035em;
}

.utp-room-rate__currency {
    margin-right: 4px;

    color: #64748b;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.utp-room-rate__form {
    grid-area: action;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: auto;
    margin: 0;
}

.utp-room-rate__select {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    width: 135px;
    min-height: 36px;
    padding: 2px 3px 2px 13px;

    border: 0;
    border-radius: 14px;

    background: linear-gradient(135deg, #ff5e44, #ff9438);
    color: #ffffff;

    font: inherit;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 10px 24px rgba(255, 94, 68, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.utp-room-rate__select span[aria-hidden="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.18);

    font-size: 15px;
    line-height: 1;
}

.utp-room-rate__select:hover,
.utp-room-rate__select:focus {
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 14px 28px rgba(255, 94, 68, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);

    outline: none;
}

.utp-room-rate__select:focus-visible {
    box-shadow:
        0 0 0 4px rgba(245, 121, 59, 0.18),
        0 14px 28px rgba(255, 94, 68, 0.26);
}


/* Responsive
   --------------------------------------------------------- */

@media (max-width: 980px) {
    .utp-room-card__summary {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .utp-room-rate {
        grid-template-columns:
            minmax(0, 1fr)
            auto
            145px;

        gap: 14px;
    }

    .utp-room-rate__select {
        width: 138px;
    }
}

@media (max-width: 760px) {
    .utp-hotel-rooms {
        margin: 38px 0 46px;
    }

    .utp-room-card__summary {
        grid-template-columns: 1fr;
    }

    .utp-room-card__media {
        height: 220px;
        min-height: 0;
    }

    .utp-room-card__details {
        padding: 22px 20px;
    }

    .utp-room-rate {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "conditions conditions"
            "price action";

        gap: 12px 16px;

        min-height: 0;
        padding: 14px 16px;
    }

    .utp-room-rate__price-block {
        align-items: flex-start;

        text-align: left;
    }

    .utp-room-rate__form {
        justify-content: flex-end;
    }
}

@media (max-width: 520px) {
    .utp-hotel-rooms__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .utp-room-card {
        border-radius: 20px;
    }

    .utp-room-card__media {
        height: 190px;
    }

    .utp-room-card__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .utp-room-rate__conditions {
        align-items: flex-start;
        flex-direction: column;
    }

    .utp-room-rate__policy {
        width: auto;
    }
}
.utp-hotel-description {
    margin-top: 32px;
}

.utp-hotel-description__inner {
    padding: 28px;
    border: 1px solid #e7e9ee;
    border-radius: 18px;
    background: #fff;
}

.utp-hotel-description__header {
    margin-bottom: 18px;
}

.utp-hotel-description__eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.utp-hotel-description__title {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

.utp-hotel-description__content {
    position: relative;
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
}

.utp-hotel-description__content p {
    margin: 0 0 14px;
}

.utp-hotel-description__content p:last-child {
    margin-bottom: 0;
}

.utp-hotel-description__content--collapsed {
    max-height: 210px;
    overflow: hidden;
}

.utp-hotel-description__content--collapsed::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 72px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        #fff
    );
}

.utp-hotel-description__toggle {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    color: #1f4f8f;
    font-size: 15px;
}
/* Hotel Amenities */

.utp-hotel-amenities {
    margin-top: 32px;
    padding: 28px 26px;
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 18px;
}

.utp-hotel-amenities__header {
    margin-bottom: 24px;
}

.utp-hotel-amenities__eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7b8798;
}

.utp-hotel-amenities__title {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

.utp-hotel-amenities__highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.utp-hotel-amenities__highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
}

.utp-hotel-amenities__highlight-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #eaf8f0;
    color: #16884a;
    font-size: 15px;
    font-weight: 800;
}

.utp-hotel-amenities__highlight-name {
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #273447;
}

.utp-hotel-amenities__more {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e5e9ef;
}

.utp-hotel-amenities__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #2457a7;
    list-style: none;
}

.utp-hotel-amenities__toggle::-webkit-details-marker {
    display: none;
}

.utp-hotel-amenities__toggle::after {
    content: "＋";
    font-size: 16px;
    line-height: 1;
}

.utp-hotel-amenities__more[open]
.utp-hotel-amenities__toggle::after {
    content: "−";
}

.utp-hotel-amenities__toggle-close {
    display: none;
}

.utp-hotel-amenities__more[open]
.utp-hotel-amenities__toggle-open {
    display: none;
}

.utp-hotel-amenities__more[open]
.utp-hotel-amenities__toggle-close {
    display: inline;
}

.utp-hotel-amenities__expanded {
    margin-top: 26px;
}

.utp-hotel-amenities__groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 36px;
}

.utp-hotel-amenities__group {
    min-width: 0;
}

.utp-hotel-amenities__group-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #273447;
}

.utp-hotel-amenities__list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.utp-hotel-amenities__item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    line-height: 1.5;
    color: #667085;
}

.utp-hotel-amenities__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: #eaf8f0;
    color: #16884a;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 980px) {
    .utp-hotel-amenities__highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .utp-hotel-amenities__groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .utp-hotel-amenities {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .utp-hotel-amenities__title {
        font-size: 28px;
    }

    .utp-hotel-amenities__highlights,
    .utp-hotel-amenities__groups {
        grid-template-columns: 1fr;
    }
}
/* Hotel Policies */

.utp-hotel-policies {
    margin-top: 32px;
    padding: 28px 26px;
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 18px;
}

.utp-hotel-policies__header {
    margin-bottom: 24px;
}

.utp-hotel-policies__eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7b8798;
}

.utp-hotel-policies__title {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

.utp-hotel-policies__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.utp-hotel-policies__group {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
}

.utp-hotel-policies__group--important {
    grid-column: 1 / -1;
    background: #fff8ed;
    border-color: #ffd9a8;
}

.utp-hotel-policies__group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.utp-hotel-policies__group-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eaf2ff;
    color: #2457a7;
    font-size: 17px;
    font-weight: 700;
}

.utp-hotel-policies__group--important
.utp-hotel-policies__group-icon {
    background: #fff0d8;
    color: #c56a00;
}

.utp-hotel-policies__group-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #273447;
}

.utp-hotel-policies__items {
    display: grid;
    gap: 12px;
}

.utp-hotel-policies__item {
    display: grid;
    grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.utp-hotel-policies__item-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #344054;
}

.utp-hotel-policies__item-value {
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #667085;
    overflow-wrap: anywhere;
}

@media (max-width: 820px) {
    .utp-hotel-policies__groups {
        grid-template-columns: 1fr;
    }

    .utp-hotel-policies__group--important {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .utp-hotel-policies {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .utp-hotel-policies__title {
        font-size: 28px;
    }

    .utp-hotel-policies__group {
        padding: 18px;
    }

    .utp-hotel-policies__item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
.utp-hotels-map {
    width: 100%;
    margin-top: 24px;
}

.utp-hotels-map__canvas {
    width: 100%;
    height: 460px;
    overflow: hidden;
    border: 1px solid var(--utp-border-color, #d9dee7);
    border-radius: 18px;
    background: #eef2f6;
}

.utp-hotels-map-marker {
    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    background: transparent;
}

.utp-hotels-map-marker span {
    position: relative;

    display: block;
    width: 24px;
    height: 24px;

    box-sizing: border-box;

    background: var(--utp-color-warning, #f59e0b);
    border: 3px solid #ffffff;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);

    transform: rotate(-45deg);
    transform-origin: center;
}

.utp-hotels-map-marker span::after {
    content: '';

    position: absolute;
    top: 50%;
    left: 50%;

    width: 7px;
    height: 7px;

    background: #ffffff;
    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.utp-hotels-map-marker--active span {
    width: 38px;
    height: 38px;

    background: var(--utp-color-primary, #ea580c);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.utp-hotels-map-marker--active span::after {
    width: 11px;
    height: 11px;
}

.utp-hotels-map .leaflet-popup-content-wrapper {
    border-radius: 12px;
}

.utp-hotels-map .leaflet-popup-content {
    margin: 14px 16px;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .utp-hotels-map__canvas {
        height: 360px;
        border-radius: 14px;
    }
}
/* =========================================================
   Hotel map fullscreen modal
   ========================================================= */

.utp-hotels-map-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    width: 100%;
    height: 100%;

    overflow: hidden;
}

.utp-hotels-map-modal.is-open {
    display: block;
}

.utp-hotels-map-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(3px);
}

.utp-hotels-map-modal__dialog {
    position: absolute;
    inset: 18px;

    overflow: hidden;

    background: #ffffff;
    border-radius: 18px;
    box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.28);
}

.utp-hotels-map-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1001;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    color: #1e293b;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 50%;
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.18);

    transition:
        transform 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.utp-hotels-map-modal__close:hover {
    background: #f8fafc;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.24);
    transform: translateY(-1px);
}

.utp-hotels-map-modal__close:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.utp-hotels-map-modal__dialog .utp-hotels-map__canvas {
    width: 100%;
    height: 100%;
    min-height: 0;
}

body.utp-hotel-map-is-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .utp-hotels-map-modal__dialog {
        inset: 0;
        border-radius: 0;
    }

    .utp-hotels-map-modal__close {
        top: 12px;
        right: 12px;
    }
}
.utp-hotel-description__footer {
    display: flex;
    justify-content: center;

    margin-top: 40px;
    padding-top: 28px;

    border-top: 1px solid
        var(--utp-border-color, #e5e7eb);
}

.utp-hotel-description__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--utp-color-primary, #ea580c);
    font-weight: 600;
    text-decoration: none;

    transition: color .18s ease;
}

.utp-hotel-description__back:hover {
    color: #c2410c;
}
.utp-hotel-page__footer-action {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 40px;
    padding: 32px 0 8px;
}

.utp-hotel-page__back-to-rooms {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--utp-color-primary, #ea580c);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        color .18s ease,
        transform .18s ease;
}

.utp-hotel-page__back-to-rooms:hover {
    color: #c2410c;
    transform: translateY(-1px);
}
/* ==========================================================
   Results Workspace Layout
   ========================================================== */

.utp-results-workspace {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    margin: 0 0 32px;
}

.utp-results-workspace__sidebar {
    display: flex;
    flex-direction: column;
}

.utp-results-workspace__hero {
    min-width: 0;
}

/* Sidebar */

.utp-results-command-deck {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.utp-results-module {
    width: 100%;
}

/* Hero */

.utp-results-map-hero {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);

    height: 100%;

    min-height: 560px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;

    overflow: hidden;

    background: var(--utp-surface, #13161b);
}

.utp-results-map-hero__header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 28px;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.utp-results-map-hero__eyebrow {
    display: block;

    margin-bottom: 4px;

    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;

    opacity: .6;
}

.utp-results-map-hero__title {
    margin: 0;

    font-size: 26px;
    font-weight: 600;
}

.utp-results-map-hero__meta {
    font-size: 14px;
    opacity: .8;
}

.utp-results-map-hero__canvas {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* Leaflet */

.utp-results-map-hero__canvas .leaflet-container,
.utp-results-map-hero__canvas > div {
    width: 100%;
    height: 100%;
}

/* Responsive */

@media (max-width: 1180px) {

    .utp-results-workspace {
        grid-template-columns: 1fr;
    }

    .utp-results-map-hero {
        min-height: 500px;
    }

}

/* Hotels V1 — Room Media
 * Append to: Market/Assets/css/MarketHotelPage.css
 * Presentation only. RoomCard.php contains no CSS.
 */

.utp-room-card__media {
    padding: 12px 16px 0;
}

.utp-room-card__media-button {
    position: relative;
    display: block;
    width: 220px;
    height: 132px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(128, 145, 166, 0.28);
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
}

.utp-room-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.utp-room-card__photo-count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(12, 25, 39, 0.82);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.utp-room-card__media-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* ==========================================================================
   UTP Market Visual Foundation — Hotel Page / Room rates
   Correct geometry: conditions | price | action
   ========================================================================== */

.utp-room-card__meta,
.utp-room-card__meta-item{
    color: #64748b;
    opacity: 1;
}

.utp-room-rate{
    grid-template-columns: minmax(0, 1fr) auto 136px;
    grid-template-areas: "conditions price action";
    column-gap: 14px;
    row-gap: 0;
    min-height: 58px;
    padding: 7px 18px;
}

.utp-room-rate__conditions{
    min-width: 0;
}

.utp-room-rate__conditions-main,
.utp-room-rate__conditions{
    align-items: center;
}

/* TOTAL PRICE + amount are one compact inline cluster. */
.utp-room-rate__price-block{
    grid-area: price;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    gap: 7px;
    min-width: 0;
    padding: 0;
    text-align: right;
    white-space: nowrap;
}

.utp-room-rate__price-label{
    margin: 0;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}

.utp-room-rate__base-price{
    margin: 0;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.utp-room-rate__price{
    margin: 0;
    font-size: 22px;
    line-height: 1;
    white-space: nowrap;
}

/* Choose room is a separate right-hand action column. */
.utp-room-rate__form{
    grid-area: action;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin: 0;
}

.utp-room-rate__select{
    width: 136px;
    min-width: 136px;
    min-height: 36px;
    margin: 0;
}

@media (min-width: 768px) and (max-width: 1024px){
    .utp-room-rate{
        grid-template-columns: minmax(0, 1fr) auto 128px;
        grid-template-areas: "conditions price action";
        column-gap: 10px;
        min-height: 62px;
        padding: 8px 14px;
    }

    .utp-room-rate__price-block{
        gap: 6px;
    }

    .utp-room-rate__price{
        font-size: 20px;
    }

    .utp-room-rate__select{
        width: 128px;
        min-width: 128px;
    }
}

/* =========================================================
   Room Rates — one-row baseline final polish
   Baseline geometry above remains untouched.
   ========================================================= */

/* Keep the existing price column, but make it a visibly separate section. */
.utp-room-rate__price-block {
    min-width: 150px;
    padding-right: 12px;
    border-right: 1px solid rgba(148, 163, 184, 0.22);
}

/* Keep action in its existing third grid column and flush it right. */
.utp-room-rate__form {
    justify-self: end;
}

/* Smaller Choose room button; preserve the existing icon and behavior. */
.utp-room-rate__select {
    width: 112px;
    min-width: 112px;
    min-height: 32px;
    padding: 2px 3px 2px 11px;
    gap: 8px;
    border-radius: 11px;
    font-size: 11px;
}

.utp-room-rate__select span[aria-hidden="true"] {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    font-size: 13px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .utp-room-rate__price-block {
        min-width: 142px;
        padding-right: 10px;
    }

    .utp-room-rate__select {
        width: 106px;
        min-width: 106px;
        min-height: 32px;
        padding-left: 10px;
    }
}

/* =========================================================
   Room Rates — right-edge correction
   Screenshot confirms the action lives inside the price cluster.
   Remove the unused third grid track and anchor the cluster right.
   ========================================================= */

.utp-room-rate {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "conditions price";
}

.utp-room-rate__price-block {
    grid-area: price;
    justify-self: end;
    min-width: 0;
    padding-right: 0;
    border-right: 0;
}

.utp-room-rate__form {
    grid-area: auto;
    width: auto;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(148, 163, 184, 0.22);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .utp-room-rate {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "conditions price";
    }

    .utp-room-rate__price-block {
        min-width: 0;
        padding-right: 0;
    }

    .utp-room-rate__form {
        margin-left: 8px;
        padding-left: 8px;
    }
}
