:root {
    --tile-font-size: clamp(0.5rem, 0.85rem, 1rem);
}

.room-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    margin-bottom: 2rem;
    width: 100%;
}

.room-tile .room-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    font-family: var(--wp--preset--font-family--montserrat);
    font-style: normal;
    gap: 0.25rem;
    height: 100%;
    justify-content: space-between;
    padding: 1rem 0.75rem;
}

.room-tile .room-details .room-details--header {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.room-tile .room-details .room-title {
    color: var(--wp--preset--color--primary);
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: var(--tile-font-size);
    font-style: normal;
    font-weight: 600;
    height: fit-content;
    letter-spacing: 0.8px;
    line-height: 1.1;
    margin-block: 0.5rem 0.25rem;
}

.room-tile .room-details .room-title h3 {
    color: var(--wp--preset--color--black, #000);
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 500;
    letter-spacing: 0.64px;
    line-height: 1;
    margin: 0 0 0.25rem;
    padding: 0;
    text-transform: uppercase;
}

.room-details .room-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: var(--tile-font-size);
    font-weight: 600;
    gap: 0.25rem 1.25rem;
    height: fit-content;
}

.room-details .room-meta > div {
    align-items: center;
    display: flex;
    gap: 0.125rem;
    justify-content: flex-start;
    line-height: 1;
    text-decoration: none;
}

.room-details .room-meta > div > i {
    margin-right: 9px;
}

.room-tile .room-details .button,
.room-tile .room-details a:where(:not(.wp-element-button)).link i {
    align-items: center;
    background-color: var(--wp--preset--color--secondary);
    border: none;
    border-radius: 50vw;
    display: flex;
    height: fit-content;
    justify-content: center;
    line-height: 1;
    min-block-size: 38px;
    min-width: fit-content;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.room-tile .room-details a:where(:not(.wp-element-button)).link i {
    aspect-ratio: 1;
    height: 1rem;
    padding: 0;
    width: 1rem;
}

.room-tile .room-details .room-description {
    font-weight: 300;
    height: fit-content;
}

.room-tile .room-details .room-description p {
    font-size: var(--tile-font-size);
    margin-block: 0.2rem;
}

.room-details .room-links,
.room-details .room-links form {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
    height: fit-content;
}

.gform-theme--framework .room-links button.button {
    min-width: fit-content !important;
    width: fit-content;
}

.gform-theme--framework .room-links button.button,
.room-details .room-links form button.button {
    align-items: center;
    background-color: var(--wp--preset--color--secondary);
    border: none;
    border-radius: 50vw;
    color: white;
    display: flex;
    gap: 6px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    min-block-size: 38px;
    padding-inline: 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.room-tile .room-details .room-links a:where(:not(.wp-element-button)),
.room-tile .room-details .room-links button.button {
    align-items: center;
    border: none;
    display: flex;
    justify-content: center;
    line-height: 1;
    min-block-size: 38px;
    min-width: fit-content;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.room-tile .room-details .room-links .button,
.room-tile .room-details .room-links button.button,
.gform-theme--framework .room-links a:not(.wp-element-button).link i,
.room-tile .room-details .room-links a:not(.wp-element-button).link i {
    align-items: center;
    background-color: var(--wp--preset--color--secondary);
    border-radius: 50vw;
    color: white;
    display: flex;
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: var(--wp--preset--font-size--tiny);
    font-style: normal;
    font-weight: 500;
    gap: 6px;
    height: 38px;
    justify-content: center;
    letter-spacing: 0.84px;
    line-height: 1;
    padding-inline: 16px;
    text-transform: uppercase;
    width: fit-content;
}

.gform-theme--framework .room-links a:where(:not(.wp-element-button)).link {
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: var(--wp--preset--font-size--tiny);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.84px;
    line-height: 1;
    min-width: fit-content;
    text-transform: uppercase;
}

.gform-theme--framework .room-links a:where(:not(.wp-element-button)).link:hover {
    background-color: var(--background-color, transparent);
    text-decoration: underline;
}

.gform-theme--framework .room-links a:where(:not(.wp-element-button)).link i.icn-link,
.room-tile .room-details .room-links form a:where(:not(.wp-element-button)).link i.icn-link {
    align-items: center;
    aspect-ratio: 1;
    background-color: var(--wp--preset--color--secondary);
    border-radius: 50vw;
    color: white;
    display: flex;
    height: 38px;
    justify-content: center;
    margin-right: 9px;
    padding: 0;
    width: 38px;
}

.room-tile .room-details .room-links form a:where(:not(.wp-element-button)).link i.icn-link {
    margin-right: 9px;
    width: fit-content;
}

.room-tile .room-details .room-links form a:where(:not(.wp-element-button)).link {
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: var(--wp--preset--font-size--tiny);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.84px;
    line-height: 1;
    min-width: fit-content;
    text-transform: uppercase;
}

.room-tile .room-details .room-links a:where(:not(.wp-element-button)).link:hover {
    background-color: var(--background-color, transparent);
    text-decoration: underline;
}

.room-tile .room-details .room-links a:where(:not(.wp-element-button)).link:hover i.icn-link,
.room-tile .room-details .room-links form a:where(:not(.wp-element-button)).link:hover i.icn-link {
    background-color: var(--wp--preset--color--primary) !important;
}

.room-tile .room-details .room-links form button.button {
    font-size: var(--wp--preset--font-size--tiny);
}

.room-tile .slider-wrapper {
    border: 4px solid white;
    border-radius: 12px;
    box-shadow:
        0 71px 20px 0 rgba(205, 150, 130, 0),
        0 45px 18px 0 rgba(205, 150, 130, 0.01),
        0 25px 15px 0 rgba(205, 150, 130, 0.02),
        0 11px 11px 0 rgba(205, 150, 130, 0.04),
        0 3px 6px 0 rgba(205, 150, 130, 0.05);
    overflow: clip;
    overflow-clip-margin: content-box;
}

.room-tile .slider-wrapper:not(.splide) {
    aspect-ratio: 4 / 3;
}

.gform-theme--framework .modal-content .slider-wrapper,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper {
    background-color: var(--wp--preset--color--base);
    position: relative;
}

.room-tile .slider-wrapper img {
    aspect-ratio: 4 / 3;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.room-tile .slider-wrapper .villa {
    background-color: var(--bg-color, #805c50);
    border-radius: 50vw;
    color: var(--color, #fff);
    font-weight: 600;
    left: 0.75rem;
    min-width: fit-content;
    padding: 0.5rem 1rem;
    position: absolute;
    text-decoration: none;
    top: 0.75rem;
}

.room-details .room-price {
    align-items: flex-start;
    container-name: room-price;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    font-family: var(--wp--preset--font-family--freight-neo-pro);
    font-size: 1.75rem;
    font-weight: 600;
    height: fit-content;
    justify-content: flex-start;
    letter-spacing: 0.44px;
    line-height: 1.3;
    margin-block: 0.25rem;
}

.room-details .room-price span {
    align-items: flex-start;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 0.25rem;
}

@container room-price (width > 150px) {
    .room-details .room-price span {
        flex-wrap: nowrap;
    }
}

.room-details .room-price .standard-price,
.room-details .room-price .package-price {
    align-items: center;
    font-size: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.278), 1.375rem);
    line-height: 1.25;
}

.room-details .room-price .standard-price small,
.room-details .room-price .package-price small {
    color: var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--small);
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.32px;
    line-height: 1;
    text-decoration-line: line-through;
    text-decoration-thickness: 1px;
}

.room-details .room-price .standard-price .currency-code,
.room-details .room-price .package-price .currency-code {
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.44px;
    line-height: 1;
}

.room-details .room-price::before {
    content: attr(data-pricelabel);
    display: block;
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: var(--tile-font-size);
    font-weight: 300;
    letter-spacing: 0.8px;
    line-height: 1.3;
}

.room-details .room-price sup,
.room-details .modal-room-price sup {
    line-height: 1;
    position: relative;
    top: -0.25em;
    vertical-align: super;
}

.room-details .room-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-block: 1rem;
}

.room-details .room-feature-list .room-feature-row {
    align-items: center;
    display: flex;
    flex-direction: row;
    font-weight: 600;
    gap: 1rem;
    line-height: 1.3;
}

.single-room .room-details .room-price .package-price {
    display: none;
}

.villa-0 {
    --bg-color: #805c50;
    --color: #fff;
}

.villa-1 {
    --bg-color: #9c7162;
    --color: #fff;
}

.villa-2 {
    --bg-color: #ce9582;
    --color: #fff;
}

.villa-3 {
    --bg-color: #ffb8a1;
    --color: #000;
}

.villa-4 {
    --bg-color: #805c50;
    --color: #fff;
}

.villa-5 {
    --bg-color: #9c7162;
    --color: #fff;
}

.villa-6 {
    --bg-color: #ce9582;
    --color: #fff;
}

.villa-7 {
    --bg-color: #ffb8a1;
    --color: #000;
}

.gform-theme--framework .room-links a:not(.wp-element-button),
.room-tile .room-details .room-links a:not(.wp-element-button) {
    align-items: center;
    border: none;
    display: flex;
    justify-content: center;
    line-height: 1;
    min-block-size: 38px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    width: fit-content;
}

.slider-wrapper .splide__arrows,
.gform-theme--framework .modal-content .slider-wrapper .splide__arrows,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__arrows {
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 0 1rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.slider-wrapper .splide__arrows .splide__arrow {
    align-items: center;
    background-color: var(--wp--preset--color--secondary);
    border: none;
    border-radius: 50%;
    box-shadow: none;
    color: var(--wp--preset--color--white);
    cursor: pointer;
    display: flex;
    height: 1.5rem;
    justify-content: center;
    min-height: 1.5rem;
    min-width: 1.5rem;
    padding: 0;
    width: 1.5rem;
}

.slider-wrapper .splide__arrows .splide__arrow:hover {
    background-color: var(--wp--preset--color--primary);
    transform: scale(1.1);
}

.gform-theme--framework .modal-content .slider-wrapper .splide__arrows .splide__arrow,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__arrows .splide__arrow {
    align-items: center;
    background-color: var(--wp--preset--color--secondary);
    border: none;
    border-radius: 50%;
    box-shadow: none;
    color: var(--wp--preset--color--white);
    cursor: pointer;
    display: flex;
    height: 1.5rem;
    justify-content: center;
    min-height: 1.5rem;
    min-width: 1.5rem;
    padding: 0;
    width: 1.5rem;
}

.slider-wrapper .splide__arrows .splide__arrow svg {
    fill: currentcolor;
    height: 0.75rem;
    min-height: 0.75rem;
    min-width: 0.75rem;
    scale: 1;
    width: 0.75rem;
}

.slider-wrapper .splide__arrows .splide__arrow.splide__arrow--prev svg {
    transform: scaleX(-1);
}

.gform-theme--framework .room-links a:where(:not(.wp-element-button)).link i.icn-link svg,
.room-tile .room-details .room-links form a:where(:not(.wp-element-button)).link i.icn-link svg {
    fill: currentColor;
    height: 1rem;
    min-height: 1rem;
    min-width: 1rem;
    scale: 1;
    width: 1rem;
}

.slider-wrapper .splide__pagination .splide__pagination__page,
.slider-wrapper .splide__pagination .splide__pagination__page.is-active {
    background-color: var(--wp--preset--color--white);
    border: none;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
    display: block;
    height: 10px;
    min-height: 10px;
    min-width: 10px;
    padding: 0;
    transition: background-color 0.3s ease;
    width: 10px;
}

.slider-wrapper .splide__pagination .splide__pagination__page:hover,
.slider-wrapper .splide__pagination .splide__pagination__page.is-active {
    background-color: var(--wp--preset--color--secondary);
}

.gform-theme--framework .modal-content .slider-wrapper .splide__pagination .splide__pagination__page,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__pagination .splide__pagination__page {
    background-color: var(--wp--preset--color--white);
    border: none;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
    display: block;
    height: 10px;
    min-height: 10px;
    min-width: 10px;
    padding: 0;
    transition: background-color 0.3s ease;
    width: 10px;
}

.slider-wrapper .splide__pagination {
    bottom: 1rem;
    gap: 10px;
    left: 0;
    padding: 0 1rem;
    position: absolute;
    right: 0;
    z-index: 1;
}

.gform-theme--framework .modal-content .slider-wrapper .splide__pagination,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__pagination {
    bottom: 1rem;
    gap: 10px;
    left: 0;
    padding: 0 1rem;
    position: absolute;
    right: 0;
    z-index: 1;
}

.gform-theme--framework .modal-content .slider-wrapper .splide__pagination .splide__pagination__page:hover,
.gform-theme--framework .modal-content .slider-wrapper .splide__pagination .splide__pagination__page.is-active,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__pagination .splide__pagination__page:hover,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__pagination .splide__pagination__page.is-active {
    background-color: var(--wp--preset--color--secondary);
}

.gform-theme--framework .modal-content .slider-wrapper .splide__arrows .splide__arrow:hover,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__arrows .splide__arrow:hover {
    background-color: var(--wp--preset--color--primary);
    transform: scale(1.1);
}

.modal-content .room-links form button.button:hover {
    background-color: var(--wp--preset--color--primary);
}

.room-tile .room-details .room-links .button:hover,
.room-tile .room-details .room-links button.button:hover {
    background-color: var(--wp--preset--color--primary);
}

.slider-wrapper .splide__arrows .splide__arrow[disabled],
.slider-wrapper .splide__arrows .splide__arrow[disabled]:hover {
    background-color: var(--wp--preset--color--secondary);
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.slider-wrapper .splide__arrows .splide__arrow[disabled]:hover {
    background-color: var(--wp--preset--color--secondary);
    transform: none;
}

.gform-theme--framework .modal-content .slider-wrapper .splide__arrows .splide__arrow[disabled],
.gform-theme--framework .modal-content .slider-wrapper .splide__arrows .splide__arrow[disabled]:hover,
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__arrows .splide__arrow[disabled],
.gform-theme--framework .rooms-villa-wrapper .room-tile .slider-wrapper .splide__arrows .splide__arrow[disabled]:hover {
    background-color: var(--wp--preset--color--secondary);
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}
