/* ===================================================
   ESTARG SINGLE ROOM - MODERN CLEAN CSS
   =================================================== */

.EstarG-body,
.EstarG-body *{
    box-sizing:border-box;
}

.EstarG-body{
    margin:0;
    font-family:Arial, sans-serif;
    color:#111827;
    background:#f5f7fb;
}

/* Layout principale */
.EstarG-container{
    width:100%;
    max-width:1220px;
    margin:0 auto;
    padding:28px 18px;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 360px;
    gap:28px;
    align-items:start;
}

.EstarG-content{
    min-width:0;
}

.EstarG-booking{
    position:sticky;
    top:24px;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:18px;
    padding:22px;
    box-shadow:0 14px 35px rgba(0,0,0,.10);
}

/* Header */
.EstarG-header{
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:18px;
    padding:22px;
    margin-bottom:22px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.EstarG-header h1{
    margin:0 0 10px;
    font-size:32px;
    line-height:1.15;
    font-weight:700;
    color:#111827;
}

.EstarG-property-license-info{
    color:#6b7280;
    font-size:14px;
    margin-bottom:16px;
}

/* Features */
.EstarG-room-features{
    display:flex;
    flex-wrap:wrap;
    gap:12px 20px;
    align-items:center;
    color:#374151;
    font-size:15px;
}

.EstarG-room-features span{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.material-symbols-outlined{
    font-size:22px;
    line-height:1;
    vertical-align:middle;
}

/* Gallery */
.EstarG-gallery{
    margin-bottom:24px;
}

.EstarG-carousel-container{
    position:relative;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 32px rgba(0,0,0,.10);
    border:1px solid rgba(0,0,0,.08);
}

.EstarG-carousel-images{
    width:100%;
    height:520px;
    overflow:hidden;
    background:#e5e7eb;
}

.EstarG-carousel-images img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:none;
}

.EstarG-carousel-images img:first-child{
    display:block;
}

.EstarG-carousel-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    background:rgba(17,24,39,.72);
    color:#fff;
    cursor:pointer;
    z-index:5;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    transition:background .2s ease, transform .2s ease;
}

.EstarG-carousel-btn:hover{
    background:rgba(17,24,39,.9);
}

.EstarG-carousel-prev{
    left:18px;
}

.EstarG-carousel-next{
    right:18px;
}

/* Sezioni contenuto */
.EstarG-description,
.EstarG-amenities,
.EstarG-rules{
    display:block;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:18px;
    padding:22px;
    margin-bottom:20px;
    box-shadow:0 8px 24px rgba(0,0,0,.05);
}

.EstarG-description{
    color:#374151;
    font-size:16px;
    line-height:1.7;
}

.EstarG-amenities h4,
.EstarG-rules h4{
    margin:0 0 16px;
    font-size:20px;
    color:#111827;
}

.EstarG-amenities-container{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px 22px;
}

.EstarG-amenities-container ul{
    list-style:none;
    margin:0;
    padding:0;
}

.EstarG-amenities-container li{
    display:flex;
    align-items:center;
    gap:8px;
    margin:8px 0;
    color:#374151;
}

/* Booking box */
.EstarG-booking h2{
    margin:0 0 18px;
    font-size:22px;
    font-weight:700;
    color:#111827;
}

.EstarG-booking input:not([type="checkbox"]),
.EstarG-booking select,
#EstarG-textarea-info{
    width:100% !important;
    height:46px;
    margin:0 0 12px;
    padding:0 13px !important;
    border:1px solid rgba(0,0,0,.13);
    border-radius:12px;
    background:#fff;
    color:#111827;
    font-size:14px;
    outline:none;
    box-shadow:none;
}

.EstarG-booking input:focus,
.EstarG-booking select:focus,
#EstarG-textarea-info:focus{
    border-color:#007bff;
    box-shadow:0 0 0 3px rgba(0,123,255,.14);
}

.EstarG-date-picker{
    margin:0;
}

/* Totali */
.EstarG-booking-totals-fields{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin:12px 0 16px;
}

.EstarG-booking-totals-input{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:12px;
    background:#f8fafc;
    color:#111827;
}

.EstarG-booking-totals-input label{
    margin:0;
    font-size:14px;
    font-weight:600;
    color:#374151;
}

.EstarG-booking-totals-input span{
    font-size:15px;
    font-weight:700;
    color:#111827;
}

#EstarG-booking-gross-price{
    color:#9ca3af;
    text-decoration:line-through;
    font-size:13px;
}

#EstarG-booking-net-price{
    color:#111827;
    font-size:16px;
    font-weight:700;
}

/* Privacy */
.EstarG-privacy-tooking-terms{
    padding:4px 0 14px;
}

.EstarG-inline-checkbox{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-bottom:10px;
    font-size:13px;
    color:#374151;
    line-height:1.4;
}

.EstarG-inline-checkbox input[type="checkbox"]{
    width:16px;
    height:16px;
    margin-top:2px;
    flex:0 0 auto;
}

.EstarG-inline-checkbox a{
    color:#007bff;
    text-decoration:none;
}

.EstarG-inline-checkbox a:hover{
    text-decoration:underline;
}

/* Pulsante booking */
#EstarG-labels-btn-booking,
#EstarG-labels-btn-booking-close,
#EstarG-request-information-btn{
    width:100%;
    min-height:48px;
    border:0;
    border-radius:12px;
    background:#007bff;
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    text-transform:capitalize;
    transition:background .2s ease, transform .2s ease;
}

#EstarG-labels-btn-booking:hover,
#EstarG-labels-btn-booking-close:hover,
#EstarG-request-information-btn:hover{
    background:#0056b3;
    transform:translateY(-1px);
}

/* Policy / info box */
.EstarG-cancellation,
.EstarG-deposit,
.EstarG-checkin,
.EstarG-checkout{
    margin-top:18px;
    padding:16px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:14px;
    background:#f8fafc;
}

.EstarG-cancellation h3,
.EstarG-cancellation h4,
.EstarG-deposit h3,
.EstarG-checkin h4,
.EstarG-checkout h4{
    margin:0 0 8px;
    font-size:16px;
    color:#111827;
}

.EstarG-cancellation ul{
    list-style:none;
    padding:0;
    margin:0;
}

.EstarG-cancellation li{
    margin:8px 0;
    font-size:14px;
    color:#374151;
}

.EstarG-checkin p,
.EstarG-checkout p,
.EstarG-deposit p{
    margin:0;
    color:#374151;
    font-size:14px;
}

/* Popup */
.EstarG-popup{
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:90%;
    max-width:480px;
    max-height:80vh;
    overflow:auto;
    padding:22px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 24px 70px rgba(0,0,0,.25);
    z-index:10000;
}

.EstarG-popup h3{
    margin:0 0 14px;
    font-size:18px;
}

.EstarG-button-container{
    display:flex;
    gap:10px;
    margin-top:16px;
}

.EstarG-popup button{
    flex:1;
    padding:11px 14px;
    border:0;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

#EstarG-acceptButton{
    background:#007bff;
    color:#fff;
}

#EstarG-acceptButton:disabled{
    background:#d1d5db;
    cursor:not-allowed;
}

#EstarG-noAcceptButton{
    background:#ef4444;
    color:#fff;
}

/* Loader */
.EstarG-Preload,
.EstarG-BookigPreload{
    border:6px solid #f3f4f6;
    border-top:6px solid #007bff;
    border-radius:50%;
    width:44px;
    height:44px;
    animation:EstarGSpin 1s linear infinite;
}

@keyframes EstarGSpin{
    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}
}

/* Responsive */
@media(max-width:992px){
    .EstarG-container{
        grid-template-columns:1fr;
        padding:18px 14px;
    }

    .EstarG-booking{
        position:static;
        order:-1;
    }

    .EstarG-carousel-images,
    .EstarG-carousel-images img{
        height:420px;
    }
}

@media(max-width:768px){
    .EstarG-header{
        padding:18px;
    }

    .EstarG-header h1{
        font-size:26px;
    }

    .EstarG-room-features{
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:12px;
    }

    .EstarG-carousel-images,
    .EstarG-carousel-images img{
        height:300px;
    }

    .EstarG-amenities-container{
        grid-template-columns:1fr;
    }

    .EstarG-booking{
        padding:16px;
        border-radius:16px;
    }


    .EstarG-room-features {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 8px;
        text-align: center;
        align-items: center;
    }

    .EstarG-room-features > span {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 13px;
    }

    .EstarG-room-features .material-symbols-outlined {
        font-size: 22px;
        line-height: 1;
    }
.EstarG-room-features {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .EstarG-room-features > span {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 5px;
        font-size: 13px;
    }
}

@media(max-width:480px){
    .EstarG-container{
        padding:12px;
    }

    .EstarG-header,
    .EstarG-description,
    .EstarG-amenities,
    .EstarG-rules{
        padding:16px;
        border-radius:14px;
    }

   

    .EstarG-carousel-images,
    .EstarG-carousel-images img{
        height:240px;
    }

    .EstarG-carousel-btn{
        width:38px;
        height:38px;
    }
}
/* ===================================================
   ESTARG - CLEAN BACKGROUND + DATE FIELD FIX
   =================================================== */

/* Via rettangolo grigio intorno alla scheda */
#EstarG-container-block,
.EstarG-container{
    background:transparent !important;
}
#EstarG-container-block,
#EstarG-container-block.EstarG-container,
.EstarG-body #EstarG-container-block{
    background:transparent !important;
}


/* Box principali più puliti */
.EstarG-header,
.EstarG-booking,
.EstarG-carousel-container,
.EstarG-description,
.EstarG-amenities,
.EstarG-rules{
    background:#fff !important;
}

/* Fix doppio bordo campo date */
.EstarG-booking .estarg-date-picker,
.EstarG-booking .EstarG-date-picker{
    border:0 !important;
    background:transparent !important;
    padding:0 !important;
    margin:0 0 12px !important;
    box-shadow:none !important;
}

/* L’input date deve avere un solo bordo */
#EstarG-date-input{
    width:100% !important;
    height:46px !important;
    border:1px solid rgba(0,0,0,.14) !important;
    border-radius:12px !important;
    background:#fff !important;
    padding:0 14px !important;
    box-shadow:none !important;
    outline:none !important;
}

/* Focus moderno */
#EstarG-date-input:focus{
    border-color:#007bff !important;
    box-shadow:0 0 0 3px rgba(0,123,255,.14) !important;
}