/* =====================================================
   BOOKING ENGINE CSS - Design Elegante
   Ispirato a Capovaticano Resort
   Colori: Blu #0071BC, Azzurro #3FA9F5
===================================================== */

:root {
    --primary-color: #0071BC;
    --primary-dark: #005a96;
    --primary-light: #3FA9F5;
    --accent-color: #3FA9F5;
    --text-dark: #1a1a1a;
    --text-medium: #555555;
    --text-light: #888888;
    --border-color: #e5e5e5;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-soft: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-large: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

/* ========================================
   TOP BAR (Homepage, Lingua, Valuta)
======================================== */
.top-bar {
    background: var(--primary-color);
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    opacity: 0.9;
}

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right a {
    color: white;
    text-decoration: underline;
    font-size: 13px;
}

.top-bar-right select {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.top-bar-right select option {
    color: #333;
}

/* ========================================
   NAVIGATION STEPS
======================================== */
.booking-steps {
    background: white;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
}

.step-number {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.step.active {
    color: var(--primary-color);
    font-weight: 600;
}

.step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

.step.completed .step-number::after {
    content: "✓";
}

/* ========================================
   HEADER - Logo Centrato Grande
======================================== */
.booking-header {
    background: white;
    padding: 20px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hotel-logo {
    margin-bottom: 10px;
}

.hotel-logo img {
    max-height: 70px;
    width: auto;
}

.hotel-logo-emoji {
    font-size: 50px;
    display: block;
    margin-bottom: 5px;
}

.hotel-name {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.hotel-slogan {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

.hotel-info-line {
    display: none; /* Nascondi per rendere più compatto */
}

.hotel-contacts {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 13px;
}

.hotel-slogan {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hotel-info-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.hotel-info-line .stars {
    color: var(--primary-color);
}

.hotel-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

.hotel-contacts a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotel-contacts a:hover {
    color: var(--primary-light);
}

/* ========================================
   MAIN CONTENT AREA
======================================== */
.booking-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* ========================================
   SEARCH SECTION (Step 1)
======================================== */
/* Contenitore sfondo hero (opzionale) */
.search-wrapper {
    background: var(--hero-bg, transparent);
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-wrapper.has-background {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.search-section {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.search-section h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.search-section > p {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

.booking-search-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group .label-icon {
    font-size: 16px;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text-dark);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 188, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
    margin-top: 20px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 113, 188, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

/* ========================================
   TWO COLUMN LAYOUT (Step 2+)
======================================== */
.booking-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar - Riepilogo */
.booking-sidebar {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 30px;
    position: sticky;
    top: 20px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.booking-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-medium);
}

.booking-summary-item .icon {
    color: var(--primary-color);
    font-size: 16px;
}

.booking-summary-item strong {
    color: var(--text-dark);
}

.modify-search-btn {
    width: 100%;
    padding: 14px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.modify-search-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.promo-code-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-medium);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.promo-code-link:hover {
    color: var(--primary-color);
}

/* Main Content Area */
.booking-main {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* Hotel Card in Main */
.hotel-card-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hotel-card-header .logo img {
    max-height: 80px;
    margin-bottom: 15px;
}

.hotel-card-header h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.hotel-card-header .subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.section-title {
    padding: 20px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ========================================
   ROOM CARDS
======================================== */
.rooms-list {
    padding: 0;
}

.room-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.room-card:hover {
    background: var(--bg-light);
}

.room-card:last-child {
    border-bottom: none;
}

.room-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.room-card:hover .room-image img {
    transform: scale(1.03);
}

.room-image .zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.room-image .zoom-icon:hover {
    background: white;
    transform: scale(1.1);
}

.room-details {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.room-specs {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.room-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.room-description-short {
    font-size: 16px;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 10px;
}

.room-details-link {
    color: var(--text-medium);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.room-details-link:hover {
    color: var(--primary-color);
}

.room-price-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}

.room-price-btn {
    background: var(--primary-color);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.room-price-btn:hover {
    background: var(--primary-dark);
    transform: translateX(3px);
}

.room-price-btn .price {
    font-size: 18px;
}

.room-price-btn .currency {
    font-size: 12px;
    opacity: 0.9;
}

.room-price-btn .arrow {
    font-size: 18px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .booking-layout {
        grid-template-columns: 300px 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }
    
    .booking-sidebar {
        position: static;
        order: -1;
    }
    
    .room-card {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 10px 15px;
    }
    
    .booking-steps {
        gap: 15px;
        padding: 15px;
    }
    
    .step span:not(.step-number) {
        display: none;
    }
    
    .booking-header {
        padding: 30px 15px;
    }
    
    .hotel-name {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .hotel-logo img {
        max-height: 80px;
    }
    
    .hotel-contacts {
        flex-direction: column;
        gap: 10px;
    }
    
    .booking-content {
        padding: 20px 15px;
    }
    
    .search-section {
        padding: 30px 20px;
    }
    
    .booking-search-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .room-card {
        grid-template-columns: 1fr;
    }
    
    .room-image {
        height: 200px;
    }
    
    .room-details {
        padding: 20px;
    }
}

/* ========================================
   LOADING OVERLAY
======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   UTILITIES
======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
/* =====================================================
   FIX CSS - Aggiungi alla fine di booking.css
===================================================== */

/* 1. LOGO CENTRATO NELL'HEADER */
.booking-header {
    text-align: center;
}

.booking-header .hotel-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.booking-header .hotel-logo img {
    max-height: 80px;
    width: auto;
}

/* 2. BOTTONE CERCA DISPONIBILITÀ - BLU CHIARO */
.btn-primary {
    background: #3FA9F5 !important;
    border: none;
}

.btn-primary:hover {
    background: #0071BC !important;
}

/* 3. NASCONDI CARD HEADER HOTEL (ridondante) */
.hotel-card-header {
    display: none !important;
}

/* 4. FIX LAYOUT CARD CAMERE */
.rooms-list {
    padding: 0;
}

.room-card {
    display: grid;
    grid-template-columns: 300px 1fr auto;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
    background: white;
    align-items: stretch;
}

.room-card:hover {
    background: #fafafa;
}

.room-image {
    width: 300px;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.room-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.room-features {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.room-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-room-details {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
}

.btn-room-details:hover {
    border-color: #3FA9F5;
    color: #3FA9F5;
}

/* 5. SEZIONE PREZZO A DESTRA */
.room-price-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    min-width: 200px;
    border-left: 1px solid #f0f0f0;
}

.price-option {
    text-align: right;
}

.price-option-best {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.price-info {
    text-align: right;
}

.price-current {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.price-details {
    font-size: 13px;
    color: #888;
}

.price-details span {
    display: block;
}

.price-per-night {
    color: #666;
}

.room-price-section .btn {
    padding: 12px 25px;
    font-size: 14px;
    border-radius: 6px;
}

/* 6. ALTRE TARIFFE */
.btn-show-more {
    background: none;
    border: none;
    color: #3FA9F5;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-show-more:hover {
    color: #0071BC;
}

.other-prices {
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.other-prices .price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.btn-secondary {
    background: white;
    border: 1px solid #3FA9F5;
    color: #3FA9F5;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #3FA9F5;
    color: white;
}

/* 7. BADGES */
.room-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-urgent {
    background: #ff5252;
    color: white;
}

.badge-offer {
    background: #4caf50;
    color: white;
}

.photos-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* 8. NO RESULTS */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* 9. SECTION TITLE */
.section-title {
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    background: #fafafa;
}

/* 10. RESPONSIVE */
@media (max-width: 992px) {
    .room-card {
        grid-template-columns: 1fr;
    }
    
    .room-image {
        width: 100%;
        height: 250px;
    }
    
    .room-price-section {
        border-left: none;
        border-top: 1px solid #f0f0f0;
        align-items: stretch;
    }
    
    .price-option-best {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .price-info {
        text-align: left;
    }
}
/* ============================================
   ROOM GALLERY LIGHTBOX - VERSIONE 3
   Design pulito, sfondo chiaro, niente taglio
   ============================================ */

/* LIGHTBOX MODAL */
.room-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.room-lightbox.active {
    display: block;
}

/* Header */
.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lightbox-title {
    color: #333;
    font-size: 22px;
    font-weight: 700;
}

.lightbox-counter {
    color: #888;
    font-size: 14px;
    margin-left: 15px;
}

.lightbox-close {
    background: #f5f5f5;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 50%;
    transition: all 0.2s;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: #e0e0e0;
    color: #333;
}

/* ============================================
   CONTENITORE PRINCIPALE - Card bianca centrata
   ============================================ */
.lightbox-content-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Colonna Sinistra - Galleria */
.lightbox-gallery-column {
    flex: 0 0 55%;
    background: #f8f9fa;
    padding: 20px;
}

.lightbox-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Frecce navigazione */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.2s;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Thumbnails */
.lightbox-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    margin-top: 10px;
}

.lightbox-thumb {
    width: 70px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    border: 3px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lightbox-thumb:hover {
    opacity: 0.9;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: #0066cc;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   COLONNA DESTRA - Info Camera (NO TAGLIO!)
   ============================================ */
.lightbox-info-column {
    flex: 0 0 45%;
}

.lightbox-info {
    background: white;
    height: 100%;
    /* NESSUN max-height! NESSUN overflow hidden! */
}

.lightbox-info-content {
    padding: 30px;
}

.lightbox-info h2 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 700;
}

.room-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.room-rating .stars {
    color: #ffc107;
}

/* Descrizione - TUTTA VISIBILE */
.room-description {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    /* Nessun taglio, nessun ellipsis */
}

/* Specifiche Camera - Grid elegante */
.room-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.room-spec-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #eee;
}

.room-spec-icon {
    font-size: 22px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.room-spec-text {
    flex: 1;
}

.room-spec-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.room-spec-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-top: 2px;
}

/* Amenities */
.room-amenities {
    margin-top: 20px;
}

.room-amenities h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 13px;
    color: #1565c0;
    font-weight: 500;
    border: 1px solid #90caf9;
}

.amenity-tag .amenity-icon {
    font-size: 14px;
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 992px) {
    .room-lightbox {
        padding: 10px;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .lightbox-header {
        border-radius: 12px 12px 0 0;
    }
    
    .lightbox-content-wrapper {
        flex-direction: column;
        border-radius: 0 0 12px 12px;
    }
    
    .lightbox-gallery-column {
        flex: none;
        padding: 15px;
    }
    
    .lightbox-info-column {
        flex: none;
    }
    
    .lightbox-info-content {
        padding: 20px;
    }
    
    .room-specs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .lightbox-header {
        padding: 12px 15px;
    }
    
    .lightbox-title {
        font-size: 18px;
    }
    
    .lightbox-close {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    
    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    
    .lightbox-info h2 {
        font-size: 20px;
    }
    
    .room-specs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ============================================
   BADGE FOTO sulla Card (booking engine)
   ============================================ */
.room-image {
    position: relative;
}

.photos-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.2s;
}

.photos-badge:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.05);
}

/* Tasto Scopri di più */
.btn-room-details {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid #0066cc;
    color: #0066cc;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-room-details:hover {
    background: #0066cc;
    color: white;
}
/* ============================================
   FIX DESCRIZIONE LIGHTBOX - NESSUN TAGLIO
   DEVE ESSERE ALLA FINE DEL FILE!
   ============================================ */
.room-lightbox .room-description,
.lightbox-info .room-description,
.lightbox-info-content .room-description {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    max-height: none !important;
    white-space: normal !important;
}
/* =====================================================
   FOOTER CONTATTI HOTEL
===================================================== */
.booking-footer {
    background: linear-gradient(135deg, #0071BC 0%, #3FA9F5 100%);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-contacts a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.footer-contacts a:hover {
    opacity: 0.8;
}

/* =====================================================
   POWERED BY - FISSO IN FONDO
===================================================== */
.powered-by {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 15px 20px;
    font-size: 13px;
}

.powered-by a {
    color: #3FA9F5;
    text-decoration: none;
    font-weight: 600;
}

.powered-by a:hover {
    color: #fff;
    text-decoration: underline;
}
/* =====================================================
   SUCCESS MODAL - CONFERMA PRENOTAZIONE
===================================================== */
#success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
    padding: 50px;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: white;
}

.success-modal h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.success-modal > p {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

.booking-code {
    background: #f8f9fa;
    border: 2px dashed #3FA9F5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.booking-code span {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.booking-code strong {
    font-size: 24px;
    color: #0071BC;
    letter-spacing: 2px;
}

.success-message {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.success-message strong {
    color: #333;
}

.success-modal .btn {
    padding: 15px 40px;
    font-size: 16px;
}
/* ===== SERVIZI EXTRA ===== */
.extra-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin: 0 auto 15px;
}

.extra-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.extra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.extra-price {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.extra-content {
    padding: 15px;
}

.extra-content h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.extra-content p {
    color: #666;
    font-size: 14px;
    margin: 0 0 12px;
}

.extra-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #2c5282;
}

.extra-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
/* =============================================
   BOOKING ENGINE - OFFER BANNER
   Stile ispirato a Cala di Volpe / Booking.com
   Aggiungere a booking.css
============================================= */

/* Contenitore offerte sopra le camere */
.offers-section {
    margin-bottom: 24px;
}

.offers-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #006b35;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.offers-section-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: #006b35;
    border-radius: 2px;
}

/* Singola offer card - layout orizzontale */
.booking-offer-card {
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    border: 1px solid #e8ecf0;
    margin-bottom: 12px;
    transition: box-shadow 0.2s;
    min-height: 140px;
}

.booking-offer-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Immagine a sinistra */
.bo-image {
    width: 280px;
    min-height: 140px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
}

.bo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bo-image .bo-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #006b35;
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.bo-tag-icon {
    font-size: 12px;
}

/* Contenuto centrale */
.bo-content {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.bo-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 6px;
    line-height: 1.3;
}

.bo-description {
    font-size: 13px;
    color: #5a6872;
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bo-room-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #5a6872;
    margin-top: auto;
}

.bo-room-type::before {
    content: '🏠';
    font-size: 11px;
}

.bo-see-more {
    font-size: 12px;
    color: #0050b3;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    display: inline-block;
}

.bo-see-more:hover {
    text-decoration: underline;
}

/* Sezione prezzo a destra */
.bo-price-section {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    background: #fafbfc;
    border-left: 1px solid #f0f2f5;
}

.bo-price-label {
    font-size: 11px;
    color: #8899aa;
    margin-bottom: 4px;
}

.bo-price-current {
    font-size: 26px;
    font-weight: 800;
    color: #1a2332;
    line-height: 1.1;
}

.bo-price-original {
    font-size: 14px;
    color: #b0b8c0;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.bo-price-detail {
    font-size: 11px;
    color: #8899aa;
    margin-bottom: 12px;
}

.bo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #0050b3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.bo-cta:hover {
    background: #003d8a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,80,179,0.3);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .booking-offer-card {
        flex-direction: column;
        min-height: auto;
    }

    .bo-image {
        width: 100%;
        height: 160px;
        min-height: 160px;
    }

    .bo-content {
        padding: 14px 16px;
    }

    .bo-title { font-size: 15px; }

    .bo-price-section {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 16px;
        border-left: none;
        border-top: 1px solid #f0f2f5;
    }

    .bo-price-section .bo-price-info {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .bo-image { height: 130px; }
    .bo-content { padding: 12px 14px; }
    .bo-title { font-size: 14px; }
    .bo-description { font-size: 12px; -webkit-line-clamp: 2; }
}