: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: 30px;
    --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);
}

/* 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 !important;
    }
    .paf-container-large > .card {
        padding: 10px !important;
        border-radius: 0 !important;
        background: #efefef !important;
    }
    .paf-container-large .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    .paf-container-large .row {
        margin-left: 0;
        margin-right: 0;
    }
    .paf-container-large .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
    .dashboard-wrapper {
        padding: 0 !important;
    }
    .dashboard-wrapper h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    /* Checkbox nascosta su mobile */
    .table-account th:first-child,
    .table-account td:first-child {
        display: none;
    }

    /* Card layout per tabelle su mobile */
    .table-account thead {
        display: none;
    }
    .table-account,
    .table-account tbody,
    .table-account tbody tr td {
        border: none !important;
    }
    .table-account tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        padding: 8px 0;
        border: none !important;
        border-bottom: 1px solid #eee !important;
    }
    .table-account tbody tr:last-child {
        border-bottom: none !important;
    }
    .table-account tbody td {
        display: none;
        border: none !important;
        padding: 0 !important;
    }
    /* Mostra: nome immobile/contatto, stato, bottone azione */
    .table-account td.account-offer-property,
    .table-account td.account-reservation-property,
    .table-account td.account-contact-title,
    .table-account td.account-offer-status,
    .table-account td.account-reservation-status,
    .table-account td.account-contact-status {
        display: block;
    }
    .table-account tbody td:last-child {
        display: block;
        margin-left: auto;
    }
    /* Proposte: date checkin/checkout compatte */
    .table-account td.account-offer-date_checkin,
    .table-account td.account-offer-date_checkout {
        display: inline;
        font-size: 12px;
        color: #888;
    }
    /* Prenotazioni: caparra/saldo pagati */
    .table-account td.account-reservation-caparra_paid,
    .table-account td.account-reservation-saldo_paid {
        display: inline-block;
    }
    /* Property list: riga singola compatta foto+info | azioni */
    .table-account tbody td:nth-child(2) {
        display: block;
        flex: 1;
        min-width: 0;
    }
    .table-account td.account-property-actions {
        display: block;
        margin-left: auto;
        flex-shrink: 0;
    }
    .table-account tbody tr:has(.account-property-actions) {
        flex-wrap: nowrap;
    }
    .property-list-cell {
        min-width: 0 !important;
    }
    .property-list-thumb {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
    }
    .property-list-title {
        font-size: 13px !important;
    }
    .property-list-cell {
        gap: 10px !important;
    }

    /* Nascondere barra contatori e toolbar immobili su mobile */
    .property-toolbar .badge {
        display: none !important;
    }
    .property-toolbar {
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }

    /* Icone azione su mobile */
    .account-property-actions .btn {
        width: 32px;
        height: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 14px;
    }
    .account-property-actions {
        gap: 4px;
        display: flex !important;
        align-items: center;
    }

    /* table-responsive: no overflow su mobile con layout flex */
    .table-responsive {
        overflow-x: visible;
    }

    /* Badge contatori compatti */
    .dashboard-wrapper .badge {
        font-size: 11px;
        padding: 4px 8px;
        float: none !important;
        display: block;
        text-align: left;
        margin-bottom: 8px;
    }
    .dashboard-wrapper .float-end {
        float: none !important;
        width: 100%;
    }

    /* Barra ricerca full-width */
    .group-search {
        flex-wrap: nowrap;
    }
    .group-search .form-control {
        min-width: 0;
    }
    .property-search-pill {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
    }
    .property-toolbar {
        flex-direction: column;
        align-items: stretch !important;
    }
    .property-toolbar .badge {
        margin-left: 0 !important;
        text-align: left;
    }
}


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

    th.account-reservation-customer,
    td.account-reservation-customer,
    th.account-reservation-pax_max,
    td.account-reservation-pax_max,
    th.account-reservation-deposit_amount,
    td.account-reservation-deposit_amount,
    th.account-reservation-payment_amount,
    td.account-reservation-payment_amount,
    th.account-reservation-date_checkin,
    td.account-reservation-date_checkin,
    th.account-reservation-date_checkout,
    td.account-reservation-date_checkout {
        display: none;
    }

    .table-account span {
        display: block;
        text-align: center;
    }

    .filter_search_opt {
        margin-bottom: 0 !important;
    }
    .filter_search_opt .paf-button-submit {
        width: auto;
        padding: 6px 12px;
        font-size: 14px;
        margin-bottom: 8px !important;
    }

    .t-datepicker.offer .t-datepicker-day {
        width: 110% !important;
        left: -20px !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;
}

@media (max-width: 1024px) {
    .paficon {
        font-size: 32px;
    }

    .paf-mobile-search-icon-wrap .paficon {
        font-size: 16px;
    }
}


/* ===========================
   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;
    justify-content: center;
    gap: 0;
    min-width: 50px;
    padding: 0 14px;
    border-radius: 50%;
    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: border-radius 0.4s ease, gap 0.4s ease, padding 0.4s ease;
    text-decoration: none;
    height: 50px;
    outline: none;
    overflow: hidden;
    white-space: nowrap;
}

.paf-btn-structure span {
    display: inline-block;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease 0.1s;
}

.paf-btn-structure:hover {
    border-radius: var(--b-radius-big);
    gap: 8px;
    padding: 16.5px 28px 16.5px 25px;
}

.paf-btn-structure:hover span {
    max-width: 120px;
    opacity: 1;
}

/* Bottone account header */
.paf-btn-account__name {
    display: none !important;
}
@media (min-width: 768px) {
    .paf-btn-account--logged.paf-icon-btn1 {
        width: auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 16.5px 25px;
        font-family: var(--f-fontbutton);
        font-weight: 600;
        font-size: 15px;
        text-transform: var(--f-upper);
    }
    .paf-btn-account--logged .paf-btn-account__name {
        display: inline !important;
        color: var(--c-text-con-sfondo);
    }
}

.paf-btn-structure-outline {
    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: #fff;
    border: 1px solid #6c757d;
    cursor: pointer;
    font-family: var(--f-fontbutton);
    font-weight: 600;
    font-size: 15px;
    text-transform: var(--f-upper);
    color: #6c757d;
    transition: all 0.2s ease;
    text-decoration: none;
    height: 50px;
    outline: none;
}

.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-btn1-outline {
    width: 50px;
    height: 50px;
    border-radius: var(--b-radius-big);
    box-shadow: var(--b-border3d);
    background: #fff;
    border: 1px solid #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: filter 0.15s ease, background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    color: #6c757d;
    filter: brightness(1);
}

.paf-icon-btn1 i{
    color: var(--c-text-con-sfondo) !important;
}

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

    .page-x--listing .filter-bar {
        display: none;
    }
}

@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;
    margin-bottom: 16px;
    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: 60px;
    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;
}

.page-x--listing .results-grid .paf-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

/* 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-img img {
        height: 230px;
    }

    .page-x--listing .results-grid .paf-card-img {
        flex: 0 0 115px;
        width: 115px;
        aspect-ratio: 1 / 1;
    }
}

@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(83vh);
    /* 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: 42fr 58fr;
    gap: 34px;
}

.start-dintorni {
    margin-top: 2vh;
}

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

/* griglia risultati */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* desktop: 3 colonne */
    gap: 23px;
    padding-bottom: var(--gutter);
    max-height: var(--results-grid-desktop-h);
    overflow-y: auto;
    padding-right: 10px;
}

.page-x--listing .results-heading {
    display: none;
}

.page-x--listing .results-grid .paf-card {
    flex: initial;
    min-width: 0;
}

.page-x--listing .results-grid .paf-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
}

/* -------- POSIZIONAMENTO: SECONDARY A DESTRA SOLO SU DESKTOP -------- */
@media (min-width: 641px) {
    .filter-bar__secondary {
        margin-left: auto;
    }

    .page-x--listing .filter-bar__primary {
        width: max-content;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
    }

}

@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 {
            grid-template-columns: 1fr;
            max-height: none;
            overflow: visible;
            gap: 16px;
            padding-bottom: 24px;
        }

        .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-card {
            display: flex;
            gap: 12px;
            align-items: center;
            width: 100%;
        }

        .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;
        overflow: visible;
        background: #8ad8ec;
        height: 100%;
    }

    .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: relative;
        min-height: auto;
        height: 45vh;
        width: 100%;
        inset: auto;
        border-radius: 0;
        z-index: 1;
        margin-top: 0;
        touch-action: none;
    }

    .page-x--listing .map-search {
        height: 100%;
        width: 100%;
        max-height: 100%;
        border-radius: 0;
        touch-action: none;
    }

    .page-x--listing .map-search iframe {
        pointer-events: auto;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: inherit;
    }

    .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: 0 0 10px;
        height: auto;
        overflow: visible;
    }

    .page-x--listing .results {
        margin-top: 0;
        overflow-y: auto;
        padding-top: 0;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
        flex: 1 1 auto;
        scrollbar-width: none;
    }

    .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: 0px;
        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;
        padding-bottom: 0;
    }

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

    #modulo-fisso-prenota {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10001;
        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: 0 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: none;
    position: relative;
}
.d-navigation:not(.property-step-navigation) ul li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: #edf0f7;
}
.property-step-navigation ul li:not(:last-child) {
    border-bottom: 1px solid #f5f5f5;
}

.d-navigation ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}


.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: 12px;
    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: #edf0f7;
}

#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: auto;
    max-height: calc(100vh - 140px);
}

#tableau .tableau-grid:first-child {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
}

#tableau {
    position: relative;
}

#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-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: rgba(0,0,0,0.45);
    height: 44px;
    line-height: 44px;
    border-bottom: 1px solid #f5f5f5;
    border-right: 1px solid #f5f5f5;
    overflow: visible;
}

/* Defensive: pills must never overflow vertically into adjacent rows.
   Width-clipping on the row would also hide horizontally-overflowing pills
   (they're position:absolute and meant to extend across cells), so we clip
   only the Y axis. */
#tableau .tableau-grid.property {
    overflow-y: clip;
}

#tableau .tableau-grid>div.first {
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
    padding: 0 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: normal;
    color: #1b1b1b;
    border-left: 1px solid #f5f5f5;
    overflow: hidden;
    height: 44px;
    line-height: 1.2;
    position: sticky;
    left: 0;
    z-index: 4;
    background: #fff;
}

.tableau-thumb {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.tableau-prop-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.tableau-prop-title {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    text-decoration: none;
}

.tableau-prop-meta {
    font-size: 10px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Structure name inside the meta line — just slightly more legible than the location */
.tableau-prop-struct {
    font-weight: 600;
    color: #777;
}

#tableau .tableau-grid div.day-0,
#tableau .tableau-grid div.day-6 {
    background: #f9f9f9;
}

#tableau .tableau-grid>div.head {
    font-weight: 700;
    height: 44px;
    line-height: 22px;
    background: #edf0f7;
    text-transform: uppercase;
    transition: all .2s;
    color: #1b1b1b;
}

#tableau .tableau-grid>div.head:hover {
    background: #c9c9c9;
}

#tableau .tableau-grid>div.head.first {
    line-height: 44px;
    position: sticky;
    left: 0;
    z-index: 6;
    background: #edf0f7;
}

.tableau-filters {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.tableau-filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.tableau-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}
.tableau-filter-label i {
    margin-right: 2px;
}

.tableau-filter-property {
    min-width: 220px;
    flex: 1 1 250px;
}

.tableau-filter-dates {
    flex: 0 1 auto;
}
.tableau-filter-dates-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tableau-filter-dates input.booking-range {
    width: 220px;
    height: 36px;
    padding: 6px 12px !important;
    font-size: 13px !important;
    background: #fff !important;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.tableau-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    margin: 0;
    color: #495057;
}

.tableau-filter-checkbox input[type="checkbox"] {
    width: auto !important;
    padding: 0 !important;
    accent-color: #0d6efd;
}

.tableau-filter-pax {
    flex: 0 0 auto;
}

.tableau-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    height: 36px;
}

.tableau-stepper-btn {
    width: 34px;
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    color: #495057;
    transition: background 0.15s, color 0.15s;
}

.tableau-stepper-btn:hover {
    background: #e9ecef;
    color: #212529;
}

.tableau-stepper-value {
    min-width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 0 2px;
    color: #212529;
}

.tableau-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 4px;
    position: sticky;
    left: 0;
}

.tableau-filter-toggle {
    position: relative;
}
.tableau-filter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.tableau-filter-toggle-active {
    color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.tableau-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tableau-nav-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #495057;
    background: transparent;
    border: 1px solid #dee2e6;
    transition: background 0.15s, color 0.15s;
}

.tableau-nav-btn:hover {
    background: #e9ecef;
    color: #212529;
}

.tableau-nav-label {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    color: #212529;
}

.tableau-nav-today {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    color: #495057;
    background: transparent;
    border: 1px solid #dee2e6;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

.tableau-nav-today:hover {
    background: #e9ecef;
    color: #212529;
}

.tableau-head-month {
    display: block;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    line-height: 1;
    margin-bottom: 1px;
}

.tableau-filters .select2-container {
    width: 100% !important;
}

.tableau-filters .select2-container--default .select2-selection--multiple {
    min-height: 36px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}

.tableau-filters .select2-container .select2-search--inline .select2-search__field {
    margin: 0;
    height: 32px;
}

.tableau-filters .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 2px 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.tableau-filters .select2-results__option {
    font-size: 12px;
}

.tableau-filters .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.month-start {
    box-shadow: inset 2px 0 0 #bbb;
}

.calendar-blocked {
    position: relative;
    background: #d5d5d5 !important;
}
.calendar-blocked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom right,
        transparent calc(50% - 1px),
        #aaa calc(50% - 1px),
        #aaa calc(50% + 1px),
        transparent calc(50% + 1px)
    );
    pointer-events: none;
    z-index: 2;
}

/* ── Tableau pill overlay system ── */
.tableau-grid.property > div:not(.first) {
    position: relative;
    overflow: visible;
}

/* Pill — real span element, positioned absolutely in the cell */
.pill {
    position: absolute;
    top: 3px;
    bottom: 3px;
    z-index: 3;
    border-radius: 99px;
    display: flex;
    align-items: center;
    overflow: hidden;
    pointer-events: auto;
    white-space: nowrap;
}

.pill-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
    padding: 0 6px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pill-offer-accepted { background: var(--c-tasti); }
.pill-offer-accepted .pill-label { color: var(--c-text-con-sfondo); }
.pill-offer-new { background: var(--c-text-con-sfondo); }
.pill-offer-new .pill-label { color: var(--c-tasti); }
.pill-ical { background: #e8c98e; }
.pill-ical .pill-label { color: #5a4a2a; }
.pill-ical-airbnb { background: #f2c4cb; }
.pill-ical-airbnb .pill-label { color: #7a3040; }
.pill-ical-booking { background: #b8d4ef; }
.pill-ical-booking .pill-label { color: #1a3a5c; }
.pill-ical-expedia { background: #e8d8a0; }
.pill-ical-expedia .pill-label { color: #5c4e1f; }
.pill-ical-vrbo { background: #c9bde8; }
.pill-ical-vrbo .pill-label { color: #3d2f6b; }
.pill-clipped-left { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.pill-clipped-right { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.pill-minstay { background: #333; cursor: pointer !important; pointer-events: auto !important; }
.pill-minstay:hover { background: #555; }

/* Price text hidden under pills */
.tableau-grid.property > div:not(.first) .cell-price {
    position: relative;
    z-index: 1;
    font-size: 13px;
}

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

#tableau .tableau-grid.property > div.tableau-selected {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}

/* Ultima cella della selezione = giorno di smonto/check-out: colore dedicato (ambra)
   per rimarcare che quel giorno è trattato come uscita nelle proposte. */
#tableau .tableau-grid.property > div.tableau-selected-last {
    outline: 2px solid #e8830c;
    outline-offset: -2px;
    background-color: rgba(232, 131, 12, 0.14);
}

#tableau.tableau-dragging {
    user-select: none;
    -webkit-user-select: none;
    cursor: crosshair;
}

#tableau.tableau-dragging .tableau-grid.property > div:not(.first) {
    cursor: crosshair;
}

/* ── Tableau mobile: touch long-press selection ── */
.tableau-touch-banner {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: #1a73e8;
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,.15);
    animation: tableauBannerSlideUp .25s ease-out;
}
.tableau-touch-banner strong {
    color: #fff;
}
.tableau-touch-banner .btn-close {
    filter: invert(1);
    opacity: .8;
    padding: 6px;
    flex-shrink: 0;
}
@keyframes tableauBannerSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
#tableau .tableau-grid.property > div.tableau-touch-start {
    outline: 2px solid #1a73e8;
    outline-offset: -2px;
    background: rgba(26,115,232,.15) !important;
}

/* ── Tableau mobile: compact first-column on horizontal scroll ── */
@media (max-width: 767.98px) {
    #tableau .tableau-grid > div.first {
        transition: padding 0.25s ease;
    }
    .tableau-prop-info {
        transition: opacity 0.2s ease, max-width 0.25s ease;
        max-width: 220px;
        opacity: 1;
    }
    .tableau-compact .tableau-prop-info {
        opacity: 0;
        max-width: 0;
        overflow: hidden;
    }
    .tableau-compact #tableau .tableau-grid > div.first {
        padding: 0;
        justify-content: center;
    }
    .tableau-nav-label {
        transition: opacity 0.2s ease, max-width 0.25s ease;
        max-width: 200px;
        opacity: 1;
        overflow: hidden;
    }
    .tableau-compact .tableau-nav-label {
        opacity: 0;
        max-width: 0;
    }
    .tableau-month-compact {
        display: none;
        font-size: 10px;
        font-weight: 700;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
    .tableau-compact .tableau-month-compact {
        display: block;
    }
}

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

#pricing-summary-table .form-control {
    font-size: 16px;
    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;
}

/* ── Offer search bar ── */
.paf-offer-search {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    overflow: visible;
}

.paf-offer-search-field--dates {
    position: relative;
}

.paf-offer-search-field--dates .t-datepicker-day {
    min-width: 680px;
}

.paf-offer-search-row {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.paf-offer-search-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.paf-offer-search-field--dates {
    flex: 2.5;
}

.paf-offer-search-field--pax {
    flex: 1;
}

.paf-offer-search-field--select {
    flex: 0.8;
}

.paf-offer-search-field--zone {
    flex: 1.3;
}

.paf-offer-search-field--btn {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.paf-offer-search-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
    white-space: nowrap;
}

.paf-offer-search-label i {
    color: var(--bs-primary);
}

.paf-offer-search-input {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.65rem;
    height: 44px;
    transition: border-color 0.2s;
    overflow: visible;
    position: relative;
}

.paf-offer-search-input:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}

.paf-offer-search-input .form-control,
.paf-offer-search-input .form-select {
    font-size: 0.875rem;
    height: auto;
    line-height: 1.4;
}

.paf-offer-search-field--btn .paf-button-submit {
    height: 44px;
    padding: 0 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .paf-offer-search-row {
        flex-wrap: wrap;
    }

    .paf-offer-search-field--dates {
        flex: 1 1 100%;
    }

    .paf-offer-search-field--pax,
    .paf-offer-search-field--select,
    .paf-offer-search-field--zone {
        flex: 1 1 calc(50% - 0.375rem);
    }

    .paf-offer-search-field--btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 575.98px) {
    .paf-offer-search-field--pax,
    .paf-offer-search-field--select,
    .paf-offer-search-field--zone {
        flex: 1 1 100%;
    }
}

/* ── Extra cost toggle & disabled row ── */
.extra-cost .form-check-input.extra-cost-toggle {
	width: 3rem;
	height: 1.5rem;
	background-color: #e74c3c;
	border-color: #d63c2c;
}

.extra-cost .form-check-input.extra-cost-toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.3);
}

.extra-cost .form-check-input.extra-cost-toggle:checked {
	background-color: #2ecc71;
	border-color: #27ae60;
}

.extra-cost .form-check-input.extra-cost-toggle:checked:focus {
	box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.35);
}

.paf-extra-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.paf-extra-disabled .form-switch {
	pointer-events: auto;
	opacity: 1;
}

/* ── Extra costs: mobile card layout ── */
@media (max-width: 767px) {
	/* Hide desktop header labels */
	.extra-costs-container > .row:first-child:has(label),
	.extra-costs-header {
		display: none !important;
	}
	/* Card wrapper */
	.extra-cost.row {
		display: flex !important;
		flex-wrap: wrap !important;
		background: #f8f9fa;
		border: 1px solid #e9ecef;
		border-radius: 8px;
		padding: 8px 10px !important;
		margin-bottom: 6px !important;
		gap: 0 !important;
		row-gap: 6px !important;
	}
	.extra-cost.row > div[class*="col"] {
		padding: 0 !important;
	}
	/* Row 1: Description + Trash — fill full width to force wrap after */
	.extra-cost.row > div:nth-child(2) {
		order: 1;
		flex: 1 1 calc(100% - 40px) !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0;
		padding-right: 8px !important;
	}
	.extra-cost.row > div:nth-child(5) {
		order: 2;
		flex: 0 0 28px !important;
		width: 28px !important;
		max-width: none !important;
		display: flex;
		align-items: center;
	}
	/* Row 2: Price + Type + Switch — wraps to next line */
	.extra-cost.row > div:nth-child(1) {
		order: 3;
		flex: 0 0 80px !important;
		width: 80px !important;
		max-width: 80px !important;
		padding-right: 6px !important;
	}
	.extra-cost.row > div:nth-child(3) {
		order: 4;
		flex: 1 1 0 !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0;
		padding-right: 6px !important;
	}
	.extra-cost.row > div:nth-child(4) {
		order: 5;
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
		display: flex;
		align-items: center;
	}
}

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

.post-details ul {
    list-style: disc;
    list-style-position: inside;
    padding-left: 0;
}

@media (max-width: 1024px) {
    #discount_box.fw-bold .small {
        font-size: 12px;
        font-weight: 400 !important;
    }
}

.paf-listing-copyright {
    display: none;
}

@media (max-width: 1024px) {
    .paf-listing-copyright {
        display: block;
        font-weight: 700;
        font-size: 12px;
        text-align: center;
        margin-top: 30px;
    }
}

#pricing-summary-table {
    width: 100%;
    font-size: 16px;
}

#pricing-summary-table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: left;
    padding: 0.5rem 0.75rem;
}

#pricing-summary-table tbody td {
    vertical-align: middle;
    padding: 0.35rem 0.5rem;
}

#pricing-summary-table tbody td.text-end {
    text-align: right;
}

#pricing-summary-table tbody tr.extra-cost input,
#pricing-summary-table tbody tr.extra-cost select {
    font-size: 16px;
    height: 30px;
    padding: 0.25rem 0.35rem;
    margin-bottom: 0.25rem;
}

#pricing-summary-table tbody tr.extra-cost .btn-danger {
    height: 30px;
    width: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 5px;
}

#pricing-summary-table tbody tr.extra-cost .d-flex.gap-2 {
    align-items: flex-start;
}

#pricing-summary-table tbody tr.extra-cost .w-100 {
    flex: 1 1 60%;
}

#pricing-summary-table tbody tr.extra-cost .w-30 {
    flex: 0 0 30%;
}

#pricing-summary-table tbody tr.extra-cost label {
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
}

#pricing-summary-table tbody input[type="number"] {
    max-width: 100%;
    text-align: right;
}

#pricing-summary-table tbody tr.fw-bold td {
    font-weight: 600;
    font-size: 0.95rem;
}

#pricing-summary-table tbody tr.extra-cost:hover {
    background-color: #f1f3f5;
}

@media (max-width: 576px) {

    #pricing-summary-table tbody tr.extra-cost .w-100,
    #pricing-summary-table tbody tr.extra-cost .w-30 {
        flex: 1 1 100%;
    }

    #pricing-summary-table tbody tr.extra-cost .btn-danger {
        margin-bottom: 0.25rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #efefef;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#pafBookingOverlay .t-datepicker-day {
    top: 60px !important;
    left: -28px !important;
    width: calc(100% + 56px) !important;
}

/* ===== MODE SWITCHER PILL ===== */
#switch-account {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paf-mode-switcher {
    display: inline-flex;
    background: #ebebeb;
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.paf-mode-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #6c6c6c;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    height: auto;
}

.paf-mode-switcher a:hover {
    background: rgba(0, 0, 0, 0.05);
    filter: none;
}

.paf-mode-switcher a.active {
    background: #5e5e5e;
    color: #d7f551;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.paf-mode-switcher a.active:hover {
    filter: brightness(0.95);
    background: #5e5e5e;
}

.paf-mode-switcher a i {
    font-size: 12px;
}

.paf-mode-switcher a.active i {
    color: #d7f551;
}

@media (max-width: 768px) {
    .paf-mode-switcher a span {
        display: none;
    }
    .paf-mode-switcher a {
        padding: 7px 10px;
        gap: 0;
    }
}

/* ── Property Pill Switcher ─────────────────────────── */
.paf-property-pill {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 8px;
    margin-right: 16px;
}

.paf-property-pill__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #b0b0b0;
    border: none;
    border-radius: var(--b-radius-big);
    padding: 8px 16px 8px 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #1a1a1a;
    font-family: var(--f-font1);
    height: 50px;
}

.paf-property-pill__trigger:hover {
    background: #c0c0c0;
}

.paf-property-pill__img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.paf-property-pill__info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.paf-property-pill__title {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.paf-property-pill__id {
    font-size: 11px;
    color: #444;
}

.paf-property-pill__chevron {
    font-size: 10px;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.paf-property-pill.open .paf-property-pill__chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.paf-property-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 9999;
    padding: 6px;
    overflow: hidden;
}

.paf-property-dropdown__search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

.paf-property-dropdown__search-icon {
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.paf-property-dropdown__search-input {
    border: none;
    outline: none;
    font-size: 13px;
    font-family: var(--f-font1);
    width: 100%;
    background: transparent;
    color: var(--c-text);
}

.paf-property-dropdown__search-input::placeholder {
    color: #aaa;
}

.paf-property-dropdown__list {
    max-height: 260px;
    overflow-y: auto;
}

.paf-property-dropdown__empty {
    padding: 16px 12px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.paf-property-pill.open .paf-property-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.paf-property-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--c-text);
    transition: background 0.15s ease;
}

.paf-property-dropdown__item:hover {
    background: #f3f3f3;
    text-decoration: none;
    color: var(--c-text);
}

.paf-property-dropdown__item.active {
    background: #f0f5e0;
}

.paf-property-dropdown__img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.paf-property-dropdown__info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.paf-property-dropdown__title {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.paf-property-dropdown__id {
    font-size: 11px;
    color: var(--c-text-secondario);
}

/* Mobile: hide info text and chevron, show only image */
@media (max-width: 768px) {
    .paf-property-pill__info,
    .paf-property-pill__chevron {
        display: none;
    }
    .paf-property-pill__trigger {
        background: transparent;
        padding: 0;
        height: auto;
    }
    .paf-property-pill__trigger:hover {
        background: transparent;
    }
    .paf-property-pill__img {
        width: 50px;
        height: 50px;
        border: 2px solid #ccc;
    }
    .paf-property-pill {
        position: static;
    }
    .paf-property-dropdown {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 70px;
        width: auto;
    }
}
}
/* ===== Collapsible Sidebar ===== */
.paf-sidebar-collapsed .paf-sidebar-toggle { transform: rotate(180deg) !important; }
.paf-sidebar-toggle i { transition: transform 0.6s ease; }
.paf-sidebar-collapsed .paf-sidebar-toggle i { transform: scaleX(-1); }
.paf-sidebar-collapsed .paf-sidebar-label { display: none; }
.paf-sidebar-collapsed .d-user-avater h4 { font-size: 0; }
.paf-sidebar-collapsed .d-user-avater h4 > i { font-size: 20px; }
.paf-sidebar-collapsed.simple-sidebar { padding: 10px 6px; }
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li { padding: 6px 4px; text-align: center; border-bottom: none; }
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li::after { display: none; }
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0 auto; border-radius: 8px; padding: 0; transition: background 0.2s ease; }
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li a:hover { background: #f0f5fb; }
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li a i { margin-right: 0; font-size: 17px; }
.paf-sidebar-collapsed-col { flex: 0 0 64px !important; max-width: 64px !important; width: 64px !important; transition: flex 0.25s ease, max-width 0.25s ease, width 0.25s ease; }
.paf-sidebar-expanded-content { flex: 1 1 0% !important; max-width: calc(100% - 64px - 12px) !important; transition: flex 0.25s ease, max-width 0.25s ease; }
.paf-sidebar-collapsed-flex { width: 64px !important; min-width: 64px !important; transition: width 0.25s ease, min-width 0.25s ease; }
.col-lg-2:not(.paf-sidebar-collapsed-col) { transition: flex 0.25s ease, max-width 0.25s ease, width 0.25s ease; }
.col-lg-10:not(.paf-sidebar-expanded-content) { transition: flex 0.25s ease, max-width 0.25s ease; }
.paf-sidebar-tooltip { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); background: #1b2a4a; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; white-space: nowrap; pointer-events: none; z-index: 1000; opacity: 0; transition: opacity 0.15s ease; }
.paf-sidebar-tooltip.show { opacity: 1; }
@media (max-width: 991.98px) {
    .paf-sidebar-collapsed .paf-sidebar-label { display: inline !important; }
    .paf-sidebar-collapsed .d-user-avater h4 { font-size: 19px; }
    .paf-sidebar-collapsed.simple-sidebar { padding: 0; }
    .paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li { padding: 10px 15px; text-align: left; border-bottom: 1px solid #f5f5f5; }
    .paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li a { display: inline; width: auto; height: auto; border-radius: 0; padding: 3px 0; }
    .paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li a i { margin-right: 10px; }
    .paf-sidebar-collapsed-col, .paf-sidebar-expanded-content, .paf-sidebar-collapsed-flex { flex: unset !important; max-width: unset !important; width: unset !important; min-width: unset !important; }
}



/* ===== Sidebar layout separata ===== */
@media (min-width: 992px) {
    /* Card contenitore: sempre trasparente quando c'è la sidebar esterna */
    .paf-container-large > .card:has(.sm-sidebar) {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    /* Sidebar a filo bordo sinistro pagina */
    .paf-container-large:has(.sm-sidebar) {
        margin-left: 0 !important;
    }
    /* col-lg-2: nessun padding (sidebar a filo) */
    .paf-container-large > .card:has(.sm-sidebar) .col-lg-2 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* col-lg-10: gap a sinistra tra sidebar e contenuto */
    .paf-container-large > .card:has(.sm-sidebar) .col-lg-10 {
        padding-left: 16px !important;
        padding-right: 0 !important;
    }
    /* Wizard: row/col wrapper extra — azzera padding interno */
    .paf-container-large > .card:has(.sm-sidebar) .col-lg-10 > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .paf-container-large > .card:has(.sm-sidebar) .col-lg-10 > .row > [class*="col"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Contenuto dashboard: card bianca (pagine non-wizard) */
    .paf-container-large > .card:has(.sm-sidebar) .dashboard-wrapper:not(.property-ajax-container) {
        background: #fff;
        border-radius: 0.75rem;
        padding: 1.5rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    /* Wizard: dashboard-wrapper card bianca */
    .paf-container-large > .card:has(.sm-sidebar) .dashboard-wrapper.property-ajax-container {
        background: #fff;
        border-radius: 0.75rem;
        padding: 1.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
}
/* Sidebar account: card bianca con ombra, bordo sx a filo pagina (solo pagine dashboard) */
.col-lg-2 .sm-sidebar {
    border-radius: 0 0.75rem 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eaf2f9;
    border-left: none;
    background: #fff;
}
/* 1. Icone centrate nella sidebar collapsed */
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li {
    display: flex;
    justify-content: center;
}
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li a i {
    font-size: 16px;
    margin: 0;
}

/* 2. Active: pallino a sx nel li, cerchio nella collapsed */
.d-navigation:not(.property-step-navigation) ul li.active {
    background: transparent !important;
    position: relative;
}
.d-navigation:not(.property-step-navigation) ul li.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D7F551;
}
.d-navigation:not(.property-step-navigation) ul li.active > a {
    background: transparent !important;
}
.d-navigation:not(.property-step-navigation) ul li.active > a i {
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
}
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li.active > a i {
    color: #D7F551;
}
/* Collapsed: cerchio sull'icona, niente pallino */
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li.active {
    padding-left: 4px !important;
}
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li.active::before {
    display: none;
}
.paf-sidebar-collapsed .d-navigation:not(.property-step-navigation) ul li.active > a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #5E5E5E;
    color: #D7F551;
}

/* 3. Toggle: freccia in cima, separata dalle voci nav */
.paf-sidebar-toggle {
    display: none;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #d4f04a;
    font-size: 18px;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0 auto 16px;
    cursor: pointer;
    align-items: center;
    transition: transform 0.25s ease;
    justify-content: center;
    transition: transform 0.25s ease;
}
@media (min-width: 992px) {
    .paf-sidebar-toggle { display: flex; }
}
@media (max-width: 991.98px) {
    .paf-sidebar-toggle { display: none !important; }
}
.paf-sidebar-toggle:hover {
    color: #b8d93a;
}
.paf-sidebar-toggle i {
    -webkit-text-stroke: 1px currentColor;
}


/* ---- Dashboard Riepilogo Attività ---- */
.paf-activity-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.paf-activity-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
}

.paf-activity-col {
    border-right: 1px solid #e9ecef;
    padding-right: 1rem;
}

.paf-activity-col:last-child {
    border-right: none;
}

.paf-activity-col-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.4rem;
}

.paf-activity-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}

.paf-activity-item {
    border-bottom: 1px solid #f0f0f0;
}

.paf-activity-item:last-child {
    border-bottom: none;
}

.paf-activity-property {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.paf-activity-meta {
    font-size: 0.78rem;
}

.paf-activity-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.paf-badge-paf {
    background: #8dc044;
    color: #fff;
}

.paf-badge-airbnb {
    background: #ff5a5f;
    color: #fff;
}

.paf-badge-booking {
    background: #003580;
    color: #fff;
}

.paf-badge-expedia {
    background: #f5a623;
    color: #fff;
}

.paf-badge-ical {
    background: #aaa;
    color: #fff;
}

.paf-activity-hidden {
    display: none !important;
}

.paf-activity-dates {
    font-size: 0.78rem;
    color: #888;
    flex-shrink: 0;
}

.paf-saldo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #e67e22;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.2s;
}

.paf-saldo-btn:hover {
    background: #d35400;
}

.paf-saldo-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #27ae60;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.paf-activity-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    color: #aaa;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    padding: 0;
}

.paf-activity-expand-btn:hover {
    border-color: #888;
    color: #555;
}
}

/* Bottoni proposta */
.paf-btn-download {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}
.paf-btn-download:hover {
    background: #e0e0e0;
    color: #333;
}
.paf-btn-save-block {
    background: #f0ad4e;
    color: #fff;
    border: 1px solid #e09b3d;
}
.paf-btn-save-block:hover {
    background: #ec971f;
    color: #fff;
}
/* Offer property selection cards */
.offer-property-list {
	display: flex;
	flex-direction: column;
}
.offer-prop-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	transition: background 0.15s;
}
.offer-prop-card:hover {
	background: #fafafa;
}
.offer-prop-card.selected {
	background: #f0fae6;
}
.offer-prop-thumb-wrap {
	position: relative;
	flex-shrink: 0;
}
.offer-prop-thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
	display: block;
}
.offer-prop-check {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.8);
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: transparent;
	transition: all 0.15s;
}
.offer-prop-card.selected .offer-prop-check {
	border-color: #4caf50;
	background: #4caf50;
	color: #fff;
}
.offer-prop-info {
	flex: 0 1 30%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	gap: 2px;
}
@media (max-width: 767.98px) {
	.offer-prop-info {
		flex: 1 1 0;
	}
	.offer-prop-price {
		margin-left: auto;
	}
}
.offer-prop-title {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.offer-prop-address {
	font-size: 12px;
	color: #888;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.offer-prop-details {
	font-size: 11px;
	color: #aaa;
	white-space: nowrap;
}
.offer-prop-details i {
	margin-right: 1px;
}
/* Timeline occupazione */
.offer-prop-timeline {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 1px;
	padding: 0 8px;
}
.tl-day {
	flex: 1 1 0;
	min-width: 0;
	height: 20px;
	font-size: 8px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	border-radius: 2px;
	overflow: hidden;
}
.tl-free {
	background: #c8e6c9;
	color: #555;
}
.tl-busy {
	background: #ef9a9a;
	color: #fff;
}
.tl-stay {
	background: #4caf50;
	color: #fff;
}
.tl-checkin {
	border-radius: 4px 0 0 4px;
}
.tl-checkout {
	border-radius: 0 4px 4px 0;
}

.offer-prop-price {
	flex-shrink: 0;
	text-align: right;
	white-space: nowrap;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.2;
}
.offer-prop-price-old {
	font-size: 11px;
	color: #999;
	text-decoration: line-through;
}
.offer-prop-price-new {
	font-size: 14px;
	font-weight: 700;
	color: #2e7d32;
}

.paf-btn-save-noblock {
    background: #d7f551;
    color: #333;
    border: 1px solid #c5e040;
}
.paf-btn-save-noblock:hover {
    background: #c5e040;
    color: #333;
}

/* ── PAF Sidebar Tab (mobile) ── */
.paf-sidebar-tab {
	display: none;
}
@media (max-width: 991.98px) {
	.paf-sidebar-tab {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		background: #fff;
		color: #aaa;
		border: 1px solid #ddd;
		border-radius: 8px;
		font-size: 14px;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		text-decoration: none;
		flex-shrink: 0;
	}
	.paf-sidebar-tab:active {
		background: #f5f5f5;
		color: #555;
	}
}

/* ── PAF Mobile Toolbar ── */
.paf-toolbar-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	color: #555;
	font-size: 14px;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	flex-shrink: 0;
}
.paf-toolbar-btn:active {
	background: #f0f0f0;
	color: #333;
}

/* ── PAF Search Pill (mobile) ── */
.paf-search-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 50px;
	padding: 4px 4px 4px 16px;
}
.paf-search-pill input {
	border: none !important;
	box-shadow: none !important;
	background: transparent;
	font-size: 14px;
	flex: 1;
	padding: 4px 0;
}
.paf-search-pill input:focus {
	outline: none;
}
.paf-search-pill-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--c-tasti);
	color: #fff;
	font-size: 12px;
	text-decoration: none;
	flex-shrink: 0;
}
.paf-search-pill-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: #999;
	font-size: 14px;
	text-decoration: none;
	flex-shrink: 0;
}

/* ── PAF Mobile Datepicker ── */
.paf-dp-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: #efefef;
}
.paf-dp-overlay--active {
	display: flex;
	flex-direction: column;
}
.paf-dp-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	font-family: var(--f-font1);
}
.paf-dp-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 80px 16px 16px;
	border-bottom: 1px solid #eee;
	flex-shrink: 0;
}
.paf-dp-close {
	background: none;
	border: none;
	font-size: 20px;
	padding: 4px 8px;
	cursor: pointer;
	color: #333;
}
.paf-dp-title {
	font-size: 18px;
	font-weight: 700;
	color: #282828;
}
.paf-dp-subtitle {
	font-size: 13px;
	color: #888;
	margin-top: 2px;
}
.paf-dp-clear {
	margin-left: auto;
	background: none;
	border: none;
	color: #333;
	text-decoration: underline;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	padding: 4px 0;
}
.paf-dp-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	padding: 10px 16px 6px;
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	background: #efefef;
	z-index: 1;
	flex-shrink: 0;
}
.paf-dp-wd {
	font-size: 12px;
	font-weight: 600;
	color: #999;
}
.paf-dp-grid {
	overflow-y: auto;
	flex: 1;
	padding: 0 16px 80px;
	-webkit-overflow-scrolling: touch;
}
.paf-dp-month-title {
	font-size: 16px;
	font-weight: 700;
	color: #282828;
	padding: 24px 0 12px;
}
.paf-dp-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	row-gap: 2px;
}
.paf-dp-day {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.paf-dp-day--empty {
	cursor: default;
}
.paf-dp-day--past {
	cursor: default;
}
.paf-dp-day--past .paf-dp-day-num {
	color: #ccc;
}
.paf-dp-day-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 500;
	color: #282828;
	transition: background 0.15s, color 0.15s;
	position: relative;
	z-index: 2;
}
.paf-dp-day--weekend .paf-dp-day-num {
	font-weight: 700;
}
/* Selected start/end: PAF grey circle */
.paf-dp-day--start .paf-dp-day-num,
.paf-dp-day--end .paf-dp-day-num {
	background: var(--c-tasti);
	color: #fff;
	font-weight: 600;
}
/* Range fill: pseudo-element band, same height as circles */
.paf-dp-day--in-range::before,
.paf-dp-day--start.paf-dp-day--has-range::before,
.paf-dp-day--end.paf-dp-day--has-range::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 38px;
	transform: translateY(-50%);
	background: rgba(215, 245, 81, 0.25);
	z-index: 1;
}
.paf-dp-day--in-range .paf-dp-day-num {
	color: #282828;
	font-weight: 600;
}
/* Start: fill only right half */
.paf-dp-day--start.paf-dp-day--has-range::before {
	left: 50%;
}
/* End: fill only left half */
.paf-dp-day--end.paf-dp-day--has-range::before {
	right: 50%;
}

/* ===== REVIEW SYSTEM ===== */

/* Review container */
.paf-review-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px 16px;
}

/* Property mini card */
.paf-review-property-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: #f8f9fa;
	border-radius: 12px;
	margin-bottom: 24px;
}
.paf-review-property-card img {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
}
.paf-review-property-title {
	font-weight: 600;
	font-size: 15px;
}

/* Mascot + bubble */
.paf-review-mascot {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 24px;
}
.paf-review-mascot img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	flex-shrink: 0;
}
.paf-review-bubble {
	background: #f0f0f0;
	border-radius: 0 16px 16px 16px;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.5;
}

/* Step indicator */
.paf-review-step-indicator {
	text-align: center;
	font-size: 12px;
	color: #999;
	margin-bottom: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Steps */
.paf-review-step {
	display: none;
}
.paf-review-step.is-active {
	display: block;
	animation: paf-review-fadein 0.3s ease;
}
@keyframes paf-review-fadein {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Question */
.paf-review-question {
	margin-bottom: 24px;
}
.paf-review-label {
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 12px;
	display: block;
}
.paf-review-label small {
	font-weight: 400;
	color: #888;
}

/* Chips */
.paf-review-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.paf-review-chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1.5px solid #ddd;
	border-radius: 24px;
	background: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	color: #333;
}
.paf-review-chip:hover {
	border-color: #000;
}
.paf-review-chip.is-selected {
	background: #000;
	color: #fff;
	border-color: #000;
}
.paf-review-chip-perfect {
	border-color: #28a745;
	color: #28a745;
}
.paf-review-chip-perfect.is-selected {
	background: #28a745;
	color: #fff;
	border-color: #28a745;
}
.paf-review-chips-count {
	font-size: 12px;
	color: #888;
	margin-top: 6px;
}

/* Value rating cards */
.paf-review-value-cards {
	display: flex;
	gap: 12px;
}
.paf-review-value-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 12px;
	border: 2px solid #ddd;
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s;
	font-size: 14px;
	font-weight: 500;
	gap: 8px;
}
.paf-review-value-card i {
	font-size: 28px;
}
.paf-review-value-card:hover {
	border-color: #000;
}
.paf-review-value-card.is-selected {
	background: #000;
	color: #fff;
	border-color: #000;
}

/* Recommend buttons */
.paf-review-recommend {
	display: flex;
	gap: 12px;
}
.paf-review-recommend-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border: 2px solid #ddd;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s;
	font-size: 16px;
	font-weight: 600;
}
.paf-review-recommend-btn:hover {
	border-color: #000;
}
.paf-review-recommend-yes.is-selected {
	background: #28a745;
	color: #fff;
	border-color: #28a745;
}
.paf-review-recommend-no.is-selected {
	background: #dc3545;
	color: #fff;
	border-color: #dc3545;
}

/* Textarea */
.paf-review-textarea {
	border-radius: 12px;
	border: 1.5px solid #ddd;
	padding: 12px;
	font-size: 14px;
	resize: vertical;
}
.paf-review-textarea:focus {
	border-color: #000;
	box-shadow: none;
}

/* Navigation */
.paf-review-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}
.paf-review-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	border: none;
	transition: all 0.2s;
	text-decoration: none;
}
.paf-review-btn-next,
.paf-review-btn-submit {
	background: #000;
	color: #fff;
}
.paf-review-btn-next:hover,
.paf-review-btn-submit:hover {
	background: #333;
	color: #fff;
}
.paf-review-btn-back {
	background: transparent;
	color: #666;
	border: 1px solid #ddd;
}
.paf-review-btn-back:hover {
	color: #000;
	border-color: #000;
}

/* Shake animation */
.paf-review-shake {
	animation: paf-review-shake 0.5s;
}
@keyframes paf-review-shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-6px); }
	40%, 80% { transform: translateX(6px); }
}

/* Thanks page */
.paf-review-thanks {
	text-align: center;
	padding: 40px 0;
}
.paf-review-thanks .paf-review-mascot {
	justify-content: center;
}

/* ===== PROPERTY DETAIL — Review section ===== */
.paf-review-section {
	margin-top: 8px;
}
.paf-review-summary-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}
.paf-review-summary-count {
	font-weight: 600;
	font-size: 15px;
}
.paf-review-summary-recommend {
	font-size: 14px;
	color: #28a745;
	font-weight: 500;
}

/* Badges */
.paf-review-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}
.paf-review-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	background: #e3f6fa;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #066b80;
}
.paf-review-badge i {
	margin-right: 4px;
}

/* Review cards list */
.paf-review-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.paf-review-card {
	padding: 16px;
	border: 1px solid #eee;
	border-radius: 12px;
	background: #fafafa;
}
.paf-review-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}
.paf-review-card-name {
	font-weight: 600;
	font-size: 14px;
}
.paf-review-card-date {
	font-size: 12px;
	color: #999;
}
.paf-review-card-meta {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 12px;
	color: #666;
}
.paf-review-card-reason,
.paf-review-card-with {
	background: #f0f0f0;
	padding: 2px 8px;
	border-radius: 4px;
}
.paf-review-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}
.paf-review-card-tag {
	display: inline-block;
	padding: 3px 10px;
	background: #e8f5e9;
	border-radius: 12px;
	font-size: 12px;
	color: #2e7d32;
}
.paf-review-card-comment {
	font-size: 14px;
	font-style: italic;
	color: #444;
	margin-bottom: 8px;
	line-height: 1.5;
}
.paf-review-card-recommend {
	font-size: 13px;
	color: #28a745;
	font-weight: 500;
}

/* Show all link */
.paf-review-show-all {
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	font-size: 14px;
	color: #000;
	text-decoration: underline;
}
.paf-review-show-all:hover {
	color: #333;
}

/* ===== SEARCH CARD — Review badges ===== */
.paf-card-reviews {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;            /* MAI a capo: una sola riga, altezza costante */
	gap: 6px;
	padding: 5px 0 0;
	min-height: 25px;            /* footprint fisso: card allineate con o senza recensioni */
	overflow: hidden;
}
/* Pill etichetta verbale (brand): non si comprime, l'etichetta tronca se serve */
.paf-card-review-verbal {
	display: inline-flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	padding: 2px 9px;
	background: var(--c-tasti);
	color: var(--c-text-con-sfondo);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.45;
	white-space: nowrap;
}
.paf-card-review-verbal i {
	flex: 0 0 auto;
	margin-right: 4px;
	font-size: 10px;
}
.paf-card-review-verbal .paf-rv-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}
.paf-card-review-verbal .paf-rv-pct {
	flex: 0 0 auto;
	font-weight: 800;
}
/* Conteggio: sempre visibile, non si comprime */
.paf-card-review-count {
	flex: 0 0 auto;
	font-size: 11px;
	color: #888;
	white-space: nowrap;
}
/* Riga riempitivo (card senza recensioni): pareggia l'altezza con una sola riga utile */
.paf-card-booking {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.paf-card-booking i {
	font-size: 11px;
}
.paf-card-booking--instant { color: #2e8b57; }          /* verde: conferma immediata */
.paf-card-booking--request { color: #9a8221; }          /* ambra discreta: su richiesta */

.form-submit textarea.form-control {
	min-height: 160px;
}
.form-submit textarea.paf-charcount {
	min-height: 220px;
}
.char-count {
	text-align: right;
	font-size: 12px;
	color: #888;
	margin-top: 4px;
}
.char-count.text-danger {
	color: #dc3545 !important;
	font-weight: 600;
}

/* ====================================
   PANNELLO FILTRI UNIFICATO
   ==================================== */

.paf-filter-module {
	max-height: 85vh;
	overflow-y: auto;
}

.paf-filter-group {
	margin-bottom: 14px;
}

.paf-filter-group-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--c-text-secondario);
	margin-bottom: 8px;
}

.paf-filter-divider {
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, 0.1);
	margin: 12px 0;
}

/* Sort toggle inline */
.paf-filter-sort-row {
	display: flex;
	gap: 8px;
}

.paf-sort-toggle {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: var(--b-radius-big);
	background: var(--c-white);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: var(--c-text);
	transition: background 0.15s, border-color 0.15s;
	text-align: center;
}

.paf-sort-toggle:hover {
	border-color: #bbb;
}

.paf-sort-toggle.selected {
	background: var(--c-tasti-secondari);
	border-color: var(--c-tasti-secondari);
	color: var(--c-text);
}

/* Top row: Categoria / Camere / Bagni */
.paf-filter-top-row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.paf-filter-top-col {
	flex: 1;
	min-width: 0;
}

.paf-filter-top-col--cat {
	flex: 1.4;
}

/* Select custom PAF */
.paf-filter-select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: var(--c-white);
	font-size: 14px;
	font-family: var(--f-font1);
	color: var(--c-text);
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
	cursor: pointer;
}

.paf-filter-select:focus {
	outline: none;
	border-color: var(--c-tasti-secondari);
}

/* Chip toggle (camere/bagni) */
.paf-filter-chip-row {
	display: flex;
	gap: 6px;
}

.paf-filter-chip {
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: var(--c-white);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: var(--c-text);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, border-color 0.15s;
	padding: 0;
}

.paf-filter-chip:hover {
	border-color: #bbb;
}

.paf-filter-chip.selected {
	background: var(--c-tasti-secondari);
	border-color: var(--c-tasti-secondari);
	color: var(--c-text);
}

/* Feature checkbox grid */
.paf-filter-highlight {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 16px;
}

/* Checkbox custom PAF */
.paf-filter-check {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 6px 0;
	user-select: none;
}

.paf-filter-check input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 1.5px solid #ccc;
	border-radius: 5px;
	background: var(--c-white);
	cursor: pointer;
	position: relative;
	transition: background 0.15s, border-color 0.15s;
}

.paf-filter-check input[type="checkbox"]:checked {
	background: var(--c-tasti-secondari);
	border-color: var(--c-tasti-secondari);
}

.paf-filter-check input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid var(--c-text);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.paf-filter-check-label {
	font-size: 14px;
	color: var(--c-text);
	display: flex;
	align-items: center;
	gap: 5px;
}

.paf-filter-check-label i {
	font-size: 14px;
	color: var(--c-text-secondario);
}

/* Sezioni collassabili */
.paf-filter-section {
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.paf-filter-section:last-of-type {
	border-bottom: none;
}

.paf-filter-section-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	cursor: pointer;
	user-select: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--c-text);
}

.paf-filter-section-header:hover {
	color: var(--c-text-secondario);
}

.paf-filter-arrow {
	font-size: 12px;
	transition: transform 0.2s ease;
}

.paf-filter-section-header.is-open .paf-filter-arrow {
	transform: rotate(90deg);
}

.paf-filter-section-body {
	display: none;
	padding-bottom: 12px;
}

/* Responsive: mobile */
@media (max-width: 640px) {
	.paf-filter-module {
		max-height: 100vh;
		height: 100vh;
		border-radius: 0;
		max-width: 100%;
		width: 100%;
	}

	.paf-filter-top-row {
		flex-direction: column;
		gap: 10px;
	}

	.paf-filter-sort-row {
		flex-direction: column;
	}

	.paf-filter-highlight {
		grid-template-columns: 1fr;
	}
}

/* ===== LISTA STRUTTURE ===== */

.paf-form-btn-add {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: var(--b-radius-big);
	background: var(--c-tasti);
	color: var(--c-text-con-sfondo);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: filter 0.15s ease;
}
.paf-form-btn-add:hover {
	filter: brightness(0.9);
	color: var(--c-text-con-sfondo);
}

.paf-struct-empty {
	text-align: center;
	padding: 48px 20px;
	color: var(--c-text-secondario);
}
.paf-struct-empty i {
	font-size: 40px;
	margin-bottom: 12px;
	display: block;
	color: #ccc;
}
.paf-struct-empty p {
	font-size: 15px;
	font-weight: 600;
	color: var(--c-text);
	margin-bottom: 4px;
}
.paf-struct-empty span {
	font-size: 13px;
}

.paf-struct-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.paf-struct-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border: 1px solid #eee;
	border-radius: 12px;
	background: var(--c-white);
	transition: box-shadow 0.15s ease;
}
.paf-struct-card:hover {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.paf-struct-card-img {
	position: relative;
	width: 72px;
	min-width: 72px;
	height: 54px;
	border-radius: 8px;
	overflow: hidden;
	background: #f0f0f0;
}
.paf-struct-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.paf-struct-status {
	position: absolute;
	bottom: 4px;
	left: 4px;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 1px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
}
.paf-struct-status.is-active {
	background: var(--c-tasti-secondari);
	color: var(--c-text);
}

.paf-struct-card-body {
	flex: 1;
	min-width: 0;
}
.paf-struct-card-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--c-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.paf-struct-card-meta {
	display: flex;
	gap: 14px;
	margin-top: 3px;
	font-size: 12px;
	color: var(--c-text-secondario);
}
.paf-struct-card-meta i {
	margin-right: 3px;
}

.paf-struct-card-actions {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}
.paf-struct-action {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--c-text-secondario);
	font-size: 14px;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.paf-struct-action:hover {
	border-color: var(--c-tasti);
	color: var(--c-text);
	background: #fafafa;
}
.paf-struct-action.is-danger:hover {
	border-color: #dc3545;
	color: #dc3545;
	background: rgba(220, 53, 69, 0.04);
}

@media (max-width: 640px) {
	.paf-struct-card {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0;
		overflow: hidden;
	}
	.paf-struct-card-img {
		width: 100%;
		min-width: 100%;
		height: 140px;
		border-radius: 0;
	}
	.paf-struct-status {
		bottom: 8px;
		left: 8px;
		font-size: 10px;
		padding: 2px 8px;
	}
	.paf-struct-card-body {
		padding: 12px 14px 8px;
	}
	.paf-struct-card-title {
		font-size: 16px;
		white-space: normal;
	}
	.paf-struct-card-meta {
		margin-top: 4px;
	}
	.paf-struct-card-actions {
		display: flex;
		width: 100%;
		border-top: 1px solid #f0f0f0;
	}
	.paf-struct-action {
		flex: 1;
		width: auto;
		height: 42px;
		border: none;
		border-radius: 0;
		font-size: 15px;
	}
	.paf-struct-action + .paf-struct-action {
		border-left: 1px solid #f0f0f0;
	}
}

/* ===== FORM STRUTTURA ===== */

.paf-form-section {
	margin-bottom: 24px;
}

.paf-form-section-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--c-text-secondario);
	margin-bottom: 8px;
	font-family: var(--f-font1);
}

.paf-form-input {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
	font-family: var(--f-font1);
	color: var(--c-text);
	background: var(--c-white);
	outline: none;
	transition: border-color 0.2s ease;
}
.paf-form-input:focus {
	border-color: var(--c-tasti);
}

/* Bottone trigger modale unita */
.paf-form-unit-trigger {
	display: flex;
	align-items: center;
	cursor: pointer;
	text-align: left;
}
.paf-form-unit-trigger:hover {
	border-color: var(--c-tasti);
}
.paf-form-unit-trigger .fa-chevron-right {
	font-size: 12px;
	color: var(--c-text-secondario);
}

.paf-form-search {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 10px 12px 10px 36px;
	font-size: 14px;
	font-family: var(--f-font1);
	color: var(--c-text);
	background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c6c6c' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 12px center;
	outline: none;
	transition: border-color 0.2s ease;
	margin-bottom: 8px;
}
.paf-form-search:focus {
	border-color: var(--c-tasti);
}

.paf-form-property-list {
	max-height: 50vh;
	overflow-y: auto;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 4px 0;
}

.paf-form-property-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	margin: 0;
	cursor: pointer;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	transition: background 0.15s ease;
	font-weight: normal;
}
.paf-form-property-item:last-child {
	border-bottom: none;
}
.paf-form-property-item:hover {
	background: rgba(0, 0, 0, 0.02);
}
.paf-form-property-item.is-checked {
	background: rgba(215, 245, 81, 0.1);
}

/* Checkbox custom — stile PAF */
.paf-form-property-item input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 1.5px solid #ccc;
	border-radius: 5px;
	background: var(--c-white);
	cursor: pointer;
	position: relative;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.paf-form-property-item input[type="checkbox"]:checked {
	background: var(--c-tasti-secondari);
	border-color: var(--c-tasti-secondari);
}
.paf-form-property-item input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid var(--c-text);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.paf-form-property-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.paf-form-property-title {
	font-weight: 600;
	font-size: 14px;
	color: var(--c-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.paf-form-property-meta {
	font-size: 12px;
	color: var(--c-text-secondario);
}
.paf-form-property-meta i {
	margin-right: 3px;
}

.paf-form-property-count {
	font-size: 12px;
	color: var(--c-text-secondario);
	margin-top: 8px;
	font-family: var(--f-font1);
}

.paf-form-divider {
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, 0.1);
	margin: 20px 0;
}

/* Toggle radio — stile sort buttons */
.paf-form-toggle-row {
	display: flex;
	gap: 8px;
}
.paf-form-toggle-row input[type="radio"] {
	display: none;
}
.paf-form-toggle {
	flex: 1;
	padding: 12px 16px;
	border-radius: var(--b-radius-big);
	background: #f0f0f0;
	color: #999;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	border: none;
}
.paf-form-toggle:hover {
	background: #e5e5e5;
	color: #666;
}
.paf-form-toggle-row input[type="radio"]:checked + .paf-form-toggle {
	background: var(--c-tasti);
	color: var(--c-text-con-sfondo);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Toggle switch pubblicazione */
.paf-form-switch {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	font-family: var(--f-font1);
}
.paf-form-switch input[type="checkbox"] {
	display: none;
}
.paf-form-switch-track {
	width: 44px;
	height: 24px;
	min-width: 44px;
	border-radius: 12px;
	background: #ccc;
	position: relative;
	transition: background 0.2s ease;
}
.paf-form-switch input[type="checkbox"]:checked + .paf-form-switch-track {
	background: var(--c-tasti-secondari);
}
.paf-form-switch-track::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--c-white);
	transition: transform 0.2s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.paf-form-switch input[type="checkbox"]:checked + .paf-form-switch-track::after {
	transform: translateX(20px);
}

/* Submit button stile PAF */
.paf-form-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);
	font-family: var(--f-font1);
	filter: brightness(1);
	transition: filter 0.15s ease;
}
.paf-form-submit:hover {
	filter: brightness(0.9);
}

/* Policy description sotto il toggle */
.paf-form-policy-desc {
	font-size: 12px;
	color: var(--c-text-secondario);
	margin-top: 8px;
	line-height: 1.4;
}

/* Mappa posizione */
.paf-form-map {
	width: 100%;
	height: 220px;
	border-radius: 10px;
	margin-top: 10px;
	border: 1px solid #eee;
}

/* Highlight animation on selection */
@keyframes pafHighlight {
	0%   { background: rgba(215, 245, 81, 0.3); }
	100% { background: rgba(215, 245, 81, 0.1); }
}
.paf-form-property-item.is-highlight {
	animation: pafHighlight 0.4s ease;
}

/* Tile aggiungi immagine (in coda alla griglia) */
.paf-form-image-add {
	aspect-ratio: 4 / 3;
	border: 2px dashed #ddd;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.paf-form-image-add:hover,
.paf-form-image-add.is-dragover {
	border-color: var(--c-tasti-secondari);
	background: rgba(215, 245, 81, 0.05);
}
.paf-form-image-add i {
	font-size: 22px;
	color: #bbb;
}
.paf-form-image-add:hover i {
	color: var(--c-tasti);
}
.paf-form-image-add small {
	font-size: 10px;
	color: #aaa;
	text-align: center;
	line-height: 1.3;
	padding: 0 6px;
}
.paf-form-image-add input[type="file"] {
	display: none;
}

/* Gallery modale — scegli dalle unita */
.paf-gallery-unit {
	margin-bottom: 18px;
}
.paf-gallery-unit-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--c-text-secondario);
	margin-bottom: 8px;
}
.paf-gallery-pick {
	cursor: pointer;
	position: relative;
}
.paf-gallery-pick-icon {
	position: absolute;
	bottom: 6px;
	right: 6px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	transition: background 0.15s ease;
}
.paf-gallery-pick:hover .paf-gallery-pick-icon {
	background: var(--c-tasti);
}
.paf-gallery-pick.is-added {
	opacity: 0.5;
}
.paf-gallery-pick.is-added .paf-gallery-pick-icon {
	background: var(--c-tasti-secondari);
	color: var(--c-text);
}

/* Progress bar upload */
.paf-form-upload-progress {
	height: 4px;
	border-radius: 2px;
	background: #eee;
	margin: 12px 0;
	overflow: hidden;
}
.paf-form-upload-progress-bar {
	height: 100%;
	width: 0;
	background: var(--c-tasti-secondari);
	border-radius: 2px;
	transition: width 0.2s ease;
}

/* Griglia immagini */
.paf-form-image-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 14px 0 0;
}
.paf-form-image-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f5f5f5;
}
.paf-form-image-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.paf-form-image-remove {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.15s ease;
}
.paf-form-image-item:hover .paf-form-image-remove {
	opacity: 1;
}
.paf-form-image-cover {
	position: absolute;
	top: 6px;
	left: 6px;
	background: var(--c-tasti-secondari);
	color: var(--c-text);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 2px 7px;
	border-radius: 4px;
	z-index: 1;
}

/* ===== FORM STRUTTURA — MOBILE ===== */
@media (max-width: 640px) {
	.paf-form-property-list {
		max-height: 50vh;
	}

	.paf-form-toggle-row {
		flex-direction: column;
	}

	.paf-form-map {
		height: 180px;
	}

	.paf-form-search {
		position: sticky;
		top: 0;
		z-index: 2;
		background: var(--c-white);
	}

	.paf-form-image-grid {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}

	.paf-form-image-remove {
		opacity: 1;
	}
}
.paf-drag-active {
	opacity: 0.9;
	transform: scale(1.08);
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	border-radius: 10px;
	transition: none;
}
.paf-drag-placeholder {
	border: 2px dashed #ccc;
	border-radius: 10px;
	background: #f9f9f9;
}

/* Politiche struttura */
.paf-form-sublabel {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-text, #282828);
	display: block;
	margin-bottom: 6px;
}
.paf-form-input-sm {
	padding: 4px 8px;
	font-size: 13px;
	height: auto;
}
.paf-policy-uniforma {
	padding: 8px 0;
	border-top: 1px solid #eee;
}
