/* V1.1.10.1 — Guest Details UI Polish */

.guest-page-head{
    min-height:190px;
    padding-top:44px;
    padding-bottom:38px;
}

.guest-page-head h1{
    margin-top:12px;
    margin-bottom:10px;
}

.guest-page-head p{
    max-width:620px;
    margin:0;
    opacity:.78;
}

.guest-details-section{
    padding-top:46px;
    padding-bottom:70px;
}

.guest-details-grid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);
    gap:22px;
    align-items:start;
}

.guest-form-card{
    padding:28px;
}

.guest-form-heading{
    margin-bottom:22px;
}

.guest-form-heading h2{
    margin:0;
    font-size:21px;
}

.guest-form-heading p{
    margin:6px 0 0;
    color:#777;
    font-size:12px;
}

.guest-field{
    margin-bottom:17px;
}

.guest-field label{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:7px;
    color:#6f665c;
    font-size:10px;
    font-weight:700;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.guest-field label span{
    color:#aaa097;
    font-weight:500;
}

.guest-field input,
.guest-field textarea{
    width:100%;
    border:1px solid #dcd5ca;
    border-radius:8px;
    background:#fff;
    padding:12px 13px;
    color:#222;
    line-height:1.4;
}

.guest-field textarea{
    min-height:108px;
    resize:vertical;
}

.guest-field input:focus,
.guest-field textarea:focus{
    outline:none;
    border-color:#b99154;
    box-shadow:0 0 0 3px rgba(185,145,84,.10);
}

.form-error{
    display:block;
    margin-top:6px;
    color:#a53f34;
    font-size:11px;
}

.guest-submit{
    width:100%;
    margin-top:3px;
}

.guest-submit-note{
    margin:10px 0 0;
    color:#89837b;
    font-size:11px;
    text-align:center;
}

.guest-summary-card{
    position:sticky;
    top:82px;
    overflow:hidden;
    padding:0;
}

.guest-summary-image{
    width:100%;
    aspect-ratio:16/9;
    background-position:center;
    background-size:cover;
}

.guest-summary-body{
    padding:22px;
}

.guest-summary-body h2{
    margin:5px 0 4px;
    font-size:21px;
}

.guest-rate-plan{
    margin-bottom:19px;
    color:#79654a;
    font-size:12px;
    font-weight:700;
}

.guest-summary-price{
    padding:15px 0;
    border-top:1px solid #ece7df;
}

.guest-summary-price>span{
    display:block;
    margin-bottom:4px;
    color:#777;
    font-size:11px;
}

.guest-summary-price>strong{
    display:block;
    font-size:22px;
    line-height:1.2;
}

.guest-summary-price>small{
    display:block;
    margin-top:6px;
    color:#777;
    font-size:11px;
}

.guest-price-range{
    font-size:17px!important;
}

.guest-summary-total{
    padding:15px 0;
    border-top:1px solid #ece7df;
    border-bottom:1px solid #ece7df;
}

.guest-summary-total span{
    display:block;
    color:#777;
    font-size:10px;
    letter-spacing:.09em;
}

.guest-summary-total strong{
    display:block;
    margin-top:4px;
    font-size:25px;
}

.guest-stay-list{
    margin:13px 0 0;
}

.guest-stay-list>div{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:10px 0;
    border-bottom:1px solid #eeeae3;
}

.guest-stay-list>div:last-child{
    border-bottom:0;
    padding-bottom:0;
}

.guest-stay-list dt{
    color:#777;
    font-size:11px;
}

.guest-stay-list dd{
    margin:0;
    color:#222;
    font-size:11px;
    font-weight:700;
    text-align:right;
}

@media(max-width:820px){

    .guest-details-grid{
        grid-template-columns:1fr;
    }

    .guest-summary-card{
        position:static;
        grid-row:1;
    }

    .guest-summary-card{
        display:grid;
        grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);
    }

    .guest-summary-image{
        height:100%;
        min-height:250px;
        aspect-ratio:auto;
    }
}

@media(max-width:640px){

    .guest-page-head{
        min-height:auto;
        padding-top:36px;
        padding-bottom:30px;
    }

    .guest-page-head h1{
        font-size:35px;
    }

    .guest-details-section{
        padding-top:26px;
        padding-bottom:50px;
    }

    .guest-form-card{
        padding:20px 16px;
    }

    .guest-summary-card{
        display:block;
    }

    .guest-summary-image{
        min-height:0;
        aspect-ratio:16/9;
    }

    .guest-summary-body{
        padding:19px 17px;
    }

    .guest-summary-total strong{
        font-size:23px;
    }
}
