/*
    Theme Name: hotel-palafitos-2026
    Theme URI: hotel-palafitos-2026
    Description: hotel-palafitos-2026
    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;
}

/* CENTER ICON RRSS - centre social media widget icon */
.elementor-social-icon.elementor-icon {
    display: flex;
}

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

/*********** 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;
}

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

/*********** 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;
}

/* 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;
}*/

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

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

/* 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: 10px 35px;
}

.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;
    }
}

/***** 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;
}

@media (min-width:768px) {
    .rooms-listing-5 .room-box {
        padding: 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 */
.offers-listing-1 .offers-listing {
	display: flex;
}

.offers-listing-1 .offer {
    margin: 0 auto;
    width: 48%;
}

.offers-listing-1 .offer .offer-photo {
    position: relative;
    width: 150px;
    height: 350px;
}

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

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

.offers-listing-1 .offer .offer-title {
    padding: 25px 35px 0;
}

.offers-listing-1 .offer .offer-date-range {
    padding: 0 35px;
}

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

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

.offers-listing-1 .offer .offer-description,
.offers-listing-1 .offer .offer-includes {
    margin-right: 0;
    padding: 0 35px 20px;
}

@media (max-width:1024px) {
    .offers-listing-1 .offer {
        width: 45%;
    }
}

@media (max-width:820px) {
    .offers-listing-1 .offers-listing {
        padding-left: 0;
    }
    .offers-listing-1 .offer {
        width: 100%;
    }
}

@media (max-width:767px) {
    .offers-listing-1 .offer .offer-photo {
        width: 100%;
        height: 150px;
    }
    .offers-listing-1 .offer .offer-title {
        padding: 25px 0 0;
    }
    .offers-listing-1 .offer .offer-description,
	.offers-listing-1 .offer .offer-includes {
        padding: 0 0 20px;
    }
    .offers-listing-1 .offer .offer-button {
        margin: 20px 0;
    }
    .offers-listing .offer .offer-title {
        text-align: left;
    }
}

/* 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;
}

.rooms-detail-5 .offers-listing-1 {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.rooms-detail-5 .offers-listing-1 .offer {
    width: 48%;
}

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

/*.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 DETAILS *****/
.offers-detail-wrapper.offer-detail-1 .offer-features-wrapper .offer-boxes-wrapper .offer-box span, 
.offers-detail-wrapper.offer-detail-1 .offer-features-wrapper .offer-boxes-wrapper .offer-box meta {
    font-family: var(--e-global-typography-fcce242-font-family);
}

.offers-detail-wrapper.offer-detail-1 .offer-photo {
    width: 230px;
}

.offers-detail-wrapper .offer-photo {
    width: auto;
}

.offers-detail-wrapper.offer-detail-2 .offer-wrapper {
    float: none;
}

.offers-detail-wrapper.offer-detail-2 .offer {
    margin: 55px auto;
}

.offer-detail-5 .offer-wrapper .offer-title i.eci {
    display: inline;
    margin: 0 15px 0 0;
    font-size: 25px;
}

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

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

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

/*************************************/
/************ PALAFITOS *************/
/***********************************/
/* Figma «Palafitos Overwater Bungalows - 26», V.5 Desktop (approved 1 Sept). Motions replicate the prototype interactions */

:root {
    --pf-side: var(--mft-space-5xl); /* page side margin = Figma 160 px token */
    --pf-ease-out: cubic-bezier(0, 0, .58, 1);
    --pf-ease-inout: cubic-bezier(.42, 0, .58, 1);
    --pf-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M299.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-192 192c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L265.4 256 84.7 75.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l192 192z'/%3E%3C/svg%3E");
}

/* sticky needs a non-scrolling ancestor chain: «clip» cuts overflow without creating a scroll container */
html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

/***** UTILITY -- visually hidden, still read by screen readers *****/
.pf-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}

/***** HEADER (mft-component header-2) -- Figma keeps it transparent while scrolling *****/
.pf-header.mft-header-transparent.elementor-sticky.elementor-sticky--effects {
    background-color: transparent !important;
    box-shadow: none !important;
    --e-global-color-bd9d5b8: var(--e-global-color-47eea86e);
}

.pf-header.mft-header-transparent.elementor-sticky.elementor-sticky--effects::before {
    display: none;
}

body:not(.elementor-editor-active) .pf-header.mft-header-transparent .mft-logo-header {
    filter: brightness(0) invert(1);
}

/* the header component hides the WPML code on tablet (display: none) and the toggle loses its name: keep it for screen readers */
@media (max-width: 1025px) {
    .pf-header .wpml-ls-item-toggle .wpml-ls-native {
        display: block !important;
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* header items in #F1F1F1 over the hero (Figma), WPML code dropdown and club login included */
.pf-header .wpml-ls a,
.pf-header .wpml-ls a span,
.pf-header [data-mirai-component="session"] [data-role="content"] {
    color: var(--e-global-color-bd9d5b8);
    transition: color .15s var(--pf-ease-inout);
}

@media (hover: hover) and (pointer: fine) {
    .pf-header .wpml-ls a:hover,
    .pf-header .wpml-ls a:hover span,
    .pf-header [data-mirai-component="session"]:hover [data-role="content"] {
        color: var(--e-global-color-fc842eb);
    }
}

/* hero finder sits at the bottom of the hero like in the prototype */
.pf-hero .mft-booking-engine {
    z-index: 2;
}

/***** HEADER (legacy classes kept for the menu button motion) *****/

/* hamburger: dissolve .16s to #252525 */
.pf-menu-btn .elementor-icon {
    transition: color .16s var(--pf-ease-out);
}

.pf-menu-btn .elementor-icon svg {
    transition: fill .16s var(--pf-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .pf-menu-btn .elementor-icon:hover {
        color: #252525;
    }

    .pf-menu-btn .elementor-icon:hover svg {
        fill: #252525;
    }

}

/***** FIXED FINDER (component .mft-finder-fixed-bottom): 24 px from the bottom like the Figma *****/

body:not(:is(.cat-room-detail, .cat-offer-detail)) .mft-wrapper-finder-header.mft-offset-active .mft-finder-fixed-bottom {
    bottom: 24px;
}

/***** BUTTONS -- button--secondary/primary, hover smart animate .15s ease-out *****/

.elementor-widget.pf-btn .elementor-button {
    padding: 16px 24px;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: inherit;
    transition: background-color .15s var(--pf-ease-out), color .15s var(--pf-ease-out), border-color .15s var(--pf-ease-out);
}

.elementor-widget.pf-btn .elementor-button-content-wrapper {
    gap: 0;
    align-items: center;
}

.elementor-widget.pf-btn .elementor-button-icon {
    display: inline-flex;
    width: 0;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    opacity: 0;
    transition: width .15s var(--pf-ease-out), margin .15s var(--pf-ease-out), opacity .15s var(--pf-ease-out);
}

.elementor-widget.pf-btn .elementor-button-icon svg {
    width: 12px;
    height: 16px;
    fill: currentColor;
}

.elementor-widget.pf-btn--dark .elementor-button {
    border-color: #202020;
    color: #FFFFFF;
    background-color: #252525;
}

.elementor-widget.pf-btn--light .elementor-button {
    color: #202020;
    background-color: #FFFFFF;
}

.elementor-widget.pf-btn--outline .elementor-button {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    background-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .elementor-widget.pf-btn .elementor-button:hover .elementor-button-icon,
    .elementor-widget.pf-btn .elementor-button:focus-visible .elementor-button-icon {
        width: 12px;
        margin-left: 8px;
        opacity: 1;
    }

    .elementor-widget.pf-btn--dark .elementor-button:hover {
        color: #FFFFFF;
        background-color: #252525;
    }

    .elementor-widget.pf-btn--light .elementor-button:hover {
        color: #202020;
        background-color: #E5A142;
    }

    .elementor-widget.pf-btn--outline .elementor-button:hover {
        color: #202020;
        background-color: #FFFFFF;
    }
}

.pf-mt-24 {
    margin-top: 24px;
}

/***** LINKS -- link--hovered: #252525 + underline + chevron, dissolve .15s ease-in-out *****/

.pf-links-underline .elementor-icon-list-item > a {
    position: relative;
    transition: color .15s var(--pf-ease-inout);
}

.pf-links-underline .elementor-icon-list-text {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 6px;
    transition: color .15s var(--pf-ease-inout), text-decoration-color .15s var(--pf-ease-inout);
}

.pf-links-underline .elementor-icon-list-item > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 16px;
    margin-left: 0;
    background-color: currentColor;
    opacity: 0;
    transition: width .15s var(--pf-ease-inout), margin .15s var(--pf-ease-inout), opacity .15s var(--pf-ease-inout);
    -webkit-mask: var(--pf-chevron) center / contain no-repeat;
    mask: var(--pf-chevron) center / contain no-repeat;
}

@media (hover: hover) and (pointer: fine) {
    .pf-links-underline .elementor-icon-list-item > a:hover .elementor-icon-list-text {
        color: #252525;
        text-decoration-color: #252525;
    }

    .pf-links-underline .elementor-icon-list-item > a:hover::after {
        width: 12px;
        margin-left: 8px;
        color: #252525;
        opacity: 1;
    }
}

/***** INLINE LISTS & SOCIALS -- keep on one line like the Figma auto-layout rows *****/

.elementor-widget.pf-list,
.elementor-widget.pf-socials {
    flex-shrink: 0;
}

.pf-list .elementor-inline-items {
    flex-wrap: nowrap;
}

@media (min-width: 1280px) {
    .pf-footer-main h2.elementor-heading-title {
        white-space: nowrap;
    }
}

.pf-list .elementor-icon-list-text {
    white-space: nowrap;
}

.pf-socials .elementor-social-icons-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

.pf-footer-brand .pf-socials .elementor-social-icons-wrapper {
    gap: 0;
}

/***** MENU POPUP *****/

.pf-menu-links .elementor-icon-list-item > a {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.pf-menu-links .elementor-icon-list-icon {
    margin: 0;
}

.pf-menu-links .is-current .elementor-icon-list-text {
    color: #202020;
}

.pf-menu-links .elementor-icon-list-text,
.pf-menu-links .elementor-icon-list-icon i {
    transition: color .15s var(--pf-ease-inout);
}

@media (hover: hover) and (pointer: fine) {
    .pf-menu-links .elementor-icon-list-item > a:hover .elementor-icon-list-text,
    .pf-menu-links .elementor-icon-list-item > a:hover .elementor-icon-list-icon i {
        color: #252525;
    }
}

/***** GENERIC IMAGES / PLACEHOLDERS *****/

.pf-img img {
    display: block;
    object-fit: cover;
}

.pf-img--contain img {
    object-fit: contain !important;
}

.pf-eyebrow p {
    text-transform: uppercase;
}

/***** COLLAGE -- fixed Figma sizes, no flex shrinking *****/

.pf-collage > .elementor-element {
    flex-shrink: 0;
}

/***** LOGOS -- horizontal scroll strip, logo 200 + 90 + 1px x 113px line + 90 (pitch 381) *****/

.pf-logos__track {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    cursor: grab;
}

.pf-logos__track::-webkit-scrollbar {
    display: none;
}

.pf-logos__track.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.pf-logos__track > .pf-logo-item {
    --flex-shrink: 0;
    position: relative;
    flex-shrink: 0 !important;
    overflow: visible;
}

/* on the widget: the container ::before/::after are Elementor's background overlays */
.pf-logo-item + .pf-logo-item > .elementor-widget::before {
    content: "";
    position: absolute;
    top: 50%;
    left: max(-91px, -4.74vw);
    height: min(113px, 5.885vw);
    border-left: 1px solid #000000;
    transform: translateY(-50%);
}

.pf-logo-item img {
    pointer-events: none;
}

/***** SERVICES -- list scrolls, image sticky and swaps with the service in view *****/

.pf-services__media {
    position: sticky !important;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.pf-services__img {
    position: absolute !important;
    inset: 0;
    opacity: 0;
    transition: opacity .6s var(--pf-ease-out);
}

.pf-services__img.is-active {
    opacity: 1;
}

.pf-services__img img {
    width: 100% !important;
    height: 100vh !important;
}

.elementor-editor-active .pf-services__img {
    position: relative !important;
    opacity: 1;
}

/***** GASTRO / SPA / BODAS -- overlay .35 -> .06 and video on hover *****/

.pf-media-card {
    overflow: hidden;
}

.pf-media-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, .35);
    transition: background-color .3s var(--pf-ease-out);
    pointer-events: none;
}

.pf-media-card > .e-con-inner,
.pf-media-card > .e-con {
    position: relative;
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
    .pf-media-card:hover::before {
        background-color: rgba(0, 0, 0, .06);
    }

}

.pf-watermark-wrap {
    overflow: visible;
}

/* Figma: isotype #E5A142 at 20 % */
.pf-watermark img {
    opacity: .2;
}

.pf-watermark {
    position: absolute !important;
    top: min(308px, 16.042vw);
    left: min(192px, 10vw);
    pointer-events: none;
}

/***** STACKED SECTIONS -- «sticky scrolls» in the prototype: section pins, the next one slides over it *****/

.pf-stack {
    position: sticky !important;
    top: var(--pf-stack-top, 0px);
    z-index: 0;
}

.pf-over {
    position: relative;
    z-index: 1;
}

.elementor-editor-active .pf-stack {
    position: relative !important;
    top: auto !important;
}

/***** LH REWARDS -- slides swap every 1.8 s, flat pagination *****/

/* slides stacked in place: pure crossfade, no horizontal travel */
.pf-rewards:not(.pf-rewards--fixed) .swiper-wrapper {
    display: grid !important;
    transform: none !important;
}

.pf-rewards .swiper-slide {
    grid-area: 1 / 1;
    width: 100% !important;
    opacity: 0 !important;
    transition: opacity .6s var(--pf-ease-out);
    pointer-events: none;
}

.pf-rewards .swiper-slide-active {
    z-index: 1;
    opacity: 1 !important;
    pointer-events: auto;
}

.elementor-editor-active .pf-rewards:not(.pf-rewards--fixed) .swiper-wrapper {
    display: flex !important;
}

.pf-rewards .e-n-carousel {
    padding-bottom: 0 !important;
}

.pf-rewards .swiper-pagination {
    top: min(657px, 34.219vw);
    right: var(--pf-side);
    bottom: auto !important;
    left: auto !important;
    display: flex;
    justify-content: center;
    gap: 4px;
    width: min(640px, 33.333vw) !important;
}

.pf-rewards .swiper-pagination-bullet {
    width: 16px;
    height: 4px;
    margin: 0 !important;
    border-radius: 0;
    background: #E4E4E4;
    opacity: 1;
    transition: width .3s var(--pf-ease-out), background-color .3s var(--pf-ease-out);
}

.pf-rewards .swiper-pagination-bullet-active {
    width: 48px;
    background: #EEC182;
}

.pf-rewards__legal {
    position: absolute !important;
    top: min(775px, 40.365vw);
    right: var(--pf-side);
    width: min(640px, 33.333vw);
}

/***** INSTAGRAM *****/

.pf-insta__card {
    position: relative;
}

.pf-insta__icons {
    position: absolute !important;
    top: 31px;
    right: 28px;
}

.pf-insta__icons .elementor-icon-list-text {
    display: none;
}

/***** FOOTER IMAGE -- brand mark appears (smart animate 3.2 s ease-out) *****/

.pf-footer-mark {
    opacity: 0;
    transition: opacity 3.2s var(--pf-ease-out);
}

.pf-footer-image.is-inview .pf-footer-mark,
.elementor-editor-active .pf-footer-mark {
    opacity: 1;
}

.pf-footer-brand,
.pf-footer-cols,
.pf-footer-cols > .e-con {
    flex-shrink: 0;
}

.pf-footer-brand .pf-socials .elementor-social-icons-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.pf-socials .elementor-grid-item {
    flex-shrink: 0;
}

/***** FOOTER (mft-component footer-1) *****/

/* logo slot keeps its Figma height until the Site Logo is uploaded */
.pf-logo--dark {
    min-height: 40px;
}

.pf-footer-brand .pf-socials .elementor-social-icons-wrapper {
    width: min(240px, 12.5vw);
}

/* social buttons: 44 px dark circle, 24 px white glyph (Figma «icon-button--m») */
.pf-socials .elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 24px;
    border-radius: 50%;
    background-color: #202020;
    transition: background-color .16s var(--pf-ease-out);
}

.pf-socials .elementor-social-icon i {
    color: #FFFFFF;
}

.pf-socials .elementor-social-icon svg {
    width: 24px;
    height: 24px;
    fill: #FFFFFF;
}

@media (hover: hover) and (pointer: fine) {
    .pf-socials .elementor-social-icon:hover {
        background-color: #252525;
    }
}

/* contact v-cards: left aligned, 40 px pitch like the Figma links */
.pf-vcard .elementor-icon-box-wrapper,
.pf-vcard .elementor-icon-box-content {
    text-align: left;
}

.pf-vcard + .pf-vcard {
    margin-top: 6px;
}

.pf-vcard .elementor-icon-box-title,
.pf-vcard .elementor-icon-box-title a {
    margin: 0;
    transition: color .15s var(--pf-ease-inout);
}

@media (hover: hover) and (pointer: fine) {
    .pf-vcard .elementor-icon-box-title a:hover {
        color: #252525;
        text-decoration: underline;
        text-underline-offset: 6px;
    }
}

/***** NAV MENUS -- same hover as the Figma «link--hovered» (colour, underline, chevron) *****/

.pf-nav .elementor-nav-menu a.elementor-item {
    transition: color .15s var(--pf-ease-inout);
}

/* Figma: every footer link on one line (the columns narrow below 1920, the 14 px text does not) */
.pf-footer-links .elementor-nav-menu a.elementor-item {
    white-space: nowrap;
}

.pf-links-underline .elementor-nav-menu a.elementor-item {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 6px;
    transition: color .15s var(--pf-ease-inout), text-decoration-color .15s var(--pf-ease-inout);
}

.pf-links-underline .elementor-nav-menu a.elementor-item::after {
    content: "";
    position: static;
    display: inline-block;
    width: 0;
    height: 16px;
    margin-left: 0;
    background-color: currentColor;
    opacity: 0;
    transition: width .15s var(--pf-ease-inout), margin .15s var(--pf-ease-inout), opacity .15s var(--pf-ease-inout);
    -webkit-mask: var(--pf-chevron) center / contain no-repeat;
    mask: var(--pf-chevron) center / contain no-repeat;
}

@media (hover: hover) and (pointer: fine) {
    .pf-links-underline .elementor-nav-menu a.elementor-item:hover {
        text-decoration-color: currentColor;
    }

    .pf-links-underline .elementor-nav-menu a.elementor-item:hover::after {
        width: 12px;
        margin-left: 8px;
        opacity: 1;
    }
}

/* popup close (Figma: 40 px xmark in #707070, dissolve to #252525) */
.pf-menu .elementor-widget-icon-box .elementor-icon {
    color: #707070 !important;
    fill: #707070 !important;
    transition: color .16s var(--pf-ease-out);
}

.pf-menu .elementor-widget-icon-box .elementor-icon svg {
    fill: currentColor !important;
}

@media (hover: hover) and (pointer: fine) {
    .pf-menu .elementor-widget-icon-box .elementor-icon:hover {
        color: #252525 !important;
        fill: #252525 !important;
    }
}

.pf-menu-links .elementor-item {
    white-space: nowrap;
}

/* popup menu (Figma «Menú»): two columns of five links on desktop, the second one at x=677 */
@media (min-width: 768px) {
    .pf-menu-links .elementor-nav-menu--main > .elementor-nav-menu {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(6, auto);
        grid-template-columns: min(517px, 26.93vw) auto;
        row-gap: 32px;
    }

    .pf-menu-links .elementor-nav-menu--main > .elementor-nav-menu > li {
        margin-bottom: 0 !important;
    }
}

/* popup menu: chevron after every entry except Home and «Servicios» (class pf-no-chevron on the WP item) */
.pf-menu-links .elementor-nav-menu > .menu-item:not(:first-child):not(.pf-no-chevron) > a.elementor-item::after {
    content: "" !important;
    position: static !important;
    display: inline-block !important;
    opacity: 1 !important;
    width: 12px;
    height: 16px;
    margin-left: 8px;
    background-color: currentColor;
    -webkit-mask: var(--pf-chevron) center / contain no-repeat;
    mask: var(--pf-chevron) center / contain no-repeat;
}

.pf-menu .pf-socials .elementor-social-icon {
    width: 23px;
    height: 23px;
    font-size: 12px;
}

.pf-menu .pf-socials .elementor-social-icon svg {
    width: 12px;
    height: 12px;
}

.pf-menu .pf-socials .elementor-social-icons-wrapper {
    gap: 6px;
}

/***** INNER PAGES (Home system; no Figma of the inner pages) *****/

/* legal text (Figma): section titles 15 px caps, 44 px between sections */
.pf-legal h2 {
    margin: var(--mft-space-l) 0 var(--mft-space-2xs);
    font-family: var(--e-global-typography-text-font-family), sans-serif;
    font-size: clamp(12px, .78125vw, 15px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #202020;
}

.pf-legal h2:first-child {
    margin-top: 0;
}

.pf-legal p {
    margin-bottom: var(--mft-space-2xs);
}

/***** INNER PAGES -- Figma «WIP» (desktop) + «Mobile- internas»: header over cream, top block, collage, cards *****/

/* the component forces the header colour var to white while transparent: dark on the cream inner pages */
body:not(.home) .pf-header,
body:not(.home) .pf-header.mft-header-transparent {
    --e-global-color-bd9d5b8: #202020 !important;
}

body:not(.home) .pf-header .elementor-icon,
body:not(.home) .pf-header .elementor-icon i,
body:not(.home) .pf-header .wpml-ls-item-toggle,
body:not(.home) .pf-header .wpml-ls-native,
body:not(.home) .pf-header [data-mirai-component="session"] i {
    color: #202020 !important;
}

body:not(.home) .pf-header.mft-header-transparent .mft-logo-header {
    filter: none !important;
}

.pf-overline-top p {
    text-transform: uppercase;
    opacity: .92;
}

.pf-strong strong {
    font-weight: 700;
    color: #202020;
}

@media (max-width: 767px) {
    .pf-collage-in {
        overflow: hidden;
    }

    .pf-collage-in > .elementor-element,
    .pf-collage-in__rest > .elementor-element {
        flex-shrink: 0 !important;
    }

    .pf-overline-top p {
        opacity: 1;
    }
}

/***** INNER PAGES -- first build from «Internas Desktop» (hero kept for the detail pages) *****/

/* hero: two scrims of the design (left fade + top/bottom), content above them */

/* Figma sizes outside the kit scale: exact at 1920, proportional below (same rule as the kit) */

.pf-fs-56 .elementor-heading-title {
    font-size: clamp(37px, 2.9167vw, 56px) !important;
    line-height: 1 !important;
}

.pf-note p {
    opacity: .85;
}

/* contact form: 56 px fields, #D1C9BD border (Figma) */
.pf-form .elementor-field-group:not(.elementor-field-type-acceptance) .elementor-field {
    min-height: 56px;
}

.pf-form textarea.elementor-field {
    min-height: 140px;
}

@media (max-width: 767px) {
    /* no photo hero on mobile: texts on cream under the header */

    /* header over cream on the inner pages (Figma «header-templates (mobile · sobre crema)») */
    /* the component forces the header colour var to white while transparent: override it on the cream pages */
    body:not(.home) .pf-header,
    body:not(.home) .pf-header.mft-header-transparent {
        --e-global-color-bd9d5b8: #202020 !important;
    }

    body:not(.home) .pf-header .elementor-icon,
    body:not(.home) .pf-header .elementor-icon i,
    body:not(.home) .pf-header .wpml-ls-item-toggle,
    body:not(.home) .pf-header .wpml-ls-native,
    body:not(.home) .pf-header [data-mirai-component="session"] i {
        color: #202020 !important;
    }

    body:not(.home) .pf-header.mft-header-transparent .mft-logo-header {
        filter: none !important;
    }

    /* mobile sizes of the 360 frames */
    .pf-m-34 .elementor-heading-title {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }

    .pf-m-30 .elementor-heading-title {
        font-size: 30px !important;
        line-height: 1.12 !important;
    }

    .pf-m-22 .elementor-heading-title {
        font-size: 22px !important;
    }

    .pf-m-18 p {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    .pf-m-15 p,
    .pf-m-15 li {
        font-size: 15px !important;
        line-height: 1.38 !important;
    }

    .pf-m-13 p {
        font-size: 13px !important;
    }

    /* collage: 3 photos overlapping 25 px, the third one bleeds out */

    /* home (Figma «Mobile-final»): service text #484848, isotype centred in its 436 px block */
    .pf-service__text p {
        color: #484848 !important;
    }

    .pf-watermark {
        top: 50%;
        width: 214px !important;
        transform: translate(-50%, -50%);
    }

    /* mobile cards slider: flat pagination like the design */
    .pf-cards-slider .swiper-pagination {
        position: static !important;
        display: flex;
        justify-content: flex-start;
        gap: 4px;
        margin-top: var(--mft-space-xs);
        padding-right: 24px;
    }

    .pf-cards-slider .swiper-pagination-bullet {
        width: 16px;
        height: 4px;
        margin: 0 !important;
        border-radius: 0;
        background: #E4E4E4;
        opacity: 1;
    }

    .pf-cards-slider .swiper-pagination-bullet-active {
        width: 48px;
        background: #EEC182;
    }

    .pf-cards-slider .e-n-carousel {
        padding-bottom: 0 !important;
    }
}

.pf-legal a {
    color: #202020;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* details list (restaurant): thin lines between items */

/* contact form: kit type, square fields */
.pf-form .elementor-field-group .elementor-field {
    padding: var(--mft-space-3xs) var(--mft-space-2xs);
}

.pf-form .elementor-field-type-acceptance a {
    color: #202020;
    text-decoration: underline;
}

.pf-form .elementor-button {
    padding: var(--mft-space-2xs) var(--mft-space-xs);
    transition: background-color .15s var(--pf-ease-inout);
}

/* cookie policy printed by the Mirai PHP template (tpl-cookies-policy): kit type and breathing room */
.page-template-tpl-cookies-policy .elementor-row {
    padding: var(--mft-space-4xl) 0;
}

.page-template-tpl-cookies-policy .mi-title3 {
    margin: var(--mft-space-m) 0 var(--mft-space-2xs);
    font-family: var(--e-global-typography-4d3a7db-font-family), sans-serif;
    font-size: var(--e-global-typography-4d3a7db-font-size);
    font-weight: 400;
    line-height: 1.3;
    color: #202020;
}

.page-template-tpl-cookies-policy .elementor-text-editor,
.page-template-tpl-cookies-policy .elementor-widget-text-editor {
    font-size: var(--e-global-typography-text-font-size);
    line-height: 1.5;
    color: #202020;
}

@media (max-width: 1279px) {
    .page-template-tpl-cookies-policy .elementor-row {
        padding: var(--mft-space-2xl) var(--mft-space-m);
    }
}

@media (max-width: 767px) {
    .page-template-tpl-cookies-policy .elementor-row {
        padding: var(--mft-space-l) 20px;
    }
}

/* gallery filter centred */
.pf-gallery__grid .elementor-gallery__titles-container {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: var(--mft-space-3xs);
}

/***** RESPONSIVE -- layout from the Elementor controls (_tablet / _mobile); here only what sits outside them *****/

@media (max-width: 1279px) {
    /* LH Rewards: pagination and legal leave their absolute desktop place and go below the slide */
    .pf-rewards .swiper-pagination {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        margin-top: var(--mft-space-s);
    }

    .pf-rewards__legal {
        position: static !important;
        width: 100%;
        padding: var(--mft-space-xs) var(--mft-space-m) 0;
    }

    .pf-watermark {
        top: var(--mft-space-m);
        left: 50%;
        width: 60% !important;
        transform: translateX(-50%);
    }

    /* logos: divider in the middle of the tablet gap */
    .pf-logo-item + .pf-logo-item > .elementor-widget::before {
        left: -45px;
        height: 90px;
    }

    /* footer centred on tablet and mobile (vault: Autofeedback) */
    .pf-footer-links,
    .pf-footer-links .elementor-icon-box-wrapper,
    .pf-footer-links .elementor-icon-box-content {
        width: 100%;
        text-align: center !important;
    }

    .pf-footer-links .elementor-icon-box-title,
    .pf-footer-links .elementor-icon-box-title a {
        overflow-wrap: anywhere;
    }

    .pf-footer-links .elementor-nav-menu--layout-vertical .elementor-nav-menu > li > a {
        justify-content: center;
    }

    .pf-footer-links .elementor-nav-menu a.elementor-item {
        white-space: normal;
    }

    .pf-footer .pf-legal-menu .elementor-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pf-footer-brand .pf-socials .elementor-social-icons-wrapper {
        width: auto;
        justify-content: center;
        gap: var(--mft-space-2xs);
    }
}

@media (max-width: 767px) {

    .pf-rewards__legal {
        padding: var(--mft-space-xs) 20px 0;
    }

    .pf-logo-item + .pf-logo-item > .elementor-widget::before {
        left: -24px;
        height: 64px;
    }

    .pf-insta__icons {
        top: var(--mft-space-xs);
        right: 0;
    }
}

/***** PALAFITOS REFINED MOTION — 2026-10-01 *****/
/* Motion only: preserve the approved Figma layout, typography and colours. */
:root {
    --pf-motion-ease: cubic-bezier(.22, 1, .36, 1);
    --pf-motion-distance: 18px;
}

/* No hidden content until the observer has successfully registered it. */
@media (prefers-reduced-motion: no-preference) {

    /* The popup owns opening/closing; only its contents are choreographed. */
    .pf-menu-links .elementor-nav-menu--main > .elementor-nav-menu > li {
        animation: pf-menu-enter .65s var(--pf-motion-ease) both;
        animation-delay: .08s;
    }
    .pf-menu-links .elementor-nav-menu > li:nth-child(5n + 2) { animation-delay: .13s; }
    .pf-menu-links .elementor-nav-menu > li:nth-child(5n + 3) { animation-delay: .18s; }
    .pf-menu-links .elementor-nav-menu > li:nth-child(5n + 4) { animation-delay: .23s; }
    .pf-menu-links .elementor-nav-menu > li:nth-child(5n + 5) { animation-delay: .28s; }
    .pf-menu__media {
        animation: pf-menu-photo 1s var(--pf-motion-ease) both;
    }
    .pf-menu .pf-socials-wrap {
        animation: pf-menu-enter .7s .25s var(--pf-motion-ease) both;
    }
    @keyframes pf-menu-enter {
        from { opacity: 0; translate: 0 12px; }
        to { opacity: 1; translate: 0 0; }
    }
    @keyframes pf-menu-photo {
        from { opacity: .25; clip-path: inset(0 0 0 5%); }
        to { opacity: 1; clip-path: inset(0); }
    }
}

/* Restore a consistent chevron, including Home and Servicios. */
.pf-menu-links .elementor-nav-menu > .menu-item > a.elementor-item::after {
    content: "" !important;
    position: static !important;
    display: inline-block !important;
    flex: 0 0 12px;
    width: 12px;
    height: 16px;
    margin-left: 8px;
    background-color: currentColor;
    opacity: 1 !important;
    -webkit-mask: var(--pf-chevron) center / contain no-repeat;
    mask: var(--pf-chevron) center / contain no-repeat;
    transition: transform .32s var(--pf-motion-ease), background-color .25s ease;
}
.pf-menu-links .elementor-nav-menu > .menu-item > a.elementor-item {
    transition: color .25s ease, transform .35s var(--pf-motion-ease);
}
.pf-menu-links a.elementor-item:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 6px;
}
.pf-menu-links a.elementor-item:focus-visible::after {
    transform: translateX(5px);
}

/* The existing button keeps its original dimensions throughout the hover. */
.elementor-widget.pf-btn .elementor-button {
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.elementor-widget.pf-btn .elementor-button-content-wrapper {
    position: relative;
    transition: transform .35s var(--pf-motion-ease);
}
.elementor-widget.pf-btn .elementor-button .elementor-button-icon {
    position: absolute;
    top: 50%;
    right: -18px;
    width: 12px;
    margin: 0 !important;
    opacity: 0;
    transform: translate(-5px, -50%);
    transition: opacity .25s ease, transform .35s var(--pf-motion-ease);
}
.elementor-widget.pf-btn .elementor-button:focus-visible .elementor-button-content-wrapper {
    transform: translateX(-6px);
}
.elementor-widget.pf-btn .elementor-button:focus-visible .elementor-button-icon {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Photo frames remain fixed; motion stays inside the existing image widget. */
.pf-bungalows .pf-img,
.pf-collage .pf-img {
    overflow: clip;
}
.pf-services__img {
    transition: opacity .85s var(--pf-motion-ease);
}
.pf-services__img img {
    transform: scale(1.025);
    transition: transform 1.5s var(--pf-motion-ease);
}
.pf-services__img.is-active img { transform: scale(1); }
.pf-media-card::before {
    transition: background-color .65s var(--pf-motion-ease);
}
.pf-rewards .swiper-slide {
    transition: opacity .85s var(--pf-motion-ease);
}
.pf-socials .elementor-social-icon {
    transition: background-color .3s ease, transform .35s var(--pf-motion-ease);
}

@media (hover: hover) and (pointer: fine) {
    .pf-menu-links .elementor-nav-menu > .menu-item > a.elementor-item:hover {
        transform: translateX(3px);
    }
    .pf-menu-links .elementor-nav-menu > .menu-item > a.elementor-item:hover::after {
        transform: translateX(5px);
    }
    .elementor-widget.pf-btn .elementor-button:hover .elementor-button-content-wrapper {
        transform: translateX(-6px);
    }
    .elementor-widget.pf-btn .elementor-button:hover .elementor-button-icon {
        opacity: 1;
        transform: translate(0, -50%);
    }
    .pf-socials .elementor-social-icon:hover { transform: translateY(-2px); }
}

@media (max-width: 767px) {
    :root { --pf-motion-distance: 10px; }

    .pf-menu-links .elementor-nav-menu > li:nth-child(n) { animation-delay: .06s; }
}

@media (prefers-reduced-motion: reduce) {
    
    .pf-menu-links li, .pf-menu__media, .pf-menu .pf-socials-wrap { animation: none !important; }
    .pf-menu-links a, .pf-menu-links a::after,
    .pf-btn .elementor-button-content-wrapper, .pf-btn .elementor-button-icon,
    .pf-bungalows .pf-img img, .pf-collage .pf-img img,
    .pf-services__img img, .pf-socials .elementor-social-icon {
        transition: none !important;
    }
    .pf-menu-links a, .pf-menu-links a::after,
    .pf-bungalows .pf-img img, .pf-collage .pf-img img,
    .pf-services__img img, .pf-socials .elementor-social-icon { transform: none !important; }
}

/* END PALAFITOS REFINED MOTION */

/* PALAFITOS GASTRONOMIA — Figma alignment and restrained motion, 2026-10-01 */
:root { --pf-gastro-version: 4; }
.page-id-29 .elementor-29 { position: relative; isolation: isolate; overflow-x: clip; }
.page-id-29 .elementor-29::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: 12.54vw; left: .27%; width: 145%; aspect-ratio: 1440 / 1030;
    background: url("https://static-resources-elementor.mirai.com/wp-content/uploads/sites/2417/home03-textura-lineas.webp") center / 100% 100% no-repeat;
}
@media (min-width: 1280px) {
    .page-id-29 .pf-top h1 { white-space: nowrap; }
    .page-id-29 .pf-top { padding-bottom: 36px; }
    .page-id-29 .pf-cards-d > .e-con { gap: 40px; }
    .page-id-29 .pf-cards-d > .e-con > .e-con { width: calc((100% - 80px) / 3); flex: 1 1 0; }
}
@media (max-width: 1279px) {
    .page-id-29 .pf-cards-d > .e-con { gap: 24px; }
}
@media (max-width: 767px) {
    .page-id-29 .elementor-29::before { top: 280px; width: 240%; left: -50%; }
    .page-id-29 .pf-cards-d > .e-con { gap: 40px; }
}
/* Details: keep reduced-motion preference while Elementor owns Sticky. */
@media (prefers-reduced-motion: reduce) {
  body:is(.page-id-29,.page-id-30) .pf-full-img.elementor-sticky { position: relative !important; inset: auto !important; width: 100% !important; }
  body:is(.page-id-29,.page-id-30) .pf-full-img.elementor-sticky__spacer { display: none !important; }
}

/* PALAFITOS INNER PAGES — Final Design review, 2026-10-01 */
:root { --pf-inner-version: 2; }
/* Reuse the existing brand texture on the six matching final frames. */
body:is(.page-id-27,:is(.page-id-33,.page-id-34),.page-id-35,.page-id-37,.page-id-39,.page-id-43) [data-elementor-type="wp-page"] { position: relative; isolation: isolate; overflow-x: clip; }
body:is(.page-id-27,:is(.page-id-33,.page-id-34),.page-id-35,.page-id-37,.page-id-39,.page-id-43) [data-elementor-type="wp-page"]::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: 12.54vw; left: .27%; width: 145%; aspect-ratio: 1440 / 1030;
    background: url("https://static-resources-elementor.mirai.com/wp-content/uploads/sites/2417/home03-textura-lineas.webp") center / 100% 100% no-repeat;
}
/* Card rows retain their native widgets; gaps are included in the track widths. */
.pf-cards-d > .e-con {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
    gap: var(--mft-space-2xl) var(--mft-space-m);
}
.pf-cards-d > .e-con:has(> .e-con:nth-child(4):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pf-cards-d > .e-con > .e-con { width: 100%; min-width: 0; }
.pf-cards-d .pf-img, .pf-cards-d .pf-img img { width: 100%; }

/* The existing mobile collage contains the approved three wedding photographs.
   Layout-transparent wrappers allow the same native content on both breakpoints. */
:is(.page-id-33,.page-id-34) :is(.elementor-33,.elementor-34) { display: flex; flex-direction: column; }

:is(.page-id-33,.page-id-34) .pf-full-img { order: 3; }

/* Match the subtle movement already approved for Gastronomia. */
body:not(.page-id-29) :is(.pf-collage-in) .pf-img {
    transform: translate(var(--pf-gastro-x,0px),var(--pf-gastro-y,0px));
    transition: transform .65s var(--pf-motion-ease);
}
@media (max-width: 1279px) and (min-width: 768px) {
    .pf-cards-d > .e-con { gap: 48px 24px; }
}
@media (max-width: 767px) {
    body:is(.page-id-27,:is(.page-id-33,.page-id-34),.page-id-35,.page-id-37,.page-id-39,.page-id-43) [data-elementor-type="wp-page"]::before { top: 280px; left: -50%; width: 240%; }
    .pf-cards-d > .e-con, .pf-cards-d > .e-con:has(> .e-con:nth-child(4):last-child) { grid-template-columns: minmax(0,1fr); gap: 40px; }

}
@media (prefers-reduced-motion: reduce) {
    body:not(.page-id-29) :is(.pf-collage-in) .pf-img { transform: none; transition: none; }
}

/* Override native fixed widget widths after switching to grid / desktop collage. */
.elementor .pf-cards-d > .e-con { display: grid; gap: var(--mft-space-2xl) var(--mft-space-m); }
.elementor .pf-cards-d > .e-con > .e-con { width: 100%; min-width: 0; }
.elementor .pf-cards-d .pf-img, .elementor .pf-cards-d .pf-img img { width: 100%; }

@media (max-width: 1279px) and (min-width: 768px) { .elementor .pf-cards-d > .e-con { gap: 48px 24px; } }
@media (max-width: 767px) { .elementor .pf-cards-d > .e-con { gap: 40px; } }

/* PALAFITOS FOOTER ZOOM — pinned scroll and reveal v2, 2026-10-01 */
:root { --pf-footer-motion-version: 2; --pf-motion-distance: 36px; }

.pf-footer-image[data-pf-footer-scroll] .pf-footer-mark {
    opacity: 1;
    transform: scale(var(--pf-footer-scale, .65));
    transform-origin: center;
    transition: none;
}
@media (prefers-reduced-motion: no-preference) {

}
@media (max-width: 767px) {
    :root { --pf-motion-distance: 24px; }
    
    .pf-footer-image .pf-footer-mark { max-width: 35vw; }
}
@media (prefers-reduced-motion: reduce) {

    .pf-footer-image .pf-footer-mark { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; animation: none !important; transition: none !important; }
}
@media print {

    .pf-footer-image .pf-footer-mark { opacity: 1 !important; transform: none !important; }
}

/***** PALAFITOS PHOTO REVEAL AND MOBILE DINNER CAROUSEL — 2026-10-01 *****/
:root { --pf-photo-reveal-version: 3; }
@media (max-width: 767px) {
    :is(.page-id-31,.page-id-32) .pf-cards-slider > .e-con { padding-inline: 24px; }
    :is(.page-id-31,.page-id-32) .pf-cards-slider .swiper-pagination {
        position: static !important;
        inset: auto !important;
        justify-content: flex-start;
        width: 100% !important;
        margin: 16px 0 0;
        padding: 0;
        transform: none !important;
    }
}
@media (prefers-reduced-motion: no-preference) {
    /* Reveal the photo inside its stable frame; never move carousel slides. */

}

.plf{display:block;width:100%;height:auto;overflow:visible;--plf-color:#F7E5CA;--plf-ease:cubic-bezier(.16,1,.3,1);--plf-dur:600ms;--plf-step:100ms}.plf path{fill:var(--plf-color);transform-box:view-box;transform-origin:307px 316px;animation:plf-grow var(--plf-dur) var(--plf-ease) calc(var(--i)*var(--plf-step)) both}.plf[data-plf=wait] path{animation-play-state:paused}@keyframes plf-grow{from{opacity:0;transform:scale(.35)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.plf path{animation:plf-fade 150ms linear both}@keyframes plf-fade{from{opacity:0}to{opacity:1}}}

/***** PALAFITOS — MARTA FIGMA FEEDBACK #38, #43–47, 2026-10-06 *****/
:root { --pf-feedback-version: 3; }
/* #39: oversized decorative lines continue beyond the intro into the logos strip. */
.elementor .pf-intro.pf-texture { background-image: none !important; isolation: isolate; }
.pf-intro.pf-texture::before {
    content: ''; position: absolute; top: min(180px, 9.375vw); left: 0;
    width: 100%; height: calc(100% + min(400px, 20.834vw)); z-index: -1;
    background: url('https://static-resources-elementor.mirai.com/wp-content/uploads/sites/2417/home03-textura-lineas.webp') left top / 150% auto no-repeat;
    pointer-events: none;
}

body .pf-header.mft-header-transparent.elementor-sticky.elementor-sticky--effects {
    background-color: var(--e-global-color-c192f6c) !important;
    --e-global-color-bd9d5b8: var(--e-global-color-text);
    --mirai-session-color: var(--e-global-color-text);
    color: var(--e-global-color-text);
}
body:not(.elementor-editor-active) .pf-header.mft-header-transparent.elementor-sticky--effects .mft-logo-header { filter: none; }
body .pf-header.elementor-sticky--effects .elementor-icon,
body .pf-header.elementor-sticky--effects .wpml-ls a,
body .pf-header.elementor-sticky--effects .elementor-icon-list-text { color: var(--e-global-color-text) !important; }
body .pf-header.elementor-sticky--effects .elementor-icon svg { fill: currentColor; }

/* The original still image remains the no-JavaScript fallback. */
.pf-footer-image .pf-footer-mark { opacity: 1; transform: none; transition: none; }
.pf-footer-image .pf-footer-mark--animated { max-width: min(32vw, 614px); }
.pf-footer-mark--animated .plf { width: 100%; height: auto; }
.pf-footer-main.pf-stack { isolation: isolate; background-image: none !important; }
.pf-footer-main::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: url('https://static-resources-elementor.mirai.com/wp-content/uploads/sites/2417/home10-footer-textura.webp') center / cover no-repeat;
    opacity: .28; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .pf-footer-main.pf-leaves-ready::before { opacity: 0; transition: opacity 1.2s var(--pf-ease-out); }
    .pf-footer-main.pf-leaves-visible::before { opacity: .28; }
}

/* Static calls to action with native image swiping and synchronized benefit crossfade. */
.elementor .pf-rewards--fixed {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center;
    gap: var(--mft-space-l); padding: var(--mft-space-3xl) var(--pf-side);
    min-height: 0;
}
.pf-rewards--fixed > .pf-sr-only { position: absolute !important; }
.elementor .pf-rewards--fixed .pf-rewards__carousel { width: 100%; min-width: 0; padding: 0; }
.pf-rewards--fixed .swiper { touch-action: pan-y; cursor: grab; }
.pf-rewards--fixed .swiper:active { cursor: grabbing; }
.elementor .pf-rewards--fixed .pf-rewards__slide { display: block; width: 100%; min-height: 0; padding: 0; }
.elementor .pf-rewards--fixed .pf-rewards__slide > [hidden] { display: none !important; }
.elementor .pf-rewards--fixed .pf-rewards__slide > .elementor-widget-image { width: 100%; max-width: none; padding: 0; }
.pf-rewards--fixed .pf-rewards__slide img { width: 100%; height: auto; aspect-ratio: 786 / 700; object-fit: cover; }
.pf-rewards__content { display: flex; flex-direction: column; align-items: center; gap: var(--mft-space-xs); min-width: 0; text-align: center; }
.pf-rewards__content .pf-rewards__title,
.pf-rewards__content .pf-rewards__intro { width: 100%; }
.pf-rewards__navigation { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: var(--mft-space-xs); width: 100%; margin-top: var(--mft-space-xs); }
.pf-rewards__benefits { display: grid; align-items: center; min-height: 138px; }
.elementor .pf-rewards__benefit { grid-area: 1 / 1; width: 100%; padding: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--pf-ease-out); }
.elementor .pf-rewards__benefit.is-active { opacity: 1; visibility: visible; }
.pf-rewards__arrow {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    color: var(--e-global-color-47eea86e); background: var(--e-global-color-cde7fbb);
    border: 0; border-radius: 50%; cursor: pointer;
}
.pf-rewards__arrow::before { content: ''; display: block; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.pf-rewards__arrow--previous::before { transform: rotate(-135deg); }
.pf-rewards__arrow:hover { background: var(--e-global-color-secondary); }
.pf-rewards__arrow:focus-visible { outline: 2px solid var(--e-global-color-c192f6c); outline-offset: 4px; }
.pf-rewards--fixed .swiper-pagination { position: static !important; inset: auto !important; width: 100% !important; margin: 0; }
.pf-rewards--fixed .swiper-pagination-bullet { background: var(--e-global-color-ca1687a); }
.pf-rewards--fixed .swiper-pagination-bullet-active { background: var(--e-global-color-c192f6c); }
.elementor .pf-rewards__content .pf-rewards__actions { width: 100%; justify-content: center; gap: var(--mft-space-xs); padding: 0; margin: var(--mft-space-xs) 0 0; }
.elementor .pf-rewards--fixed .pf-rewards__legal { position: static !important; inset: auto; width: 100%; padding: 0; margin: 0; }
@media (max-width: 1024px) {
    .elementor .pf-rewards--fixed { grid-template-columns: minmax(0,1fr); padding: var(--mft-space-2xl) var(--mft-space-s); }
    .pf-rewards--fixed .pf-rewards__slide img { max-height: 560px; }
    .pf-rewards__content { width: 100%; max-width: 680px; justify-self: center; }
}
@media (max-width: 767px) {
    .pf-rewards__navigation { grid-template-columns: 1fr; }
    .pf-rewards__arrow { display: none; }
    .pf-rewards__benefits { min-height: 124px; }
    .elementor .pf-rewards__content .pf-rewards__actions { flex-direction: column; align-items: center; }
    .pf-footer-image .pf-footer-mark--animated { max-width: 62vw; }
}
@media (prefers-reduced-motion: reduce) { .pf-rewards__benefit { transition: none !important; } }

/***** PALAFITOS S3 VIDEO PRESENTATION *****/
.pf-s3-host{position:relative;isolation:isolate}
.pf-s3-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;opacity:0;z-index:0;transition:opacity .45s ease}
.pf-s3-host.pf-s3-ready .pf-s3-video{opacity:1}
.pf-s3-host.pf-s3-image>.pf-s3-video{z-index:1}
.pf-s3-host.pf-s3-image{overflow:hidden}
.pf-s3-host.pf-hero>.elementor-element{z-index:2}
.pf-s3-toggle{position:absolute!important;right:16px;bottom:16px;z-index:5!important;width:44px;height:44px;min-height:44px;padding:0!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:50%!important;background:rgba(20,24,24,.7)!important;color:#fff!important;font:16px/1 sans-serif!important;display:grid;place-items:center;cursor:pointer}
.pf-s3-toggle:focus-visible{outline:3px solid #fff;outline-offset:4px}
.pf-s3-toggle[hidden]{display:none!important}
.pf-hero>.pf-s3-toggle{bottom:110px}
@media(prefers-reduced-motion:reduce){.pf-s3-video{transition:none}}

/***** PALAFITOS — FIGMA FEEDBACK 07 OCTOBER 2026 *****/
:root { --pf-oct7-version:22; --pf-design-gold: #C97B12; --pf-finder-clearance: 142px; }
.elementor :is(.pf-eyebrow,.pf-overline-top) p { color: var(--pf-design-gold) !important; }

/* A2–A4/A8: one content grid; Mirai's existing scroll-direction attribute. */
body .pf-header { padding-inline: 0 !important; transition: translate .35s var(--pf-ease-out), background-color .25s ease; }
body .pf-header > .e-con-inner { width: calc(100% - 2 * var(--pf-side)); max-width: none; align-items: center; margin-inline: auto; gap: 24px; }
.pf-header > .e-con-inner > .e-con { min-width: 0; align-items: center; }
.pf-header > .e-con-inner > .e-con:first-child,
.pf-header > .e-con-inner > .e-con:last-child { flex: 1 1 0; width: auto; }
.pf-header > .e-con-inner > .e-con:last-child { justify-content: flex-end; }
.pf-header .mft-dividing-line-items { width: max-content; flex: 0 0 auto; align-items: center; gap: 20px; }
.pf-header .mft-item-header { flex: 0 0 auto; width: auto; }
.pf-header .wpml-ls-item-toggle { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
.pf-header .pf-menu-btn .elementor-icon { display: grid; place-items: center; width: 44px; height: 44px; }
.pf-header .pf-menu-btn .elementor-icon i { font-size: 27px; }
.pf-header .mft-logo-header { width: 190px !important; max-width: 100%; }
body .pf-header.elementor-sticky--effects[data-mft-toggle-scroll="false"] { translate: 0 -110%; }
body .pf-header:focus-within, body.pf-menu-is-open .pf-header { translate: none !important; }

/* A5/A6: flexible columns, no chevrons, vertical scroll on short displays. */
.pf-menu .pf-menu-links .elementor-nav-menu > .menu-item > a.elementor-item::after,
.pf-menu .pf-menu-links .elementor-nav-menu > .menu-item:not(:first-child):not(.pf-no-chevron) > a.elementor-item::after { display: none !important; content: none !important; }
.pf-menu .btn-close-popup .elementor-icon { display: grid; place-items: center; width: 44px; height: 44px; }
.pf-menu .btn-close-popup .elementor-icon i { font-size: 26px; }
.pf-menu > .e-con-inner { width: 100%; max-width: none; padding-inline: var(--pf-side); gap: clamp(24px,4vw,80px); }
.pf-menu .pf-menu-links { width: 100%; min-width: 0; }
.pf-menu .mft-popup-menu { width: 100%; padding-inline: 0; }
@media (min-width: 1280px) {
  .pf-menu > .e-con-inner > .e-con:first-child { width: auto; flex: 1 1 0; min-width: 0; }
  .pf-menu > .e-con-inner > .e-con:last-child { width: 28%; flex: 0 0 28%; min-width: 0; }
  .pf-menu .mft-popup-menu { justify-content: flex-start; height: auto; max-height: calc(100dvh - 120px); overflow-y: auto; overflow-x: clip; padding-block: 12px 24px; }
  .pf-menu .pf-menu-links .elementor-nav-menu--main > .elementor-nav-menu { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,3vh,32px) 24px; }
  .pf-menu-links .elementor-item { font-size: clamp(21px,1.8vw,34px) !important; white-space: normal; }
  .pf-menu .pf-menu__media { min-height: 0; height: min(650px,78dvh); }
}
@media (min-width:768px) and (max-width:1279px) {
  .pf-menu > .e-con-inner > .e-con:first-child { width: 100%; }
  .pf-menu .mft-popup-menu { justify-content: flex-start; height: auto; max-height: calc(100dvh - 120px); overflow-y: auto; padding-block: 12px 24px; }
  .pf-menu .pf-menu-links .elementor-nav-menu--main > .elementor-nav-menu { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 40px; }
}

/* A7: retain a clear legal area above the fixed finder. */
.pf-legal-clearance { padding-bottom: 0 !important; }
.pf-footer .e-con:has(> .pf-legal-clearance) { padding-bottom: var(--pf-finder-clearance); }

/* I4: text defines row height; images fill the resulting frame. */
.page-template-tpl-rooms-listing .elementor-section:has(> .elementor-container > .rooms-listing-wrapper) { width: 100%; max-width: none; margin-inline: auto; padding: 0 var(--pf-side) var(--mft-space-3xl); }
.page-template-tpl-rooms-listing .elementor-container:has(> .rooms-listing-wrapper) { max-width: none; width: 100%; }
.page-template-tpl-rooms-listing .rooms-listing-wrapper { width: 100%; margin: 0 auto; padding: 0; }
.page-template-tpl-rooms-listing .rooms-listing-wrapper > h2 { display: none; }
.page-template-tpl-rooms-listing .rooms-listing-wrapper .room-box { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto 1fr; column-gap: var(--mft-space-l); margin: 0 0 var(--mft-space-2xl); padding: 0; min-height: 0; }
.page-template-tpl-rooms-listing .room-box::before,.page-template-tpl-rooms-listing .room-box::after { display: none; }
.page-template-tpl-rooms-listing .room-box .room-name { grid-column: 1; grid-row: 1; width: auto; margin: 0; padding: 32px 0 18px; font-size: clamp(24px,2vw,32px); }
.page-template-tpl-rooms-listing .room-box .room-intro { grid-column: 1; grid-row: 2; width: auto; padding: 0 0 32px; margin: 0; }
.page-template-tpl-rooms-listing .room-box .room-description { margin: 0 0 24px; }
.page-template-tpl-rooms-listing .room-box .room-image { position: relative; grid-column: 2; grid-row: 1 / 3; align-self: stretch; width: auto; height: auto; min-height: 0; padding: 0; margin: 0; overflow: hidden; }
.page-template-tpl-rooms-listing .room-image > a { position: absolute; inset: 0; display: block; }
.page-template-tpl-rooms-listing .room-image img { width: 100%; height: 100%; object-fit: cover; }
.page-template-tpl-rooms-listing .room-image .price-box { z-index: 2; }
.page-template-tpl-rooms-listing .room-box:nth-of-type(even) .room-name,.page-template-tpl-rooms-listing .room-box:nth-of-type(even) .room-intro { grid-column: 2; }
.page-template-tpl-rooms-listing .room-box:nth-of-type(even) .room-image { grid-column: 1; }

/* I1: scale the picture, never its card or text. */

.pf-insta .pf-img { position: relative; }
.pf-insta-native-link:focus-visible { outline: 3px solid var(--pf-design-gold); outline-offset: -5px; }

@media (max-width: 1025px) {
  body .pf-header > .e-con-inner { width: calc(100% - 48px); gap: 12px; }
  .pf-header > .e-con-inner > .e-con:first-child { flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; gap: 16px; }
  .pf-header > .e-con-inner > .e-con:last-child { flex: 0 0 auto; }
  .pf-header .pf-menu-btn { flex: 0 0 44px; }
  .pf-header .mft-logo-header { width: 174px !important; }
  .pf-header .mft-dividing-line-items { gap: 12px; }
  .pf-menu > .e-con-inner { padding-inline: 24px; }
}
@media (max-width: 767px) {
  body .pf-header > .e-con-inner { width: calc(100% - 32px); gap: 8px; }
  .pf-header > .e-con-inner > .e-con:first-child { gap: 8px; }
  .pf-header .mft-logo-header { width: clamp(130px,36vw,166px) !important; }
  .pf-header .pf-menu-btn .elementor-icon i { font-size: 23px; }
  .pf-header .wpml-ls-item-toggle::before { font-size: 17px !important; }
  .pf-header .mft-dividing-line-items { gap: 8px; }
  body.home .pf-header:not(.elementor-sticky--effects) .pf-menu-btn .elementor-icon { color: #fff !important; }
  body .pf-header.elementor-sticky--effects .pf-menu-btn .elementor-icon { color: var(--e-global-color-text) !important; }
  .pf-menu .btn-close-popup .elementor-icon i { font-size: 22px; }
  .pf-hero .mft-booking-engine { display: none !important; }
  body .mft-finder-fixed-bottom { bottom: max(12px,env(safe-area-inset-bottom)) !important; }
  body .pf-s3-host > :is(.pf-s3-toggle, .pf-native-video-play) { top: 12px; left: 12px; right: auto; bottom: auto; }
  body .pf-s3-host.pf-hero > :is(.pf-s3-toggle, .pf-native-video-play) { top: 100px; }
  .elementor :is([data-elementor-type="wp-page"],.pf-footer-main,.pf-menu) .elementor-widget-button,
  .elementor :is([data-elementor-type="wp-page"],.pf-footer-main,.pf-menu) .elementor-widget-button .elementor-button { width: 100% !important; max-width: none; }
  
  
  
  .pf-insta__icons .elementor-icon-list-icon i { font-size: 20px !important; }
  .pf-insta__icons .elementor-icon-list-icon svg { width: 20px !important; height: 20px !important; }
  .pf-insta__icons .elementor-icon-list-item a { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
  :is(.page-id-31,.page-id-32) .pf-cards-slider .swiper { overflow: visible; }
  :is(.page-id-31,.page-id-32) .elementor .e-con:has(> .pf-note.pf-m-13) { padding-inline: 24px; }
  :is(.page-id-31,.page-id-32) .pf-note.pf-m-13 { width: 100% !important; max-width: none; margin: 0; padding-inline: 0; }
  .page-template-tpl-rooms-listing .elementor-section:has(> .elementor-container > .rooms-listing-wrapper) { padding-inline: 24px; }
  .page-template-tpl-rooms-listing .rooms-listing-wrapper .room-box { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
  .page-template-tpl-rooms-listing .room-box .room-image { order: 0; width: 100%; aspect-ratio: 4 / 3; }
  .page-template-tpl-rooms-listing .room-box .room-name { order: 1; padding-top: 24px; }
  .page-template-tpl-rooms-listing .room-box .room-intro { order: 2; padding-bottom: 0; }
  .page-template-tpl-rooms-listing .room-intro .elementor-button { width: 100%; }
}
@media (prefers-reduced-motion:reduce) {
  body .pf-header { transition: none; }
  .home .pf-collage .pf-img { scale: none; translate: none; transition: none; }
}

/* PALAFITOS - responsive QA and HM entrance, 2026-10-07 */

.page-template-tpl-rooms-listing .elementor-section:has(> .elementor-container > .rooms-listing-wrapper),
.page-template-tpl-rooms-listing .elementor-container:has(> .rooms-listing-wrapper) {
  box-sizing: border-box;
  min-width: 0;
}
.page-template-tpl-rooms-listing .elementor-container:has(> .rooms-listing-wrapper) { padding-inline: 0; }
.page-template-tpl-rooms-listing .rooms-listing-wrapper { min-width: 0; }
@media (max-width: 1279.98px) {
  .pf-footer-cols { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .pf-footer-cols > .pf-footer-links { width: 100% !important; min-width: 0; }
  .pf-footer-cols > .pf-footer-links:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .pf-footer-cols { grid-template-columns: minmax(0, 1fr); }
  .pf-hero .mft-booking-engine { display: none !important; }
}
@media (max-width: 1024.98px) {
  .pf-header .elementor-hidden-tablet.elementor-hidden-mobile { display: none !important; }
}

/* PALAFITOS - Internal pages: shared presentation, 2026-10-15 */

/* Palafitos internal-page composition. Cream, serif headings and editorial photography. */
.elementor .elementor-element.pf-internal { background:var(--e-global-color-c192f6c, #FCF6EC); color:var(--e-global-color-text, #484848); }
.elementor .elementor-element.pf-internal .pf-internal-section { width:100%; }

.elementor .elementor-element.pf-internal h1 { font-family:var(--e-global-typography-pfspecial-font-family, 'Playfair Display'),serif; font-size:clamp(40px,3.34vw,64px); font-weight:400; line-height:1.12; }
.elementor .elementor-element.pf-internal h2 { font-family:var(--e-global-typography-pfspecial-font-family, 'Playfair Display'),serif; font-size:clamp(30px,2.4vw,46px); font-weight:400; line-height:1.22; max-width:900px; }
.elementor .elementor-element.pf-internal h3 { font-family:var(--e-global-typography-text-font-family, 'Jost'),sans-serif; font-size:clamp(22px,1.67vw,30px); font-weight:400; line-height:1.25; }
.elementor .elementor-element.pf-internal p, .elementor .elementor-element.pf-internal li { font-size:clamp(15px,1.05vw,18px); line-height:1.75; }
.elementor .elementor-element.pf-internal p:last-child { margin-bottom:0; }
.elementor .elementor-element.pf-internal .pf-overline-top p, .elementor .elementor-element.pf-internal .pf-internal-overline p { font-family:var(--e-global-typography-text-font-family, 'Jost'),sans-serif; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:#936526; }
.elementor .elementor-element.pf-internal .pf-internal-photo { width:100%; min-width:0; }
.elementor .elementor-element.pf-internal .pf-internal-photo img { display:block; width:100%; object-fit:cover; }

.elementor .elementor-element.pf-internal .pf-internal-section--dark h2, .elementor .elementor-element.pf-internal .pf-internal-section--dark h3, .elementor .elementor-element.pf-internal .pf-internal-section--dark p { color:var(--e-global-color-c192f6c, #FCF6EC); }
.elementor .elementor-element.pf-internal .pf-internal-section--dark .pf-internal-overline p { color:#E5A142; }

.elementor .elementor-element.pf-internal .pf-internal-actions { gap:16px; margin-top:12px; }
.elementor .elementor-element.pf-internal .pf-internal-actions .elementor-button { min-height:48px; }
.elementor .elementor-element.pf-internal .pf-internal-faq { max-width:1440px; margin:auto; }
.elementor .elementor-element.pf-internal a:focus-visible { outline:2px solid #936526; outline-offset:5px; }

.elementor .elementor-element.pf-internal .pf-internal-contact-info { gap:40px; }
.elementor .elementor-element.pf-internal .pf-internal-contact-info h3 { font-size:20px; }
.elementor .elementor-element.pf-internal .pf-internal-contact-info a { overflow-wrap:anywhere; }
.elementor .elementor-element.pf-internal .pf-internal-contact-form { background:white; padding:48px; }
.elementor .elementor-element.pf-internal .pf-internal-contact-form input, .elementor .elementor-element.pf-internal .pf-internal-contact-form textarea { min-height:48px; }
.elementor .elementor-element.pf-internal .pf-internal-contact-form .elementor-field-group { margin-bottom:18px; }

@media(max-width:1279px){

 .elementor .elementor-element.pf-internal .pf-internal-contact-form { padding:32px; }
}
@media(max-width:767px){
 .elementor .elementor-element.pf-internal h1 { font-size:38px; } .elementor .elementor-element.pf-internal h2 { font-size:30px; } .elementor .elementor-element.pf-internal h3 { font-size:24px; }
 .elementor .elementor-element.pf-internal p,.elementor .elementor-element.pf-internal li { font-size:15px; line-height:1.7; }

 .elementor .elementor-element.pf-internal .pf-internal-contact-form { padding:28px 20px; }
 .elementor .elementor-element.pf-internal .pf-internal-actions { flex-direction:column; width:100%; }
 .elementor .elementor-element.pf-internal .pf-internal-actions > * { width:100%; }
 .elementor .elementor-element.pf-internal .pf-internal-actions .elementor-button { width:100%; }
}


/* Home finder: keep the open calendar above the following section. */
.home .mft-hero:has([data-mirai-component="finder"] [data-role="layer-content"]:not([class*="hidden"])) { z-index: 98; }


/* Cookies policy: show the dynamic legal text generated by tpl-cookies-policy. */
.cat-cookies .cookies-section { display: block !important; }

/* Temporary: hide provisional room prices until the Mirai backend issue is resolved. */
.rooms-listing-wrapper .price-box,
.rooms-detail-wrapper .box-price {
  display: none !important;
}

/* Room detail: preserve complete Extranet photographs without cover cropping. */
.page-template-tpl-rooms-detail .elementor-element-mirai-carousel { width: 100%; max-width: 1024px; margin-inline: auto; }
.page-template-tpl-rooms-detail .elementor-element-mirai-carousel .elementor-main-swiper .elementor-carousel-image { background-size: contain; background-repeat: no-repeat; }
