.booking-page {
    background-color: var(--cream);
    color: var(--anthracite);

    /* Standardized Font Sizes */
    --fs-large: 3.5rem;
    /* Main Titles */
    --fs-medium: 1.8rem;
    /* Section Headers / Card Titles */
    --fs-small: 1rem;
    /* Body Text / Buttons / Nav */
}

.booking-header-hero {
    background: var(--brand-red);
    color: var(--cream);
    padding: 1.2rem 1.5rem 1rem;
    /* Top Right Bottom — minimo necessario */
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    /* Spazio minimo tra elementi */
}

.booking-header-hero h1 {
    font-size: 2.2rem;
    /* Consistently smaller in the compact bar */
    margin-bottom: 0;
    line-height: 1.1;
}

.booking-header-hero p {
    font-weight: 300;
    font-size: var(--fs-small);
    margin: 0;
}

.booking-hero-logo {
    max-width: 180px;
    /* Più piccolo nella barra */
    margin-bottom: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.category-box {
    text-align: center;
}

.category-box .box-header {
    justify-content: center;
}

.category-box .treatment-ul li {
    justify-content: center;
}

.step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.booking-back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--anthracite);
    color: var(--anthracite);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.booking-back-btn:hover {
    background: var(--anthracite);
    color: var(--white);
}

/* Treatment */
.treatment-grid-booking {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.treatment-card {
    background: var(--white);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.treatment-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-red);
}

.treatment-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-bg);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
}

.treatment-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.treatment-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Calendar & Times */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 6rem;
}

.calendar-panel,
.time-panel {
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cal-nav button {
    background: var(--secondary-bg);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    color: var(--brand-red);
}

.cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.cal-day:not(.empty):not(.disabled):hover {
    background: var(--brand-red);
    color: var(--cream);
}

.cal-day.selected {
    background: var(--brand-red);
    color: var(--cream);
    font-weight: 700;
}

.cal-day.disabled {
    color: #ccc;
    background: #fdfdfd;
    cursor: not-allowed;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.time-slot {
    background: var(--secondary-bg);
    padding: 1rem;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.time-slot:hover {
    background: var(--brand-red);
    color: var(--white);
}

.time-slot.selected {
    background: var(--brand-red);
    color: var(--white);
}

/* Confirmation */
.confirm-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item .label {
    font-weight: 500;
    color: #888;
}

.summary-item .value {
    font-weight: 700;
    color: var(--brand-red);
}

.form-group-booking {
    margin: 3rem 0;
}

.form-group-booking label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-group-booking input {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.booking-submit-btn {
    width: 100%;
    background: var(--brand-red);
    color: var(--white);
    border: none;
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.booking-submit-btn:hover {
    background: var(--anthracite);
    transform: translateY(-4px);
}

/* Success */
.success-screen {
    text-align: center;
    padding: 6rem 2rem;
}

.success-screen i {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 2rem;
}

/* Mobile */
@media (max-width: 768px) {
    .booking-page {
        --fs-large: 2.2rem;
        --fs-medium: 1.5rem;
        --fs-small: 0.9rem;
    }

    .booking-grid {
        grid-template-columns: 1fr;
    }

    .confirm-card {
        padding: 2rem;
    }

    .booking-header-hero h1 {
        font-size: 1.8rem;
    }

    .treatment-grid-booking {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0;
    }

    /* Compact treatment boxes on mobile booking */
    .treatment-grid-booking .treatment-box,
    .treatment-grid-booking .treatment-card {
        padding: 1.5rem;
    }
}