/* =====================================
   RESET
===================================== */

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

html,
body{
    width:100%;
    min-height:100vh;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f5f7fb;

    color:#222;

}

/* =====================================
   ROOT APP
===================================== */

#app{

    width:100%;

    min-height:100vh;

}

/* =====================================
   CONTAINER
===================================== */

.container{

    width:100%;

    max-width:1200px;

    margin:60px auto;

    background:#fff;

    border-radius:20px;

    padding:60px;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

}

/* =====================================
PAGE
===================================== */

.page{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

}

/* =====================================
CARD
===================================== */

.booking-card{

    width:100%;

    max-width:900px;

    background:#ffffff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

/* =====================================
HEADER
===================================== */

.booking-header{

    padding:40px;

    border-bottom:1px solid #ececec;

}

.booking-header h1{

    font-size:32px;

    font-weight:600;

    margin-bottom:8px;

}

.booking-header p{

    color:#777;

}

/* =====================================
PROGRESS
===================================== */

.booking-progress{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 40px;

    border-bottom:1px solid #ececec;

    gap:10px;

}

.step{

    flex:1;

    text-align:center;

    padding:12px;

    border-radius:10px;

    background:#f3f3f3;

    font-size:14px;

    color:#777;

    transition:.3s;

}

.step.active{

    background:#222;

    color:#fff;

}

/* =====================================
CONTENT
===================================== */

.booking-content{

    padding:40px;

}

.booking-content h2{

    margin-bottom:20px;

}

.booking-content p{

    line-height:1.8;

}

/* =====================================
TERMS
===================================== */

.terms-box{

    height:400px;

    overflow-y:auto;

    border:1px solid #e5e5e5;

    border-radius:16px;

    padding:24px;

    background:#fafafa;

}

.terms-box p{

    margin-bottom:18px;

    line-height:1.8;

}

.language-section{

    margin-bottom:32px;

}

.language-section h3{

    margin-bottom:16px;

    font-size:20px;

    font-weight:600;

}

.terms-box hr{

    border:none;

    border-top:1px solid #e5e5e5;

    margin:30px 0;

}

.terms-text{

    white-space:pre-wrap;

    font-family:inherit;

    line-height:1.8;

    font-size:15px;

}

/* =====================================
TERMS FOOTER
===================================== */

.terms-footer{

    margin-top:30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.agree-box{

    display:flex;

    align-items:flex-start;

    gap:12px;

    cursor:pointer;

    flex:1;

    line-height:1.6;

}

.agree-box input{

    margin-top:3px;

}

.btn-primary{

    border:none;

    border-radius:12px;

    padding:14px 28px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    background:#222;

    color:#fff;

    transition:.25s;

}

.btn-primary:hover{

    opacity:.85;

}

.btn-primary:disabled{

    background:#cfcfcf;

    color:#777;

    cursor:not-allowed;

    opacity:1;

}

.btn-primary:disabled:hover{

    opacity:1;

}

/* =====================================
STUDIO
===================================== */

.studio-grid{

    display:grid;

    gap:20px;

}


/* =====================================
   STUDIO CARD IMAGE
===================================== */

.studio-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) 180px;
    gap:24px;
    align-items:stretch;
    min-height:220px;
}

.studio-card-content{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.studio-card-image{
    width:180px;
    aspect-ratio:1 / 1;
    align-self:center;
    overflow:hidden;
    border-radius:16px;
    background:#f5f5f5;
}

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

.studio-card .studio-price{
    margin-top:auto;
}

.studio-card{

    border:1px solid #e5e5e5;

    border-radius:18px;

    padding:24px;

    cursor:pointer;

    transition:.25s;

    background:#fff;

}

.studio-card:hover{

    border-color:#222;

    transform:translateY(-2px);

}

.studio-card h3{

    margin-bottom:10px;

    font-size:22px;

}

.studio-card p{

    color:#666;

    line-height:1.7;

}

.studio-info{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.studio-description{

    color:#666;

    line-height:1.7;

    min-height:24px;

}

.studio-meta{

    display:flex;

    gap:40px;

    font-size:14px;

    color:#888;

}

.studio-meta{

    display:flex;

    justify-content:space-between;

    margin-top:10px;

}

.studio-meta div{

    display:flex;

    flex-direction:column;

    gap:4px;

}

.studio-meta small{

    color:#888;

    font-size:12px;

}

.studio-meta strong{

    font-size:15px;

}

.studio-info{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-top:20px;
}

.studio-capacity{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:0;
    margin-top:20px;
}

.studio-capacity > div{
    min-width:0;
    padding:0 14px;
}

.studio-capacity > div:first-child{
    padding-left:0;
}

.studio-capacity > div + div{
    border-left:1px solid #e5e5e5;
}

.studio-capacity small,
.studio-price small{
    display:block;
    font-size:12px;
    color:#888;
    margin-bottom:6px;
}

.studio-capacity small{
    text-transform:uppercase;
    letter-spacing:.04em;
}

.studio-capacity strong{
    font-size:18px;
}

.studio-price{
    margin-top:24px;
}

.studio-price strong{
    display:block;
    font-size:22px;
    font-weight:700;
    margin-top:4px;
}

/* =====================================
DURATION
===================================== */

.duration-grid{

    display:grid;

    gap:18px;

}

.duration-card{

    border:1px solid #e5e5e5;

    border-radius:18px;

    padding:24px;

    cursor:pointer;

    transition:.25s;

    background:#fff;

}

.duration-card:hover{

    border-color:#222;

    transform:translateY(-2px);

}

.duration-card h3{

    font-size:22px;

    margin-bottom:16px;

}

.duration-card small{

    display:block;

    color:#888;

    font-size:13px;

    margin-bottom:6px;

}

.duration-card strong{

    font-size:24px;

    font-weight:700;

}

/* =====================================
PAGE TITLE
===================================== */

.page-title{

    display:flex;

    align-items:center;

    gap:16px;

    margin-bottom:24px;

}

.page-title h2{

    margin:0;

}

.btn-back{

    border:1px solid #ddd;

    background:#fff;

    padding:10px 16px;

    border-radius:10px;

    cursor:pointer;

    font-weight:600;

    transition:.25s;

}

.btn-back:hover{

    border-color:#222;

}

/* =====================================
DATE TIME
===================================== */

.datetime-section{

    margin-bottom:40px;

}

.datetime-section h3{

    margin-bottom:18px;

}

#calendar{

    min-height:350px;

    border:1px solid #e5e5e5;

    border-radius:18px;

    background:#fafafa;

}

#time-slots{

    min-height:120px;

    border:1px solid #e5e5e5;

    border-radius:18px;

    padding:20px;

    background:#fff;

}

/* Selected Date */

.fc-day-selected{

    background:#1f1f1f !important;
    color:white !important;

}

.fc-day-selected a{

    color:white !important;

}

.time-slot{

    width:90px;

    height:42px;

    margin:6px;

    border:1px solid #ddd;

    border-radius:10px;

    background:#fff;

    cursor:pointer;

    transition:.2s;

}

.time-slot:hover{

    background:#1f1f1f;

    color:#fff;

}

.time-slot.selected{

    background:#1f1f1f;

    color:#fff;

    border-color:#1f1f1f;

}

.datetime-actions{

    display:flex;

    justify-content:flex-end;

    gap:12px;

    margin-top:32px;

}

.primary-button{

    min-width:160px;

    height:48px;

    border:none;

    border-radius:12px;

    background:#1f1f1f;

    color:#fff;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.primary-button:hover{

    background:#333;

}

.primary-button:disabled{

    background:#d8d8d8;

    color:#888;

    cursor:not-allowed;

}

.extra-category{

    margin-bottom:40px;

}

.extra-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(250px,1fr));

    gap:24px;

}

.extra-card{

    background:#fff;

    border:1px solid #e8e8e8;

    border-radius:18px;

    overflow:hidden;

    transition:.25s;

}

.extra-card:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.extra-image{

    aspect-ratio:4/3;

    overflow:hidden;

    background:#f5f5f5;

}

.extra-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.35s;

}

.extra-card:hover img{

    transform:scale(1.05);

}

.no-image{

    color:#999;

    font-size:14px;

}

.extra-name{

    padding:18px 18px 8px;

    font-size:17px;

    font-weight:600;

    line-height:1.4;

}

.extra-price{

    padding:0 18px 20px;

    color:#666;

    font-size:15px;

}

.extra-qty{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    margin:0 18px 20px;

    padding:10px;

    border:1px solid #e8e8e8;

    border-radius:14px;

}

.qty-btn{

    width:34px;

    height:34px;

    border:none;

    background:none;

    cursor:pointer;

    font-size:24px;

    line-height:1;

    transition:.2s;

}

.qty-btn:hover{

    transform:scale(1.15);

}

.qty-value{

    min-width:24px;

    text-align:center;

    font-size:18px;

    font-weight:600;

}


/* Typed quantity: looks like text, not a browser form box.
   It remains fully editable by keyboard/touch. */
.qty-input{
    width:42px;
    min-width:42px;
    height:34px;
    padding:0;
    margin:0;
    border:0;
    outline:0;
    background:transparent;
    box-shadow:none;
    border-radius:0;
    appearance:textfield;
    -moz-appearance:textfield;
    text-align:center;
    font:inherit;
    font-size:18px;
    font-weight:600;
    color:#222;
}

.qty-input:focus{
    border:0;
    outline:0;
    box-shadow:none;
    background:transparent;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}




/* =====================================
   CANCELLATION & RESCHEDULING AGREEMENT
===================================== */

/* Compact, readable review policy block.
   Keep this independent from the generic .booking-summary h3 rules. */
.cancellation-policy-box{
    padding:22px;
}

.cancellation-policy-box h3{
    margin:0 0 12px;
    font-size:20px;
    line-height:1.3;
}

.cancellation-policy-box .cancellation-policy-text{
    color:#666;
    font-size:14px;
    line-height:1.55;
    margin:0 0 10px;
}

.cancellation-policy-box .cancellation-policy-text:last-of-type{
    margin-bottom:0;
}

.cancellation-policy-divider{
    border:0;
    border-top:1px solid #e5e5e5;
    margin:16px 0;
}

.cancellation-agreement{
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-top:16px;
    padding-top:14px;
    border-top:1px solid #e5e5e5;
    cursor:pointer;
    color:#333;
    font-size:14px;
    line-height:1.45;
}

.cancellation-agreement input{
    width:16px;
    height:16px;
    margin:2px 0 0;
    flex:0 0 auto;
    cursor:pointer;
}

@media (max-width:600px){
    .cancellation-policy-box{
        padding:18px;
    }

    .cancellation-policy-box h3{
        font-size:18px;
        line-height:1.3;
        margin-bottom:10px;
    }

    .cancellation-policy-box .cancellation-policy-text{
        font-size:13px;
        line-height:1.5;
        margin-bottom:9px;
    }

    .cancellation-policy-divider{
        margin:14px 0;
    }

    .cancellation-agreement{
        margin-top:14px;
        padding-top:12px;
        gap:8px;
        font-size:13px;
        line-height:1.45;
    }
}

#confirm-booking:disabled{
    opacity:.5;
    cursor:not-allowed;
}

/* =====================================
   CUSTOMER
===================================== */

.booking-summary{

    border:1px solid #e5e5e5;

    border-radius:18px;

    padding:24px;

    background:#fafafa;

    margin:30px 0;

}

.booking-summary h3{

    margin-bottom:20px;

    font-size:22px;

}

.summary-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.summary-item{

    display:flex;

    flex-direction:column;

    gap:6px;

}

.summary-item small{

    color:#888;

    font-size:13px;

}

.summary-item strong{

    font-size:17px;

    font-weight:600;

}

.summary-item.grand-total{

    margin-top:20px;

}

.summary-item.grand-total small{

    display:block;
    font-size:16px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:8px;

}

.summary-item.grand-total strong{

    display:block;
    font-size:42px;
    font-weight:700;
    line-height:1;

}

.summary-full{

    grid-column:1 / -1;

}

.summary-full div{

    margin-top:6px;

    line-height:1.8;

}

.customer-form{

    width:100%;

}

.form-group{

    display:flex;

    flex-direction:column;

    gap:8px;

    margin-bottom:24px;

}

.form-group label{

    font-size:15px;

    font-weight:500;

}

.form-group input,

.form-group select,

.form-group textarea{

    width:100%;

    border:1px solid #dddddd;

    border-radius:12px;

    padding:14px 16px;

    font-size:15px;

    font-family:inherit;

    transition:.25s;

    background:white;

}

.form-group textarea{

    resize:vertical;

    min-height:140px;

}

.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus{

    outline:none;

    border-color:#222;

}

.customer-form p{

    margin-bottom:30px;

}

.customer-form .primary-button{

    margin-left:auto;

    display:block;

}

.selected{

    background:#1d1d1d;
    border-color:#1d1d1d;
    color:#ffffff;

    transition:all .25s ease;

}

.selected h3,
.selected h4,
.selected p,
.selected small,
.selected strong,
.selected span{

    color:#ffffff !important;

}

.selected img{

    filter:brightness(.95);

}

.back-website{
    display:inline-flex;
    align-items:center;

    padding:24px 32px 0;

    color:#666;
    text-decoration:none;
    font-size:15px;
    font-weight:500;

    transition:.2s;
}

.back-website:hover{
    color:#000;
}

.secondary-button{

    height:48px;

    padding:0 24px;

    border:1px solid #222;

    background:#fff;

    color:#222;

    border-radius:10px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

}

.secondary-button:hover{

    background:#222;

    color:#fff;

}

.booking-card-actions{

    display:flex;

    justify-content:flex-end;

    gap:10px;

    margin-top:20px;

}

.danger-button{

    height:48px;

    padding:0 20px;

    border:1px solid #c62828;

    background:#fff;

    color:#c62828;

    border-radius:10px;

    cursor:pointer;

    transition:.2s;

    font-weight:600;

}

.danger-button:hover{

    background:#c62828;

    color:#fff;

}

.booking-price{

    margin-top:18px;

    padding-top:18px;

    border-top:1px solid #ececec;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.booking-price small{

    color:#777;

    font-size:13px;

}

.booking-price strong{

    font-size:20px;

    font-weight:700;

}

.secondary-button:disabled{

    opacity:.45;

    cursor:not-allowed;

    pointer-events:none;

}

.booking-card-review{

    transition:.25s;

    border:1px solid #e6e6e6;

}





.booking-header-review{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    margin-bottom:24px;

}

.booking-header-review h3{

    margin-top:6px;

    font-size:24px;

}

.booking-total{

    font-size:22px;

    font-weight:700;

}

/* ==================================================
   BOOKING RESULT MODAL
================================================== */

.booking-result-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);

    animation: bookingOverlayIn 0.2s ease;
}


.booking-result-modal {
    width: 100%;
    max-width: 460px;

    padding: 40px;

    background: #ffffff;
    border-radius: 20px;

    text-align: center;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.20);

    animation: bookingModalIn 0.25s ease;
}


.booking-result-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 30px;
    font-weight: 600;
}


.booking-result-icon.success {
    background: #eaf7ef;
    color: #168447;
}


.booking-result-icon.conflict {
    background: #fff4df;
    color: #c47b00;
}


.booking-result-icon.error {
    background: #fdecec;
    color: #c83c3c;
}


.booking-result-modal h2 {
    margin: 0 0 16px;

    font-size: 26px;
    line-height: 1.2;
}


.booking-result-message {
    margin-bottom: 28px;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}


.booking-result-message strong {
    color: #222222;
}


.booking-result-modal .primary-button {
    width: 100%;
}


@keyframes bookingOverlayIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@keyframes bookingModalIn {

    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}



@media (max-width: 600px) {
    .studio-card{
        grid-template-columns:minmax(0,1fr) 104px;
        gap:14px;
        min-height:150px;
        padding:16px;
    }

    .studio-card-image{
        width:104px;
        border-radius:12px;
    }

    .studio-card h3{
        font-size:18px;
        margin-bottom:8px;
    }

    .studio-card .studio-capacity{
        gap:0;
    }

    .studio-card .studio-capacity > div{
        padding:0 8px;
    }

    .studio-card .studio-capacity > div:first-child{
        padding-left:0;
    }

    .studio-card .studio-price strong{
        font-size:17px;
    }


    .booking-result-modal {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .booking-result-modal h2 {
        font-size: 22px;
    }

}

/* =========================================
   BOOKING TIME NOTICE MODAL
========================================= */

.booking-time-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);

    animation: bookingOverlayIn 0.2s ease;
}


.booking-time-notice-modal {
    width: 100%;
    max-width: 520px;

    padding: 36px;

    background: #ffffff;
    border-radius: 20px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.20);

    animation: bookingModalIn 0.25s ease;
}


.booking-time-notice-modal h2 {
    margin: 0 0 18px;

    font-size: 24px;
    line-height: 1.3;
}


.booking-time-notice-modal p {
    margin-bottom: 18px;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}


.booking-time-notice-example {
    margin: 24px 0;

    padding: 18px;

    border-radius: 14px;

    background: #f7f7f7;

    font-size: 14px;
    line-height: 1.7;
}


.booking-time-notice-example strong {
    color: #222;
}


.booking-time-notice-agree {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 24px;

    font-size: 14px;
    line-height: 1.6;

    cursor: pointer;
}


.booking-time-notice-agree input {
    flex-shrink: 0;

    margin-top: 4px;
}


.booking-time-notice-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 28px;
}


.booking-time-notice-actions .primary-button {
    min-width: 190px;
}


@media (max-width: 600px) {

    .booking-time-notice-modal {
        padding: 28px 22px;

        border-radius: 16px;
    }


    .booking-time-notice-modal h2 {
        font-size: 21px;
    }


    .booking-time-notice-actions .primary-button {
        width: 100%;
    }

}


/* =========================================
   OUTDOOR WEATHER ADVISORY MODAL
========================================= */

.booking-weather-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(6px);
    animation: bookingOverlayIn 0.2s ease;
}

.booking-weather-notice-modal {
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 34px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    animation: bookingModalIn 0.25s ease;
}

.booking-weather-notice-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.booking-weather-notice-modal h2 {
    margin: 0 0 24px;
    font-size: 23px;
    line-height: 1.3;
}

.booking-weather-notice-language {
    margin-top: 18px;
}

.booking-weather-notice-language strong {
    color: #222222;
}

.booking-weather-notice-language p {
    margin: 7px 0 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
}

.booking-weather-notice-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.booking-weather-notice-actions .primary-button {
    min-width: 210px;
}

@media (max-width: 600px) {
    .booking-weather-notice-overlay {
        padding: 16px;
    }

    .booking-weather-notice-modal {
        padding: 26px 21px;
        border-radius: 16px;
    }

    .booking-weather-notice-modal h2 {
        font-size: 20px;
    }

    .booking-weather-notice-language p {
        font-size: 13px;
    }

    .booking-weather-notice-actions .primary-button {
        width: 100%;
    }
}

/* =========================================
   HOLIDAY / CLOSED DATE
========================================= */

.fc-day-closed {
    background: #fdeaea !important;
    cursor: not-allowed;
    position: relative !important;
}


.fc-day-closed .fc-daygrid-day-number {
    color: #c83c3c !important;
    font-weight: 700;
}


/* CLOSED LABEL */

.closed-date-label {
    position: absolute;

    left: 4px;
    bottom: 4px;

    color: #c83c3c;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.5px;

    pointer-events: none;

    z-index: 999;
}

/* =========================================
   PROMO CODE / VOUCHER
========================================= */

#voucher-code {

    width: 100%;
    height: 48px;

    padding: 0 16px;

    border: 1px solid #dddddd;
    border-radius: 10px;

    background: #ffffff;

    color: #222;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color .2s,
        box-shadow .2s;

}


#voucher-code::placeholder {

    color: #999;

}


#voucher-code:focus {

    border-color: #222;

    box-shadow:
        0 0 0 1px #222;

}


/* APPLY BUTTON */

#apply-voucher {

    flex-shrink: 0;

    min-width: 100px;
    height: 48px;

}


/* MESSAGE INVALID / ERROR */

#voucher-message {

    min-height: 20px;

    font-size: 13px;
    line-height: 1.5;

}


/* =========================================
   APPLIED VOUCHER
========================================= */

#remove-voucher {

    height: 40px;

    padding: 0 18px;

    font-size: 13px;

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    #voucher-code {

        min-width: 0;

    }


    #apply-voucher {

        min-width: 85px;

        padding-left: 16px;
        padding-right: 16px;

    }

}


/* =========================================
   MOBILE BOOKING
========================================= */

@media (max-width: 600px){

    /* PAGE */

    .page{
        padding:16px;
        align-items:flex-start;
    }


    /* BOOKING CARD */

    .booking-card{
        width:100%;
        max-width:none;
        border-radius:20px;
    }


    /* BACK TO WEBSITE */

    .back-website{
        padding:20px 20px 0;
        font-size:14px;
    }


    /* HEADER */

    .booking-header{
        padding:32px 24px 28px;
    }

    .booking-header h1{
        font-size:30px;
        line-height:1.2;
        margin-bottom:8px;
    }

    .booking-header p{
        font-size:14px;
    }


    /* PROGRESS */

   .booking-progress{
    padding:16px 20px;

    display:flex;
    flex-wrap:wrap;

    justify-content:center;
    gap:8px;

    overflow:visible;
}

.booking-progress::-webkit-scrollbar{
    display:none;
}

.step{
    flex:0 0 auto;
    min-width:0;

    padding:10px 14px;

    font-size:12px;
    white-space:nowrap;
}

    .booking-progress::-webkit-scrollbar{
        display:none;
    }

    .step{
        flex:0 0 auto;
        min-width:80px;

        padding:10px 12px;

        font-size:12px;
        white-space:nowrap;
    }


    /* CONTENT */

    .booking-content{
        padding:28px 20px;
    }

    .booking-content h2{
        font-size:24px;
        line-height:1.3;
    }


    /* TERMS */

    .terms-box{
        height:360px;
        padding:20px;
        border-radius:14px;
    }

    .language-section h3{
        font-size:18px;
    }

    .terms-text{
        font-size:14px;
        line-height:1.7;
    }


    /* TERMS FOOTER */

    .terms-footer{
        flex-direction:column;
        align-items:stretch;
        gap:18px;
    }

    .agree-box{
        font-size:14px;
    }

    .terms-footer .btn-primary{
        width:100%;
    }


    /* STUDIO */

    .studio-card{
        padding:20px;
        border-radius:16px;
    }

    .studio-card h3{
        font-size:20px;
    }

    .studio-meta{
        gap:20px;
    }

    .studio-capacity{
        gap:0;
    }

    .studio-capacity > div{
        padding:0 10px;
    }

    .studio-capacity > div:first-child{
        padding-left:0;
    }


    /* DURATION */

    .duration-card{
        padding:20px;
        border-radius:16px;
    }

    .duration-card h3{
        font-size:20px;
    }

    .duration-card strong{
        font-size:22px;
    }


    /* DATE / TIME */

    .datetime-section{
        margin-bottom:28px;
    }

    #calendar{
    min-height:320px;
    border-radius:14px;
    overflow:hidden;
}

#time-slots{
    padding:14px;
    border-radius:14px;
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
}

.time-slot{
    width:100%;
    height:42px;
    margin:0;
}

    .datetime-actions{
        flex-direction:column;
    }

    .datetime-actions button{
        width:100%;
    }


    /* EXTRAS */

  .extra-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
}

.extra-card{
    border-radius:12px;
}

.extra-image{
    aspect-ratio:4/3;
}

.extra-name{
    padding:10px 10px 4px;
    font-size:13px;
}

.extra-price{
    padding:0 10px 8px;
    font-size:13px;
}

.extra-qty{
    margin:0 10px 10px;
    padding:6px;
}


    /* SUMMARY */

    .booking-summary{
        padding:20px;
        border-radius:16px;
    }

    .summary-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .summary-full{
        grid-column:auto;
    }

    .summary-item.grand-total strong{
        font-size:34px;
    }


    /* CUSTOMER FORM */

    .form-group{
        margin-bottom:20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea{
        font-size:16px;
    }

    .customer-form .primary-button{
        width:100%;
        margin-left:0;
    }


    /* REVIEW */

    .booking-header-review{
        flex-direction:column;
        gap:14px;
    }

    .booking-header-review h3{
        font-size:21px;
    }

    .booking-total{
        font-size:20px;
    }

    .booking-card-actions{
        flex-direction:column;
    }

    .booking-card-actions button{
        width:100%;
    }


    /* BOOKING PRICE */

    .booking-price{
        gap:15px;
    }

}

/* =========================================
   DESKTOP COMPACT BOOKING
   ========================================= */

@media (min-width: 601px) {

    .page {
        padding: 24px;
    }

    .booking-card {
        max-width: 820px;
        border-radius: 20px;
    }

    .booking-header {
        padding: 28px 32px;
    }

    .booking-header h1 {
        font-size: 28px;
    }

    .booking-progress {
        padding: 14px 32px;
        gap: 8px;
    }

    .step {
        padding: 10px 8px;
        font-size: 13px;
    }

    .booking-content {
        padding: 30px 32px;
    }

}
/* Session-scoped participants and extras */
.session-scoped-extra-section {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #fff;
}
.session-scoped-extra-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}
.session-scoped-extra-header h2 {
    margin: 4px 0 0;
}
.session-scoped-extra-meta {
    color: #777;
    font-size: 13px;
    padding-top: 5px;
}
.session-customer-summary {
    margin-bottom: 18px;
}
.customer-session-participants {
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
}
@media (max-width: 700px) {
    .session-scoped-extra-header {
        flex-direction: column;
        gap: 6px;
    }
    .session-scoped-extra-section {
        padding: 14px;
    }
}


/* =========================================================
   MOBILE STUDIO CARD — FINAL COMPACT LAYOUT
   Photo stays on the right; capacity stays readable.
========================================================= */
@media (max-width: 600px) {
    .studio-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 84px;
        gap: 12px;
        min-height: 0;
        padding: 18px;
        align-items: start;
    }

    .studio-card-content {
        min-width: 0;
        display: contents;
    }

    .studio-card h3 {
        grid-column: 1;
        min-width: 0;
        margin: 0 0 8px;
        font-size: 18px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .studio-card-image {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 84px;
        height: 84px;
        aspect-ratio: 1 / 1;
        align-self: start;
        border-radius: 12px;
    }

    .studio-capacity {
        grid-column: 1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        min-width: 0;
        margin-top: 0;
    }

    .studio-capacity > div {
        min-width: 0;
    }

    .studio-capacity small {
        font-size: 8px;
        line-height: 1.15;
        letter-spacing: .02em;
        margin-bottom: 4px;
        white-space: normal;
    }

    .studio-capacity strong {
        display: block;
        font-size: 14px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .studio-price {
        grid-column: 1 / -1;
        margin-top: 14px;
    }

    .studio-price small {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .studio-price strong {
        font-size: 17px;
        line-height: 1.25;
        white-space: normal;
    }
}


/* Customer form validation */
.customer-field-error {
    min-height: 18px;
    margin-top: 6px;
    color: #c0392b;
    font-size: 12px;
    line-height: 1.4;
}

.customer-field-invalid {
    border-color: #c0392b !important;
    outline: none;
}
