/* Public booking only. Keep the server-rendered fields and existing wizard states. */
.fr-public-site .book-flow-intro,
.fr-public-site .book-flow-refresh {
    --flow-green: #13553e;
    --flow-deep: #153b30;
    --flow-text: #1b2e26;
    --flow-muted: #50645a;
    --flow-line: #d5e4db;
    --flow-surface: #f3f8f4;
    --flow-orange: #ad3c10;
}

.fr-public-site .book-hero.book-flow-intro {
    min-height: 0;
    align-items: center;
    background: radial-gradient(ellipse at 98% 15%, #f8e3cf 0%, transparent 55%), linear-gradient(110deg,#e4f4e9,#f8faf5) !important;
}
.fr-public-site .book-flow-intro::after {
    height: 3px;
    background: linear-gradient(90deg,#1d7c51 0 74%,#e67d38 74%);
}
.fr-public-site .book-flow-intro .book-hero-content {
    max-width: 840px;
    padding: clamp(24px,4vw,58px) 0;
}
.fr-public-site .book-flow-intro .book-eyebrow {
    margin: 0 0 10px;
    padding: 5px 9px;
    border-color: #b5d9c3;
    background: #f6fcf8;
    color: var(--flow-green) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 11px;
    font-weight: 750;
}
.fr-public-site .book-flow-intro .book-hero-content h1 {
    font-size: clamp(32px,5vw,60px);
    font-weight: 780;
    color: var(--flow-deep) !important;
    -webkit-text-fill-color: currentColor !important;
    letter-spacing: -.04em;
    line-height: 1.08;
}
.fr-public-site .book-flow-intro .book-hero-content p {
    display: block;
    margin: 8px 0 0;
    font-size: clamp(14px,2vw,17px);
    line-height: 1.45;
    color: var(--flow-muted) !important;
    -webkit-text-fill-color: currentColor !important;
}
.fr-public-site .book-flow-intro .fr-trust-strip,
.fr-public-site .book-flow-intro .fr-trust-strip *:not(.fr-trust-stars) {
    color: var(--flow-deep) !important;
}

.fr-public-site .book-page.book-flow-refresh {
    padding-top: clamp(14px,3vw,35px);
    background: linear-gradient(180deg,#f1f7f3 0,#fff 440px) !important;
}
.fr-public-site .book-flow-refresh .book-main:not(.book-main-result),
.fr-public-site .book-flow-refresh .book-summary {
    min-width: 0;
    border-radius: 19px;
    border-color: var(--flow-line) !important;
    box-shadow: 0 8px 24px #183b2d0d;
}
.fr-public-site .book-flow-refresh .book-stepper {
    border-color: var(--flow-line);
}
.fr-public-site .book-flow-refresh .book-step {
    min-width: 0;
    border-radius: 10px;
    font-weight: 700;
    color: var(--flow-muted);
}
.fr-public-site .book-flow-refresh .book-step.is-complete {
    color: var(--flow-green) !important;
    background: #edf7ef !important;
    border-color: #c8e2d0 !important;
}
.fr-public-site .book-flow-refresh .book-step.is-active {
    color: var(--flow-green) !important;
    background: #e0f2e7 !important;
    border-color: #76ae91 !important;
    box-shadow: none !important;
}
.fr-public-site .book-flow-refresh :is(.book-step.is-active > span,.book-section-kicker > span) {
    color: white !important;
    background: var(--flow-green) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
.fr-public-site .book-flow-refresh .book-section {
    border-radius: 16px;
    scroll-margin-top: 84px;
}
.fr-public-site .book-flow-refresh .book-section > .book-section-head h2,
.fr-public-site .book-flow-refresh .book-summary h2 {
    color: var(--flow-text) !important;
    letter-spacing: -.025em;
    font-weight: 760;
    line-height: 1.16;
}
.fr-public-site .book-flow-refresh .book-section > .book-section-head > div > p {
    color: var(--flow-muted);
    font-size: 15px;
    line-height: 1.5;
}
.fr-public-site .book-flow-refresh .book-section-kicker {
    color: var(--flow-green) !important;
}
.fr-public-site .book-flow-refresh .book-callback-help > summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 8px;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #edf6f0;
    color: var(--flow-green);
    font-size: 14px;
    font-weight: 650;
}
.fr-public-site .book-flow-refresh .book-callback-help > summary::after {
    content: "+";
    margin-left: auto;
    font-size: 20px;
    line-height: 1;
}
.fr-public-site .book-flow-refresh .book-callback-help > summary::-webkit-details-marker { display: none; }
.fr-public-site .book-flow-refresh .book-callback-help[open] > summary::after { content: "−"; }

.fr-public-site .book-flow-refresh .book-section .book-field > :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
    min-width: 0;
    min-height: 46px;
    border-radius: 10px;
    font-size: 16px;
    color: var(--flow-text);
}
.fr-public-site .book-flow-refresh .book-section :is(button,a,input,select,textarea):focus-visible,
.fr-public-site .book-flow-refresh .book-sticky-stepbar button:focus-visible {
    outline: 3px solid #26835e;
    outline-offset: 2px;
}
.fr-public-site .book-flow-refresh .book-popular-suburb {
    min-height: 44px;
    border-radius: 11px;
    color: var(--flow-deep);
    font-weight: 700;
}
.fr-public-site .book-flow-refresh :is(.book-popular-suburb.is-selected,.book-instructor-card.is-selected),
.fr-public-site .book-flow-refresh .book-service-card.is-selected {
    background: #edf8f0 !important;
    border-color: #77b193 !important;
    box-shadow: inset 0 0 0 1px #77b193 !important;
}
.fr-public-site .book-flow-refresh .book-section .book-button:not(:disabled):not(.is-processing),
.fr-public-site .book-flow-refresh .book-sticky-stepbar .book-button:not(:disabled):not(.is-processing) {
    color: white !important;
    background: var(--flow-orange) !important;
    border-color: var(--flow-orange) !important;
    box-shadow: none !important;
}
.fr-public-site .book-flow-refresh :is(.book-instructor-card,.book-service-card,.book-inline-scheduler,.book-basket,.book-checkout-panel,.book-consent-card,.book-mobile-review) {
    border-radius: 14px;
}
.fr-public-site .book-flow-refresh .book-inline-scheduler {
    border-color: #aacbb9 !important;
    box-shadow: none;
}
.fr-public-site .book-flow-refresh :is(.book-total,.book-basket-total,.book-mobile-review) {
    background: #eef8f1 !important;
    border-color: #bfdeca !important;
}
.fr-public-site .book-flow-refresh :is(.book-total,.book-basket-total,.book-mobile-review,.book-payment-total-bar) strong {
    color: var(--flow-green) !important;
    font-variant-numeric: tabular-nums;
}
.fr-public-site .book-flow-refresh .book-section[data-step-section="payment"] .book-payment-option.is-selected {
    border-color: #2b8a61 !important;
    background: #edf8f0 !important;
    box-shadow: 0 0 0 2px #d5ecdc !important;
}

@media (max-width:767px) {
    .fr-public-site .book-flow-intro .book-wrap,
    .fr-public-site .book-flow-refresh .book-wrap {
        width: min(100% - 24px, 620px);
    }
    .fr-public-site .book-flow-intro .book-hero-content { padding: 21px 0 18px; }
    .fr-public-site .book-flow-intro .book-eyebrow { margin-bottom: 7px; }
    .fr-public-site .book-page.book-flow-refresh {
        padding: 12px 0 calc(88px + env(safe-area-inset-bottom));
    }
    .fr-public-site .book-flow-refresh .book-main:not(.book-main-result) {
        overflow: visible;
        border: 0;
        padding: 0;
        background: transparent !important;
        box-shadow: none;
    }
    .fr-public-site .book-flow-refresh .book-stepper {
        position: static;
        pointer-events: none;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0,1fr));
        gap: 3px;
        padding: 4px;
        margin: 0 0 10px;
        border: 1px solid var(--flow-line);
        border-radius: 13px;
        background: #fff;
    }
    .fr-public-site .book-flow-refresh .book-step {
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 3px;
        min-height: 46px;
        padding: 4px 1px;
        text-align: center;
        font-size: clamp(9px,2.8vw,11px);
        overflow-wrap: anywhere;
    }
    .fr-public-site .book-flow-refresh .book-step > span {
        width: 19px;
        height: 19px;
        font-size: 10px;
    }

    /* Keep the lesson controls readable and unobstructed on narrow screens. */
    .fr-public-site .book-flow-refresh .book-inline-scheduler .book-time-row {
        grid-template-columns: minmax(0,1fr);
        gap: 9px;
    }
    .fr-public-site .book-flow-refresh .book-inline-scheduler .book-field {
        min-width: 0;
    }
    .fr-public-site .book-flow-refresh .book-inline-scheduler .book-field input:not([type="hidden"]) {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 44px;
        font-size: 16px;
    }
    .fr-public-site .book-flow-refresh .book-inline-scheduler .book-slot-list:not([hidden]) {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        align-items: stretch;
        max-height: 224px;
        margin-bottom: 10px;
    }
    .fr-public-site .book-flow-refresh .book-inline-scheduler .book-slot-list .book-slot {
        width: 100%;
        min-height: 40px;
        padding-inline: 4px;
        white-space: normal;
        line-height: 1.2;
    }
    .fr-public-site:has(.book-flow-refresh .book-section[data-step-section="service"]:not([hidden]) .book-inline-scheduler-mount > .book-inline-scheduler) #lessonCartOpen {
        display: none;
    }

    .fr-public-site .book-flow-refresh .book-callback-help { margin: 0 0 9px; }
    .fr-public-site .book-flow-refresh .book-section {
        border: 1px solid var(--flow-line) !important;
        padding: clamp(12px,4vw,19px);
        background: #fff !important;
        box-shadow: 0 8px 24px #183b2d0d;
    }
    .fr-public-site .book-flow-refresh .book-section > .book-section-head {
        padding: 0;
        margin-bottom: 14px;
        background: transparent !important;
        border: 0;
        box-shadow: none;
    }
    .fr-public-site .book-flow-refresh .book-section > .book-section-head h2 { font-size: clamp(23px,6vw,30px); }
    .fr-public-site .book-flow-refresh .book-section > .book-section-head > div > p { font-size: 14px; }
    .fr-public-site .book-flow-refresh .book-section-kicker { font-size: 11px; }
    .fr-public-site .book-flow-refresh .book-mobile-hint {
        margin-top: 9px;
        color: var(--flow-muted);
        font-size: 12px;
        font-weight: 600;
        text-align: start;
    }
    .fr-public-site .book-flow-refresh .book-sticky-stepbar {
        grid-template-columns: auto minmax(0,1fr) minmax(110px,42%);
        gap: 7px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        border-top-color: var(--flow-line);
        background: rgba(255,255,255,.98);
        box-shadow: 0 -5px 24px #173b2c1b;
        backdrop-filter: none;
    }
    .fr-public-site .book-flow-refresh .book-sticky-stepbar:has(.book-sticky-back[hidden]) {
        grid-template-columns: minmax(0,1fr) minmax(110px,42%);
    }
    .fr-public-site .book-flow-refresh .book-sticky-back { width: 44px; height: 44px; }
    .fr-public-site .book-flow-refresh .book-sticky-copy span {
        color: var(--flow-green);
        font-size: 10px;
        font-weight: 750;
    }
    .fr-public-site .book-flow-refresh .book-sticky-copy strong {
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.22;
    }
    .fr-public-site .book-flow-refresh .book-sticky-primary {
        width: 100%;
        max-width: none;
        min-height: 44px;
        white-space: normal;
        padding: 7px 5px;
        line-height: 1.15;
    }
    .fr-public-site .book-flow-refresh .book-sticky-primary:disabled {
        color: #57645b !important;
        background: #e8eeea !important;
        border-color: #d5e2d9 !important;
        box-shadow: none !important;
    }
    .fr-public-site .book-flow-refresh .book-section[data-step-section="payment"] .book-checkout-panel {
        padding: 10px;
        box-shadow: none;
    }
    .fr-public-site .book-flow-refresh .book-section[data-step-section="payment"] .book-payment-option {
        min-height: 85px;
        padding: 9px 7px;
        border-radius: 12px;
    }
    .fr-public-site .book-flow-refresh .book-section[data-step-section="payment"] .book-payment-brand {
        max-width: 100%;
        height: 44px;
        font-size: 30px;
    }
}
