:root {
    --f-font1: "Raleway", sans-serif;
    --f-fontbutton: "Raleway", sans-serif;
    --f-bigtext: "Raleway", sans-serif;
    /*"Space Mono", monospace;*/
    --f-upper: ;
    --c-bg: #efefef;
    --c-white: #ffffff;
    --c-text: #282828;
    --c-tasti: #5e5e5e;
    --c-tasti-secondari: #d7f551;
    --c-text-con-sfondo: #d7f551;
    --c-text-secondario: #6c6c6c;
    --c-footer: #ececec;
    --b-radius-big: 24px;
    --b-radius-toggle: 20px;
    --b-border: 0px solid #000000;
    --b-border3d: none;
    /* 7px 7px 0px #313131;*/

}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--f-font1);
    text-transform: var(--f-upper);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.8;
}

/* ELIMINA BARRE SCORRIMENTO BROWSER */
html,
body {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE / Edge vecchi */
    overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.no-userselect {
    -webkit-tap-highlight-color: transparent;
    /* Rimuove il flash azzurro */
    -webkit-user-select: none;
    /* Impedisce la selezione del testo su WebKit */
    -moz-user-select: none;
    /* Impedisce la selezione su Firefox */
    -ms-user-select: none;
    /* Impedisce la selezione su Edge */
    user-select: none;
    /* Standard */
    outline: none !important;
    /* Forza la rimozione del contorno */
    touch-action: manipulation;
    /* Evita il doppio tap zoom su mobile */
}

.margin-main {
    margin: 0px 41px 0px 41px;
}

@media (max-width: 1024px) {
    .margin-main {
        margin: 0px 27px 0px 27px;
    }
}

@media (max-width: 640px) {
    .margin-main {
        margin: 0px 14px 0px 14px;
    }
}

@media (max-width: 767px) {
    .table-promotion {
        font-size: 10px;
    }

    .table-promotion td:first-child,
    .table-promotion th:first-child {
        padding-left: 0 !important;
    }

    .table-promotion td:last-child,
    .table-promotion th:last-child {
        padding-right: 0 !important;
    }

    .table-promotion td,
    .table-promotion th {
        padding: 3px !important;
    }

    .payment-btn {
        border-radius: 24px !important;
        font-size: 13px !important;
        width: auto !important;
    }
    
    .paf-container-large{
        margin: 0 5px !important;
    }
}


/* CONTRASTO */
.yeeeep,
.yeeeep * {
    mix-blend-mode: difference;
    color: #ffffff !important;
    /* oppure black, difference fa la magia */
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* ===========================
   NAVBAR WRAPPER
   =========================== */

.paf-navbar {
    width: 85%;
    padding: 20px 49px 20px 0px;
    background: transparent;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;

}

.paf-navbar-inner {
    width: 100%;
    max-width: 1331px;
    padding: 0 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;

}

.paf-logo-effect {
    padding: 31.5px 51px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    cursor: pointer;
}

@media (max-width: 991px) {
    .sm-sidebar {
        height: 100%;
        max-width: 300px;
        min-width: 310px;
        background-color: #fff;
        position: fixed !important;
        top: 0;
        z-index: +2000;
        overflow: auto;
        -webkit-box-shadow: 0 2px 10px 0 #d8dde6;
        box-shadow: 0 2px 10px 0 #d8dde6;
        position: relative;
        animation: animateleft .4s;
        left: 0;
        display: none;
        border-radius: 0;
    }

    .search-sidebar_header {
        display: flex !important;
        align-items: center;
    }

    .table-account td,
    .table-account th {
        font-size: 13px;
    }

    th.account-contact-name,
    th.account-contact-email,
    th.account-contact-phone,
    th.account-contact-date_sent,
    td.account-contact-name,
    td.account-contact-email,
    td.account-contact-phone,
    td.account-contact-date_sent {
        display: none;
    }

    th.account-offer-pax_max,
    th.account-offer-payment_amount,
    th.account-offer-deposit_amount,
    th.account-offer-guarantee_amount,
    th.account-offer-customer,
    th.account-offer-date_checkin,
    th.account-offer-date_checkout,
    th.account-offer-date_offer,
    td.account-offer-pax_max,
    td.account-offer-payment_amount,
    td.account-offer-deposit_amount,
    td.account-offer-guarantee_amount,
    td.account-offer-customer,
    td.account-offer-date_checkin,
    td.account-offer-date_checkout,
    td.account-offer-date_offer {
        display: none;
    }

    th.account-property-views,
    th.account-property-contacts,
    th.account-property-status,
    th.account-property-location,
    th.account-property-image,
    td.account-property-views,
    td.account-property-contacts,
    td.account-property-status,
    td.account-property-location,
    td.account-property-image {
        display: none;
    }

    .table-account span {
        display: block;
        text-align: center;
    }

    .t-datepicker.offer .t-datepicker-day {
        width: 100% !important;
    }
}

@media (min-width: 992px) {
    .filter_search_opt {
        display: none;
    }
}

@media (min-width: 1600px) {
    .paf-logo-effect {
        left: calc((100vw - 1640px) / 2 + 20px);
    }
}

@media (max-width: 1024px) {
    .paf-logo-effect {
        padding: 33px 34px;
    }
}

@media (max-width: 1600px) {
    .property-step-navigation span {
        display: none;
    }
}

@media (max-width: 640px) {
    .paf-logo-effect {
        padding: 31px 18px;
    }
}

.paf-logo-effect-svg {
    width: 91px;
    z-index: 99999998;
    color: var(--c-text);
}

@media (max-width: 640px) {
    .paf-logo-effect-svg {
        width: 86px;
        padding-right: 7px;
    }
}

/* ===========================
   DESKTOP SEARCH BAR
   =========================== */

.paf-search-desktop {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--b-radius-big);
    padding: 0 6px 0 25px;
    max-width: 60%;
    margin: 0 auto;
    border: var(--b-border);
    box-shadow: var(--b-border3d);
    position: relative;
}


.paf-search-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    flex: 1;
}

.paf-search-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: Roboto Condensed, sans-serif;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--c-text);
    cursor: pointer;
    padding: 7px 0;
    /* allarga area */
    flex: 1;
    /* ogni sezione prende spazio */
}

.final-item {
    margin-bottom: 20px;
}

/* Evita che il testo/icone "stringano" l'area cliccabile */
.paf-search-item span,
.paf-search-item svg {
    pointer-events: none;
    /* evita click su icona/testo */
}

.paf-search-divider {
    flex: 0 0 auto;
}

.paf-search-label {
    white-space: nowrap;
}

.paf-search-divider {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.18);
}

.paf-search-submit {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 30px;
    border: var(--b-border);
    background: var(--c-tasti);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    filter: brightness(1);
    transition: filter 0.15s ease;
}

.paf-search-submit:hover {
    filter: brightness(0.9);
}

.paf-search-submit:active {
    filter: brightness(0.9);

}

.paf-search-item--people {
    justify-content: space-between;
    gap: 12px;
}

.paf-search-value {
    font-size: 13px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
    padding: 4px 8px;
    border-radius: 999px;
}

.paf-people-stepper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f6f6f6;
    border-radius: 999px;
    padding: 4px 4px;
    margin-right: 0.5em;
}

.paf-people-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--c-white);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.paf-people-btn:hover {
    filter: brightness(0.95);
}

.paf-people-btn:active {
    transform: scale(0.95);
}

.paf-people-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: none;
    transform: none;
}

.paf-people-count {
    min-width: 1vw;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}

/* Desktop search: minimal stepper like "+ 1 Ospiti -" */
.paf-search-desktop .paf-people-stepper {
    background: transparent;
    padding: 0;
    gap: 12px;
    margin-right: 0;
    text-transform: uppercase;
    font-family: inherit;
    width: 100%;
    justify-content: center;
}

.paf-search-desktop .paf-search-item--people {
    justify-content: center;
}

.paf-search-desktop .paf-people-btn {
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 22px;
    font-weight: 400;
    padding: 0 6px;
    font-family: inherit;
}

.paf-search-desktop .paf-people-btn:hover {
    filter: none;
}

.paf-search-desktop .paf-people-count,
.paf-search-desktop .paf-people-unit {
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: Roboto Condensed, sans-serif;
}

.paf-search-desktop .paf-people-count {
    min-width: auto;
}

.paf-icon {
    width: 15px;
    height: auto;
    display: block;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-colored {
    stroke: var(--c-text-con-sfondo) !important;
    width: 13px !important;
}

.paf-icon-svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: var(--c-text-secondario);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* SVG-IMG base */

.paficon {
    font-size: 16px;
    line-height: normal;
    display: inline-block;
    pointer-events: none;
    color: var(--c-text-con-sfondo);
    align-items: center;
    justify-content: center;
}


/* ===========================
   RIGHT BUTTONS (DESKTOP)
   =========================== */

.paf-right {
    display: flex;
    align-items: center;
    gap: 0px;
}

.paf-navbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.paf-navbar-actions--mobile {
    display: none;
    gap: 0;
}

.paf-navbar-actions--desktop {
    display: inline-flex;
}

.paf-navbar-actions--listing {
    display: none;
}

.listing-nav-variant .paf-btn-structure {
    display: none;
}

.listing-nav-variant .paf-right>a.paf-icon-btn1.paf-navbar-actions--desktop {
    display: none;
}

.listing-nav-variant .paf-navbar-actions--listing {
    display: inline-flex;
    gap: 0;
}

.listing-nav-variant .paf-listing-filter-btn {
    width: auto;
    gap: 8px;
    padding: 0 18px;
}

.listing-nav-variant .paf-listing-filter-label {
    font-family: var(--f-fontbutton);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-con-sfondo);
}

.paf-btn-structure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16.5px 28px 16.5px 25px;
    border-radius: var(--b-radius-big);
    box-shadow: var(--b-border3d);
    background: var(--c-tasti);
    border: var(--b-border);
    cursor: pointer;
    font-family: var(--f-fontbutton);
    font-weight: 600;
    font-size: 15px;
    text-transform: var(--f-upper);
    color: var(--c-text-con-sfondo);
    filter: brightness(1);
    transition: filter 0.15s ease;
    text-decoration: none;
    height: 50px;
}

.paf-btn-structure:hover {
    filter: brightness(0.9);
}

.paf-btn-structure:active {
    filter: brightness(0.9);

}

.paf-icon-btn1 {
    width: 50px;
    height: 50px;
    border-radius: var(--b-radius-big);
    box-shadow: var(--b-border3d);
    background: var(--c-tasti);
    border: var(--b-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    filter: brightness(1);
    transition: filter 0.15s ease;
    text-decoration: none;
}

.paf-icon-btn-svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: var(--c-text-con-sfondo);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.paf-icon-btn-img {
    width: 22px;
    height: 22px;
    display: block;
}

.paf-icon-btn-img--sort {
    width: 18px;
    height: 18px;
}

.paf-icon-btn-img--filter {
    width: 16px;
    height: 16px;
}

.paf-icon-btn1:hover {
    filter: brightness(0.9);
}

.paf-icon-btn1:active {
    filter: brightness(0.9);

}

.paf-icon-btn2 {
    width: 50px;
    height: 50px;
    border-radius: var(--b-radius-big);
    box-shadow: var(--b-border3d);
    background: var(--c-tasti);
    border: var(--b-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: brightness(1);
}

.paf-icon-btn2:hover {
    transform: rotate(180deg);
    filter: brightness(0.9);
}

.paf-icon-btn2:active {
    filter: brightness(0.9);

}

.paf-menu-toggle {
    background: var(--c-tasti);
}

/* Quando menu aperto */

/* LINEA SUPERIORE → diventa diagonale */
.paf-menu-toggle.is-open .paf-burger span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

/* LINEA CENTRALE → sparisce */
.paf-menu-toggle.is-open .paf-burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

/* LINEA INFERIORE → diventa diagonale opposta */
.paf-menu-toggle.is-open .paf-burger span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}


/* ===========================
   DROPDOWN MENU (DESKTOP + TABLET + MOBILE)
   =========================== */
.paf-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: none;
    z-index: 9990;
    /* sotto la navbar, sopra il resto */
}

.paf-menu-overlay.is-open {
    display: block;
}

.paf-menu-panel {
    position: fixed;
    top: 91px;
    right: 51px;
    width: 260px;
    background: var(--c-white);
    border-radius: var(--b-radius-big);
    border: var(--b-border);
    box-shadow: var(--b-border3d);
    padding: 29px 29px 29px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 9998;
    /* vicino alla navbar */
    animation: fadeUp .35s ease;
}


.paf-menu-panel.is-open {
    display: flex;
}

.paf-menu-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 16px;
}

.paf-menu-divider {
    margin: 10px 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.14);
}

.paf-menu-link-strong {
    font-weight: 500;
    font-size: 15px;
    font-family: var(--f-font1);
    letter-spacing: 0.3px;
}

.paf-menu-section span,
.paf-menu-section div {
    cursor: pointer;
}

.paf-menu-section a {
    color: rgb(40, 40, 40);
    text-decoration: none;
}


/* ===========================
   MOBILE/TABLET SEARCH PILL (“Dove andiamo?”)
   =========================== */

.paf-mobile-search-toggle2 {
    display: none;
    /* hidden on desktop */
    align-items: center;
    padding: 5.5px 5px 5.5px 24px;
    border-radius: var(--b-radius-big);
    box-shadow: var(--b-border3d);
    border: var(--b-border);
    cursor: pointer;
    font-family: var(--f-fontbutton);
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text);
    margin-left: auto;
    background-color: white;
    gap: 45px;
}

@media (max-width: 1024px) {
    .paf-mobile-search-toggle2 {
        display: flex;
    }
}

.search-toggle-show {
    transition: opacity .1s ease;
}

.search-toggle-show.show {
    opacity: 1;
    animation: fadeUp .40s ease;
}

.search-toggle-show.hide {
    animation: fadeDown .3s ease;
    opacity: 0;
    pointer-events: none;
}

.paf-mobile-search-text {
    white-space: nowrap;
}

.paf-mobile-search-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: var(--b-radius-toggle);
    border: var(--b-border);
    background: var(--c-tasti);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: brightness(1);
    transition: filter 0.15s ease;
    margin-left: auto;
}

.paf-mobile-search-icon-wrap:hover {
    filter: brightness(0.9);
}

.paf-mobile-search-icon-wrap:active {
    filter: brightness(0.9);

}

.paf-hidden {
    animation: fDown 0.3s forwards;
}

.paf-visible {
    animation: fUp 0.3s forwards;
}

/* ANIMATION */
@keyframes fUp {
    from {
        opacity: 0;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(14px);
    }
}

@keyframes fDown {
    from {
        opacity: 1;
        transform: translateY(14px);
    }

    to {
        opacity: 0;
        transform: translateY(0);
    }
}

/* ===========================
   MODALE DI PRENOTAZIONE (TABLET + MOBILE)
   =========================== */

.paf-booking-overlay {
    position: fixed;
    overflow-y: auto;
    inset: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    z-index: 40;
    padding-top: 13vh;
}


.paf-booking-overlay.is-open {
    display: flex;
}

.paf-booking-module {
    width: 100%;
    max-width: 600px;
    background: var(--c-white);
    box-shadow: var(--b-border3d);
    border-radius: var(--b-radius-big);
    border: var(--b-border);
    padding: 26px 28px 24px;
    position: relative;
    animation: fadeUp .35s ease;
}

.paf-booking-date-row,
.paf-booking-field-wrapper {
    position: relative;
}

.paf-booking-click-area {
    position: absolute;
    inset: 0;
    cursor: pointer;
    z-index: 5;
}

.paf-booking-click-area[data-field="persone"] {
    pointer-events: none;
}

.paf-booking-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--b-radius-toggle);
    border: 0.5px solid #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    background: var(--c-white);
    z-index: 9999;
}

.paf-booking-title {
    margin: 0 0 17px;
    font-size: 16px;
    font-weight: 500;
}


.paf-booking-field {
    padding: 12px 0;
    font-size: 15px;
    font-family: Roboto Condensed, sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.paf-booking-field--people {
    pointer-events: auto;
    justify-content: space-between;
}

.paf-booking-field--people>span:first-of-type {
    flex: 1;
}

.paf-booking-divider {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.paf-booking-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.paf-booking-submit {
    width: 100%;
    padding: 14px;
    border: var(--b-border);
    border-radius: 10px;
    background: var(--c-tasti);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--c-text-con-sfondo);
    filter: brightness(1);
    transition: filter 0.15s ease;
}

.paf-booking-back {
    width: 100%;
    padding: 14px;
    border: var(--b-border);
    border-radius: 10px;
    background: var(--c-tasti);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    filter: brightness(1);
    transition: filter 0.15s ease;
    margin-bottom: 0.7em;
    text-decoration: none;
    text-align: center;
}

.paf-booking-submit:hover {
    filter: brightness(0.9);
}

.paf-booking-submit:active {
    filter: brightness(0.9);
}

.paf-booking-submit.sort-btn {
    width: 100%;
    padding: 14px;
    border: var(--b-border);
    border-radius: var(--b-radius-big);
    padding: 0.8em 1.2em 0.8em 1.2em;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--c-tasti);
    color: var(--c-text-con-sfondo);
    margin: 5px 0;
}

.paf-booking-submit.sort-btn.selected {
    background: var(--c-text-con-sfondo);
    color: var(--c-text);
}

.form-group {
    margin: 5px 0px;
}

/* ====================================
   MODERN BURGER ANIMATION
==================================== */

.paf-burger {
    width: 15px;
    height: 10px;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
}

.paf-burger span {
    height: 1.8px;
    width: 100%;
    background: var(--c-text-con-sfondo);
    border-radius: var(--b-radius-big);
    display: block;
    transition: 0.4s ease;
    transform-origin: center;
}

/* ===========================
   RESPONSIVE
   =========================== */

/* --- da 1025px in su: Desktop --- */

@media (min-width: 1025px) {
    .paf-search-desktop {
        display: flex;
    }

    .paf-btn-structure {
        display: inline-flex;
    }

    .t-datepicker {
        font-size: 11px;
        line-height: 1.2;
    }
}

@media (min-width: 1246px) {
    .t-datepicker {
        font-size: 13px;
    }
}

@media (min-width: 1524px) {
    .t-datepicker {
        font-size: 15px;
        line-height: 0.8;
    }
}


/* --- fino a 1024px: Tablet & Mobile --- */

@media (max-width: 1024px) {

    .paf-navbar {
        width: 50%;
        padding: 18px 34px 18px 0px;
    }

    .paf-menu-panel {
        top: 86px;
        right: 37px;
        margin-right: 1px;
    }

    .paf-navbar-inner {
        gap: 0px;
    }

    .paf-search-desktop {
        display: none;
    }

    .paf-btn-structure {
        display: none;
    }

    .listing-nav-variant .paf-navbar-actions--listing {
        display: inline-flex;
    }

    .listing-nav-variant .paf-listing-filter-btn {
        width: 50px;
        padding: 0;
        gap: 0;
    }

    .listing-nav-variant .paf-listing-filter-label {
        display: none;
    }

}

@media (max-width: 640px) {
    .paf-navbar-actions--mobile {
        display: inline-flex;
    }

    .paf-navbar-actions--desktop {
        display: none;
    }

    .listing-nav-variant .paf-navbar-actions--listing {
        display: none;
    }

}

/* --- fino a 600px: Mobile (solo piccoli aggiustamenti) --- */

@media (max-width: 640px) {
    .paf-navbar {
        width: 69%;
        padding: 19px 18px 19px 0px;
    }

    .paf-mobile-search-toggle2 {
        font-size: 16px;
        padding: 6px 8px 6px 20px;
        gap: 17px;
    }

    .paf-booking-module {
        max-width: 600px;
        width: calc(100% - 36px);
    }

    .paf-menu-panel {
        right: 26px;
    }
}

/*
============================================
FISSI SOTTO
============================================*/

/* --- BOTTOM RIGHT: always visible --- */

.paf-bottom-face {
    position: fixed;
    right: 33px;
    bottom: 17px;
    border: none;
    background: transparent;
    /* niente sfondo */
    padding: 0;
    cursor: pointer;
    z-index: 99;
}

.paf-bottom-face img {
    width: 76px;
    height: 76px;
    display: block;
}

@media (max-width: 1024px) {
    .paf-bottom-face {
        right: 17px;
        bottom: 24px;
    }
}

@media (max-width: 640px) {
    .paf-bottom-face {
        right: 5.5px;
        bottom: 23px;
    }

    .paf-bottom-face img {
        width: 66px;
        height: 66px;
    }
}

/* ====================================
  QUI PARTE IL MAIN
==================================== */

.paf-container {
    width: 100%;
    max-width: 1600px;
    padding: 0 0px;
    margin: 0 auto;
    padding-top: 100px;

}

.paf-container-large {
    max-width: 100%;
    padding: 0 0px;
    margin: 0 30px;
    padding-top: 100px;

}

@media (max-width: 1024px) {
    .paf-container {
        padding-top: 96px;
    }
}

@media (max-width: 640px) {
    .paf-container {
        padding-top: 90px;
    }
}

.area1 {
    padding-top: 25px;
}

@media (max-width: 1024px) {
    .area1 {
        padding-top: 20px;
    }
}

@media (max-width: 640px) {
    .area1 {
        padding-top: 18px;
    }
}

h1 {
    font-family: var(--f-bigtext);
    font-weight: 1000;
    font-size: 100px;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.02em;
    white-space: nowrap;
    z-index: 5;
    position: relative;
    padding: 0 5px;
}

@media (max-width: 1024px) {
    h1 {
        padding: 0 0.5px;
        font-size: 90px;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 15vw;
        padding: 0 1px;
    }
}

h2 {
    font-family: var(--f-bigtext);
    font-weight: 700;
    font-size: 20px;
    text-align: left;
    line-height: 1.1;
    z-index: 5;
    position: relative;
}

@media (max-width: 1024px) {
    h2 {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    h2 {
        font-size: 19px;
    }
}

.spacemain {
    margin-bottom: -5.5em;
}

@media (max-width: 1024px) {
    .spacemain {
        margin-bottom: 30px;
    }
}

@media (max-width: 640px) {
    .spacemain {
        margin-bottom: 15px;
    }
}

.text-container {
    overflow: hidden;
    /* Nasconde la parte del testo che è fuori dal contenitore */
}

h1.animated-text {

    transform: translateY(1em);
    animation: slide-up 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0s forwards;
}

h1.animated-text2 {

    transform: translateY(1em);
    animation: slide-up2 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s forwards;
}

/* Keyframes per animare l'effetto */
@keyframes slide-up {
    0% {
        transform: translateY(1em);

    }

    100% {
        transform: translateY(0);

    }
}

/* Keyframes per animare l'effetto */
@keyframes slide-up2 {
    0% {
        transform: translateY(1em);

    }

    100% {
        transform: translateY(0);
    }
}

/* ====================================
  TESTI BIRBANTELLI
==================================== */
h3 {
    font-size: 17px;
    letter-spacing: -0.0em;
    font-weight: 800;
    position: relative;
    z-index: 30;
}

@media (max-width: 1024px) {
    h3 {
        font-size: 16px;
    }
}

.text-h3 {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
    /* il contenitore sta a sinistra */
    padding-right: 100px;
}

.content-h3 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 290px;
    text-align: right;
    margin-bottom: 0;

}

@media (max-width: 1024px) {
    .content-h3 {
        width: 60%;
    }

    .text-h3 {
        padding-right: 60px;
        padding-top: 40px;
    }
}

@media (max-width: 640px) {
    .content-h3 {
        width: 70%;
    }
}

.content-h3 img {
    margin-top: -5em;
    margin-right: 6em;
    width: 36px;
    height: 36px;
    display: block;
    position: absolute;
}

@media (max-width: 640px) {
    .content-h3 img {
        width: 33px;
        height: 33px;
    }
}

/* Dove andiamo del MAIN */
.paf-mobile-search-main {
    display: none;
    background-color: white;
    z-index: 30;
    padding: 9px 9px 9px 21px !important;
    border-radius: var(--b-radius-big);
    align-items: center;
    box-shadow: var(--b-border3d);
    border: var(--b-border);
    cursor: pointer;
    font-family: var(--f-fontbutton);
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text);
}


/* mostra SOLO su mobile/tablet */
@media (max-width: 1024px) {
    .paf-mobile-search-main {
        margin: 0px auto 25px !important;
        position: relative;
        display: flex;
        width: 100%;
        transform: scale(1.1);
        justify-content: flex-start;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .paf-mobile-search-main {
        margin: 0px auto 37px !important;
        padding: 7px 7px 7px 19px !important;
        gap: 10px;
    }
}

.wrap-search-main {
    margin: 0 6px 0 6px;
}

@media (max-width: 640px) {
    .wrap-search-main {
        margin: 0 4px 0 4px;
    }
}

/* EFFETTO MOVIMENTO.   */
.moving {
    position: relative;
    animation-name: move;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

@keyframes move {
    0% {
        left: 0px;
        top: 0px;
    }

    50% {
        left: 0px;
        top: 5px;
    }

    100% {
        left: 0px;
        top: 0px;
    }
}

/*  CARD SCROLLABILI - STRUTTURE ============================*/


.paf-hscroll {
    width: 100%;
    box-sizing: border-box;
    scroll-padding-left: 51px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    /* IE / Edge */
    scrollbar-width: none;
    /* Firefox */
}

.paf-hscroll::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari / Opera */
}

.paf-hscroll-inner {
    margin: 0;
    display: flex;
    gap: 24px;
}

.hscroll-inner-index>.paf-card:first-child {
    margin-left: 51px;
    /* margine iniziale */
}

/* CARD */
.paf-card {
    flex: 0 0 200px;
    background: transparent;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* IMG */
.paf-card-img img {
    overflow: hidden;
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    filter: brightness(1);
    transition: filter 150ms ease;
    border-radius: 10px;
}

.paf-card-img:hover {
    filter: brightness(0.8);
}

.paf-card-img:active {
    filter: brightness(0.8);

}

.paf-card-img {
    position: relative;
}


@media (min-width: 1025px) {
    .filter-bar {
        flex-direction: row !important;
        align-items: center !important;
    }

    .page-home .paf-card {
        flex: 0 0 230px;
    }
}

/* BODY */
.paf-card-body {
    padding: 0.6em 0;
}

a.paf-card-body {
    color: inherit;
    text-decoration: none;
    line-height: 1.4;
}

/* TOP (prezzo + tipo) */
.paf-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4em;
}

.paf-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    margin-right: 14px;
    background: #ffffffdf;
    color: var(--c-text);
    font-size: 12px;
    font-weight: 600;
    padding: 0.4em 0.9em;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
    pointer-events: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.paf-badge-checkout {
    position: absolute;
    top: 45px;
    left: 45px;
    margin-right: 14px;
    background: #ffffffdf;
    color: var(--c-text);
    font-size: 12px;
    font-weight: 600;
    padding: 0.4em 0.9em;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
    pointer-events: none;
}

.paf-badge-checkout-confirm {
    position: absolute;
    top: 100px;
    left: 45px;
    margin-right: 14px;
    background: #ffffffdf;
    color: var(--c-text);
    font-size: 12px;
    font-weight: 600;
    padding: 0.4em 0.9em;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
    pointer-events: none;
}

.paf-info-border {
    background: var(--c-tasti);
    color: var(--c-text-con-sfondo);
    font-size: 13px;
    font-family: var(--f-font1);
    font-weight: 600;
    padding: 0.35em 0.9em;
    border-radius: 24px;
}

.paf-type {
    font-weight: 500;
    font-size: 13px;
    border-radius: 24px;
    padding: 0.3em 0.8em;
    border: 1px solid var(--c-text);
    margin-bottom: 0;
}

/* LOCATION */
.paf-loc {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 0.2em;
    margin: 0 0 0.5em 0;
}

.paf-loc svg {
    width: 0.9em !important;
    height: 0.9em !important;

}

/* TITOLO */
.paf-title {
    font-family: Roboto Condensed, sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    margin: 0 0 0 0;
    font-size: 16px;
    white-space: nowrap;

}

/* INFO ICONS */
.paf-info {
    display: flex;
    align-items: center;
    gap: 3.5em;
    font-family: Roboto Condensed, sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--c-text);
    margin-bottom: 0.3em;
    min-width: 0;
    /* allow flex children to shrink for ellipsis */
}

.paf-info-home {
    font-size: 14px;
}

.paf-info-map {
    font-size: 13px;
}

.paf-info img {
    width: 0.9em;
    margin-right: 0.1em;
}

.type-title {
    margin: 30px 0 0 52px;
    padding: 0;
}

.truncate {
    display: inline-block;
    /* o block a seconda del layout */
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* qui appaiono i tre puntini (...) */
    vertical-align: middle;
}

.paf-info .truncate {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 1024px) {
    .type-title {
        margin: 38px 0 0 33px;
    }
}

@media (max-width: 640px) {
    .type-title {
        margin: 35px 0 0 17px;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .paf-hscroll {
        scroll-padding-left: 51px;
    }

    .hscroll-inner-index>.paf-card:first-child {
        margin-left: 34px;
        /* margine iniziale */
    }

    .paf-hscroll-inner {
        gap: 20px;
    }

    .paf-card {
        flex: 0 0 230px;
    }

    .paf-card-img img {
        height: 230px;
    }
}

@media (max-width: 640px) {
    .paf-card {
        flex: 0 0 151px;
    }

    .paf-card-img img {
        height: 151px;
    }

    .paf-card-img-toggle img {
        height: 100px !important;
    }

    .hscroll-inner-index>.paf-card:first-child {
        margin-left: 18px;
    }

    .paf-info {
        gap: 2em;
    }

    .paf-info-home {
        font-size: 11px;
    }

    .paf-info-map {
        font-size: 12px;
    }

    .paf-title {
        font-size: 15px;
    }

    .paf-hscroll-inner {
        gap: 12px;
    }

    .paf-type {
        font-size: 10px;
    }

    .paf-info-border {
        font-size: 10px;
    }

    .paf-badge {
        font-size: 10px;
        top: 12px;
        left: 12px;
    }

    .paf-loc {
        font-size: 13px;
    }

    .paf-loc svg {
        width: 0.8em !important;
        height: 0.8em !important;
    }
}

/* ARROW */

/* Wrapper per posizionare frecce */
.paf-hscroll-wrap {
    position: relative;
}

/* Bottoni freccia */
.paf-arrow {
    position: absolute;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    background: var(--c-text-con-sfondo);
    color: var(--c-tasti);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform .12s ease, opacity .12s ease;
    padding: 0;
    stroke-width: 3px;
}

.paf-arrow svg {
    stroke-width: 3px;
}

.top-arrow1 {
    top: 36.5%;
}

.top-arrow2 {
    top: 36.5%;
}

/* posizioni */
.paf-arrow-left {
    left: 25px;
}

.paf-arrow-right {
    right: 50px;
}

@media (min-width: 1600px) {
    .paf-arrow-right {
        right: 25px;
    }
}

/* effetto hover/focus */
.paf-arrow:hover,
.paf-arrow:focus {
    transform: translateY(-50%) scale(1.04);
    outline: none;
}

/* stato disabilitato */
.paf-arrow[disabled] {
    opacity: 0;
    pointer-events: none;
}

/* Mostra frecce SOLO su dispositivi con puntatore 'fine' (desktop) */
@media (hover: hover) and (pointer: fine) {
    .paf-arrow {
        display: inline-flex;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50%);
        transition: opacity .14s ease, transform .12s ease;
    }

    .paf-hscroll-wrap:hover .paf-arrow,
    .paf-hscroll-wrap:focus-within .paf-arrow {
        opacity: 1;
        pointer-events: auto;
    }

    .paf-arrow[disabled] {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* ingrandimento al passaggio sulla singola freccia */
    .paf-hscroll-wrap .paf-arrow:hover,
    .paf-hscroll-wrap .paf-arrow:focus {
        transform: translateY(-50%) scale(1.04);
    }
}

/* Piccole regolazioni per schermi stretti (opzionale) */
@media (max-width: 1024px) {
    .paf-arrow {
        display: none !important;
    }
}

/* Nascondi definitivamente le frecce su device touch / schermi stretti */
@media (pointer: coarse),
(hover: none),
(max-width: 1024px) {
    .paf-arrow {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Rispetta prefer-reduced-motion: niente animazioni */
@media (prefers-reduced-motion: reduce) {
    .paf-arrow {
        transition: none;
    }
}

/* FOOOOOTERRRRRRRR

*/
/* --- COLONNA NEWSLETTER --- */
.paf-footer {
    background-color: var(--c-bg);
    padding: 85px 0 0 0;
}

.footer-container {
    width: 99%;
    max-width: 1700px;
    margin: 0 auto;
}

.footer-newsletter {
    width: 100%;
    max-width: 520px;
}

/* TITOLO */
.ft-news-title {
    font-family: var(--f-font1);
    font-weight: 1000;
    font-size: 38px;
    margin: 0 0 0.1em 0;
    letter-spacing: 0.02em;
    margin-left: -0.1em;
    text-transform: uppercase;
}

/* SOTTOTITOLO */
.ft-news-subtitle {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.6em;
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
}

.ft-news-eyes {
    width: 26px;
    margin-top: -1.2em;

}

/* --- CAMPO INPUT + BOTTONE --- */
.ft-news-input-row {
    display: flex;
    width: 90%;
    background: #ffffff;
    padding: 5px;
    box-shadow: var(--b-border3d);
    border: var(--b-border);
    border-radius: var(--b-radius-big);
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    margin-right: 15%;
    max-width: 600px;
}

.ft-news-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 16px;
    padding: 12px 12px;
    font-weight: 500;
}

.ft-news-input:focus {
    outline: none;
}

.ft-news-btn {
    flex-shrink: 0;
    background: var(--c-tasti);
    padding: 12px 23px;
    border: var(--b-border);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    color: var(--c-text-con-sfondo);
    filter: brightness(1);
    transition: filter 0.15s ease;
}

.ft-news-btn:hover {
    filter: brightness(0.9);
}

.ft-news-btn:active {
    filter: brightness(0.9);

}


/* PRIVACY */
.ft-news-privacy {
    font-size: 0.8em;
    margin-top: 5px;
    line-height: 1.1;
    font-weight: 400;
    max-width: 4880px;
    padding-right: 10%;
}

/* WRAPPER DELLE 3 COLONNE */
.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 0 110px 90px 110px;
}

/* Ogni colonna */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 7px;

}

/* Larghezze (desktop) */
.col-1 {
    width: 46%;
}

.col-2 {
    width: 30%;
    font-size: 15px;
}

.col-3 {
    width: 24%;
}

/* Titoli */
.footer-col h4 {
    font-size: 15px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 8px;
}

.footer-col a {
    text-decoration: none;
    color: inherit;
    display: block;
    font-weight: 400;
    line-height: 1;
    font-size: 16px;
    text-transform: uppercase;
    font-family: Roboto Condensed, sans-serif;
}

/* SOCIAL */
.footer-social {
    display: flex;
    gap: 30px;

}

.footer-social img {
    width: 17px;
    height: 17px;
    display: block;
    margin: 0;
}

/* POWERED */
.footer-powered {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 13px;
}

/* RIGA FINALE (DESKTOP) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (min-width: 1580px) {
    .footer-bottom {
        max-width: 1580px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1024px) {
    .ft-news-input-row {
        display: flex;
        width: 100%;
    }

    .ft-news-subtitle {
        margin-bottom: 0.9em;
    }

    .footer-bottom {
        flex-direction: column;
        /* STACCA - LE DUE COSE */
        gap: 0px;
        margin-top: 30px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* DUE COLONNE */
        gap: 80px 20px;
        padding: 0 100px 60px 100px;
    }

    .footer-col h4 {
        font-size: 15px;
    }

    .col-1 {
        grid-column: 1 / 3;
        width: 100%;
    }

    .footer-col a {
        line-height: 1.9;
        font-size: 16px;
    }

    .col-2,
    .col-3 {
        display: block;
        width: 100%;
    }

    .footer-powered {
        justify-content: center;
    }
}

/* MOBILE (più padding solo) */
@media (max-width: 640px) {
    .footer-social {
        margin-top: 0px;
    }

    .footer-columns {
        gap: 50px 20px;
        padding: 0 5px 60px 5px;
    }

    .footer-bottom {
        margin-top: 20px;
        margin-bottom: 5px;
    }

    .col-2 {
        font-size: 13.5px;
    }
}



/* PAGINA IMMOBILI - ESPERIENZE - CONVENZIONI ------------------------------*/




/* Variabili utili (personalizzabili) */
:root {
    --gutter: 18px;
    --page-max-width: 1500px;
    /* dimensioni mappa (usate dal toggle) */
    /* dimensioni mappa (usate dal toggle) */
    --map-min-h: 300px;
    /* altezza mappa ridotta (mobile/tablet) */
    --map-max-h: 490px;
    /* altezza mappa allargata (toggle) */
    --map-prima-pag: 720px;
    /* fallback/default */
    --map-specifica-pag: 400px;
    /* altezza griglia desktop: opzionale ricalcolo */
    --results-grid-desktop-h: calc(77vh);
    /* valore originale: puoi sovrascriverlo al desktop con calc */
    --filter-primary-btn-w: 120px;
    /* desktop e tablet*/
    --filter-primary-btn-m: 135px;
    /* mobile */
}

.filter-bar__primary .btn--primary {
    flex: 0 0 var(--filter-primary-btn-w);
    width: var(--filter-primary-btn-w);
    min-width: var(--filter-primary-btn-w);
    max-width: var(--filter-primary-btn-w);
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .filter-bar__primary .btn--primary {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }
}


/* contenitore pagina */
.page-x {
    display: flex;
    justify-content: center;
    padding: var(--gutter);
    margin: 100px 0 0 0;
    padding-top: 0;
    padding-bottom: 0;

}

.layout-x {
    width: 100%;
    max-width: var(--page-max-width);
    display: grid;
    gap: 30px;
    /* distanza colonne*/
    align-items: start;
    margin: 0 33px 0 33px;

}

@media (min-width: 1600px) {
    .layout-x {
        --layout-x-extra: clamp(0px, (100vw - 1600px) / 10, 50px);
        max-width: calc(var(--page-max-width) + var(--layout-x-extra));
        margin-left: 33px;
        margin-right: calc(33px - var(--layout-x-extra));
    }
}

.divisione-page2 {
    grid-template-columns: 37fr 63fr;
    gap: 45px;
}

.start-dintorni {
    margin-top: 5vh;
}

/* colonne generiche */
.colonna {
    min-width: 0;
}

/* COL SINISTRA: mappa */
.col--map {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    background-color: #c9c9c9;
}

/* contenit mappa */
.map {
    width: 100%;
    min-height: 180px;
    transition: height 300ms ease;
    will-change: height;
    border-radius: 12px;
    overflow: hidden;
}

.map-search {
    height: var(--map-prima-pag);
}

.map-immobile {
    height: var(--map-specifica-pag);
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    touch-action: pan-x pan-y;
}

.map.map--collapsed {
    height: var(--map-min-h);
}

.map.map--expanded {
    height: var(--map-max-h);
}

/* pulsante mappa sopra sotto */
.map-toggle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.25em;
    /* attaccato al bordo inferiore */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 33px;
    padding: 1px;
    border-radius: 20px;
    background: white;
    border: none;
    cursor: pointer;

}

.listing-panel-grip {
    display: none;
}


/* barra filtri (BLU) */
.filter-bar {
    display: flex;
    gap: 0px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
    background-color: transparent;
}

.filter-bar__primary,
.filter-bar__secondary {
    display: flex;
    gap: 0px;
    align-items: center;

}

.filter-bar__primary--map {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
    text-decoration: none;
}

.btn--primary {
    background-color: white;
    border: none !important;
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.btn--primary:hover {
    background-color: rgb(255, 255, 255);
    filter: brightness(0.9);
}

.touch {
    background-color: var(--c-tasti-secondari) !important;
    color: var(--c-text) !important;
}

.btn--secondary {
    background-color: white;
    border: none !important;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 16px !important;
}

.btn--secondary:hover {
    background-color: rgb(255, 255, 255);
    filter: brightness(0.9);
}

.btn__text {
    font-size: 1rem;
}

.results {
    margin-top: var(--gutter);
}

/* griglia risultati */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* desktop: 3 colonne */
    gap: 18px;
    padding-bottom: var(--gutter);
    max-height: var(--results-grid-desktop-h);
    overflow-y: auto;
}

.page-x--listing .results-heading {
    display: none;
}

.page-x--listing .results-grid .paf-card {
    flex: initial;
}

.page-x--listing .results-grid .paf-card-img {
    position: relative;
}


/* -------- POSIZIONAMENTO: SECONDARY A DESTRA SOLO SU DESKTOP -------- */
@media (min-width: 641px) {
    .filter-bar__secondary {
        margin-left: auto;
    }

}

@media (max-width: 1024px) {
    .layout-x {
        gap: 13px;
        /* distanza colonne*/
        margin: 0 16px 0 16px;
    }

    .divisione-page2 {
        grid-template-columns: 1fr;
        /* una colonna su tablet/mobile */
    }

    .filter-bar {
        margin: 0.8em 0 1.6em 0;
    }

    .page-x {
        margin: 110px 0 0 0;
    }

    .results-grid {
        gap: 24px;
    }

    .map-toggle {
        display: inline-flex;
    }

    .map {
        height: var(--map-min-h);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        max-height: none;
        overflow: visible;
    }

    @media (max-width: 640px) {
        .page-x {
            margin: 95px 0 0 0;
        }

        .layout-x {
            gap: 2.5vh;
            /* distanza colonne*/
            margin: 0 0;
        }

        .divisione-page2 {
            grid-template-columns: 1fr;
            /* una colonna su tablet/mobile */
        }

        .page-x--listing .results-grid {
            gap: 16px;
        }

        .page-x--listing .paf-card-body {
            flex: 1;
            padding: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 100%;
            min-width: 0;
        }

        .page-x--listing .paf-info {
            min-width: 0;
            overflow: hidden;
        }

        .page-x--listing .paf-info .truncate {
            display: block;
            max-width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .filter-bar {
            flex-direction: column;
            align-items: stretch;
            gap: 8px;
            padding-left: 0;
            padding-right: 0;
            margin: 0.8em 0 1.6em 0;
        }

        .filter-bar__primary {
            order: 1;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .page-x--listing .filter-bar__primary {
            justify-content: center;
        }

        .filter-bar__secondary {
            order: 2;
            width: 100%;
            display: flex;
            justify-content: space-between;
            margin: 10px 0;
        }

        .filter-bar__primary .btn--primary {
            max-width: var(--filter-primary-btn-m);
        }
    }

}

@media (max-width: 640px) {
    .page-x--listing {
        --listing-mobile-top: 84px;
        padding: 0;
        margin: 0;
        min-height: 100vh;
        overflow: visible;
    }

    .page-x--listing .layout-x {
        margin: 0;
        gap: 0;
        height: 100%;
    }

    .page-x--listing .divisione-page2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-x--listing .col--map {
        position: fixed;
        inset: 0;
        border-radius: 0;
        z-index: 1;
        margin-top: -3.5em;
        touch-action: pan-x pan-y;
    }

    .page-x--listing .map-search {
        height: 100vh;
        border-radius: 0;
        touch-action: pan-x pan-y;
    }

    .page-x--listing .map-search iframe {
        pointer-events: auto;
    }

    .page-x--listing .map-toggle {
        display: none;
    }

    .page-x--listing .filter-bar__primary {
        --filter-pill-gap: 0px;
        --filter-pill-pad: 7px;
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        z-index: auto;
        justify-content: flex-start;
        gap: var(--filter-pill-gap);
        padding: 0;
        box-sizing: border-box;
        border-radius: 999px;
        overflow: hidden;
    }

    .page-x--listing .filter-bar__primary .btn--primary {
        margin: 0;
        flex: 0 0 auto;
        width: calc((100% - (2 * var(--filter-pill-gap))) / 3);
        max-width: none;
        min-width: 0;
    }

    .page-x--listing .listing-panel {
        --panel-open: 55vh;
        --panel-collapsed: 23vh;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: var(--panel-open);
        max-height: var(--panel-open);
        padding: 0 18px 20px;
        background: var(--c-bg);
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -14px 28px rgba(0, 0, 0, 0.1);
        z-index: 5;
        display: flex;
        flex-direction: column;
        overflow: scroll;
        touch-action: pan-y;
        transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
        will-change: transform;
    }

    .page-x--listing .listing-panel.is-collapsed {
        transform: translateY(calc(var(--panel-open) - var(--panel-collapsed)));
    }

    .page-x--listing .listing-panel-grip {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 14px 0 16px;
        background: var(--c-bg);
        touch-action: none;
        cursor: grab;
        user-select: none;
    }

    .page-x--listing .listing-panel-grip::before {
        content: "";
        width: 44px;
        height: 4px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.7);
    }

    .page-x--listing .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin: 10px 0;
        height: auto;
        overflow: visible;
    }

    .page-x--listing .results {
        margin: 0;
    }

    .page-x--listing .results::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .page-x--listing .results-heading {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Roboto Condensed", sans-serif;
        font-size: 15px;
        font-weight: 400;
        color: #111;
        height: 32px;
        text-align: center;
        padding-bottom: 0.8em;
    }

    .page-x--listing~#footer {
        display: none;
    }
}

@media (min-width: 1025px) {

    /* nascondi il map-toggle su desktop */
    .page-x--listing .map-toggle {
        display: none;
    }

    /* se lo scroll avviene su .page-x, serve un'altezza e overflow */
    .page-x--listing {
        --listing-head-h: 66px;
        height: calc(var(--results-grid-desktop-h) + var(--listing-head-h));
    }

    .page-x--listing .divisione-page2 {
        align-items: stretch;
    }

    .page-x--listing .col--map .map-search,
    .page-x--listing .col--map .map-immobile {
        height: 100%;
    }

    .page-x--listing .results-grid {
        grid-template-columns: repeat(3, 1fr);
        overflow-y: auto;
    }

    .page-x--listing .filter-bar__primary--map {
        display: inline-flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 55px;
        z-index: 4;
        width: max-content;
        max-width: calc(100% - 24px);
        border-radius: 999px;
        overflow: visible;
        padding: 6px 8px;
    }

    .page-x--listing .filter-bar__primary--map .btn--primary {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
        padding-top: 0.6em;
        padding-bottom: 0.6em;
    }
}

/* Utility visibilità accessibile */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;

}





/* --------- Pagine specifiche Immobile-esperienze-convenzione ---*/





.divisione-page3 {
    grid-template-columns: 69fr 32fr;
    align-items: start;
    /* invece di stretch */
    margin-bottom: 14px;
    gap: 2.5%;
}

h6 {
    font-size: 16px;
    font-family: "Roboto Condensed";
    font-weight: 400;
    line-height: 1;
    margin: 0;
    color: var(--c-text-secondario);
}

h5 {
    font-size: 18px;
    font-family: "Roboto Condensed";
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
}

.pagina-specifica {
    background-color: white;
    border-radius: 13px;
    margin: 0 0 2vh 0;
    padding: 2em;
}

.flex-specifica {
    margin: 0;
    margin-bottom: 0.5em;
    padding-top: 0 !important;
    display: flex;
    align-items: center;
    /* allinea verticalmente */
    gap: 10px;

}

.flex-specifica-desc {
    margin: 0;
    padding-top: 0 !important;
    display: flex;
    align-items: center;
    /* allinea verticalmente */
    gap: 8px;
    margin: 8px 0;
}

.date-specifica {
    font-size: 1.2vw;
}

.date-specifica-wrapper {
    margin: 0;
    display: flex;
    align-items: center;
    /* allinea verticalmente */
    gap: 6px;
    font-size: 15px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
}

.titolo-pagina-specifica {
    font-family: var(--f-bigtext);
    font-weight: 700;
    font-size: 25px;
}

.indirizzo-specifica {
    margin: 0;
    display: flex;
    align-items: center;
    /* allinea verticalmente */
    gap: 6px;
}

.indirizzo-specifica a {
    color: inherit;
    text-decoration: none;
}

.desc-specifica-noeffect {
    margin: 1em 0 2em 0;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 40px;
    margin: 24px 0 28px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
    color: #5e5e5e;
}

.servizio-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.servizio-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.paf-price-specifica {
    background: var(--c-tasti);
    color: var(--c-text-con-sfondo);
    font-size: 1vw;
    font-family: var(--f-font1);
    font-weight: 600;
    padding: 0.3em 0.7em;
    border-radius: 0.8em;
    margin-right: 0.4em;
}

.modulo-fisso {
    position: static;
    /* qui non serve sticky */
    display: flex;
    flex-direction: column;
    gap: 1.9vh;
}

.modulo-fisso-main {
    padding: 5px 15px;
    border-radius: 15px;
    line-height: 1.3;
    font-size: 18px;
}

.modulo-fisso-more {
    background-color: white;
}

.modulo-fisso-prenota {
    background-color: white;
}

.modulo-fisso-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    font-family: var(--f-font1);
    font-size: 1.4vw;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    text-align: left;
    color: inherit;
}

.modulo-fisso-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--c-tasti-secondari);
    position: relative;
    transition: transform 0.2s ease;
}

.modulo-fisso-toggle-icon::before {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--c-tasti);
    border-bottom: 2px solid var(--c-tasti);
    transform: rotate(45deg);
}

.panel-content-mobile {
    margin-top: 9px;
}

.modulo-fisso-panel-content,
.paf-desc-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;

}

.modulo-fisso-panel-content p,
.modulo-fisso-panel-content h5,
.paf-desc-content p,
.paf-desc-content h5 {
    margin: 0 0 0 0;
    font-weight: 300;
}

.paf-desc-panel {
    margin-bottom: 3.5vh;
}

.modulo-fisso-panel.is-open .modulo-fisso-panel-content,
.paf-desc-panel.is-open .paf-desc-content {
    max-height: 1200px;
    opacity: 1;
}

.modulo-fisso-panel.is-open .modulo-fisso-toggle-icon,
.paf-desc-panel.is-open .modulo-fisso-toggle-icon {
    transform: rotate(180deg);
}

.prenota-immobile,
.richiesta-info,
.verifica-convenzione {
    background-color: var(--c-tasti-secondari) !important;
    color: var(--c-text);
    margin-bottom: 0.7em;
}

.paf-email-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 14px;
}

.paf-email-field label {
    font-family: var(--f-font1);
    font-size: 18px;
    font-weight: 500;
}

.paf-email-field input {
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 10px 14px;
    font-family: var(--f-font1);
    font-size: 16px;
    outline: none;
}

.paf-email-field input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.paf-email-field input:focus {
    border-color: rgba(0, 0, 0, 0.35);
}

.label-email {
    margin-top: 1em;
}

.extra {
    margin-bottom: 2em;
}

/* desktop */
@media (min-width: 1025px) {
    .verifica-convenzione {
        display: none;
    }

    .verifica-convenzione+.paf-email-field,
    .paf-email-field:has(+ .verifica-convenzione) {
        display: none;
    }

    #modulo-fisso {
        position: fixed;
        top: 20px;
        width: min(420px, 35vw);
        /* adattala */
        left: 0;
        width: 0;
    }

    .sticky-slot {
        position: relative;
        /* riferimento */
    }

    .divisione-page3>section:last-child {
        position: sticky;
        align-self: start;
    }
}

/* grande desktop */
@media (min-width: 1600px) {
    .date-specifica {
        font-size: 17px;
    }

    .paf-price-specifica {
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
    #modulo-fisso {
        position: static;
        width: auto;
        margin-top: 20px;
        left: auto;
        transform: none;
        gap: 20px;
    }

    .modulo-fisso-main {
        padding: 2vh 3vw 2vh 3vw;
    }

    .servizi-grid {
        gap: 6px 0px;
    }

    .titolo-pagina-specifica {
        font-size: 23px;
    }

    .divisione-page3 {
        grid-template-columns: 1fr;
        /* una colonna su tablet/mobile */
        gap: 0px;
    }

    h5 {
        font-size: 17px;
    }

    .colonna-convenzione {
        display: none;
    }

    h6 {
        font-size: 15px;
        line-height: 1.3;
    }

    .date-specifica {
        font-size: 16px;
    }

    .paf-price-specifica {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .servizi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        font-size: 15px;
        gap: 5px 0px;
    }

    .servizio-icon {
        width: 22px;
        height: 22px;
    }

    .pagina-specifica {
        padding: 1.4em;
    }

    h5 {
        font-size: 16px;
    }

    .flex-specifica {
        flex-wrap: nowrap;
        gap: 2px;
    }

    .flex-specifica-desc {
        flex-wrap: nowrap;
    }

    .date-specifica-wrapper {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-basis: auto;
        min-width: 0;
        margin-right: 0.5em;
    }

    .spazio-footer-immobile {
        margin-bottom: 110px;
    }

    .panel-content-mobile {
        margin-top: 1em;
    }

    #modulo-fisso-prenota {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.12);
        background: #fff;
        padding-bottom: env(safe-area-inset-bottom);
        --sheet-peek: 130px;
        transform: translateY(var(--sheet-translate, calc(100% - var(--sheet-peek))));
        transition: transform 0.25s ease;
    }

    #modulo-fisso-prenota.is-dragging {
        transition: none;
    }

    #modulo-fisso-prenota .modulo-fisso-toggle {
        padding: 10px 0 8px;
        touch-action: none;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    #modulo-fisso-prenota .modulo-fisso-toggle::before {
        content: "";
        display: block;
        width: 52px;
        height: 5px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.16);
        margin: 4px auto 10px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    #modulo-fisso-prenota .modulo-fisso-toggle-icon {
        display: none;
    }

    #modulo-fisso-prenota .modulo-fisso-toggle h2 {
        margin: 0;
    }

    #modulo-fisso-prenota[data-sheet-state="open"] .modulo-fisso-toggle-icon {
        transform: rotate(180deg);
    }

    #modulo-fisso-prenota .modulo-fisso-panel-content {
        max-height: none;
        opacity: 1;
        overflow-y: auto;
        max-height: calc(92vh - var(--sheet-peek));
    }

    #modulo-fisso-prenota .paf-booking-submit,
    #modulo-fisso-prenota .paf-booking-back {
        margin-bottom: 20px;
    }

    #modulo-fisso {
        padding-bottom: calc(var(--sheet-peek, 72px) + 10px + env(safe-area-inset-bottom));
    }

    .modulo-fisso-main {
        padding: 2vh 5vw 2vh 5vw;
    }

    .date-specifica {
        font-size: 17px;
    }

    .paf-price-specifica {
        font-size: 16px;
    }
}

.pac-container {
    width: 300px !important;
    padding: 20px;
    box-shadow: 0 7px 15px rgba(0, 0, 0, .25);
    border-radius: 24px;
    border: none;
}

.paf-booking-click-area {
    pointer-events: none !important;
}

#search-location {
    pointer-events: auto !important;
}

.feature-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.feature-label input[type="checkbox"] {
    cursor: pointer;
}

.btn__text {
    font-size: 1rem;
}

.paf-booking-field-wrapper.d-flex {
    justify-content: space-between;
}

.paf-booking-field.sort-btn {
    flex: 0 0 var(--filter-primary-btn-w);
    width: var(--filter-primary-btn-w);
    min-width: var(--filter-primary-btn-w);
    max-width: var(--filter-primary-btn-w);
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.paf-booking-field.sort-btn:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.paf-booking-field.sort-btn.selected {
    background-color: var(--c-tasti-secondari) !important;
    color: var(--c-text) !important;
}

/* Stile generico per liste di link */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    margin-bottom: .5rem;
}

label a {
    color: #5e5e5e !important;
    font-weight: 700;
}

ul li a {
    color: var(--c-text) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

ul li a:hover {
    color: var(--c-tasti-secondari) !important;
}

input#search-location {
    outline: none !important;
}

.cf-turnstile {
    margin: 20px auto;
    float: right;
    width: 100%;
}

.cf-turnstile>div {
    max-width: 310px;
    margin: auto;
}

.simple-sidebar {
    border-radius: 0.4rem;
    border: 1px solid #eaf2f9;
    background: #ffffff;
    padding: 25px;
    margin-bottom: 30px;
    z-index: 99999999;
}

.simple-sidebar .input-with-icon .form-control,
.simple-sidebar .input-with-shadow .form-control,
.simple-sidebar .input-with-shadow .select2-container,
.simple-sidebar .input-with-icon .select2-container {
    box-shadow: none;
    border: 1px solid #e7ebf1;
}

.simple-sidebar button.w3-bar-item.w3-button.w3-large {
    background: #ffffff;
    border: none !important;
    cursor: pointer;
    outline: none !important;
    color: #465169;
}

.search-sidebar_header {
    display: none;
    position: relative;
    width: 100%;
    height: 3rem;
    padding: 0rem 0rem 0.5rem;
    background-color: #fff;
    border-bottom: 1px solid #dfe4ec;
    margin-bottom: 1rem;
}

.search-sidebar_header .ssh_heading {
    margin: 0;
    flex: 1;
    font-size: 16px;
}



.dashboard-navbar {
    position: relative;
    width: 100%;
    padding: 0;
    background: #ffffff;
    border-radius: 10px;
}

.dashboard-navbar {
    box-shadow: none;
}

.dashboard .sm-sidebar {
    padding: 0.6rem 0;
}

.submit-page {
    position: relative;
    width: 100%;
    padding: 1em;
    background: #ffffff;
    box-shadow: 0 0 20px 0 rgb(19 115 234 / 10%);
    border-radius: 10px;
}

.d-user-avater {
    text-align: center;
    margin: 2em 0;
}

.d-user-avater img {
    max-width: 180px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.d-user-avater h4 {
    margin: 10px 0 3px 0;
    font-size: 19px;
}

.d-navigation ul {
    padding: 0;
    margin: 0;
}

.d-navigation ul li {
    list-style: none;
    padding: 10px 15px;
    border-bottom: 1px solid #edf0f7;
}

.d-navigation ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.d-navigation ul li.active {
    background: #181E35 !important;
}

.d-navigation ul li.active a {
    color: #fff !important;
}

.d-navigation ul li a {
    padding: 3px 0;
    color: #1b4167;
    font-size: 14px;
    display: inline;
    font-weight: 600;
}

.d-navigation ul li a i {
    margin-right: 10px;
}


.dashboard-stat {
    display: inline-block;
    padding: 0;
    height: 160px;
    background-color: #444;
    color: #fff !important;
    border-radius: 4px;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    transition: .3s;
    cursor: pointer;
}

.dashboard-stat-content {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.dashboard-stat-content h4 {
    font-size: 42px;
    font-weight: 600;
    padding: 0;
    margin: 0;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 50px;
}

.dashboard-stat-content span {
    font-size: 16px;
    margin-top: 4px;
    line-height: 24px;
    font-weight: 300;
    display: inline-block;
}

.dashboard-stat-icon {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-40%);
    font-size: 80px;
    opacity: .2;
}

.dashboard-stat-icon {
    font-size: 65px;
}

.dashboard-stat.widget-1 {
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.1));
    background-color: #a6c326;
    filter: brightness(1);
}

.dashboard-stat.widget-2 {
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.1));
    background-color: #f39f00;
}

.dashboard-stat.widget-3 {
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.1));
    background-color: #5e5e5e;
}

.dashboard-stat.widget-4 {
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.1));
    background-color: #ce024b;
}

.dashboard-stat.widget-5 {
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.1));
    background-color: #a671ce;
}

.dashboard-stat.widget-6 {
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.1));
    background-color: #3a9dec;
}

.full-width {
    width: 100%;
}

.paf-button-submit {
    display: inline-flex;
    align-items: center;
    padding: 14px;
    border: var(--b-border);
    border-radius: 10px;
    background: var(--c-tasti);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--c-text-con-sfondo);
    filter: brightness(1);
    transition: filter 0.15s ease;
    text-decoration: none;
}

.paf-button-submit:hover {
    filter: brightness(0.9);
}

.paf-button-submit:active {
    filter: brightness(0.9);
}

#tableau {
    border-radius: 0.4rem;
    border: 1px solid #eaf2f9;
    background: #ffffff;
    margin-bottom: 15px;
    max-width: none;
}

#tableau .rescalendar {
    max-width: none;
}

#tableau .rescalendar .rescalendar_controls {
    margin-bottom: 20px;
    margin-left: 0;
}

#tableau .rescalendar .rescalendar_table {
    width: 100%;
    border-collapse: collapse;
}

#tableau .rescalendar .rescalendar_table td {
    padding: 3px;
    border: 1px solid #ebebeb;
    border-radius: 0;
    height: 30px;
}

#tableau .rescalendar .rescalendar_table thead td {
    background: #f5f5f5;
}

#tableau .rescalendar .rescalendar_table thead td.today {
    background: #009868;
}

#tableau .rescalendar .rescalendar_table td.day_cell span {
    font-size: 11px;
    text-align: center;
    width: 36px;
    margin: auto;
    padding: 0;
}

#tableau .rescalendar .rescalendar_table td.firstColumn {
    width: 200px;
    font-size: 11px;
    white-space: nowrap;
}

.tableau-container {
    overflow-x: auto;
}

#tableau {
    position: relative;
    min-width: 1200px;
}

#tableau .tableau-grid {
    display: grid;
}

#tableau .tableau-grid.property:hover>div {
    border-top: 1px solid #da1313;
    border-bottom: 1px solid #da1313;
}

#tableau .tableau-grid>div {
    text-align: center;
    font-size: 10px;
    color: #1b1b1b;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #f5f5f5;
    border-right: 1px solid #f5f5f5;
}

#tableau .tableau-grid>div.first {
    text-align: left;
    padding: 0 6px;
    font-size: 13px;
    border-left: 1px solid #f5f5f5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#tableau .tableau-grid div.day-0,
#tableau .tableau-grid div.day-6 {
    background: #f9f9f9;
}

#tableau .tableau-grid>div.head {
    font-weight: 700;
    height: 40px;
    line-height: 20px;
    background: #f5f5f5;
    text-transform: uppercase;
    transition: all .2s;
}

#tableau .tableau-grid>div.head:hover {
    background: #c9c9c9;
}

#tableau .tableau-grid>div.head.first {
    line-height: 40px;
}

.tableau-filters {
    margin-bottom: 20px;
}

.tableau-filters input {
    padding: 8px 20px !important;
}

.tableau-filters .select2-container {
    width: 100% !important;
}

.tableau-filters .select2-container--default .select2-selection--multiple {
    min-height: 34px;
    border: 1px solid #f1f1f1;
    border-radius: var(--bs-border-radius);
}

.tableau-filters .select2-container .select2-search--inline .select2-search__field {
    margin: 0;
}

.tableau-filters .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0;
    display: block;
}

.tableau-filters .select2-results__option {
    font-size: 12px;
}

.tableau-filters .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #f1f1f1;
}

.tableau-filters input {
    background: #fff !important;
    font-size: 13px !important;
}

.calendar-available {
    background: #caedc8 !important;
}

.calendar-blocked {
    background: #e57288 !important;
}

.calendar-ical {
    background: #E6A539 !important;
}

.calendar-offer-new {
    background: #abcdef !important;
}

.calendar-offer-accepted {
    background: #008aff !important;
}

.calendar-available+.calendar-blocked:not(.calendar-ical):not(.calendar-offer-new):not(.calendar-offer-accepted) {
    background: linear-gradient(120deg, #caedc8 50%, #e57288 50%) !important;
}

.calendar-blocked+.calendar-available:not(.calendar-ical):not(.calendar-offer-new):not(.calendar-offer-accepted) {
    background: linear-gradient(120deg, #e57288 50%, #caedc8 50%) !important;
}

.calendar-offer-new.calendar-checkin,
.calendar-free+.calendar-offer-new.calendar-checkin,
.calendar-free+.calendar-ical.calendar-offer-new.calendar-checkin {
    background: linear-gradient(120deg, #ffffff 50%, #abcdef 50%) !important;
}

.calendar-offer-new.calendar-checkout {
    background: linear-gradient(120deg, #abcdef 50%, #ffffff 50%) !important;
}

.calendar-offer-new.calendar-checkin.calendar-offer-new.calendar-checkout {
    background: linear-gradient(120deg, #abcdef 40%, #ffffff 60%, #abcdef 40%) !important;
}


.calendar-offer-new.calendar-checkout.calendar-available {
    background: linear-gradient(120deg, #abcdef 50%, #caedc8 50%) !important;
}

.calendar-offer-new.calendar-checkin.calendar-available {
    background: linear-gradient(120deg, #caedc8 50%, #abcdef 50%) !important;
}

.calendar-offer-accepted.calendar-checkin {
    background: linear-gradient(120deg, #ffffff 50%, #008aff 50%) !important;
}

.calendar-offer-accepted.calendar-checkin.calendar-available {
    background: linear-gradient(120deg, #caedc8 50%, #008aff 50%) !important;
}

.calendar-offer-accepted.calendar-checkin.calendar-blocked {
    background: linear-gradient(120deg, #e57288 50%, #008aff 50%) !important;
}

.calendar-free+.calendar-offer-accepted.calendar-checkin {
    background: linear-gradient(120deg, #ffffff 50%, #008aff 50%) !important;
}

.calendar-free+.calendar-ical.calendar-offer-accepted.calendar-checkin {
    background: linear-gradient(120deg, #ffffff 50%, #008aff 50%) !important;
}

.calendar-offer-accepted.calendar-checkout {
    background: linear-gradient(120deg, #008aff 50%, #ffffff 50%) !important;
}

.calendar-offer-accepted.calendar-checkout.calendar-available {
    background: linear-gradient(120deg, #008aff 50%, #caedc8 50%) !important;
}

.calendar-offer-accepted.calendar-checkout.calendar-blocked {
    background: linear-gradient(120deg, #008aff 50%, #e57288 50%) !important;
}

.calendar-offer-accepted.calendar-checkout.calendar-checkin {
    background: linear-gradient(120deg, #008aff 40%, #ffffff 60%, #008aff 40%) !important;
}

.calendar-offer-new.calendar-checkin.calendar-offer-accepted.calendar-checkout {
    background: linear-gradient(120deg, #008aff 50%, #abcdef 50%) !important;
}

.calendar-ical.calendar-offer-new.calendar-checkin {
    background: linear-gradient(120deg, #E6A539 50%, #abcdef 50%) !important;
}

.calendar-ical.calendar-offer-new.calendar-checkout {
    background: linear-gradient(120deg, #abcdef 50%, #E6A539 50%) !important;
}

.calendar-ical.calendar-offer-accepted.calendar-checkin {
    background: linear-gradient(120deg, #E6A539 50%, #008aff 50%) !important;
}

.calendar-ical.calendar-offer-accepted.calendar-checkout {
    background: linear-gradient(120deg, #008aff 50%, #E6A539 50%) !important;
}

.calendar-ical.calendar-checkin {
    background: linear-gradient(120deg, #ffffff 50%, #E6A539 50%) !important;
}

.calendar-ical.calendar-checkin.calendar-available {
    background: linear-gradient(120deg, #caedc8 50%, #E6A539 50%) !important;
}

.calendar-ical.calendar-checkin.calendar-blocked {
    background: linear-gradient(120deg, #e57288 50%, #E6A539 50%) !important;
}

.calendar-ical.calendar-checkout {
    background: linear-gradient(120deg, #E6A539 50%, #ffffff 50%) !important;
}

.calendar-ical.calendar-checkout.calendar-available {
    background: linear-gradient(120deg, #E6A539 50%, #caedc8 50%) !important;
}

.calendar-ical.calendar-checkout.calendar-blocked {
    background: linear-gradient(120deg, #E6A539 50%, #e57288 50%) !important;
}

.calendar-ical.calendar-checkin.calendar-offer-new.calendar-checkout {
    background: linear-gradient(120deg, #abcdef 50%, #E6A539 50%) !important;
}

.calendar-ical.calendar-checkin.calendar-offer-new.calendar-chekin {
    background: linear-gradient(120deg, #abcdef 50%, #E6A539 50%) !important;
}

.calendar-ical.calendar-checkin.calendar-ical.calendar-checkout {
    background: linear-gradient(120deg, #E6A539 40%, #ffffff 60%, #E6A539 40%) !important;
}

.calendar-offer-accepted.calendar-checkin.calendar-ical.calendar-checkout {
    background: linear-gradient(120deg, #E6A539 50%, #008aff 50%) !important;
}

.tableau-grid.property a {
    color: #5e5e5e;
    text-decoration: none;
    background-color: transparent;
}

.highlighted:not(.head) {
    border-right: 1px solid #da1313 !important;
    border-left: 1px solid #da1313 !important;
}

.highlighted.head {
    background: #c9c9c9 !important;
}

.today {
    background: #c9c9c9 !important;
}

.selected-checkin {
    background-color: #8be4c8 !important;
}

.selected-range {
    background-color: #8be4c8 !important;
}

.selected-checkin,
.selected-range {
    transition: background-color 0.2s ease;
}

.badge {
    font-weight: 400;
}

.badge-xs {
    font-size: 9px;
}

.badge-xs,
.badge-sm {
    -webkit-transform: translate(0, -2px);
    -ms-transform: translate(0, -2px);
    -o-transform: translate(0, -2px);
    transform: translate(0, -2px);
}

.badge-success {
    background-color: #a6c326;
    filter: brightness(1);
}

.badge-info {
    background-color: #008aff;
}

.badge-primary {
    background-color: #6DC3BA;
}

.badge-warning {
    background-color: #f69520;
}

.badge-danger {
    background-color: #a70a29;
}

.badge-royal {
    background-color: #073aa8;
}

.badge-purple {
    background-color: #6363f5;
}

.badge-orange {
    background-color: #e95f33;
}

.badge-seegreen {
    background-color: #0a5f59;
}

.badge-dark {
    background-color: #181E35;
}

.badge-inverse {
    background-color: #3e4555;
}

.dropdown-item {
    padding: 8px 1rem;
    color: #607394;
    font-size: 15.5px;
}

.dashboard-wrapper {
    font-size: 15px;
}

.dashboard-wrapper h2 {
    line-height: 36px;
    font-size: 24px;
}

.btn-xs {
    padding: .2rem .5rem;
    height: 30px;
    font-size: 10px;
}

.group-search .form-control {
    height: 30px !important;
}

.label {
    padding: 4px 15px;
    color: #ffffff;
    font-weight: 500;
    border-radius: 4px;
    font-size: 75%;
}

.label-primary {
    background-color: #6DC3BA;
}

.label-success {
    background-color: #009868;
}

.label-info {
    background-color: #a6c326;
    filter: brightness(1);
}

.label-warning {
    background-color: #f69520;
    white-space: nowrap;
}

.label-danger {
    background-color: #a70a29;
}

.label-royal {
    background-color: #073aa8;
}

.label-purple {
    background-color: #6363f5;
}

.label-orange {
    background-color: #e95f33;
}

.label-seegreen {
    background-color: #0a5f59;
}

.label-dark {
    background-color: #181E35;
}

.label-inverse {
    background-color: #3e4555;
}

.label-white {
    background-color: #ffffff;
}

.label-light-primary {
    background-color: rgba(7, 77, 163, 0.12);
    color: #6DC3BA;
}

.label-light-success {
    background-color: rgba(0, 152, 104, 0.12);
    color: #009868;
}

.label-light-info {
    background-color: rgba(0, 138, 255, 0.12);
    color: #008aff;
}

.label-light-warning {
    background-color: rgba(246, 149, 32, 0.12);
    color: #f69520;
}

.label-light-danger {
    background-color: rgba(167, 10, 41, 0.12);
    color: #a70a29;
}

.label-light-royal {
    background-color: rgba(7, 58, 168, 0.12);
    color: #073aa8;
}

.label-light-purple {
    background-color: rgba(99, 99, 245, 0.12);
    color: #6363f5;
}

.label-light-orange {
    background-color: rgba(233, 95, 51, 0.12);
    color: #e95f33;
}

.label-light-seegreen {
    background-color: rgba(10, 95, 89, 0.12);
    color: #0a5f59;
}

.label-light-dark {
    background-color: rgba(4, 27, 45, 0.12);
    color: #181E35;
}

.label-light-inverse {
    background-color: rgba(62, 69, 85, 0.1);
    color: #3e4555;
}

.btn-sm {
    padding: .25rem .5rem;
    height: 35px;
    font-size: 12px;
}

.property-ajax-container .property-map {
    height: 300px;
}

#property-files {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

#property-files li div {
    position: relative;
}

#property-files li div a {
    position: absolute;
    top: 5px;
    right: 5px;
}

#property-files li div img {
    height: 150px;
    width: auto;
}

.property-ajax-container .property-features {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 20px 30px;
}

.property-ajax-container .property-features li {
    width: calc(100% / 3);
}

.form-control:not(.input-sm) {
    height: 46px;
    font-size: 16px;
    box-shadow: none;
    padding: .5rem .75rem;
    border: 1px solid #e0ecf5;
    background-clip: initial;
    appearance: auto;
}

.submit-form .form-control,
.submit-page .form-control,
.form-submit .form-control {
    background: #f8fbfd;
    border: 1px solid #eff3f6;
    border-radius: 3px;
    color: #646e77;
}



.hero-search-content.side-form .form-control,
.hero-search-content.side-form .select2-container--default .select2-selection--single {
    background: #edf1fb !important;
    box-shadow: none !important;
}

.hero-search-content.side-form .select2-container--default .select2-selection--single {
    background: #edf1fb !important;
    box-shadow: none !important;
    border-radius: 5px;
    padding-left: 15px !important;
}

.hero-search-content.side-form label,
label {
    font-size: 14px;
    font-weight: 500;
    color: #053864;
    margin: 5px;
}

.hero-search-content.side-form .form-control::-webkit-input-placeholder {
    color: #6877a5;
}

.hero-search-content.side-form .form-control:-ms-input-placeholder {
    color: #6877a5;
}

.hero-search-content.side-form .form-control::placeholder {
    color: #6877a5;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 1px solid transparent;
    border-top: 0px !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f7f9fb;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-top: 1px solid #eaeff5;
    border-bottom: none;
}

.table tr th,
.table tr td {
    border-color: #eaeff5;
    padding: 12px 15px;
    vertical-align: middle;
}

.table.tbl-big tr th,
.table.tbl-big tr td {
    padding: 20px 15px;
}

.table.tbl-big.center tr th,
.table.tbl-big.center tr td {
    padding: 20px 15px;
    text-align: center;
}

table.table tr th {
    font-weight: 600;
}

.table-dark {
    color: #fff;
    background-color: #212529;
}

.table-dark td,
.table-dark th,
.table-dark thead th {
    border-color: #32383e !important;
}

.table .thead-dark th {
    color: #fff;
    background-color: #212529;
    border-color: #32383e;
}

.table-rates {
    font-size: 10px !important;
}

.table-rates>tbody>tr>td{
    font-size: 14px !important;
    text-align: center;
}

input.form-control.price-input {
    font-size: 15px !important;
    font-weight: 700;
    padding: 12px 10px !important;
}

.btn-light-paf {
    background: #6DC3BA;
    border-color: #6DC3BA;
    color: #ffffff;
}

.extra-cost .form-control {
    font-size: 13px;
    height: 30px;
    padding: 5px 10px;
}

.property-promotions h5 {
    line-height: 22px;
    font-size: 16px;
}

.table-promotion {
    font-size: 14px;
}

.table-promotion .form-control-sm {
    height: 20px;
    padding: 2px 4px;
    font-size: 13px;
}

.bg-primary-paf {
    background: #5e5e5e;
}

.text-paf {
    color: #d7f551;
}

.feature-label-customer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-label-customer:hover {
    background-color: #d7f551;
    border-color: #5e5e5e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.property-ajax-container .property-step-navigation {
    display: none;
}

.property-ajax-container .property-step-navigation-container .property-step-navigation {
    display: block;
}

.home-search.offer .paf-button-submit {
    height: 66%;
}

.t-datepicker.offer {
    position: relative;
}

.t-datepicker.offer .t-datepicker-day {
    top: 120%;
    left: 0;
    right: auto;
    width: 120%;
    border-radius: 0.5rem;
    position: absolute;
}

.property-ajax-container .property-step-navigation li.completed {
    position: relative;
}

.property-ajax-container .property-step-navigation li.completed:after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font: var(--fa-font-solid);
    content: "\f00c";
    font-size: 18px;
    color: #6DC3BA;
    line-height: 1;
}

.property_block_wrap a {
    text-decoration: none;
    color: var(--c-text) !important;
}

.full-search-2.hero-search-radius {
    position: relative;
}

.full-search-2.hero-search-radius .advance-search {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 7px 15px rgba(0, 0, 0, .25);
}

.full-search-2.hero-search-radius {
    background: #ffffff;
    padding: 10px;
    border-radius: 24px;
    line-height: normal;
}

.full-search-2.hero-search-radius.shadow {
    box-shadow: 0px 0px 0px 8px rgba(255, 255, 255, .2);
    -webkit-box-shadow: 0px 0px 0px 8px rgba(255, 255, 255, .2);
}

.full-search-2.hero-search-radius.shadow-hard {
    box-shadow: 0px 10px 12px rgb(56 147 206 / 10%);
    -webkit-box-shadow: 0px 10px 12px rgb(56 147 206 / 10%);
}

.bg-primary {
    background-color: #E6A539 !important;
}

.bg-success {
    background-color: #009868 !important;
}

.bg-info {
    background-color: #008aff !important;
}

.bg-warning {
    background-color: #f69520 !important;
}

.bg-danger {
    background-color: #a70a29 !important;
}

.bg-purple {
    background-color: #6363f5 !important;
}

.bg-orange {
    background-color: #E6A539 !important;
}

.bg-seegreen {
    background-color: #a6c326 !important;
}

.bg-paf {
    background-color: #5e5e5e !important;
}

.blog-info {
    padding: 10px 20px;
}

.paf-title.truncate a {
    text-decoration: none;
    color: inherit;
}

.btn.paf-btn-structure:hover {
    background: #5e5e5e !important;
    color: #d7f551 !important;
}

.blog-body a {
    text-decoration: none;
}

.alert-info-paf {
    background-color: #efefef !important;
}

.text-info {
    --bs-text-opacity: 1;
    color: rgb(0 156 187) !important;
}

.w-30 {
    width: 30% !important;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 0.75rem 1.25rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    width: 50%;
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.payment-btn i {
    font-size: 1.2rem;
}

.payment-btn:hover {
    transform: translateY(-3px);
    cursor: pointer;
}

.payment-btn.active {
    background-color: #5e5e5e;
    color: #d7f551;
}

.list-unstyled {
    line-height: normal !important;
}