/*
    Theme Name: hotel-villa-varadero-2026-08-31
    Theme URI: hotel-villa-varadero-2026-08-31
    Description: hotel-villa-varadero-2026-08-31
    Author:       Mirai Dev Team
    Author URI:   http://mirai.com
    Template: mirai-ma
    Version:      1.0.0
    License:      GNU General Public License v2 or later
    License URI:  http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain:  mirai-maai
*/

/*************************************/
/********** GENERAL STYLES **********/
/***********************************/

:root {
    /***** SPACES *****/
    --mft-space-5xs: 4px;
    --mft-space-4xs: 8px;
    --mft-space-3xs: 12px;
    --mft-space-2xs: 16px;
    --mft-space-xs: clamp(16px, calc(16px + (24 - 16) * ((100vw - 1180px) / (1920 - 1180))), 24px);
    --mft-space-s: clamp(24px, calc(24px + (32 - 24) * ((100vw - 1180px) / (1920 - 1180))), 32px);
    --mft-space-m: clamp(32px, calc(32px + (40 - 32) * ((100vw - 1180px) / (1920 - 1180))), 40px);
    --mft-space-l: clamp(32px, calc(32px + (48 - 32) * ((100vw - 1180px) / (1920 - 1180))), 48px);
    --mft-space-xl: clamp(32px, calc(32px + (56 - 32) * ((100vw - 1180px) / (1920 - 1180))), 56px);
    --mft-space-2xl: clamp(48px, calc(48px + (64 - 48) * ((100vw - 1180px) / (1920 - 1180))), 64px);
    --mft-space-3xl: clamp(48px, calc(48px + (80 - 48) * ((100vw - 1180px) / (1920 - 1180))), 80px);
    --mft-space-4xl: clamp(48px, calc(48px + (96 - 48) * ((100vw - 1180px) / (1920 - 1180))), 96px);
    --mft-space-5xl: clamp(48px, calc(48px + (160 - 48) * ((100vw - 1180px) / (1920 - 1180))), 160px);

    /***** CONTAINERS *****/
    --width-s: 900px;
    --width-m: 1280px;
    --width-l: 1920px;
    --container-legal: 1080px;

    /***** MIN-HEIGHT FOR IMG *****/
    --min-height-xs: clamp(220px, 40vh, 450px);
    --min-height-s:  clamp(313px, 50vh, 550px);
    --min-height-m:  clamp(406px, 55vh, 650px);
    --min-height-l:  clamp(500px, 70vh, 750px);

    /***** CALCULATE THE HEADER HEIGHT BY JQ *****/
    --mft-min-height-header: 0px;

    /***** BORDER RADIUS *****/
	--mft-border-radius: 0px;

    /***** STYLES BORDERS BTN *****/
	--mft-btn-border-radius: 0px;
    --mft-btn-border-style: 2px solid;
}

html {
    overflow-x: hidden;
}

body,
a,
a:hover {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    text-transform: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, p {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    word-spacing: inherit;
    text-rendering: optimizelegibility;
}

strong {
    font-weight: 700;
}

/***** SPACE BETWEEN SECTIONS *****/
.mft-space-section-t { padding-top: var(--mft-space-4xl); }

.mft-space-section-b { padding-bottom: var(--mft-space-4xl); }

/***** CONTAINERS ******/
.elementor-element:where(.mft-container-s, .mft-container-m, .mft-container-l) {
    margin: 0 auto;
    box-sizing: border-box;
}

.mft-container-s.elementor-element { max-width: var(--width-s); }

.mft-container-m.elementor-element { max-width: var(--width-m); }

.mft-container-l.elementor-element { max-width: var(--width-l); }

/***** WIDGET IMG RESPONSIVE - makes the image cover and adapt to the container *****/
.mft-bg-img .elementor-element:not(.mft-wrapper-content),
.mft-bg-img .elementor-element :where(.elementor-widget-image, .e-n-carousel.swiper, .elementor-widget-container) {
    height: 100%;
}

.mft-bg-img .elementor-element .elementor-widget-image img,
.mft-bg-img .elementor-element .elementor-widget-container img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.mft-minh-xs { min-height: var(--min-height-xs); }

.mft-minh-s { min-height: var(--min-height-s); }

.mft-minh-m { min-height: var(--min-height-m); }

.mft-minh-l { min-height: var(--min-height-l); }

/***** FIX MOBILE ICON BOX *****/
@media (max-width: 767px) {
    .elementor-widget-icon-box.elementor-vertical-align-middle:where(.elementor-position-left, .elementor-position-right):not(.elementor-mobile-position-top) .elementor-icon-box-wrapper,
    .elementor-widget-icon-box.elementor-vertical-align-middle:where(.elementor-position-left, .elementor-position-right) .elementor-icon-box-icon {
        display: flex;
        align-items: center;
    }
}

/****** 404 PAGE ******/
.not-found-page {
    display: table;
    margin-bottom: 0;
    width: 100%;
    min-height: 570px;
    text-align: center;
    background: url(https://static-resources-elementor.mirai.com/common/bg-404.png) no-repeat center center transparent;
}

.not-found-page span {
    display: table-cell;
    font-size: 18px;
    vertical-align: middle;
}

/***** Hiding Recaptcha badge *****/
.grecaptcha-badge {
    visibility: hidden;
}

/***** To make the language selector visible in modal *****/
.wpml-ls-legacy-dropdown-click:hover .wpml-ls-sub-menu {
    visibility: visible;
}

/***** Hide Quicktext chatbot when opening a finder modal in mobile and when opening an Elementor popup *****/
body:has(ui-modal-overflow[class*="_visible"]) #qt-button-frame,
body:has(.dialog-widget [data-mirai-component]) #qt-button-frame {
    visibility: hidden;
}

/* Press the default focus of the WordPress submenu */
.mft-popup-menu .menu-item a:focus {
    color: inherit;
    background: transparent;
}

/***********************************************/

/*********** STYLES THROUGH CLASSES ***********/

/*********************************************/

/***** FROM ABSOLUTE TO RELATIVE - change an absolute element to a relative element from 1024px and above *****/
@media (max-width: 1024px) {
    .mft-relative-tb {
        position: relative;
    }
}

/***** UTILITY CLASS - Screen Reader Only (Hide only visually keeping accessibility) *****/
.mft-sr-only:where(.elementor-widget-icon-box) .elementor-icon-box-title {
    position: absolute;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    width: 1px;
    border: 0;
    clip-path: inset(50%);
    clip: rect(0, 0, 0, 0);
}

.mft-sr-only:is(.elementor-widget-icon-box) .elementor-icon-box-icon {
    margin-right: 0px;
}

/***** SEPARATOR LINE BETWEEN TITLE AND TEXT *****/
.mft-divider.elementor-element {
    width: 70px !important;
    border-top: 3px solid var(--e-global-color-primary);
}

.mft-divider-white.elementor-element {
    border-top: 3px solid var(--e-global-color-47eea86e);
}

/***** MOVE THE MOTOR ON Y-AXIS - to put the engine half on the hero image and half off the hero image - USED IN HERO 2 ******/
.mft-booking-translateY .elementor-widget-Mirai-Finder {
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.10);
    translate: 0 -50%;
}

/***** CHANGE THE COLOUR OF TEXT AND BUTTONS ON A COLOURED BACKGROUND *****/
/* on a dark background - variable white colour */
.mft-light-text,
.mft-light-text .elementor-button[class^='mft-btn'] {
    color: var(--e-global-color-47eea86e);
    fill: var(--e-global-color-47eea86e);
}

/* on a light background - variable black colour */
.mft-dark-text,
.mft-dark-text .elementor-button[class^='mft-btn'] {
    color: var(--e-global-color-21f8c9b7);
    fill: var(--e-global-color-21f8c9b7);
}

/***** DYNAMIC CHANGE OF TEXT AND IMAGE BOXED ALTERNATELY ******/
.mft-alternative-box:nth-child(even of .mft-alternative-box),
.mft-alternative-box:nth-child(even of .mft-alternative-box) .e-con-inner {
    flex-direction: row-reverse;
}

/* remove the 15px side padding from the parent Elementor container (elementor-fix.css) */
.elementor-section.elementor-section-boxed > .elementor-container:has(> .offers-listing-1) {
    padding-left: 0;
    padding-right: 0;
}

/********************************/

/*********** BUTTONS ***********/

/******************************/

/***** GENERIC BUTTON STYLES *****/
.elementor-button[class^='mft-btn'] {
    display: inline-flex !important;
	justify-content: center;
    align-items: center;
    padding: var(--mft-space-4xs) var(--mft-space-xs);
    font-family: var(--e-global-typography-6d2edf1-font-family);
    font-size: var(--e-global-typography-6d2edf1-font-size);
    font-weight: var(--e-global-typography-6d2edf1-font-weight);
    text-transform: var(--e-global-typography-6d2edf1-text-transform);
    line-height: var(--e-global-typography-6d2edf1-line-height);
    letter-spacing: var(--e-global-typography-6d2edf1-letter-spacing);
    fill: inherit;
    background-color: transparent;
    border-radius: var(--mft-btn-border-radius);
    min-width: clamp(44px, calc(44px + (52 - 44) * ((100vw - 1281px) / (1920 - 1281))), 52px);
	min-height: clamp(44px, calc(44px + (52 - 44) * ((100vw - 1281px) / (1920 - 1281))), 52px);
    transition: all .3s ease;
}

.mft-btn-width-100 .mft-btn {
    width: 100%;
}

@media(max-width: 767px) {
    .mft-btn-width-100-mb, 
    .elementor-element.mft-btn-width-100-mb a {
        width: 100%;
    }
}

/* fixed extra heigth span icon */
.elementor-button .elementor-button-icon {
    display: flex;
    align-items: center;
}

/* when hovering */
@media (hover: hover) and (pointer: fine) {
    .mft-btn .elementor-button-text::after {
        content: "\f054";
        opacity: 0;
        padding-left: 10px;
        font-family: 'fap-regular';
        font-size: 12px;
        transition: all .3s ease;
    }
    .mft-btn:not(.mft-btn-4) .elementor-button-content-wrapper {
        align-items: center;
        translate: 11px 0;
        transition: all .3s ease;
    }
    .elementor-button.mft-btn:hover .elementor-button-text::after {
        opacity: 1;
    }
    .elementor-button.mft-btn:hover .elementor-button-content-wrapper {
        translate: 0 0;
    }
}

/***** BTN - 1 - As the Finder Button *****/
.elementor-button.mft-btn-1 {
    color: var(--mirai-finder-button-color);
    fill: var(--mirai-finder-button-color);
    background-color: var(--mirai-finder-button-background);
    border: var(--mft-btn-border-style) var(--mirai-finder-button-background);
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-1:hover {
        color: var(--mirai-finder-button-color-active);
        fill: var(--mirai-finder-button-color-active);
        background-color: var(--mirai-finder-button-background-active);
        border-color: var(--mirai-finder-button-background-active);
    }
}

/***** BTN - 2 *****/
.elementor-button.mft-btn-2 {
    color: var(--e-global-color-47eea86e);
    fill: var(--e-global-color-47eea86e);
    background-color: var(--e-global-color-primary);
    border: var(--mft-btn-border-style) var(--e-global-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-2:hover {
        color: var(--e-global-color-47eea86e);
        fill: var(--e-global-color-47eea86e);
        background-color: var(--e-global-color-13f4851a);
        border-color: var(--e-global-color-13f4851a);
    }
}

/***** BTN - 3 *****/
.elementor-button.mft-btn-3 {
    color: var(--e-global-color-primary);
    fill: var(--e-global-color-primary);
    background-color: transparent;
    border: var(--mft-btn-border-style);
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-3:hover {
        color: var(--e-global-color-47eea86e);
        fill: var(--e-global-color-47eea86e);
        background-color: var(--e-global-color-primary);
        border-color: var(--e-global-color-primary);
    }
}

/***** BTN - 4 *****/
.elementor-button.mft-btn-4 {
    position: relative;
    padding: 0;
    color: var(--e-global-color-primary);
    fill: var(--e-global-color-primary);
    background-color: transparent;
	min-height: unset;
}

.mft-btn.mft-btn-4 .elementor-button-text {
    position: relative;
    padding-bottom: 5px;
}

.mft-btn.mft-btn-4 .elementor-button-text::after {
    padding-left: 0;
    font-size: 0;
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-4:hover {
        color: var(--e-global-color-primary);
        fill: var(--e-global-color-primary);
    }
    .elementor-button.mft-btn.mft-btn-4:hover .elementor-button-text::after {
        opacity: 1;
        padding-left: 10px;
        font-size: 12px;
    }
}

/* underline */
a.elementor-button.mft-btn-4::before {
    content: "";
    position: absolute;
    inset: 100% 0 0 0;
    width: 100%;
    height: 2px;
    background: var(--e-global-color-primary);
}

.mft-light-text a.elementor-button.mft-btn-4::before,
.mft-light-text a.elementor-button.mft-btn-4:hover::before {
    background: var(--e-global-color-47eea86e);
}

.mft-light-text .elementor-button.mft-btn-4:hover {
    color: var(--e-global-color-47eea86e);
}

.mft-dark-text a.elementor-button.mft-btn-4::before,
.mft-dark-text a.elementor-button.mft-btn-4:hover::before {
    background: var(--e-global-color-21f8c9b7);
}

.mft-dark-text .elementor-button.mft-btn-4:hover {
    color: var(--e-global-color-21f8c9b7);
}

@media (hover: hover) and (pointer: fine) {
    /* color hover underline */
	a.elementor-button.mft-btn-4:hover::before {
        background: var(--e-global-color-primary);
    }
}

/***** BUTTON SIZE BUTTONS ADAPTED TO THE CONTAINER AND RESPONSIVE *****/
.mft-wrapper-btn .mft-btn-width.elementor-element a {
    display: block;
    width: 100%;
    text-align: center;
}

/******************************************************/

/*********** ARROWS & DOTS CAROUSEL STYLES ***********/

/*****************************************************/

/***** ARROWS *****/
.mft-arrows-carousel-styles .elementor-swiper-button i {
    padding: 12px 15.75px;
    font-family: 'fap-regular' !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    color: var(--e-global-color-21f8c9b7);
	background: var(--e-global-color-47eea86e);
    border-radius: 50%;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.16);
    transition: color .3s  ease-out, background .3s  ease-out;
}

.mft-arrows-carousel-styles .elementor-swiper-button:hover i {
    color: var(--e-global-color-47eea86e);
    background: var(--e-global-color-primary);
}

.mft-arrows-carousel-styles .elementor-swiper-button-prev i::before {
    content: "\2329";
}

.mft-arrows-carousel-styles .elementor-swiper-button-next i::before {
    content: "\f054";
}

/* when the arrows are just lines */
.mft-arrows-carousel-styles.mft-arrows-carousel-styles-line .elementor-swiper-button i {
    color: var(--e-global-color-21f8c9b7);
    border: 1px solid var(--e-global-color-21f8c9b7);
    background: transparent;
    box-shadow: none;
}

.mft-arrows-carousel-styles.mft-arrows-carousel-styles-line .elementor-swiper-button:hover i {
	color: var(--e-global-color-47eea86e);
	border: 1px solid var(--e-global-color-primary);
    background: var(--e-global-color-primary);
}

/*Hide arrows on mobile*/
@media screen and (max-width: 767px) {
	.mft-arrows-carousel-styles.mft-arrows-hide-mb .elementor-swiper-button {
		display: none !important
	}
}

/***** DOTS *****/
.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 5px;
    background: var(--e-global-color-610777e);
    transition: opacity .3s ease-out, background .3s ease-out;
}

.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet:hover,
.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background:  var(--e-global-color-primary);
}

/* DOTS AS LINES */
/*.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet {
    width: var(--mft-space-xs);
    height: 2px;
    overflow-y: auto !important;
    max-height: calc(100dvh - 120px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active  {
	width: calc(var(--mft-space-xs) * 2);
}*/

/******************************************/

/*********** AUTOSCROLL POPUPS ***********/

/****************************************/

/***** AUTOSCROLL *****/
.elementor-popup-modal:has(.mft-scrolly-auto) .dialog-message {
    overflow: hidden;
}

.mft-scrolly-auto {
	overflow: hidden !important;
	overflow-y: auto !important;
	max-height: calc(100dvh - 120px);
	-webkit-overflow-scrolling: touch;
  	overscroll-behavior: contain;
}

/***** SCROLL BAR STYLES *****/
.mft-modal-scroll::-webkit-scrollbar {
    width: 5px;
}

.mft-modal-scroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var( --e-global-color-primary);
    border-radius: 2px;
}

.mft-modal-scroll::-webkit-scrollbar-thumb {
    background-color: var( --e-global-color-primary);
    border-radius: 2px;
    transition: background .3s;
}

.mft-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: var( --e-global-color-primary);
}

/**************************************/

/*********** STYLE FORM ***********/

/************************************/

.mft-acceptance-form {
    font-family: "Helvetica";
    font-size: 12px;
    font-weight: 400;
    color: #333333;
}

.mft-acceptance-form a,
.mft-acceptance-form a:hover {
    text-decoration: underline;
    font-weight: bold;
}

.mft-mandatory-form {
    color: #d32f2f;
}

.mft-form-style input,
.mft-form-style textarea,
.mft-form-style select {
    padding-top: 20px !important;
}

.mft-form-style input:focus,
.mft-form-style textarea:focus,
.mft-form-style select:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--corporative-color) 50%, transparent) !important;
}

.mft-form-style .elementor-field-group:not(.elementor-field-type-acceptance) label {
    position: absolute;
    top: 12px;
    left: 35px;
    z-index: 1;
    transition: all 0.3s ease;
}

.mft-form-style label:not(:has(a)) {
    pointer-events: none;
}

.mft-form-style label,
.mft-form-style .elementor-field-group .elementor-field-textual {
    font-family: "Helvetica";
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.mft-form-style .elementor-field-group .elementor-field-textual {
    padding-left: 19px;
    color: #333;
    border: 1px solid #DDDDDD;
}

.mft-form-style .elementor-field-group:has(input:focus) label,
.mft-form-style .elementor-field-group:has(textarea:focus) label,
.mft-form-style .elementor-field-group:has(select:focus) label,
.mft-form-style .elementor-field-group:has(input:not(:placeholder-shown)) label,
.mft-form-style .elementor-field-group:has(textarea:not(:placeholder-shown)) label,
.mft-form-style .elementor-field-group:has(select:valid) label {
    top: 5px;
    font-size: 12px !important;
}

.mft-form-style .elementor-field-type-submit .elementor-button {
    background-color: var(--mirai-ui-button-background);
}

.mft-form-style .elementor-field::placeholder,
.mft-form-style .elementor-field-group label:after {
    color: transparent !important;
}

.mft-form-style .eicon-caret-down:before {
    content: "\f078";
    font-family: 'fap-regular' !important;
    font-size: 10px;
    font-weight: normal;
}

.mft-form-style .elementor-field-type-acceptance .elementor-field-option {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.mft-form-style .elementor-field-type-acceptance label {
    position: static !important;
    padding-left: 0 !important;
    cursor: pointer;
    line-height: 1.7;
}

.mft-form-style .elementor-field-type-acceptance input[type="checkbox"] {
    appearance: auto; 
    accent-color: var(--corporative-color, #000);
    width: 16px;
    height: 16px;
    margin-top: 2px !important;
    padding-top: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

/*********************************/

/************* WPML *************/

/*******************************/

.wpml-elementor-ls {
    display: flex;
    align-items: center;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
    min-height: 21px;
    padding-right: 0;
}

.wpml-ls-legacy-dropdown-click a {
    padding: 1px 10px 1px 25px;
    color: var(--e-global-color-bd9d5b8);
    border: none;
}

/* Languges on submenu */
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
    color: #000;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-item-toggle {
    background-color: transparent;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
    display: none;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::before {
    content: "\1f310";
    position: absolute;
    left: 0;
    font-family: 'fap-regular';
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-link {
    padding: 7px 10px 7px 10px;
    text-align: center;
    background-color: var(--e-global-color-47eea86e);
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
    border-width: 0;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
    border-top: none;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.16);
    transition: .3s ease-in-out;
}

.wpml-ls-legacy-dropdown-click {
    transition: .3s ease-in-out;
}

.wpml-ls-legacy-dropdown-click a:focus {
    background: #dddbd9;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-link {
    position: relative;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-link::after {
    content: "";
    position: absolute;
    inset: auto 50% 3px;
    width: 20px;
    height: 2px;
    background: transparent;
    transform: translateX(-50%);
    transition: .3s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
    .wpml-ls-legacy-dropdown-click a:hover {
        color: var(--e-global-color-fc842eb);
    }
    .wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a,
	.wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a::after {
        color: var(--e-global-color-fc842eb);
        background: transparent;
    }
    .wpml-ls-legacy-dropdown-click a.wpml-ls-link:hover::after {
        background: var(--e-global-color-fc842eb);
    }
}

@media (max-width: 1024px) {
    /* hide native language and arrow in tb */
    .wpml-ls-legacy-dropdown-click .wpml-ls-current-language a.wpml-ls-item-toggle .wpml-ls-native,
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
        display: none;
    }
    /* to remove the space after hiding the arrow */
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
        padding-right: 0;
    }
    /* the space for the language drop-down */
    .wpml-ls-legacy-dropdown-click a {
        padding: 0;
    }
    .wpml-ls-legacy-dropdown-click a.wpml-ls-link {
        padding: 5px 0;
        font-size: 13px;
    }
}

/****************************************/

/***** START LEGAL PAGE TEXT WIDGET *****/

/****************************************/

/***** COOKIES POLICY ******/
.cookies-section,
.mft-legal-text {
    max-width: var(--container-legal) !important;
    margin: 0 auto;
    box-sizing: border-box;
}

.cookies-section {
    padding: var(--mft-space-4xl) 0;
}

.cookies-section a {
    font-weight: bold;
    transition: color .3s ease-in-out;
}

.cookies-section a:hover {
    color: var(--e-global-color-primary);
}

.cookies-section .elementor-widget-wrap .elementor-widget-heading:first-child .mi-title3 {
    display: none;
}

/***** LEGAL NOTICE ******/

/* Heading H1 */
.mft-legal-text h1,
.cookies-section .elementor-widget-wrap .elementor-widget-heading:first-child .mi-title3,
.blog-single-post .elementor-widget-theme-post-title h1,
.elementor-widget-single-job-title h1 {
    padding-bottom: 20px;
    font-family: var(--e-global-typography-primary-font-family) !important;
    font-size: var(--e-global-typography-primary-font-size) !important;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
    line-height: var(--e-global-typography-primary-line-height) !important;
    color: var(--e-global-color-text) !important;
}

/* Heading H2 */
.mft-legal-text h2,
.cookies-section .mi-title3,
.blog-single-post h2,
.single_job_listing h2 {
    padding-bottom: 20px;
    font-family: sans-serif;
    font-size: clamp(28px, calc(28px + (36 - 28) * ((100vw - 360px) / (1920 - 360))), 36px);
    font-weight: 700;
    line-height: var(--e-global-typography-secondary-line-height);
}

/* Heading H3*/
.mft-legal-text h3,
.blog-single-post h3,
.single_job_listing h3 {
    padding-bottom: 20px;
    font-family: sans-serif;
    font-size: clamp(21px, calc(21px + (24 - 21) * ((100vw - 360px) / (1920 - 360))), 24px);
    font-weight: 700;
    line-height: var(--e-global-typography-accent-line-height);
}

/* Heading H4*/
.mft-legal-text h4 {
    padding-bottom: 20px;
    font-family: Sans-serif;
    font-size: clamp(19px, calc(19px + (20 - 19) * ((100vw - 360px) / (1920 - 360))), 20px);
    font-weight: 700;
    line-height: var(--e-global-typography-962030d-line-height);
}

.mft-legal-text h1 {
    margin: 0 0 30px;
}

.mft-legal-text h2 {
    margin: 45px 0 0;
}

.mft-legal-text h3,
.mft-legal-text h4,
.cookies-section .mi-title3 {
    margin: 30px 0 0;
}

/* LINKS */
.mft-legal-text a {
    overflow-wrap: break-word;
    text-wrap: wrap;
    text-decoration: none;
    color: var(--e-global-color-primary);
    transition: .3s ease-in-out;
}

.mft-legal-text a:hover {
    color: var(--e-global-color-13f4851a);
}

.mft-legal-text a span {
    color: inherit !important;
}

/* SPACE AFTER ELEMENTS */
.mft-legal-text :where(p, ul, ol, span) {
    margin-bottom: 15px;
}

/* LISTS */
.mft-legal-text ol {
    padding-left: 18px;
}

.mft-legal-text ol li {
    margin-bottom: 5px;
    overflow-wrap: break-word;
    list-style: circle outside none;
}

.mft-legal-text ul {
    padding-left: 35px;
}

.mft-legal-text ul li {
    margin-bottom: 5px;
    overflow-wrap: break-word;
    list-style: disc outside none;
}

/* TABLE STYLE */
.mft-legal-text table tr:first-child {
    color: var(--e-global-color-47eea86e);
    background-color: var(--e-global-color-d9f1a36);
}

/* Table general styles */
.mft-legal-text table {
    margin: 30px 0;
    width: 100%;
    font-size: 1em;
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
}

@media (max-width:1023px) {
    .mft-legal-text table {
        display: block;
        overflow-x: auto;
        max-width: 100%;
    }
}

/* Table cell padding and styles */
.mft-legal-text table :where(td, th) {
    padding: 15px;
    min-width: 200px;
    line-height: 1.5em;
    border: 1px solid var(--e-global-color-15b9b07);
    vertical-align: top;
}

/* Background of odd table rows */
.mft-legal-text table tbody > tr:nth-child(odd) > :where(td, th) {
    background-color: #09090912;
}

.mft-legal-text table a:hover {
    text-decoration: none;
}

/**************************************/

/*********** DYNAMIC PAGES ***********/

/************************************/

/***** GENERAL STYLE *****/

/* ICONS -- these icons are painted on the room detail and offer pages */
a.back-link::before, 
a:where(.fwd-link, .down-link)::after {
    content: "\f060";
    display: inline-block;
    margin: 0 .5em;
    font-family: 'fap-regular' !important;
    font-size: .85em;
    font-weight: normal;
    text-decoration: none;
    line-height: .85em;
    transition: all .2s ease-out;
    vertical-align: middle;
}

a.fwd-link::after {
    content: "\f060";
}

a.down-link::after {
    content: "\f078";
}

a.fwd-link:hover, 
.back a:hover,
a.down-link:hover {
    text-decoration: none;
}

a.fwd-link:hover::after {
    margin-left: 1em;
    margin-right: 0;
}

.back a:hover::before {
    margin-right: 1em;
    margin-left: 0;
}

a.down-link:hover::after {
    transform: translateY(0.3em);
}

/* container */
.rooms-listing-wrapper,
.rooms-detail-wrapper,
.offers-listing-wrapper,
.offers-detail-wrapper {
    max-width: var(--width-m);
    margin: 0 auto;
    box-sizing: border-box;
}

/* titles rooms & detail room */
.rooms-listing-wrapper h2,
.rooms-listing-wrapper .room-box h3 a,
.rooms-detail-wrapper :where(h2, h3) {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
    text-decoration: none;
    text-transform: none;
    transition: .3s ease-in-out;
}

.rooms-listing-wrapper h2 {
    display: none;
}

/* hover title room */
.rooms-listing-wrapper .room-box h3 a:hover {
    color: var(--e-global-color-primary) !important;
}

.offers-listing-wrapper h2, /* title intro offer */
.offers-listing .offer .offer-title, /* title offer */
.offers-detail-wrapper .offer-wrapper .offer-title, /* title offer detail */
.offers-listing-4 .offer-text h3 /* title card offer tpl 4*/ {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
}

.offers-listing .offer .offer-title {
    /*width: 100%;*/
    font-size: 27px;
}

/* decoration title underlined */
/*.offers-listing .offer .offer-title::after,
.offers-detail-wrapper .offer-header-content-wrapper .offer-title::after {
    content: "";
    display: block;
    margin: var(--mft-space-2xs) 0;
    width: 70px;
    height: 3px;
    font-family: var(--e-global-typography-6d2edf1-font-family), Sans-serif;
    font-size: var(--e-global-typography-6d2edf1-font-size);
    font-weight: var(--e-global-typography-6d2edf1-font-weight);
    color: var(--e-global-color-47eea86e);
    background: var(--e-global-color-primary);
    background-color: var(--e-global-color-primary);
    border: 2px solid var(--e-global-color-primary);
    transition: all .3s ease;
}*/

.rooms-detail-wrapper .room-gallery > .elementor-container {
    max-width: 900px;
}

/***** btn - offer-button *****/
.rooms-listing-wrapper .room-box a.more-info,
.offers-listing .offer .offer-button {
	padding: var(--mft-space-2xs) var(--mft-space-xs);
}

/* hover btn - offer-button */
.rooms-listing-wrapper .room-box a.more-info:hover,
.offers-listing .offer .offer-button:hover {
    background-color: var(--e-global-color-13f4851a);
    border: 2px solid var(--e-global-color-13f4851a);
}

/***** btn - ver habitación (mismo estilo que los botones de la web) *****/
.rooms-listing-wrapper .room-box .room-intro a {
    padding: 12px 24px;
    background-color: transparent;
    color: var(--e-global-color-primary);
    border: 2px solid var(--e-global-color-primary);
    border-radius: 30px;
    font-family: var(--e-global-typography-6d2edf1-font-family), sans-serif;
    font-size: var(--e-global-typography-6d2edf1-font-size);
    font-weight: var(--e-global-typography-6d2edf1-font-weight);
    line-height: 1.5;
    transition: all .3s ease;
}

.rooms-listing-wrapper .room-box .room-intro a:hover,
.rooms-listing-wrapper .room-box .room-intro a:focus {
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-47eea86e);
    border-color: var(--e-global-color-primary);
}

/* btn - more information */
.rooms-listing-wrapper .room-box a.more-info,
.rooms-listing-wrapper .room-box .room-intro a {
	display: block !important;
	margin-top: var(--mft-space-m);
	width: max-content;
	text-decoration: none !important;
}

/* btn -  offer-button */
.offers-listing .offer .offer-button {
    position: relative !important;
    bottom: 0;
    right: 0;
    display: inline-block;
    margin-left: var(--mft-space-xs);
}

/* price-box - room-listing */
.rooms-listing-wrapper .room-image .price-box {
    background-color: #005DA8;
}

.room-box .room-content ul.exclusive-services {
    margin: 15px 0;
    padding-left: 0;
}

/* btn - more information full width & center mobile */
@media (max-width:767px) {
    .rooms-listing-wrapper .room-box a.more-info,
	.rooms-listing-wrapper .room-box .room-intro a {
        width: auto;
        text-align: center;
    }
    .offers-listing .offer .offer-button {
        display: block;
    }
}

/* room-color - list */
.rooms-listing-wrapper .room-box h3 a,
.rooms-listing-wrapper .room-box h3 a:visited {
    color: #DC0C63;
}

/***** icons and room description text *****/
.rooms-listing-1 .room-box .room-detail ul li {
    font-weight: 500;
}

.rooms-listing-wrapper .room-box .room-detail ul li span:where(.occupancies-ico, .size-ico, .distibution-ico) {
    width: auto;
    height: auto;
    background-image: none !important;
}

.rooms-listing-wrapper .room-box .room-detail ul li span:where(.occupancies-ico, .size-ico, .distibution-ico)::before {
    padding-right: 5px;
    font-family: 'fap-regular' !important;
    font-weight: normal;
    font-size: 25px;
    color: var(--e-global-color-primary);
}

.rooms-listing-wrapper .room-box .room-detail ul li span.occupancies-ico::before {
    content: "\1f464";
}

.rooms-listing-wrapper .room-box .room-detail ul li span.size-ico::before {
    content: "\f05a";
}

.rooms-listing-wrapper .room-box .room-detail ul li span.distibution-ico::before {
    content: "\1f6cf";
}

.offers-listing-wrapper.no-offers {
    padding: 50px 24px;
    text-align: center;
}

/********** TEMPLATES ROOMS **********/

/* ROOM TEMPLATE 1 */
.rooms-listing-1 .room-box .room-detail ul {
    margin: 0;
    padding: var(--mft-space-m) 0;
    text-align: left;
    background: transparent !important;
}

.rooms-listing-1 .room-box .room-detail ul li {
    width: auto !important;
    padding-right: var(--mft-space-s);
}

.rooms-listing-1 .room-box .room-content .room-price {
    border-top: none;
}

.rooms-listing-1 .room-box .room-content .room-price .box-from .box-price,
.rooms-listing-1 .room-box .room-content .room-price .box-from .price-description {
    color: var(--e-global-color-text);
}

.rooms-listing-1 .room-box .room-content .room-price .box-from .box-price {
    font-weight: bold;
}

.rooms-listing-1 .room-box .room-content .room-price .box-from .box-price span {
    font-size: 16px;
}

@media (min-width:1025px) {
    .rooms-listing-1 .room-box .room-detail {
        padding: 0 var(--mft-space-m) !important;
    }
    .rooms-listing-1 .room-box .room-content {
        padding: 0 var(--mft-space-m) var(--mft-space-m) !important;
    }
}

/* ROOM TEMPLATE 2 */
.rooms-listing-2 .room-box {
    border: none;
}

.rooms-listing-2 .room-box .room-detail {
    padding: 0px 2%;
}

@media (min-width:979px) {
    .rooms-listing-2 .room-box .room-image,
	.rooms-listing-2 .room-box .room-detail {
        width: 50%;
    }
    .rooms-listing-2 .room-box .room-detail ul {
        left: auto;
        width: 50%;
    }
}

@media (max-width:979px) {
    .rooms-listing-2 .room-detail h3 {
        padding-top: var(--mft-space-m);
    }
}

/* ROOM TEMPLATE 3 */
.rooms-listing-3 .room-item h3 {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
    background-color: rgb(32 32 32 / 60%);
}

.rooms-listing-3 a.room-image-link img {
    transition: all .3s ease;
}

.rooms-listing-3 a.room-image-link:hover img {
    filter: brightness(0.8);
}

.rooms-listing-3 .room-item .min-price {
    color: var(--e-global-color-47eea86e);
    background-color: var(--e-global-color-primary);
}

/* ROOM TEMPLATE 4 */
.rooms-listing-4 .room-box .room-image-link {
    position: relative;
    min-height: 400px;
}

.rooms-listing-4 .room-box .room-image-link img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.rooms-listing-4 .room-box .room-content {
    background-color: var(--e-global-color-f79e654) !important;
}

/* ROOM TEMPLATE 5 */
.rooms-listing-5 li.item-service::marker {
    font-size: 0;
}

li.item-service:before{
    content: "\f00c";
    font-family: 'fap-regular';
    margin-right: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

@media (min-width: 768px) {
    .rooms-listing-5 .room-box {
        padding: 0 var(--mft-space-l) var(--mft-space-l) var(--mft-space-l);
        background-color: transparent !important;
    }
}
    .rooms-listing-5 .room-name,
	.rooms-listing-5 .room-intro {
        padding-right: var(--mft-space-l);
        padding-left: 0;
    }
    .rooms-listing-5 .room-box:nth-child(odd) .room-name,
	.rooms-listing-5 .room-box:nth-child(odd) .room-intro {
        padding-left: var(--mft-space-l);
        padding-right: 0;
    }
}

@media (max-width:767px) {
    .rooms-listing-wrapper .room-box .room-content {
        padding-top: var(--mft-space-m) !important;
    }
    .rooms-listing-4 .room-box .room-image-link {
        min-height: 200px;
    }
    .rooms-listing-4 .room-box .room-content {
        background-color: transparent !important;
    }
}

/* decomment when requesting centred content - for all templates*/
/*.rooms-listing-wrapper .room-detail,
.rooms-listing-wrapper .room-box .room-detail ul,
.rooms-listing-wrapper .room-box .room-content,
.rooms-listing-5 .room-name,
.rooms-listing-5 .room-description {
    flex-wrap: wrap;
    gap: var(--mft-space-l);
    padding-top: var(--mft-space-l);
    text-align: center !important;
}*/

/* centring for template 2 and 4 */
/*.rooms-listing-wrapper .room-box .room-content,
.rooms-listing-2 .room-box .room-detail .room-description,
.rooms-listing-4 .room-box .room-description,
.rooms-listing-5 .room-intro .row:last-child {
display: flex;
flex-direction: column;
align-items: center;
}*/

/* centred check-list template 5 */
/*.rooms-listing-5 .room-services-list {
padding-left: var(--mft-space-l);
}*/

/********** TEMPLATE OFFERS **********/

/* OFFER TEMPLATE 1 - Figma design: white cards, 3 per row */

/* section container */
.offers-listing-wrapper.offers-listing-1 {
    max-width: none;
    width: 100%;
    padding: 0 var(--mft-space-5xl) var(--mft-space-5xl);
    background-color: transparent;
    background-image: url("https://static-resources-elementor.mirai.com/wp-content/uploads/sites/2387/asset-palmera-villa-varadero.webp");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto 90%;
}

/* hide the "Offers" title above the cards */
.offers-listing-wrapper.offers-listing-1 > h2 {
    display: none;
}

/* 3-column grid (2 rows of 3 with 6 offers) */
.offers-listing-1 .offers-listing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--mft-space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* card */
.offers-listing-1 .offers-listing .offer {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #F7F7F7;
    border-radius: 20px;
    overflow: hidden;
}

.offers-listing-1 .offers-listing .offer::marker {
    font-size: 0;
}

.offers-listing-1 .offer .offer-link {
    display: flex;
    flex-direction: column;
    gap: var(--mft-space-2xs);
    height: 100%;
    padding-bottom: var(--mft-space-xs);
    background: #fff;
    text-decoration: none;
}

/* visual order: photo > title > badge > text > button (vertical spacing handled by the gap on .offer-link) */
.offers-listing-1 .offer .offer-photo       { order: 1; }
.offers-listing-1 .offer .offer-title       { order: 2; }
.offers-listing-1 .offer .offer-box         { order: 3; }
.offers-listing-1 .offer .offer-description { order: 4; }
.offers-listing-1 .offer .offer-includes    { order: 5; }
.offers-listing-1 .offer .offer-date-range  { order: 6; }
.offers-listing-1 .offer .offer-button      { order: 7; }

/* image */
.offers-listing-1 .offer .offer-photo {
    position: relative;
    float: none;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    margin: 0;
    overflow: hidden;
}

.offers-listing-1 .offer .offer-photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    max-width: none;
    object-fit: cover;
}

/* title */
.offers-listing-1 .offers-listing .offer .offer-title {
    width: auto;
    margin-top: 34px;
    padding: 0 var(--mft-space-xs);
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: left;
    color: var(--e-global-color-text);
}

/* discount badge */
.offers-listing-1 .offer .offer-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    float: none;
    position: static;
    width: auto;
    margin: 0 var(--mft-space-xs);
    padding: 2px 10px;
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    background: #E0115F;
    border-radius: 50px;
}

.offers-listing-1 .offer .offer-box * {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: #fff;
}

.offers-listing-1 .offer-box.box-3 {
    display: none;
}

/* description (max. 3 lines) */
.offers-listing-1 .offer .offer-description,
.offers-listing-1 .offer .offer-includes {
    margin: 0;
    padding: 0 var(--mft-space-xs);
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

.offers-listing-1 .offer .offer-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* date range: not shown in the Figma design */
.offers-listing-1 .offer .offer-date-range {
    display: none;
}

/* offer button */
.offers-listing-1 .offers-listing .offer .offer-button {
    position: static !important;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 34px;
    padding: 9px 19px;
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    color: var(--e-global-color-primary);
    background: transparent;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 50px;
    transition: color .3s ease, background-color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .offers-listing-1 .offers-listing .offer .offer-link:hover .offer-button,
    .offers-listing-1 .offers-listing .offer .offer-button:hover {
        color: #fff;
        background-color: var(--e-global-color-primary);
        border: 1px solid var(--e-global-color-primary);
    }
}

@media (max-width:1024px) {
    .offers-listing-1 .offers-listing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:767px) {
    /* same side padding as the section above on mobile */
    .offers-listing-wrapper.offers-listing-1 {
        padding-left: 15px;
        padding-right: 15px;
    }
    .offers-listing-1 .offers-listing {
        grid-template-columns: 1fr;
    }
    /* remove plugin padding so the photo goes edge to edge on mobile */
    .offers-listing-1 .offers-listing .offer .offer-link {
        padding: 0 0 var(--mft-space-xs);
    }
    .offers-listing-1 .offers-listing .offer .offer-photo {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }
    .offers-listing-1 .offers-listing .offer .offer-button {
        display: inline-block;
        margin: auto var(--mft-space-xs) 0;
    }
}

/* OFFER TEMPLATE 2 */
.offers-listing-2 .offer .offer-intro,
.offers-listing-2 .offer .offer-date-range {
    background-color: var(--e-global-color-52235058);
}

.offers-listing-2 .offer .offer-photo {
    position: relative;
    width: 100%;
    height: 200px;
}

.offers-listing-2 .offer .offer-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offers-listing-2 .offer .offer-deco {
    background-color: var(--e-global-color-primary);
}

.offers-listing-2 .offer-deco i::before {
    content: "\ea7a";
    color: var(--e-global-color-eff34ee);
}

.offers-listing-2 .offer .offer-description {
    padding: var(--mft-space-xs);
}

.offers-listing-2 .offer .offer-box {
    background-color: var(--e-global-color-f79e654);
}

.offers-listing-2 .offer .offer-box span,
.offers-detail-wrapper .offer .offer-box span {
    font-family: var(--e-global-typography-fcce242-font-family);
    font-size: var(--e-global-typography-fcce242-font-size);
    font-weight: var(--e-global-typography-fcce242-font-weight);
    line-height: var(--e-global-typography-fcce242-line-height);
    color: var(--e-global-color-text);
}

.rooms-listing-2 .room-box .room-detail .price-box .last-booking {
    padding: 5px;
    color: var(--e-global-color-text);
    background: #ffffffba;
}

@media (min-width:1025px) {
    .offers-listing-2 .offers-listing .offer {
        width: 33%;
    }
}

/* OFFER TEMPLATE 4 */
.offers-listing-4 .offer-text {
    text-align: center;
}

.offers-listing-4 .offer .offer-box {
    min-height: 400px;
    transition: .3s ease-in-out;
}

.offers-listing-4 .offer .offer-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offers-listing-4 .offer .offer-box:hover {
    box-shadow: 0px 0px 9px #00000047;
}

/* OFFER TEMPLATE 5 */
.offers-listing-5 .offer .offer-link,
.offers-detail-wrapper.offer-detail-5 .offer-wrapper {
    background: var(--e-global-color-f79e654) !important;
    transition: .3s ease-in-out;
}

.offers-listing-5 .offer .offer-link *,
.offers-detail-wrapper.offer-detail-5 .offer-wrapper {
    color: var(--e-global-color-text) !important;
}

.offers-listing-5 .offer .offer-link:hover {
    box-shadow: 0px 0px 9px #00000047 !important;
}

.offers-listing-5 .offer .offer-link::before {
    opacity: 0 !important;
}

.offers-listing-5 .offer .offer-title,
.offers-detail-wrapper.offer-detail-5 .offer-wrapper .offer-title {
    border-bottom: 2px solid var(--e-global-color-text) !important;
}

.offers-listing-5 .offer .offer-content i::before,
.offers-detail-wrapper.offer-detail-5 .offer-wrapper .offer-title i::before {
    content: "\e997";
    color: var(--e-global-color-text);
}

.offers-listing-5 .offer .offer-date-range {
    left: 30px;
    font-weight: 600;
}

.offers-listing-5 .offer .offer-date-range i::before {
    content: "\e9e2";
    color: var(--e-global-color-primary);
}

.offers-listing-5 .offer .offer-title::after {
    display: none;
}

@media (min-width:1025px) {
    .offers-listing-5 .offers-listing .offer {
        width: 33%;
    }
}

/***** ROOM DETAILS *****/
.calendar-wrapper.calendar-type1 {
    border-top: 0;
}

.rooms-detail-wrapper .room-box-services h3,
.rooms-detail-wrapper h3 {
    margin-bottom: 40px;
}

.rooms-detail-wrapper h4 {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
}

.rooms-detail-wrapper h2 {
    padding-bottom: var(--mft-space-s);
}

.rooms-detail-wrapper .room-box-detail,
.rooms-detail-wrapper .room-box-price {
    background-color: var(--e-global-color-15b9b07) !important;
}

.rooms-detail-wrapper .room-box-services,
.rooms-detail-wrapper .room-box-common-services {
    padding: 15px 0px;
}

/* room detail titles in corporate pink */
.rooms-detail-wrapper :is(h2, h3, h4):not(.offer-title) {
    color: var(--e-global-color-secondary);
}

/* offers inside the room detail: same cards as the offers listing */
.rooms-detail-5 .offers-listing.offers-listing-1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--mft-space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

.rooms-detail-5 .offers-listing-1 .offer {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #F7F7F7;
    border-radius: 20px;
    overflow: hidden;
}

.rooms-detail-5 .offers-listing-1 .offer::marker {
    font-size: 0;
}

.rooms-detail-5 .offers-listing-1 .offer .offer-title {
    width: auto;
    margin: 34px 0 0;
    padding: 0 var(--mft-space-xs);
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: left;
    color: var(--e-global-color-text);
}

.rooms-detail-5 .offers-listing-1 .offer .offer-button.elementor-button {
    position: static !important;
    display: inline-block;
    align-self: flex-start;
    width: auto;
    min-height: 0;
    margin: 0 var(--mft-space-xs) 34px;
    padding: 9px 19px;
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    color: var(--e-global-color-primary);
    background: transparent;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 50px;
    transition: color .3s ease, background-color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .rooms-detail-5 .offers-listing-1 .offer .offer-link:hover .offer-button.elementor-button,
    .rooms-detail-5 .offers-listing-1 .offer .offer-button.elementor-button:hover {
        color: #fff;
        background-color: var(--e-global-color-primary);
        border-color: var(--e-global-color-primary);
    }
}

@media (max-width:1024px) {
    .rooms-detail-5 .offers-listing.offers-listing-1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:767px) {
    .rooms-detail-5 .offers-listing.offers-listing-1 {
        grid-template-columns: 1fr;
    }
    /* remove plugin padding so the photo goes edge to edge on mobile */
    .rooms-detail-5 .offers-listing-1 .offer .offer-link {
        padding: 0 0 var(--mft-space-xs);
    }
}

.rooms-detail-5 .room-box-offers .elementor-container .offer-list-wrapper {
    background: transparent;
}

/* white background: overrides the grey from the Mirai plugin on the room detail */
.rooms-detail-5 .room-box-offers .offers-listing-1 .offer .offer-link {
    background: #fff !important;
}

/*.rooms-detail-5 .room-box-offers {
    font-size: 20px !important;
    font-weight: var(--e-global-typography-fcce242-font-weight);
    line-height: var(--e-global-typography-fcce242-line-height);
    background: var(--e-global-color-f79e654);
}*/

/* OFFER DETAIL 1 - horizontal card, same style as the offers listing cards */

/* section container: same width and side padding as the offers listing */
.offers-detail-wrapper.offer-detail-1 {
    max-width: none;
    width: 100%;
    padding: 0 var(--mft-space-5xl) var(--mft-space-5xl);
}

/* remove the 15px side padding from the parent Elementor container (elementor-fix.css) */
.elementor-section.elementor-section-boxed > .elementor-container:has(> .offers-detail-wrapper.offer-detail-1) {
    padding-left: 0;
    padding-right: 0;
}

/* remove bootstrap row negative margins */
.offers-detail-wrapper.offer-detail-1 .offer.row {
    margin-left: 0;
    margin-right: 0;
}

/* card: photo on the left, content on the right */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper.row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-areas:
        "photo title"
        "photo badge"
        "photo desc"
        "photo board"
        "photo share";
    grid-template-rows: auto auto auto auto 1fr;
    row-gap: var(--mft-space-2xs);
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #F7F7F7;
    border-radius: 20px;
    overflow: hidden;
}

/* bootstrap clearfix pseudo-elements would become grid items */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper.row::before,
.offers-detail-wrapper.offer-detail-1 .offer-wrapper.row::after {
    display: none;
}

/* let title, description, board and share sit directly in the grid */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-header-content-wrapper {
    display: contents;
}

/* image */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-photo {
    grid-area: photo;
    position: relative;
    float: none;
    width: 100%;
    height: 100%;
    min-height: 320px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

/* title */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-title {
    grid-area: title;
    margin: var(--mft-space-l) 0 0;
    padding: 0 var(--mft-space-l);
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: left;
    color: var(--e-global-color-text);
}

/* discount badges */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-features-wrapper {
    grid-area: badge;
    float: none;
    width: auto;
    margin: 0;
    padding: 0 var(--mft-space-l);
    background: transparent;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-boxes-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mft-space-4xs);
    margin: 0;
    padding: 0;
    background: transparent;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-box {
    display: inline-flex;
    align-items: center;
    float: none;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 2px 10px;
    background: #E0115F;
    border: 0;
    border-radius: 50px;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-box span {
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
}

/* hide empty badges, and the whole row if there is none */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-box:not(:has(> span:not(:empty))),
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-features-wrapper:not(:has(.offer-box > span:not(:empty))) {
    display: none;
}

/* description */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-description {
    grid-area: desc;
    margin: 0;
    padding: 0 var(--mft-space-l);
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

/* board (breakfast / all inclusive) */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-board {
    grid-area: board;
    margin: 0;
    padding: 0 var(--mft-space-l);
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--e-global-color-primary);
}

/* share */
.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share {
    grid-area: share;
    align-self: end;
    display: flex;
    align-items: center;
    gap: var(--mft-space-3xs);
    float: none;
    position: static;
    width: auto;
    margin: 0;
    padding: 0 var(--mft-space-l) var(--mft-space-l);
    font-family: var(--e-global-typography-text-font-family), 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul {
    display: flex;
    gap: var(--mft-space-4xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width:1024px) {
    .offers-detail-wrapper.offer-detail-1 .offer-wrapper.row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* mobile: vertical card, same as the listing */
@media (max-width:767px) {
    .offers-detail-wrapper.offer-detail-1 {
        padding-left: 15px;
        padding-right: 15px;
    }
    .offers-detail-wrapper.offer-detail-1 .offer-wrapper.row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "photo"
            "title"
            "badge"
            "desc"
            "board"
            "share";
        grid-template-rows: auto;
    }
    .offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-photo {
        height: auto;
        min-height: 0;
        aspect-ratio: 2 / 1;
    }
    .offers-detail-wrapper.offer-detail-1 .offer-wrapper :is(.offer-title, .offer-features-wrapper, .offer-description, .offer-board, .socialmedia-share) {
        padding-left: var(--mft-space-xs);
        padding-right: var(--mft-space-xs);
    }
    .offers-detail-wrapper.offer-detail-1 .offer-wrapper .offer-title {
        margin-top: var(--mft-space-xs);
    }
    .offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share {
        padding-bottom: var(--mft-space-xs);
    }
}

/* social share icons: Font Awesome brands font (free license) */
@font-face {
    font-family: "mft-brands";
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2") format("woff2");
    font-display: swap;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 0; /* hides the broken icon from the plugin */
    color: var(--e-global-color-primary);
    background: transparent;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 50%;
    transition: color .3s ease, background-color .3s ease;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a > * {
    display: none;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a::before {
    font-family: "mft-brands";
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a.wfacebook::before {
    content: "\f39e";
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a.wtwitter::before {
    content: "\e61b";
}

@media (hover: hover) and (pointer: fine) {
    .offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a:hover {
        color: #fff;
        background-color: var(--e-global-color-primary);
    }
}

/* back link: space from the hero */
.offers-detail-wrapper.offer-detail-1 .back {
    margin: 0;
    padding: var(--mft-space-l) 0 var(--mft-space-xs);
}

/* social share icons: Font Awesome brands font (free license) */
@font-face {
    font-family: "mft-brands";
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2") format("woff2");
    font-display: swap;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 0; /* hides the broken icon from the plugin */
    color: var(--e-global-color-primary);
    background: transparent;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 50%;
    transition: color .3s ease, background-color .3s ease;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a > * {
    display: none;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a::before {
    font-family: "mft-brands";
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a.wfacebook::before {
    content: "\f39e";
}

.offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a.wtwitter::before {
    content: "\e61b";
}

@media (hover: hover) and (pointer: fine) {
    .offers-detail-wrapper.offer-detail-1 .offer-wrapper .socialmedia-share ul li a:hover {
        color: #fff;
        background-color: var(--e-global-color-primary);
    }
}

/* back link: space from the hero */
.offers-detail-wrapper.offer-detail-1 .back {
    margin: 0;
    padding: var(--mft-space-l) 0 var(--mft-space-xs);
}


/***** DYNAMIC ROOM HERO *****/
.cat-room-detail .dynamic-detail-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
}
.cat-room-detail .dynamic-detail-image-ready {
    opacity: 1;
}
.cat-room-detail .dynamic-detail-image-ready .dynamic-detail-image-fallback {
    visibility: hidden;
}

/* Room price box: white text, balanced padding, vertically centered */
.room-image .price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    background-color: #005DA8;
    color: #FFFFFF;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    box-sizing: border-box;
}

/* Price amount: white, larger and bold */
.room-image .price-box span {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

/* Mobile: full width and slightly smaller amount */
@media (max-width: 767px) {
    .room-image .price-box {
        width: 100%;
        padding: 8px 12px;
        font-size: 13px;
    }

    .room-image .price-box span {
        font-size: 24px;
    }
}

/* New changes in room styles */

/* ===== Rooms listing: card style (matches offers cards) ===== */
.rooms-listing-wrapper .room-box {
  background: #FFFFFF;
  border: 1px solid #F7F7F7;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0 0 24px;
}

/* Remove clearfix pseudo-elements so they don't take flex/grid cells */
.rooms-listing-wrapper .room-box::before,
.rooms-listing-wrapper .room-box::after {
  display: none;
}

.rooms-listing-wrapper .room-box > div,
.rooms-listing-wrapper .room-box > h3 {
  float: none;
  max-width: 100%;
}

.rooms-listing-wrapper .room-box .room-image img {
  display: block;
}

/* ===== Mobile: stacked card like offers (image on top) ===== */
@media (max-width: 767px) {
  .rooms-listing-wrapper .room-box {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .rooms-listing-wrapper .room-box > div,
  .rooms-listing-wrapper .room-box > h3 {
    width: 100%;
  }

  /* Image first, full width, no inner rounding (card clips it) */
  .rooms-listing-wrapper .room-box .room-image {
    order: -1;
    position: relative;
    padding: 0;
  }

  .rooms-listing-wrapper .room-box .room-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
  }

  /* Price as a full-width bar on top of the card */
  .rooms-listing-wrapper .room-box .room-image .price-box {
    position: static;
    width: 100%;
    padding: 10px 16px;
    background-color: #005DA8;
    border-radius: 0;
  }

  .rooms-listing-wrapper .room-box .room-name {
    padding: 20px 16px 8px;
    margin: 0;
    line-height: 1.2;
  }

  .rooms-listing-wrapper .room-box .room-intro {
    padding: 0 16px 20px;
  }

  /* Description clamped to 4 lines, like offers */
  .rooms-listing-wrapper .room-box .room-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
  }

  /* Services in two columns */
  .rooms-listing-wrapper .room-box .room-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    margin: 0 0 20px;
    padding: 0;
  }

  .rooms-listing-wrapper .room-box .room-services-list .item-service {
    width: auto;
    font-size: 14px;
    line-height: 1.4;
  }

  .rooms-listing-wrapper .room-box .row {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ===== Tablet: stacked card with inner padding, price overlaid on image ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .rooms-listing-wrapper .room-box {
    display: flex;
    flex-direction: column;
    padding: 32px;
  }

  .rooms-listing-wrapper .room-box > div,
  .rooms-listing-wrapper .room-box > h3 {
    width: 100%;
  }

  .rooms-listing-wrapper .room-box .room-name {
    padding: 0 0 20px;
    margin: 0;
    line-height: 1.2;
  }

  .rooms-listing-wrapper .room-box .room-image {
    position: relative;
    padding: 0;
    margin: 0 0 24px;
  }

  .rooms-listing-wrapper .room-box .room-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
  }

  /* Price label integrated in the top-left corner of the image */
  .rooms-listing-wrapper .room-box .room-image .price-box {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: auto;
    height: auto;
    padding: 10px 18px;
    background-color: #005DA8;
    border-radius: 16px 0 16px 0;
  }

  .rooms-listing-wrapper .room-box .room-intro {
    padding: 0;
  }

  .rooms-listing-wrapper .room-box .room-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 20px;
  }

  .rooms-listing-wrapper .room-box .room-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 0 0 24px;
    padding: 0;
  }

  .rooms-listing-wrapper .room-box .room-services-list .item-service {
    width: auto;
  }

  .rooms-listing-wrapper .room-box .row {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ===== Desktop: text left, image flush to right, top and bottom edges ===== */
@media (min-width: 1025px) {
  .rooms-listing-wrapper .room-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "name  image"
      "intro image";
    column-gap: 40px;
    padding: 0;
  }

  .rooms-listing-wrapper .room-box > div,
  .rooms-listing-wrapper .room-box > h3 {
    width: auto;
  }

  .rooms-listing-wrapper .room-box .room-name {
    grid-area: name;
    padding: 40px 0 12px 40px;
    margin: 0;
    line-height: 1.2;
  }

  .rooms-listing-wrapper .room-box .room-intro {
    grid-area: intro;
    padding: 0 0 40px 40px;
  }

  /* Image column fills the card height, no own rounding (card clips outer corners) */
  .rooms-listing-wrapper .room-box .room-image {
    grid-area: image;
    position: relative;
    padding: 0;
    margin: 0;
    height: 100%;
  }

  .rooms-listing-wrapper .room-box .room-image a {
    display: block;
    height: 100%;
  }

  .rooms-listing-wrapper .room-box .room-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 0;
  }

  /* Price label on the inner top-left corner of the image */
  .rooms-listing-wrapper .room-box .room-image .price-box {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: auto;
    height: auto;
    padding: 10px 18px;
    background-color: #005DA8;
    border-radius: 0 0 16px 0;
  }

  .rooms-listing-wrapper .room-box .row {
    margin-left: 0;
    margin-right: 0;
  }
}

/***************************************/

/************* CUSTOM CSS *************/

/*************************************/






