/**
 * Stili Frontend - Futura Vacanze Integration
 * 
 * @package Futura_Vacanze
 * @since 1.0.0
 */

/* ========================================
   FORM DI RICERCA - DESIGN PILL-SHAPED
   ======================================== */

/* Wrapper full-width */
.futura-search-wrapper {
    margin: 20px auto 200px;
    width: 1400px;
    max-width: 99vw;
    overflow: visible;
}

/* Container con sfondo arancione */
.futura-search-form {
    background: #FFC107;
    padding: 16px 24px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
}

/* Titolo */
.futura-form-title {
    margin: 0 0 10px;
    font-size: 20px;
    color: #ffffff;
    text-align: left;
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* Form inline */
.futura-form-inline {
    max-width: 100%;
    margin: 0;
}

/* Row orizzontale */
.futura-fields-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    max-width: 100%;
}

/* Campi singoli - pill-shaped */
.futura-field {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border-radius: 32px;
    height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    min-width: 160px;
    max-width: 100%;
}

/* Riduci larghezza solo per il campo 'Con chi parti' */
.futura-field:has(#futura-adults) {
    max-width: 180px;
    min-width: 120px;
    flex: 0 0 180px;
}

.futura-field:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Icone */
.futura-field > .dashicons:first-child {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #334155;
    flex-shrink: 0;
}

/* Testo campo */
.futura-field-text {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    flex: 1;
}

/* Campo con dropdown */
.futura-field-dropdown {
    padding-right: 16px;
    position: relative;
}

/* Icona dropdown arrow */
.futura-dropdown-icon {
    position: absolute;
    right: 16px;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    color: #94a3b8 !important;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.futura-field-dropdown.active .futura-dropdown-icon {
    transform: rotate(180deg);
}

.futura-field-dropdown.active {
    border-radius: 18px 18px 0 0;
    box-shadow: none;
}

/* Dropdown personalizzato pacchetto */
.futura-package-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    padding: 16px 20px 20px 20px;
    z-index: 1000;
    box-sizing: border-box;
}

.futura-package-options {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.futura-package-btn {
    width: 130px;
    padding: 12px 0;
    background: #FBBD4A;
    color: #2c3e50;
    border: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    white-space: nowrap;
}

.futura-package-btn:hover {
    background: #F0B03D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 176, 61, 0.4);
}

.futura-package-btn.active {
    background: #FBBD4A;
    color: #2c3e50;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 208, 91, 0.4);
}

/* ========================================
   DROPDOWN DESTINAZIONE
   ======================================== */
.futura-destination-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    padding: 12px 16px 16px;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    box-sizing: border-box;
}

.futura-dest-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.futura-dest-btn {
    width: 100%;
    padding: 9px 14px;
    background: transparent;
    color: #2c3e50;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.futura-dest-btn:hover {
    background: #fff3d0;
}

.futura-dest-btn.active {
    background: #FBBD4A;
    font-weight: 700;
}

/* ========================================
   DROPDOWN DATE
   ======================================== */
.futura-date-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    padding: 16px 20px 20px;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    box-sizing: border-box;
}

.futura-date-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.futura-date-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.futura-date-row label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.futura-date-row input[type="date"] {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e50;
    background: #f8fafc;
    cursor: pointer;
    box-sizing: border-box;
}

.futura-date-row input[type="date"]:focus {
    outline: none;
    border-color: #FBBD4A;
}

.futura-date-confirm {
    width: 100%;
    padding: 10px;
    background: #FBBD4A;
    color: #2c3e50;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.futura-date-confirm:hover {
    background: #F0B03D;
}

/* ========================================
   DROPDOWN OSPITI
   ======================================== */
.futura-guests-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    padding: 16px 20px 20px;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    box-sizing: border-box;
}

.futura-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.futura-counter-row:last-child {
    border-bottom: none;
}

.futura-counter-label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.futura-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.futura-counter-btn {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    color: #2c3e50;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s ease;
}

.futura-counter-btn:hover {
    background: #FBBD4A;
}

.futura-counter-val {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    min-width: 20px;
    text-align: center;
}

/* Select e date nascosti (funzionali ma non visibili) */
.futura-select-hidden,
.futura-date-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Bottone CERCA */
.futura-btn-search {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 28px;
    height: 44px;
    min-width: 140px;
    background: #1e88e5;
    color: #ffffff;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(30, 136, 229, 0.3);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.futura-btn-search:hover {
    background: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(30, 136, 229, 0.4);
}

.futura-btn-search:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.futura-btn-search .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Loading */
.futura-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    color: #ffffff;
    font-weight: 500;
}

/* Risultati */
.futura-results-wrapper {
    margin-top: 30px;
}

.futura-results {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .futura-fields-row {
        flex-wrap: wrap;
    }
    
    .futura-field {
        flex: 1 1 calc(50% - 5px);
        min-width: 180px;
    }
    
    .futura-btn-search {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .futura-search-form {
        padding: 15px;
    }
    
    .futura-field {
        flex: 1 1 100%;
    }
    
    .futura-fields-row {
        gap: 8px;
    }
}

.futura-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.futura-button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: translateY(-2px);
}

.futura-button-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.futura-button-primary:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

/* Loading */
.futura-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7f8c8d;
}

/* Messaggi */
.futura-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.futura-error {
    background-color: #ffe6e6;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

.futura-info {
    background-color: #e8f4f8;
    border-left: 4px solid #3498db;
    color: #2980b9;
}

/* Risultati */
.futura-results-wrapper {
    margin-top: 30px;
}

.futura-results-header h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.futura-hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.futura-hotel-card {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.futura-hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.futura-hotel-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.futura-hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.futura-hotel-content {
    padding: 20px;
}

.futura-hotel-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
}

.futura-hotel-location {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.futura-hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.futura-hotel-price {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
}

@media (max-width: 768px) {
    .futura-search-form {
        padding: 20px 15px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .futura-hotels-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HOTEL DETAIL
   ======================================== */

/* ========================================
   PAGINA DETTAGLIO HOTEL
   ======================================== */

.futura-hotel-detail {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.futura-hotel-detail h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a202c;
    line-height: 1.2;
}

.futura-hotel-detail .hotel-meta {
    background: linear-gradient(135deg, #fff8ee 0%, #ffffff 100%);
    border: 1px solid #FBBD4A;
    border-left: 5px solid #FBBD4A;
    padding: 24px 28px;
    margin: 24px 0 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(251, 189, 74, 0.15);
}

.futura-hotel-detail .hotel-meta p {
    margin: 10px 0;
    font-size: 16px;
    color: #2d3748;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.futura-hotel-detail .hotel-meta p strong {
    color: #1a202c;
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
}

.futura-hotel-detail .hotel-meta p strong::before {
    content: '▸ ';
    color: #FBBD4A;
    margin-right: 6px;
    font-weight: bold;
}

.futura-hotel-detail .hotel-content {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    font-size: 15px;
    color: #4a5568;
}

.futura-hotel-detail .hotel-content p {
    margin-bottom: 16px;
}

.futura-hotel-detail .hotel-content h2,
.futura-hotel-detail .hotel-content h3 {
    color: #2d3748;
    margin-top: 24px;
    margin-bottom: 12px;
}

/* ========================================
   FORM VERIFICA DISPONIBILITÀ
   ======================================== */

.futura-availability-check {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid #eee;
}

.futura-availability-check h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.futura-avail-form {
    background: #fff8ee;
    border: 1px solid #FBBD4A;
    border-radius: 10px;
    padding: 20px;
}

.futura-avail-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.futura-avail-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 140px;
}

.futura-avail-field label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.futura-avail-field input,
.futura-avail-field select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
}

.futura-btn-check {
    background: #FBBD4A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background 0.2s;
}

.futura-btn-check:hover {
    background: #e8a820;
}

.futura-avail-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    color: #555;
}

/* ========================================
   RISULTATI DISPONIBILITÀ (CAMERE)
   ======================================== */

.futura-avail-rooms {
    margin-top: 24px;
}

.futura-avail-rooms h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
}

.futura-room-option {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.futura-room-option:hover {
    border-color: #FBBD4A;
}

.futura-room-info {
    flex: 1 1 200px;
    font-size: 15px;
}

.futura-meal-plan {
    color: #7f8c8d;
    font-size: 13px;
}

.futura-room-price {
    flex: 0 0 auto;
}

/* ========================================
   DETTAGLIO PREVENTIVO - LAYOUT COMPLETO
   ======================================== */

.futura-preventivo-detail {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 16px calc(50vw - 580px);
    background: #F1F1F1 !important;
    box-sizing: border-box;
}

/* Link Modifica Ricerca */
.futura-modify-search {
    text-align: right;
    margin-bottom: 16px;
}

.modify-search-link {
    color: #0099dd !important;
    text-decoration: underline !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.modify-search-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.modify-search-link:hover {
    color: #007ab3 !important;
}

.futura-preventivo-container {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* Colonna Sinistra */
.futura-preventivo-left {
    flex: 1 1 65%;
    background: #F1F1F1 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0;
    box-shadow: none !important;
    outline: none !important;
}

.futura-preventivo-header {
    margin-bottom: 0;
    padding: 0 0 16px 0;
    border-bottom: none;
    background: #F1F1F1 !important;
}

.futura-preventivo-header .hotel-title {
    font-size: 24px;
    font-weight: 700;
    color: #0099dd;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.futura-preventivo-header .hotel-location {
    font-size: 14px;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

.futura-preventivo-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0;
    padding: 0;
    background: #F1F1F1 !important;
    border-radius: 0;
}

.info-row-full {
    grid-column: 1 / -1;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    padding: 8px 0;
    border-bottom: none;
}

.info-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 0px;
    width: 20px;
    text-align: center;
    filter: grayscale(1) brightness(0);
}

.info-text {
    flex: 1;
}

.info-text strong {
    font-weight: 800;
    color: #000000;
}

.flight-details {
    font-size: 15px;
    color: #000000;
    margin-top: 1px;
    font-style: italic;
    line-height: 1.4;
}

.flight-label {
    font-style: italic;
}

.info-link {
    color: #000000;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 4px;
}

.info-link:hover {
    color: #007ab3;
}

.futura-preventivo-selection {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    margin: 0;
    background: #F1F1F1 !important;
    border-top: none;
    border-radius: 0;
}

.futura-preventivo-selection strong {
    font-weight: 700;
    color: #000000;
    font-size: 15px;
}

.preventivo-separator {
    border: none;
    border-top: 1px solid #d0d0d0;
    margin: 0;
}

.btn-quota-servizi {
    padding: 9px 22px;
    background: #0099dd;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-quota-servizi:hover {
    background: #007ab3;
}

.link-condizioni {
    color: #000000;
    text-decoration: underline;
    font-size: 14px;
}

.link-condizioni:hover {
    color: #007ab3;
}

/* Colonna Destra */
.futura-preventivo-right {
    flex: 0 0 380px;
    position: sticky;
    top: 20px;
    background: #F1F1F1 !important;
}

.preventivo-card {
    background: #F1F1F1 !important;
    border: none;
    border-radius: 0;
    padding: 24px;
    box-shadow: none;
}

.preventivo-header {
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

.preventivo-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 8px 0;
    letter-spacing: -0.2px;
}

.preventivo-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.preventivo-link {
    color: #0099dd;
    text-decoration: underline;
    font-weight: 600;
}

.preventivo-link:hover {
    color: #007ab3;
}

.separator {
    color: #666666;
    font-weight: 300;
}

.preventivo-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: none;
}

.price-label {
    font-size: 14px;
    color: #333333;
    line-height: 1.4;
    font-weight: 400;
}

.price-label strong {
    font-weight: 900 !important;
}

.price-amount {
    font-size: 34px;
    font-weight: 700;
    color: #0099dd;
    letter-spacing: -1px;
}

.preventivo-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
}

.scalapay-badge {
    background: #000000;
    color: #ffffff;
    padding: 6px 10px 6px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.scalapay-badge svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #FF3366;
}

.scalapay-text {
    font-weight: 700;
    letter-spacing: 0;
    color: #FF3366;
}

.payment-info {
    font-size: 15px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.dropdown-icon {
    width: 12px;
    height: 12px;
    color: #000000;
    flex-shrink: 0;
    stroke-width: 1.5;
}

/* Modale Scalapay */
.scalapay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.scalapay-modal.active {
    display: block !important;
}

.scalapay-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.scalapay-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #EBEBEB;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.scalapay-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.scalapay-badge-large {
    background: #1A1A1A;
    color: #FF3366;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.scalapay-badge-large svg {
    width: 16px;
    height: 16px;
}

.scalapay-modal-close {
    background: transparent;
    border: none;
    font-size: 36px;
    color: #999999;
    cursor: pointer;
    line-height: 0.8;
    padding: 0;
    width: 36px;
    height: 36px;
    font-weight: 300;
}

.scalapay-modal-close:hover {
    color: #333333;
}

.scalapay-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.2;
}

.scalapay-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.scalapay-option {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.scalapay-option:hover {
    border-color: #FF3366;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.15);
}

.scalapay-option-title {
    font-size: 17px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.scalapay-option-note {
    font-size: 13px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.scalapay-option-note svg {
    width: 14px;
    height: 14px;
    color: #999999;
    flex-shrink: 0;
}

.scalapay-info-section {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
}

.scalapay-info-section h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 18px 0;
}

.scalapay-steps {
    padding-left: 22px;
    margin: 0 0 16px 0;
    counter-reset: item;
    list-style: none;
}

.scalapay-steps li {
    font-size: 15px;
    color: #333333;
    margin-bottom: 14px;
    line-height: 1.6;
    position: relative;
    counter-increment: item;
}

.scalapay-steps li:before {
    content: counter(item) ". ";
    position: absolute;
    left: -22px;
    font-weight: 400;
    color: #333333;
}

.scalapay-steps li:last-child {
    margin-bottom: 0;
}

.scalapay-steps li strong {
    font-weight: 700;
    color: #1A1A1A;
}

.scalapay-disclaimer {
    font-size: 12px;
    color: #999999;
    margin: 0;
    line-height: 1.5;
}

.scalapay-close-button {
    display: block;
    margin: 24px auto 0 auto;
    background: #5B7FFF;
    color: #FFFFFF;
    border: none;
    border-radius: 24px;
    padding: 16px 56px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.scalapay-close-button:hover {
    background: #4A6EE8;
}

.preventivo-enhance {
    text-align: center;
    padding: 16px 0;
}

.enhance-link {
    display: block !important;
    color: #0099dd !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 13px 24px !important;
    text-align: center !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
    height: auto !important;
    line-height: 1.3 !important;
}

.enhance-link:hover {
    background: #ffffff !important;
    color: #0099dd !important;
    border-color: #e0e0e0 !important;
}

.btn-continua {
    width: 100% !important;
    padding: 16px 24px !important;
    background: #1a9de0 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s;
    margin: 10px 0 0 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    line-height: 1.2 !important;
}

.btn-continua:hover {
    background: #007ab3 !important;
}

.preventivo-request-info {
    text-align: center;
    padding-top: 14px;
}

.request-info-link {
    color: #0099dd !important;
    text-decoration: underline !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.request-info-link:hover {
    color: #007ab3;
}

/* Responsive */
@media (max-width: 1024px) {
    .futura-preventivo-container {
        flex-direction: column;
    }
    
    .futura-preventivo-right {
        flex: 1 1 auto;
        width: 100%;
        position: static;
    }
    
    .preventivo-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

.futura-price {
    font-size: 22px;
    font-weight: 700;
    color: #e74c3c;
}

.futura-price-big {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
}

/* ========================================
   PREVENTIVO
   ======================================== */

.futura-preventivo-box {
    background: #f0faf0;
    border: 2px solid #27ae60;
    border-radius: 10px;
    padding: 24px;
    margin-top: 24px;
}

.futura-preventivo-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #27ae60;
}

.futura-preventivo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.futura-btn-preventivo {
    background: #FBBD4A;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.futura-btn-preventivo:hover {
    background: #e8a820;
}

.futura-btn-action {
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.futura-btn-action:hover {
    opacity: 0.85;
}

.futura-button-primary {
    background: #27ae60;
    color: #fff;
}

.futura-button-danger {
    background: #e74c3c;
    color: #fff;
}

/* ========================================
   MESSAGGI DI STATO
   ======================================== */

.futura-message {
    border-radius: 8px;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px;
}

.futura-message.futura-error {
    background: #fdecea;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

.futura-message.futura-success {
    background: #eafaf1;
    border-left: 4px solid #27ae60;
    color: #1e8449;
}

.futura-message.futura-info {
    background: #eaf4ff;
    border-left: 4px solid #3498db;
    color: #1a6fa8;
}

@media (max-width: 600px) {
    .futura-avail-fields {
        flex-direction: column;
    }
    .futura-room-option {
        flex-direction: column;
        align-items: flex-start;
    }
    .futura-preventivo-actions {
        flex-direction: column;
    }
}

/* ========================================
   DETTAGLI HOTEL
   ======================================== */

.futura-hotel-details {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 40px calc(50vw - 580px);
    background: #ffffff;
    box-sizing: border-box;
}

.hotel-details-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.hotel-details-left {
    flex: 0 0 50%;
}

.hotel-image-main {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.hotel-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.hotel-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hotel-image-small {
    border-radius: 12px;
    overflow: hidden;
}

.hotel-image-small img {
    width: 100%;
    height: auto;
    display: block;
}

.hotel-details-right {
    flex: 1;
}

.hotel-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.hotel-details-title {
    font-size: 26px;
    font-weight: 700;
    color: #0099dd;
    margin: 0;
    line-height: 1.2;
}

.hotel-details-logo {
    flex-shrink: 0;
}

.hotel-details-logo img {
    width: 80px;
    height: auto;
}

.hotel-details-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #333333;
    margin-bottom: 12px;
}

.location-icon {
    color: #333333 !important;
    width: 18px !important;
    height: 18px !important;
    display: block;
    flex-shrink: 0;
}

.hotel-map-link {
    display: inline-block;
    color: #0099dd;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid #0099dd;
}

.hotel-map-link:hover {
    color: #007ab3;
    border-color: #007ab3;
}

.hotel-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 16px;
    margin-bottom: 30px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.service-icon {
    color: #0099dd !important;
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 0;
    display: block;
}

.service-label {
    font-size: 11px;
    color: #0099dd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hotel-info-details {
    margin-bottom: 24px;
}

.hotel-info-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px 0;
}

.hotel-info-details p {
    margin: 6px 0;
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}

.hotel-info-details strong {
    font-weight: 700;
    color: #000000;
}

.hotel-description {
    margin-bottom: 20px;
}

.hotel-description p {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    text-align: justify;
    margin: 0;
}

.hotel-cin {
    margin-top: 16px;
}

.hotel-cin p {
    font-size: 13px;
    color: #C19A6B;
    margin: 4px 0;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .hotel-details-container {
        flex-direction: column;
    }
    
    .hotel-details-left {
        flex: 1 1 100%;
    }
    
    .hotel-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   LO SCEGLI PERCHÉ
   ======================================== */

.futura-why-choose {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 50px calc(50vw - 580px);
    background: #F0F8FC;
    box-sizing: border-box;
}

.why-choose-container {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
}

.why-choose-left {
    flex: 0 0 45%;
}

.why-choose-title {
    font-size: 28px;
    font-weight: 700;
    color: #0099dd;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
}

.why-choose-item:last-child {
    margin-bottom: 0;
}

.check-icon {
    width: 28px;
    height: 28px;
    color: #0099dd;
    flex-shrink: 0;
}

.why-choose-right {
    flex: 1;
}

.resort-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resort-map img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .why-choose-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .why-choose-left {
        flex: 1 1 100%;
    }
}

/* ========================================
   SEZIONE DETTAGLI CON TAB
   ======================================== */

.futura-dettagli {
    max-width: 1160px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.dettagli-title {
    font-size: 28px;
    font-weight: 800;
    color: #0099dd;
    margin: 0 0 16px 0;
}

.dettagli-container {
    display: flex;
    gap: 0;
    align-items: stretch;
    border: none;
    background: #ffffff;
}

/* Colonna sinistra: lista tab */
.dettagli-tabs {
    flex: 0 0 35%;
    border: 1px solid #dce9f2;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 100, 160, 0.10);
}

.dettagli-tab {
    padding: 20px 20px 20px 16px;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    cursor: pointer;
    border-bottom: 1px solid #dde8f0;
    border-left: 4px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
    background: #ffffff;
    transition: color 0.15s, background 0.15s;
}

.dettagli-tab:first-child {
    border-top: none;
}

.dettagli-tab:last-child {
    border-bottom: none;
}

.dettagli-tab:hover {
    color: #0099dd;
    background: #f5fbff;
}

.dettagli-tab.active {
    color: #0099dd;
    border-left-color: #3A9BC4;
    font-weight: 700;
    background: #EBF5FB;
}

/* Colonna destra: contenuto */
.dettagli-content {
    flex: 1;
    padding: 22px 28px;
    min-height: 380px;
    background: #ffffff;
}

.dettagli-panel {
    display: none;
}

.dettagli-panel.active {
    display: block;
}

.dettagli-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #0099dd;
    margin: 0 0 12px 0;
}

.dettagli-panel p {
    font-size: 13px;
    color: #333333;
    line-height: 1.75;
    margin: 0 0 12px 0;
    text-align: justify;
}

.dettagli-panel p:last-child {
    margin-bottom: 0;
}

.dettagli-panel p strong {
    font-weight: 700;
    color: #000000;
}

@media (max-width: 768px) {
    .dettagli-container {
        flex-direction: column;
    }
    .dettagli-tabs {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid #d0dde8;
    }
}

/* ========================================
   SEZIONE TERRITORI DA SCOPRIRE
   ======================================== */

.futura-territori {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    background: #EBF5FB;
    padding: 50px 0;
    margin-top: 50px;
    margin-bottom: 50px;
}

.futura-territori-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.territori-title {
    font-size: 28px;
    font-weight: 800;
    color: #0099dd;
    margin: 0 0 6px 0;
}

.territori-subtitle {
    font-size: 13px;
    color: #666666;
    margin: 0 0 24px 0;
}

.territori-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.territori-tabs {
    flex: 0 0 35%;
    border: 1px solid #dce9f2;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 100, 160, 0.10);
}

.territori-tab {
    padding: 20px 20px 20px 16px;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    cursor: pointer;
    border-bottom: 1px solid #dde8f0;
    border-left: 4px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
    background: #ffffff;
    transition: color 0.15s, background 0.15s;
}

.territori-tab:first-child { border-top: none; }
.territori-tab:last-child { border-bottom: none; }

/* ── Modale Note Preventivo ───────────────────────────────── */
.fnp-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fnp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}
.fnp-content {
    position: relative;
    background: #fff;
    width: 92%;
    max-width: 960px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 6px;
    z-index: 1;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .28);
}
.fnp-header {
    background: #009fe3;
    color: #fff;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 2;
}
.fnp-close {
    background: transparent;
    border: 2.5px solid #fff;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .15s;
    flex-shrink: 0;
}
.fnp-close:hover { background: rgba(255, 255, 255, .25); }
.fnp-body {
    padding: 28px 36px;
    font-size: .88rem;
    line-height: 1.55;
    color: #333;
    font-family: 'Montserrat', Arial, sans-serif;
}
.fnp-body p { margin: 0 0 10px; }
.fnp-body strong, .fnp-body b { color: #009fe3; }
.fnp-body ul, .fnp-body ol { margin: 0 0 10px 0; padding: 0; list-style: none; }
.fnp-body li { margin-bottom: 2px; padding-left: 0; }
.fnp-body li::before { content: "• "; color: #333; }
/* ============================================================
   CARD RISULTATO DISPONIBILITÀ (nuova UI)
   ============================================================ */

/* Breakout: espandi i risultati a tutta la larghezza del viewport,
   uscendo dal content column del tema */
.futura-avail-results {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    padding: 0 24px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.fav-result-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.10);
    overflow: hidden;
    margin: 28px auto 8px;
    width: 100%;
    max-width: 1140px;
    min-width: 0;
    box-sizing: border-box;
    font-family: inherit;
}

/* ── Immagine ── */
.fav-rc-image {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    min-height: 280px;
    flex-shrink: 0;
    overflow: hidden;
    align-self: stretch;
    background: #e8e8e8;
    position: relative;
}
.fav-rc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fav-rc-img-counter {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.50);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}
.fav-rc-no-image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: #e0e0e0;
}

/* ── Corpo ── */
.fav-rc-body {
    flex: 1 1 0;
    min-width: 0;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
}

/* Reset forte per il titolo */
.fav-rc-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: #009fe3;
    margin: 0 0 6px;
    padding: 0;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fav-rc-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fav-rc-loc-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: #009fe3;
}

.fav-rc-detail-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #009fe3 !important;
    text-decoration: underline !important;
    display: inline-block;
}

.fav-rc-dates {
    font-size: 0.88rem;
    color: #222;
    margin: 0;
    line-height: 1.5;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-rc-dates-value {
    font-weight: 700;
}

.fav-rc-room-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    display: block;
    margin: 6px 0 4px;
}
.fav-rc-room-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    background: #fff;
    border: 1.5px solid #009fe3;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.fav-rc-room-trigger:hover {
    border-color: #007cb5;
    box-shadow: 0 0 0 3px rgba(0,159,227,0.12);
}
.fav-room-trigger-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-rc-other-dates {
    font-size: 0.88rem;
    font-weight: 500;
    color: #009fe3 !important;
    text-decoration: underline !important;
    display: inline-block;
    margin-top: 6px;
    cursor: pointer;
}

/* ── Badge logo Futura Club ── */
.fav-rc-logo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e6007e;
    border-radius: 8px;
    padding: 6px 10px 5px;
    width: 68px;
    align-self: flex-end;
    margin-bottom: 10px;
    line-height: 1.15;
}
.fav-logo-futura {
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-transform: lowercase;
    line-height: 1.1;
}
.fav-logo-smart {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: 0.06em;
    background: rgba(255,255,255,0.18);
    border-radius: 3px;
    padding: 1px 5px;
    margin-top: 2px;
}

/* ── Pannello prezzo ── */
.fav-rc-price-panel {
    width: 210px;
    min-width: 200px;
    max-width: 230px;
    flex-shrink: 0;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border-left: 1px solid #eee;
    gap: 3px;
    box-sizing: border-box;
}
.fav-rc-price-label {
    font-size: 0.85rem;
    color: #555;
    text-align: right;
    line-height: 1.5;
    margin: 0 0 4px;
    white-space: normal;
}
.fav-rc-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #009fe3;
    margin: 4px 0 8px;
    text-align: right;
    white-space: nowrap;
    overflow: visible;
    word-break: keep-all;
}
.fav-rc-scalapay {
    font-size: 0.75rem;
    color: #333;
    text-align: right;
    margin: 0;
}
.fav-scalapay-heart { color: #e44; }
.fav-scalapay-brand { font-weight: 700; }
.fav-rc-scalapay-note {
    font-size: 0.7rem;
    color: #4a4a4a;
    text-align: right;
    margin: 0 0 14px;
}
.fav-rc-avanti {
    background: #009fe3 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    padding: 16px 10px;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
    margin-top: auto;
    text-transform: uppercase;
}
.fav-rc-avanti:hover    { background: #007cb5 !important; }
.fav-rc-avanti:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Responsive ── */
@media (max-width: 740px) {
    .fav-result-card {
        flex-direction: column;
        min-width: 0;
    }
    .fav-rc-image {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 220px;
    }
    .fav-rc-price-panel {
        width: 100%;
        min-width: 0;
        max-width: none;
        border-left: none;
        border-top: 1px solid #eee;
        padding: 16px 20px;
    }
    .fav-rc-logo-badge { align-self: flex-end; }
    .fav-rc-avanti { margin-top: 8px; }
}

.fnp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    color: #666;
    font-size: .95rem;
}
@media (max-width: 768px) {
    .fnp-content { width: 97%; max-height: 92vh; }
    .fnp-body { padding: 20px 18px; }
    .fnp-header { padding: 16px 18px; font-size: 1rem; }
}

.territori-tab:hover {
    color: #0099dd;
    background: #f5fbff;
}

.territori-tab.active {
    color: #0099dd;
    border-left-color: #3A9BC4;
    font-weight: 700;
    background: #EBF5FB;
}

.territori-content {
    flex: 1;
    padding: 4px 0;
}

.territori-panel { display: none; }
.territori-panel.active { display: block; }

/* ── Room selection top-drawer ───────────────────────────────── */
body.fav-modal-open { overflow: hidden; }

/* Overlay: copre tutta la pagina, oscura lo sfondo */
.fav-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.0);
    z-index: 99999;
    box-sizing: border-box;
    transition: background 0.35s ease;
}
.fav-modal-overlay.is-open {
    background: rgba(0,0,0,0.52);
}

/* Box: pannello bianco fisso in cima, scende dall'alto */
.fav-modal-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 52px 0 40px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
    box-sizing: border-box;
    max-height: 62vh;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 100000;
}
.fav-modal-overlay.is-open .fav-modal-box {
    transform: translateY(0);
}

/* Contenuto interno centrato con max-width */
.fav-modal-box-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* Pulsante chiudi: angolo in alto a destra del pannello */
.fav-modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.7rem;
    line-height: 1;
    color: #009fe3;
    cursor: pointer;
    padding: 4px 6px;
    font-family: inherit;
    z-index: 100001;
    font-weight: 300;
}
.fav-modal-close:hover { color: #007cb5; }

.fav-modal-title-top {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #555;
    text-transform: uppercase;
    margin: 0 0 6px;
    text-align: center;
}
.fav-modal-title-hotel {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #111;
    text-transform: uppercase;
    margin: 0 0 28px;
    text-align: center;
}
.fav-modal-rooms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fav-modal-room {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    min-height: 110px;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    gap: 20px;
    box-sizing: border-box;
    background: #fff;
}
.fav-modal-room:hover:not(.fav-modal-room--selected) {
    border-color: #009fe3;
    background: #f5fbff;
}
.fav-modal-room--selected {
    border-color: #009fe3;
    border-width: 2px;
    background: #009fe3;
}
.fav-modal-room-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.fav-modal-room-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}
.fav-modal-room--selected .fav-modal-room-name {
    color: #fff;
}
.fav-modal-room-meal {
    font-size: 0.9rem;
    color: #555;
    font-weight: 400;
    line-height: 1.3;
}
.fav-modal-room--selected .fav-modal-room-meal {
    color: rgba(255,255,255,0.88);
}
.fav-modal-room-badge {
    flex-shrink: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}
.fav-modal-room-diff {
    flex-shrink: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}
@media (max-width: 520px) {
    .fav-modal-box { max-height: 70vh; padding: 44px 0 28px; }
    .fav-modal-box-inner { padding: 0 16px; }
    .fav-modal-title-hotel { font-size: 1rem; }
    .fav-modal-room { min-height: 90px; padding: 0 14px; gap: 12px; }
    .fav-modal-room-diff { font-size: 1rem; }
}

.territori-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: #0099dd;
    margin: 0 0 14px 0;
}

.territori-panel p {
    font-size: 13px;
    color: #333333;
    line-height: 1.75;
    margin: 0 0 12px 0;
    text-align: justify;
}

@media (max-width: 768px) {
    .territori-container {
        flex-direction: column;
        gap: 20px;
    }
    .territori-tabs { flex: 1 1 100%; }
}

/* ========================================
   SEZIONE TOP FUTURA / TOP FUTURA PLUS
   ======================================== */

.futura-top-packages {
    max-width: 1160px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.futura-top-packages-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: center;
    max-width: 780px;
    margin: 0 auto;
}

.top-package-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.top-package-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0099dd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.top-package-title {
    font-size: 15px;
    font-weight: 700;
    color: #0099dd;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.top-package-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 16px 0;
    text-align: left;
    width: 100%;
}

.top-package-list li {
    font-size: 13px;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 4px;
    padding-left: 4px;
}

.top-package-note {
    font-size: 12px;
    color: #555555;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .futura-top-packages-inner {
        flex-direction: column;
        gap: 40px;
    }
}

/* ========================================
   SEZIONE NEWSLETTER
   ======================================== */

.futura-newsletter-banner {
    width: 100%;
    background: linear-gradient(135deg, #0a9688 0%, #00bcd4 50%, #80deea 100%);
    padding: 0;
    margin-top: 300px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Pattern decorativo lettere - copre tutta la larghezza */
.futura-newsletter-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.futura-newsletter-bg-pattern span {
    font-size: 100px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1.0;
    letter-spacing: -2px;
    padding: 0 8px;
    white-space: nowrap;
    display: inline-block;
}

.futura-newsletter-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 36px 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Lato sinistro */
.futura-newsletter-left {
    flex: 0 0 320px;
}

.futura-newsletter-title {
    font-size: 64px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.0;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
}

.futura-newsletter-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Lato destro */
.futura-newsletter-right {
    flex: 1 1 auto;
    max-width: 620px;
    min-width: 0;
}

.futura-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Input + Bottone — contenitore pill con bordo */
.futura-newsletter-input-row {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.78);
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
}

.futura-newsletter-email {
    flex: 1 1 auto;
    border: none;
    outline: none;
    padding: 16px 22px;
    font-size: 15px;
    color: #444444;
    background: transparent;
    min-width: 0;
}

.futura-newsletter-email::placeholder {
    color: #888ea8;
}

/* Separatore verticale tra input e bottone */
.futura-newsletter-input-row .futura-newsletter-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.6);
}

.futura-newsletter-btn {
    flex: 0 0 auto;
    padding: 16px 30px;
    background: transparent;
    color: #111111;
    border: none;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.futura-newsletter-btn:hover {
    background: #f0f0f0;
}

/* Checkbox privacy */
.futura-newsletter-privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.futura-newsletter-privacy input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 1px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ffffff;
    border-radius: 3px;
}

.futura-newsletter-privacy span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
}

/* Responsive */
@media (max-width: 900px) {
    .futura-newsletter-inner {
        flex-direction: column !important;
        padding: 40px 32px;
        gap: 28px;
    }

    .futura-newsletter-left {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .futura-newsletter-title {
        font-size: 48px;
    }

    .futura-newsletter-right {
        max-width: 100%;
        width: 100%;
    }

    .futura-newsletter-bg-pattern {
        display: none;
    }
}