/*
    OPALINE STUDIO — BOOKING PAGE

    This stylesheet contains only styles used by booking.html.
    Shared navigation, buttons, footer and typography remain in style.css.
*/

/*
    BOOKING HERO
*/

/* Compact Booking Hero. */
.booking-hero {
    position: relative;
    isolation: isolate;
    padding: 150px var(--page-padding) 105px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 78% 12%,
            rgba(169, 217, 234, 0.2),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(200, 183, 229, 0.13),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #2a3044 0%,
            var(--ink-soft) 44%,
            var(--ink) 100%
        );
    overflow: hidden;
}

/* Decorative background word. */
.booking-hero::before {
    content: "BOOK";
    position: absolute;
    right: -2vw;
    bottom: -2vw;
    z-index: -1;
    font-family: var(--heading-font);
    font-size: clamp(11rem, 22vw, 25rem);
    font-weight: 600;
    line-height: 0.66;
    letter-spacing: -0.07em;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

/* Hero layout. */
.booking-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
    align-items: end;
    gap: clamp(60px, 8vw, 130px);
}

/* Main Hero heading. */
.booking-hero-copy h1 {
    max-width: 930px;
    margin-bottom: 28px;
    font-family: var(--heading-font);
    font-size: clamp(4.8rem, 6.8vw, 7.7rem);
    font-weight: 500;
    line-height: 0.86;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

/* Hero introduction. */
.booking-hero-copy > p {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.72);
}

/* Hero note card. */
.booking-hero-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 17px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 2px solid var(--opal-gold);
    background-color: rgba(255, 255, 255, 0.045);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
}

/* Hero note main icon. */
.booking-hero-note > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--ink);
    background: var(--opal-gradient);
}

/* Hero note copy. */
.booking-hero-note > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Hero note label. */
.booking-hero-note span {
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--opal-peach);
    text-transform: uppercase;
}

/* Hero note message. */
.booking-hero-note strong {
    font-family: var(--heading-font);
    font-size: 1.55rem;
    font-weight: 500;
}

/* Hero note link. */
.booking-hero-note > a {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

/* Shared decorative glow. */
.booking-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    pointer-events: none;
}

/* Cool Hero glow. */
.booking-hero-glow-one {
    top: -160px;
    right: 20%;
    width: 390px;
    height: 390px;
    background-color: rgba(169, 217, 234, 0.1);
}

/* Warm Hero glow. */
.booking-hero-glow-two {
    right: -120px;
    bottom: -100px;
    width: 360px;
    height: 360px;
    background-color: rgba(239, 170, 138, 0.06);
}

/*
    BOOKING WIZARD
*/

/* Wizard section background. */
.booking-wizard-section {
    position: relative;
    background:
        linear-gradient(
            180deg,
            var(--pearl) 0%,
            #f5f1f5 100%
        );
    overflow: hidden;
}

/* Decorative section word. */
.booking-wizard-section::before {
    content: "APPOINTMENT";
    position: absolute;
    left: -2vw;
    top: 80px;
    font-family: var(--heading-font);
    font-size: clamp(8rem, 16vw, 18rem);
    font-weight: 600;
    line-height: 0.68;
    letter-spacing: -0.06em;
    color: rgba(16, 19, 29, 0.022);
    pointer-events: none;
}

/* Main wizard shell. */
.booking-wizard-shell {
    position: relative;
    z-index: 1;
}

/*
    PROGRESS
*/

/* Booking progress navigation. */
.booking-progress {
    display: grid;
    grid-template-columns:
        auto
        minmax(24px, 1fr)
        auto
        minmax(24px, 1fr)
        auto
        minmax(24px, 1fr)
        auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 58px;
    padding: 24px 28px;
    border: 1px solid rgba(16, 19, 29, 0.08);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 48px rgba(16, 19, 29, 0.06);
    backdrop-filter: blur(14px);
}

/* Individual progress step. */
.booking-progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(58, 63, 77, 0.42);
    transition: var(--transition);
}

/* Progress step number. */
.booking-progress-step > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(16, 19, 29, 0.1);
    border-radius: 50%;
    font-size: 0.58rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.62);
}

/* Progress step label. */
.booking-progress-step strong {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Active and completed step. */
.booking-progress-step.active,
.booking-progress-step.completed {
    color: var(--ink);
}

/* Active step number. */
.booking-progress-step.active > span {
    border-color: transparent;
    background: var(--opal-gradient);
    box-shadow: 0 10px 24px rgba(16, 19, 29, 0.1);
}

/* Completed step number. */
.booking-progress-step.completed > span {
    border-color: var(--ink);
    color: var(--white);
    background-color: var(--ink);
}

/* Progress connector line. */
.booking-progress-line {
    width: 100%;
    height: 1px;
    background-color: rgba(16, 19, 29, 0.1);
}

/*
    WIZARD LAYOUT
*/

/* Form and summary layout. */
.booking-wizard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: start;
    gap: clamp(38px, 5vw, 78px);
}

/* Main form container. */
.booking-form {
    min-width: 0;
    padding: 52px;
    border: 1px solid rgba(16, 19, 29, 0.08);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 32px 75px rgba(16, 19, 29, 0.1);
    backdrop-filter: blur(16px);
}

/* Current wizard step. */
.booking-step {
    animation: bookingStepReveal 0.45s ease both;
}

/* Step reveal animation. */
@keyframes bookingStepReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

/* Step heading. */
.booking-step-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

/* Step number label. */
.booking-step-heading > span {
    display: block;
    margin-bottom: 12px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--rosewood);
    text-transform: uppercase;
}

/* Step title. */
.booking-step-heading h2 {
    margin-bottom: 17px;
    font-family: var(--heading-font);
    font-size: clamp(3.8rem, 5vw, 5.8rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--ink);
}

/* Step introduction. */
.booking-step-heading p {
    max-width: 640px;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Shared step error. */
.booking-step-error {
    margin-top: 24px;
    padding: 14px 16px;
    border-left: 3px solid #ad3e46;
    font-size: 0.74rem;
    color: #8f3038;
    background-color: rgba(173, 62, 70, 0.08);
}

/*
    SERVICE CARDS
*/

/* Service selection grid. */
.booking-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* Shared selection card. */
.booking-service-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    min-height: 210px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(16, 19, 29, 0.09);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.86),
            rgba(242, 238, 247, 0.66)
        );
    cursor: pointer;
    transition:
        border-color 0.4s ease,
        box-shadow 0.45s ease,
        transform 0.45s var(--transition-easing);
}

/* Hides native service radio. */
.booking-service-card > input,
.booking-stylist-card > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Displays keyboard focus around selection cards. */
.booking-service-card:focus-within,
.booking-stylist-card:focus-within {
    outline: 2px solid var(--opal-gold);
    outline-offset: 4px;
}

/* Selected service card. */
.booking-service-card.selected {
    border-color: rgba(143, 92, 102, 0.38);
    box-shadow: 0 24px 55px rgba(16, 19, 29, 0.11);
    transform: translateY(-5px);
}

/* Opaline edge on selected card. */
.booking-service-card.selected::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--opal-gradient);
}

/* Shared card check. */
.booking-card-check {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(16, 19, 29, 0.1);
    border-radius: 50%;
    color: transparent;
    background-color: rgba(255, 255, 255, 0.7);
}

/* Selected card check. */
.selected .booking-card-check {
    border-color: transparent;
    color: var(--ink);
    background: var(--opal-gradient);
}

/* Service icon. */
.booking-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--ink);
    background: var(--opal-gradient);
}

/* Service text wrapper. */
.booking-service-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 20px;
}

/* Service eyebrow. */
.booking-service-copy small,
.booking-stylist-copy small {
    margin-bottom: 8px;
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--rosewood);
    text-transform: uppercase;
}

/* Service name. */
.booking-service-copy strong {
    margin-bottom: 10px;
    font-family: var(--heading-font);
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}

/* Service description. */
.booking-service-copy em,
.booking-stylist-copy em {
    font-size: 0.73rem;
    font-style: normal;
    line-height: 1.65;
    color: var(--ink-muted);
}

/* Service meta. */
.booking-service-meta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(16, 19, 29, 0.08);
}

/* Service price. */
.booking-service-meta strong {
    font-size: 0.75rem;
    color: var(--ink);
}

/* Service duration. */
.booking-service-meta small {
    font-size: 0.65rem;
    color: var(--ink-muted);
}

/*
    STYLIST CARDS
*/

/* Stylist selection grid. */
.booking-stylist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* Stylist card. */
.booking-stylist-card {
    position: relative;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 175px;
    padding: 20px;
    border: 1px solid rgba(16, 19, 29, 0.09);
    background-color: rgba(255, 255, 255, 0.64);
    cursor: pointer;
    transition:
        border-color 0.4s ease,
        box-shadow 0.45s ease,
        transform 0.45s var(--transition-easing);
}

/* Selected stylist card. */
.booking-stylist-card.selected {
    border-color: rgba(143, 92, 102, 0.38);
    box-shadow: 0 24px 55px rgba(16, 19, 29, 0.11);
    transform: translateY(-5px);
}

/* Stylist placeholder. */
.booking-stylist-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 110px;
    height: 135px;
    border-radius: 70px 70px 5px 5px;
    font-size: 1.45rem;
    color: var(--ink);
    background:
        linear-gradient(
            145deg,
            rgba(169, 217, 234, 0.58),
            rgba(255, 255, 255, 0.95),
            rgba(200, 183, 229, 0.4)
        );
}

/* Stylist image placeholder label. */
.booking-stylist-image small {
    font-size: 0.52rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

/* Stylist content. */
.booking-stylist-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 20px;
}

/* Stylist name. */
.booking-stylist-copy strong {
    margin-bottom: 9px;
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}

/* No-preference card. */
.booking-stylist-any {
    background:
        linear-gradient(
            145deg,
            rgba(169, 217, 234, 0.2),
            rgba(255, 255, 255, 0.75),
            rgba(239, 170, 138, 0.13)
        );
}

/*
    DATE AND TIME
*/

/* Date and time layout. */
.booking-date-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 20px;
}

/* Shared date and time card. */
.booking-date-card,
.booking-time-card {
    min-height: 360px;
    padding: 30px;
    border: 1px solid rgba(16, 19, 29, 0.09);
    background-color: rgba(255, 255, 255, 0.68);
}

/* Date field label. */
.booking-date-card > label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    color: var(--ink);
    text-transform: uppercase;
}

/* Date input wrapper. */
.booking-date-input-wrap {
    position: relative;
}

/* Date input icon. */
.booking-date-input-wrap i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: var(--rosewood);
    transform: translateY(-50%);
    pointer-events: none;
}

/* Date input. */
.booking-date-input-wrap input {
    width: 100%;
    height: 58px;
    padding: 0 15px 0 46px;
    border: 1px solid rgba(16, 19, 29, 0.12);
    outline: none;
    font-family: var(--body-font);
    font-size: 0.82rem;
    color: var(--ink);
    background-color: var(--white);
}

/* Date notice. */
.booking-date-card > p {
    margin-top: 18px;
    font-size: 0.72rem;
    line-height: 1.7;
}

/* Invalid date notice. */
.booking-date-card > p.invalid {
    color: #9e3942;
}

/* Date legend. */
.booking-date-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid var(--light-border);
}

/* Date legend item. */
.booking-date-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    color: var(--ink-muted);
}

/* Available legend icon. */
.booking-date-legend span:first-child i {
    color: #6fa98a;
}

/* Time card heading. */
.booking-time-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

/* Time heading label. */
.booking-time-heading span {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
}

/* Selected date label. */
.booking-time-heading small {
    font-size: 0.63rem;
    color: var(--ink-muted);
    text-align: right;
}

/* Time slots grid. */
.booking-time-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

/* Individual time slot. */
.booking-time-slot {
    min-height: 48px;
    border: 1px solid rgba(16, 19, 29, 0.11);
    font-size: 0.69rem;
    font-weight: 700;
    color: var(--ink);
    background-color: rgba(255, 255, 255, 0.72);
    transition: var(--transition);
}

/* Time slot hover. */
.booking-time-slot:hover {
    border-color: rgba(169, 217, 234, 0.55);
    background-color: var(--white);
}

/* Selected time slot. */
.booking-time-slot.selected {
    border-color: transparent;
    background: var(--opal-gradient);
    box-shadow: 0 10px 24px rgba(16, 19, 29, 0.1);
}

/* Unavailable time slot. */
.booking-time-slot:disabled {
    color: rgba(58, 63, 77, 0.28);
    background-color: rgba(16, 19, 29, 0.035);
    cursor: not-allowed;
}

/* Empty time state. */
.booking-time-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 245px;
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--ink-muted);
    text-align: center;
}

/* Empty time icon. */
.booking-time-placeholder i {
    font-size: 1.8rem;
    color: var(--rosewood);
}

/*
    CLIENT DETAILS
*/

/* Client details grid. */
.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 22px;
}

/* Shared field. */
.booking-field {
    display: flex;
    flex-direction: column;
}

/* Full-width field. */
.booking-field-full {
    grid-column: 1 / -1;
}

/* Field labels. */
.booking-field > label,
.booking-notes-label label {
    margin-bottom: 10px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ink);
    text-transform: uppercase;
}

/* Shared form controls. */
.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    border: 1px solid rgba(16, 19, 29, 0.12);
    border-radius: 0;
    outline: none;
    font-family: var(--body-font);
    font-size: 0.84rem;
    color: var(--ink);
    background-color: rgba(255, 255, 255, 0.76);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

/* Input and select sizing. */
.booking-field input,
.booking-field select {
    height: 55px;
    padding: 0 16px;
}

/* Textarea sizing. */
.booking-field textarea {
    min-height: 160px;
    padding: 16px;
    line-height: 1.7;
    resize: vertical;
}

/* Focus state. */
.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    border-color: rgba(143, 92, 102, 0.48);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(169, 217, 234, 0.13);
}

/* Invalid control. */
.booking-field.has-error input,
.booking-field.has-error select,
.booking-field.has-error textarea,
.booking-consent.has-error label {
    border-color: rgba(173, 62, 70, 0.62);
}

/* Field error. */
.booking-field-error {
    display: none;
    margin-top: 8px;
    font-size: 0.66rem;
    line-height: 1.5;
    color: #9e3942;
}

/* Reveals field errors. */
.booking-field.has-error .booking-field-error,
.booking-consent.has-error .booking-field-error {
    display: block;
}

/* Notes label and counter. */
.booking-notes-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* Notes counter. */
.booking-notes-label > span {
    margin-bottom: 10px;
    font-size: 0.61rem;
    color: var(--ink-muted);
}

/* Consent wrapper. */
.booking-consent {
    display: flex;
    flex-direction: column;
}

/* Consent label. */
.booking-consent label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.72rem;
    line-height: 1.7;
    color: var(--ink-muted);
    cursor: pointer;
}

/* Consent checkbox. */
.booking-consent input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 4px;
    accent-color: var(--rosewood);
}

/*
    FORM NAVIGATION
*/

/* Wizard navigation row. */
.booking-form-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--light-border);
}

/* Back button. */
.booking-back-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 0 18px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ink-muted);
    text-transform: uppercase;
}

/* Back button hover. */
.booking-back-button:hover {
    color: var(--ink);
}

/*
    SUMMARY
*/

/* Sticky appointment summary. */
.booking-summary {
    position: sticky;
    top: 36px;
    padding: 34px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(169, 217, 234, 0.14),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #2a3044,
            var(--ink)
        );
    box-shadow: 0 32px 80px rgba(16, 19, 29, 0.19);
}

/* Summary header. */
.booking-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--dark-border);
}

/* Summary header label. */
.booking-summary-header span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--opal-peach);
    text-transform: uppercase;
}

/* Summary icon. */
.booking-summary-header i {
    font-size: 1.35rem;
    color: var(--opal-blue);
}

/* Summary details list. */
.booking-summary-list {
    display: grid;
    gap: 20px;
}

/* Summary detail. */
.booking-summary-list > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--dark-border);
}

/* Summary detail label. */
.booking-summary small {
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

/* Summary detail value. */
.booking-summary-list strong {
    font-family: var(--heading-font);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.1;
}

/* Summary total. */
.booking-summary-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 24px;
    color: var(--ink);
    background: var(--opal-gradient);
}

/* Summary total text wrapper. */
.booking-summary-total > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Overrides label colour inside total. */
.booking-summary-total small {
    color: rgba(16, 19, 29, 0.55);
}

/* Estimated price. */
.booking-summary-total strong {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 600;
}

/* Duration. */
.booking-summary-total > span {
    font-size: 0.63rem;
    color: var(--ink-muted);
    text-align: right;
}

/* Summary notice. */
.booking-summary > p {
    margin-top: 22px;
    font-size: 0.67rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.58);
}

/*
    CONFIRMATION
*/

/* Final confirmation panel. */
.booking-confirmation {
    max-width: 900px;
    margin: 0 auto;
    padding: 65px;
    border: 1px solid rgba(16, 19, 29, 0.08);
    color: var(--ink);
    background:
        radial-gradient(
            circle at 20% 16%,
            rgba(169, 217, 234, 0.45),
            transparent 28%
        ),
        radial-gradient(
            circle at 84% 82%,
            rgba(239, 170, 138, 0.2),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(242, 238, 247, 0.94)
        );
    box-shadow: 0 38px 90px rgba(16, 19, 29, 0.12);
    text-align: center;
}

/* Confirmation icon. */
.booking-confirmation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 auto 26px;
    border-radius: 50%;
    font-size: 1.8rem;
    background: var(--opal-gradient);
    box-shadow: 0 18px 38px rgba(16, 19, 29, 0.11);
}

/* Confirmation eyebrow. */
.booking-confirmation > span {
    display: block;
    margin-bottom: 14px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    color: var(--rosewood);
    text-transform: uppercase;
}

/* Confirmation title. */
.booking-confirmation h2 {
    margin-bottom: 20px;
    font-family: var(--heading-font);
    font-size: clamp(3.8rem, 5vw, 5.8rem);
    font-weight: 500;
    line-height: 0.92;
}

/* Confirmation name. */
.booking-confirmation h2 strong {
    font-weight: inherit;
    color: var(--rosewood);
}

/* Confirmation description. */
.booking-confirmation > p {
    max-width: 650px;
    margin: 0 auto 38px;
    font-size: 0.88rem;
    line-height: 1.8;
}

/* Confirmation summary. */
.booking-confirmation-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
    border: 1px solid rgba(16, 19, 29, 0.09);
}

/* Confirmation detail. */
.booking-confirmation-details > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-right: 1px solid rgba(16, 19, 29, 0.09);
}

/* Removes the final divider. */
.booking-confirmation-details > div:last-child {
    border-right: 0;
}

/* Confirmation detail label. */
.booking-confirmation-details small {
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    color: var(--ink-muted);
    text-transform: uppercase;
}

/* Confirmation detail value. */
.booking-confirmation-details strong {
    font-family: var(--heading-font);
    font-size: 1.45rem;
    font-weight: 600;
}

/* Confirmation actions. */
.booking-confirmation-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

/* Reset button. */
.booking-reset-button {
    min-height: 52px;
    padding: 0 18px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--rosewood);
    text-transform: uppercase;
}

/*
    RESPONSIVE DESIGN
*/

@media (max-width: 1199.98px) {

    /* Adds room for the mobile header. */
    .booking-hero {
        padding-top: 160px;
    }
}

@media (max-width: 991.98px) {

    /* Stacks the Booking Hero. */
    .booking-hero-layout {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 48px;
    }

    /* Limits the Hero note width. */
    .booking-hero-note {
        max-width: 620px;
    }

    /* Makes progress horizontally scrollable. */
    .booking-progress {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    /* Hides the progress scrollbar. */
    .booking-progress::-webkit-scrollbar {
        display: none;
    }

    /* Prevents progress steps from shrinking. */
    .booking-progress-step {
        flex: 0 0 auto;
    }

    /* Gives the progress lines a fixed width. */
    .booking-progress-line {
        flex: 0 0 45px;
    }

    /* Stacks the form and summary. */
    .booking-wizard-layout {
        grid-template-columns: 1fr;
    }

    /* Makes the summary non-sticky. */
    .booking-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {

    /*
        HERO
    */

    /* Reduces Hero spacing. */
    .booking-hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    /* Reduces Hero heading. */
    .booking-hero-copy h1 {
        font-size: clamp(4rem, 16vw, 5.9rem);
    }

    /* Reduces Hero note spacing. */
    .booking-hero-note {
        padding: 24px;
    }

    /*
        WIZARD
    */

    /* Reduces progress spacing. */
    .booking-progress {
        margin-bottom: 34px;
        padding: 18px;
    }

    /* Reduces form spacing. */
    .booking-form {
        padding: 34px 24px;
    }

    /* Reduces step heading. */
    .booking-step-heading h2 {
        font-size: clamp(3.3rem, 13vw, 4.8rem);
    }

    /* Displays one service per row. */
    .booking-service-grid {
        grid-template-columns: 1fr;
    }

    /* Displays one stylist per row. */
    .booking-stylist-grid {
        grid-template-columns: 1fr;
    }

    /* Stacks date and time. */
    .booking-date-layout {
        grid-template-columns: 1fr;
    }

    /* Displays two time slots per row. */
    .booking-time-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Displays one client field per row. */
    .booking-details-grid {
        grid-template-columns: 1fr;
    }

    /* Keeps fields full width. */
    .booking-field,
    .booking-field-full {
        grid-column: 1;
    }

    /* Stacks form navigation on narrow screens. */
    .booking-form-navigation {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    /* Makes wizard buttons full-width. */
    .booking-form-navigation .primary-button,
    .booking-back-button {
        width: 100%;
        justify-content: center;
    }

    /* Reduces summary spacing. */
    .booking-summary {
        padding: 28px 24px;
    }

    /*
        CONFIRMATION
    */

    /* Reduces confirmation spacing. */
    .booking-confirmation {
        padding: 44px 24px;
    }

    /* Stacks confirmation details. */
    .booking-confirmation-details {
        grid-template-columns: 1fr;
    }

    /* Resets confirmation dividers. */
    .booking-confirmation-details > div {
        border-right: 0;
        border-bottom: 1px solid rgba(16, 19, 29, 0.09);
    }

    /* Removes the final divider. */
    .booking-confirmation-details > div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 479.98px) {

    /* Reduces Hero title further. */
    .booking-hero-copy h1 {
        font-size: clamp(3.7rem, 17vw, 5.2rem);
    }

    /* Reduces service card spacing. */
    .booking-service-card {
        padding: 24px 20px;
    }

    /* Stacks stylist image and copy more tightly. */
    .booking-stylist-card {
        grid-template-columns: 88px minmax(0, 1fr);
        padding: 16px;
    }

    /* Reduces stylist placeholder. */
    .booking-stylist-image {
        width: 88px;
        height: 115px;
    }

    /* Reduces date card spacing. */
    .booking-date-card,
    .booking-time-card {
        padding: 24px 20px;
    }

    /* Makes summary total stack. */
    .booking-summary-total {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Aligns duration left. */
    .booking-summary-total > span {
        text-align: left;
    }
}
