/* Customer-only styles. Keep the existing Tailwind setup and shared layout. */
.fd-customer {
    --fd-amber: #ffb800;
    --fd-amber-hover: #e9a600;
    --fd-cream: #fff6e1;
    --fd-ink: #171717;
    --fd-muted: #686868;
    --fd-border: #eaeaea;
    --fd-link: #171717;
    --fd-radius: 14px;
    color: var(--fd-ink);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    min-width: 0;
    width: 100%;
}

    .fd-customer *, .fd-customer *::before, .fd-customer *::after {
        box-sizing: border-box;
    }

    .fd-customer [hidden] {
        display: none !important;
    }

    .fd-customer h1, .fd-customer h2, .fd-customer h3, .fd-customer p {
        margin: 0;
    }

    .fd-customer h1, .fd-customer h2, .fd-customer h3 {
        color: var(--fd-ink);
        font-weight: 750;
        line-height: 1.3;
    }

    .fd-customer h1 {
        font-size: 24px;
    }

    .fd-customer h2 {
        font-size: 19px;
    }

    .fd-customer h3 {
        font-size: 15px;
    }

    .fd-customer a {
        color: inherit;
        text-decoration: none;
    }

    .fd-customer button, .fd-customer input, .fd-customer select, .fd-customer textarea {
        font: inherit;
    }

    .fd-customer button, .fd-customer a {
        -webkit-tap-highlight-color: transparent;
    }

    .fd-customer button {
        cursor: pointer;
    }

    .fd-customer :is(a, button, input, select, textarea, [tabindex]):focus-visible {
        outline: 3px solid #171717;
        outline-offset: 4px;
    }

    .fd-customer .fd-page {
        width: min(100%, 1160px);
        margin-inline: auto;
        padding: 24px 20px calc(100px + env(safe-area-inset-bottom, 0px));
    }

    .fd-customer .fd-section {
        margin-top: 30px;
        scroll-margin-top: 90px;
    }

    .fd-customer .fd-section-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 14px;
    }

        .fd-customer .fd-section-heading h2 {
            font-size: 17px;
        }

    .fd-customer .fd-section-intro {
        color: var(--fd-muted);
        margin: -6px 0 16px;
        font-size: 13px;
    }

    .fd-customer .fd-small {
        font-size: 12px;
    }

    .fd-customer .fd-muted {
        color: var(--fd-muted);
    }

    .fd-customer .fd-text-link {
        color: var(--fd-link);
        font-size: 13px;
        font-weight: 650;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 36px;
    }

        .fd-customer .fd-text-link:hover {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

    .fd-customer .fd-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 44px;
        padding: 10px 18px;
        border: 1px solid transparent;
        border-radius: 9px;
        background: var(--fd-amber);
        color: #171717;
        font-size: 13px;
        font-weight: 750;
        line-height: 1.3;
        text-align: center;
        transition: background .15s, transform .15s, box-shadow .15s;
    }

        .fd-customer .fd-button:hover {
            background: var(--fd-amber-hover);
            box-shadow: 0 3px 12px #17171715;
        }

        .fd-customer .fd-button:active {
            transform: translateY(1px);
        }

        .fd-customer .fd-button:disabled, .fd-customer .fd-button[aria-disabled="true"] {
            opacity: .5;
            cursor: not-allowed;
        }

    .fd-customer .fd-button-dark {
        background: #171717;
        color: #fff;
    }

        .fd-customer .fd-button-dark:hover {
            background: #333;
        }

    .fd-customer .fd-button-white {
        background: #fff;
        color: #171717;
    }

        .fd-customer .fd-button-white:hover {
            background: #fff6e1;
        }

    .fd-customer .fd-button-outline {
        border-color: var(--fd-amber);
        color: var(--fd-link);
        background: #fff;
    }

        .fd-customer .fd-button-outline:hover {
            background: var(--fd-cream);
        }

    .fd-customer .fd-button-pill {
        border-radius: 99px;
        min-height: 38px;
        padding: 8px 15px;
        font-size: 12px;
        white-space: nowrap;
    }

    .fd-customer .fd-icon-button, .fd-customer .fd-back {
        width: 44px;
        height: 44px;
        border: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        border-radius: 50%;
        color: var(--fd-link);
        background: var(--fd-cream);
    }

    .fd-customer .fd-back {
        background: transparent;
        color: var(--fd-ink);
        font-size: 19px;
    }

    .fd-customer .fd-greeting {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin: 0 0 24px;
    }

        .fd-customer .fd-greeting h1 {
            font-size: 19px;
        }

        .fd-customer .fd-greeting p {
            color: var(--fd-muted);
            font-size: 12px;
            margin-top: 4px;
        }

            .fd-customer .fd-greeting p i {
                color: #ffb800;
                margin-right: 4px;
            }

    .fd-customer .fd-carousel {
        position: relative;
        overflow: hidden;
        border-radius: 18px;
        background: var(--fd-amber);
    }

    .fd-customer .fd-promo {
        position: relative;
        display: grid;
        grid-template-columns: 1fr .55fr;
        align-items: center;
        min-height: 275px;
        padding: 30px 32px 44px;
        background: linear-gradient(115deg, #ffcf85, #ffbd20 58%, #ffb800);
        isolation: isolate;
    }

        .fd-customer .fd-promo::after {
            content: "";
            position: absolute;
            z-index: -1;
            right: -90px;
            bottom: -170px;
            width: 410px;
            height: 410px;
            border: 1px solid #ffffff55;
            border-radius: 50%;
            box-shadow: 0 0 0 14px #ffffff18, 0 0 0 28px #ffffff18, 0 0 0 42px #ffffff18, 0 0 0 56px #ffffff18;
        }

    .fd-customer .fd-promo-peach {
        background: linear-gradient(115deg, #ffe8bc, #ffc085 75%);
    }

    .fd-customer .fd-eyebrow {
        font-size: 10px;
        font-weight: 750;
        letter-spacing: .12em;
        line-height: 1.6;
    }

    .fd-customer .fd-promo h2 {
        font-size: clamp(25px, 3.8vw, 40px);
        letter-spacing: -.04em;
        margin: 9px 0 12px;
    }

    .fd-customer .fd-promo-copy > p:not(.fd-eyebrow) {
        max-width: 440px;
        font-size: 13px;
        color: #171717;
        margin-bottom: 18px;
    }

    .fd-customer .fd-promo-art {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        color: #171717;
        text-align: center;
        font-size: 16px;
        font-weight: 650;
        transform: rotate(-8deg);
    }

        .fd-customer .fd-promo-art > i {
            font-size: 68px;
        }

    .fd-customer .fd-carousel-dots {
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
    }

        .fd-customer .fd-carousel-dots button {
            width: 36px;
            height: 32px;
            background: transparent;
            border: 0;
            display: grid;
            place-items: center;
        }

            .fd-customer .fd-carousel-dots button::after {
                content: "";
                display: block;
                width: 6px;
                height: 6px;
                border-radius: 20px;
                background: #17171755;
            }

            .fd-customer .fd-carousel-dots button[aria-pressed="true"]::after {
                width: 20px;
                background: #171717;
            }

    .fd-customer .fd-service-strip {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 4px 3px 12px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: #dfc995 transparent;
    }

    .fd-customer .fd-service-tile {
        flex: 0 0 102px;
        background: var(--fd-cream);
        border: 1px solid transparent;
        border-radius: 12px;
        padding: 14px 8px 11px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        scroll-snap-align: start;
    }

        .fd-customer .fd-service-tile:hover {
            border-color: var(--fd-amber);
            background: #ffedbf;
        }

    .fd-customer .fd-service-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--fd-cream);
        color: #171717;
        font-size: 21px;
        flex-shrink: 0;
    }

    .fd-customer .fd-service-tile .fd-service-icon {
        height: 28px;
        background: transparent;
    }

    .fd-customer .fd-service-name {
        font-size: 12px;
        font-weight: 650;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .fd-customer .fd-service-price {
        margin-top: auto;
        font-size: 10px;
        color: var(--fd-link);
    }

    .fd-customer .fd-home-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 32px;
    }

        .fd-customer .fd-home-grid > *, .fd-customer .fd-business-copy {
            min-width: 0;
        }

    .fd-customer .fd-business-list {
        display: grid;
        gap: 12px;
    }

    .fd-customer .fd-business-card {
        display: flex;
        align-items: center;
        gap: 14px;
        background: #fff;
        padding: 12px;
        border: 1px solid #f1f1f1;
        border-radius: var(--fd-radius);
        box-shadow: 0 7px 22px #1717170d;
    }

    .fd-customer .fd-photo {
        position: relative;
        display: grid;
        place-items: center;
        overflow: hidden;
        flex: 0 0 88px;
        width: 88px;
        height: 96px;
        background: #fff0cb;
        border-radius: 10px;
        color: #171717;
        font-size: 24px;
    }

        .fd-customer .fd-photo img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #fff0cb;
        }

    .fd-customer .fd-business-copy {
        flex: 1;
    }

        .fd-customer .fd-business-copy h2, .fd-customer .fd-business-copy h3 {
            font-size: 15px;
            overflow-wrap: anywhere;
        }

            .fd-customer .fd-business-copy h2 a:hover, .fd-customer .fd-business-copy h3 a:hover {
                text-decoration: underline;
            }

    .fd-customer .fd-location {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-size: 12px;
        color: var(--fd-muted);
        margin: 5px 0;
    }

        .fd-customer .fd-location i {
            color: #ffb800;
            flex: 0 0 auto;
        }

        .fd-customer .fd-location span {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            overflow-wrap: anywhere;
        }

    .fd-customer .fd-card-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin-top: 7px;
        flex-wrap: wrap;
    }

    .fd-customer .fd-price {
        font-size: 13px;
        font-weight: 750;
    }

        .fd-customer .fd-price small {
            font-size: 11px;
            color: var(--fd-muted);
            font-weight: 400;
        }

    .fd-customer .fd-home-aside {
        padding-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .fd-customer .fd-panel {
        padding: 24px;
        border: 1px solid var(--fd-border);
        border-radius: 16px;
        background: #fff;
    }

        .fd-customer .fd-panel > h2, .fd-customer .fd-panel > h3 {
            margin-bottom: 10px;
        }

        .fd-customer .fd-panel > .fd-service-icon {
            margin-bottom: 15px;
        }

        .fd-customer .fd-panel p {
            color: var(--fd-muted);
            line-height: 1.8;
        }

    .fd-customer .fd-how {
        background: #fffcf5;
    }

        .fd-customer .fd-how h2 {
            margin-top: 8px;
        }

    .fd-customer .fd-steps {
        list-style: none;
        padding: 0;
        margin: 24px 0 14px;
        display: grid;
        gap: 20px;
    }

        .fd-customer .fd-steps li {
            display: flex;
            gap: 12px;
        }

            .fd-customer .fd-steps li > span {
                flex: 0 0 30px;
                width: 30px;
                height: 30px;
                display: grid;
                place-items: center;
                background: #ffe9b0;
                border-radius: 50%;
                font-size: 12px;
                font-weight: 700;
            }

        .fd-customer .fd-steps h3 {
            font-size: 13px;
            margin-bottom: 3px;
        }

        .fd-customer .fd-steps p {
            font-size: 12px;
        }

    .fd-customer .fd-join {
        padding: 26px;
        background: #1c1c1c;
        border-radius: 16px;
        color: #fff;
    }

        .fd-customer .fd-join h2 {
            color: #fff;
            font-size: 24px;
            margin: 14px 0 12px;
            letter-spacing: -.03em;
        }

        .fd-customer .fd-join p {
            color: #c6c6c6;
            font-size: 13px;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .fd-customer .fd-join .fd-button {
            width: 100%;
        }

    .fd-customer .fd-barber-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .fd-customer .fd-barber-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 8px;
        border: 1px solid var(--fd-border);
        border-radius: 12px;
        gap: 5px;
        overflow-wrap: anywhere;
    }

        .fd-customer .fd-barber-card:hover {
            border-color: var(--fd-amber);
        }

    .fd-customer .fd-avatar {
        width: 52px;
        height: 52px;
        flex-basis: auto;
        border-radius: 50%;
        margin-bottom: 5px;
    }

    .fd-customer .fd-barber-card strong {
        font-size: 12px;
    }

    .fd-customer .fd-barber-card > span:not(.fd-photo), .fd-customer .fd-barber-card small {
        font-size: 10px;
        color: var(--fd-muted);
    }

        .fd-customer .fd-barber-card small i {
            color: #171717;
        }

    .fd-customer .fd-empty {
        text-align: center;
        background: #fafafa;
        border: 1px dashed #dedede;
        border-radius: 14px;
        padding: 35px 20px;
    }

        .fd-customer .fd-empty > i {
            font-size: 24px;
            color: #171717;
            margin-bottom: 14px;
        }

        .fd-customer .fd-empty p {
            color: var(--fd-muted);
            margin: 8px auto 0;
            max-width: 440px;
        }

        .fd-customer .fd-empty .fd-button {
            margin-top: 18px;
        }

    .fd-customer .fd-page-heading {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        align-items: center;
        gap: 10px;
        margin-bottom: 26px;
    }

        .fd-customer .fd-page-heading h1 {
            font-size: 22px;
            text-align: center;
            overflow-wrap: anywhere;
        }

    .fd-customer .fd-search-form {
        display: flex;
        align-items: center;
        border: 1px solid #bababa;
        border-radius: 11px;
        padding: 4px 8px 4px 14px;
        gap: 9px;
        background: #fff;
    }

        .fd-customer .fd-search-form > input[type="search"] {
            min-width: 0;
            flex: 1;
            border: 0;
            background: transparent;
            padding: 10px 0;
            font-size: 13px;
        }

    .fd-customer .fd-search-submit {
        color: var(--fd-link);
        background: none;
        border: 0;
        font-size: 12px;
        font-weight: 650;
        min-height: 40px;
        padding: 5px;
    }

    .fd-customer .fd-filter-toggle {
        position: relative;
        display: grid;
        place-items: center;
        width: 43px;
        height: 32px;
        border-left: 1px solid #ddd;
        flex-shrink: 0;
    }

    .fd-customer .fd-filter-dot {
        width: 7px;
        height: 7px;
        background: #ffb800;
        border-radius: 50%;
        position: absolute;
        top: 2px;
        right: 5px;
    }

    .fd-customer .fd-filter-panel {
        background: #fff;
        border: 1px solid var(--fd-border);
        border-radius: 16px;
        padding: 24px;
        margin-top: 16px;
    }

    .fd-customer .fd-filter-form {
        display: grid;
        gap: 24px;
    }

    .fd-customer fieldset {
        padding: 0;
        border: 0;
        margin: 0;
        min-width: 0;
    }

    .fd-customer legend {
        font-size: 14px;
        font-weight: 750;
        padding: 0;
        margin-bottom: 8px;
    }

        .fd-customer legend i {
            color: var(--fd-link);
            margin-right: 5px;
        }

    .fd-customer .fd-form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .fd-customer .fd-field {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

        .fd-customer .fd-field label {
            font-size: 12px;
            font-weight: 650;
        }

        .fd-customer .fd-field input, .fd-customer .fd-field select, .fd-customer .fd-field textarea {
            min-width: 0;
            width: 100%;
            border: 1px solid #d4d4d4;
            border-radius: 9px;
            background: #fff;
            padding: 12px;
            min-height: 46px;
            color: #171717;
        }

        .fd-customer .fd-field textarea {
            resize: vertical;
        }

    .fd-customer .fd-filter-form .fd-form-grid {
        margin-top: 14px;
    }

    .fd-customer .fd-sort-options label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        min-height: 38px;
    }

    .fd-customer .fd-sort-options input {
        accent-color: #171717;
        width: 17px;
        height: 17px;
    }

    .fd-customer .fd-filter-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

        .fd-customer .fd-filter-actions .fd-button {
            flex: 1;
        }

    .fd-customer .fd-sheet-handle {
        display: none;
    }

    .fd-customer .fd-filter-dialog {
        color: var(--fd-ink);
        width: min(480px, calc(100% - 32px));
        max-width: none;
        max-height: 88dvh;
        overflow-y: auto;
        margin: auto;
        border: 0;
        border-radius: 22px;
        padding: 0;
        overscroll-behavior: contain;
    }

        .fd-customer .fd-filter-dialog::backdrop {
            background: #0007;
            backdrop-filter: blur(2px);
        }

        .fd-customer .fd-filter-dialog .fd-filter-panel {
            margin: 0;
            border: 0;
            border-radius: inherit;
        }

        .fd-customer .fd-filter-dialog .fd-sheet-handle {
            display: block;
            width: 44px;
            height: 4px;
            background: #dedede;
            border-radius: 4px;
            margin: -7px auto 22px;
        }

    .fd-customer .fd-results-summary {
        margin-top: 22px;
        color: var(--fd-muted);
        font-size: 12px;
    }

    .fd-customer .fd-results-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .fd-customer .fd-result-card {
        align-items: flex-start;
    }

        .fd-customer .fd-result-card .fd-photo {
            height: 108px;
        }

    .fd-customer .fd-validation {
        color: #a02222;
        font-size: 13px;
    }

        .fd-customer .fd-validation ul {
            margin: 0;
            padding-left: 20px;
        }

    .fd-customer .validation-summary-valid, .fd-customer .field-validation-valid {
        display: none;
    }

    .fd-customer .input-validation-error {
        border-color: #a02222;
    }

    .fd-customer .fd-story-hero {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        overflow: hidden;
        border-radius: 20px;
        background: #fffbf2;
        border: 1px solid #f4ecd9;
    }

    .fd-customer .fd-story-copy {
        padding: 38px;
    }

        .fd-customer .fd-story-copy h2 {
            font-size: clamp(28px, 3.6vw, 42px);
            letter-spacing: -.045em;
            margin: 12px 0 18px;
        }

        .fd-customer .fd-story-copy em {
            font-style: normal;
            color: #171717;
        }

        .fd-customer .fd-story-copy > p:not(.fd-eyebrow) {
            color: var(--fd-muted);
            line-height: 1.9;
            margin-bottom: 16px;
        }

        .fd-customer .fd-story-copy .fd-button {
            margin-top: 8px;
        }

    .fd-customer .fd-story-image {
        position: relative;
        min-height: 300px;
        background: #ffe3a0;
        display: grid;
        place-items: center;
        overflow: hidden;
    }

        .fd-customer .fd-story-image > i {
            font-size: 70px;
            color: #171717;
        }

        .fd-customer .fd-story-image img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .fd-customer .fd-info-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .fd-customer .fd-step-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: var(--fd-cream);
        color: var(--fd-link);
        font-size: 17px;
        font-weight: 750;
        width: 44px;
        height: 44px;
        margin-bottom: 18px;
    }

    .fd-customer .fd-two-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .fd-customer .fd-check-list {
        color: var(--fd-muted);
        margin: 16px 0 0;
        padding-left: 20px;
        display: grid;
        gap: 12px;
    }

        .fd-customer .fd-check-list li::marker {
            color: #171717;
        }

    .fd-customer .fd-cta {
        background: linear-gradient(120deg, #ffd98b, #ffb800);
        padding: 32px;
        border-radius: 18px;
        display: flex;
        gap: 24px;
        align-items: center;
        justify-content: space-between;
    }

        .fd-customer .fd-cta h2 {
            margin-top: 8px;
        }

    .fd-customer .fd-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        flex-shrink: 0;
    }

    .fd-customer .fd-contact-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        gap: 24px;
    }

    .fd-customer .fd-contact-form {
        display: grid;
        gap: 20px;
        margin-top: 22px;
    }

        .fd-customer .fd-contact-form > .fd-button {
            justify-self: start;
        }

    .fd-customer .fd-contact-aside {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

        .fd-customer .fd-contact-aside h3 {
            margin-top: 24px;
        }

        .fd-customer .fd-contact-aside a {
            overflow-wrap: anywhere;
        }

    .fd-customer .fd-sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        white-space: nowrap;
        border: 0;
    }

@media (max-width: 900px) {
    .fd-customer .fd-home-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .fd-customer .fd-home-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .fd-customer .fd-results-grid {
        grid-template-columns: 1fr;
    }

    .fd-customer .fd-story-copy {
        padding: 26px;
    }

    .fd-customer .fd-contact-grid {
        grid-template-columns: 1fr;
    }

    .fd-customer .fd-contact-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .fd-customer .fd-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .fd-customer .fd-page {
        padding: 20px 14px calc(90px + env(safe-area-inset-bottom, 0px));
    }

    .fd-customer .fd-greeting {
        margin-bottom: 20px;
    }

        .fd-customer .fd-greeting h1 {
            font-size: 16px;
        }

    .fd-customer .fd-section {
        margin-top: 26px;
    }

    .fd-customer .fd-section-heading {
        gap: 8px;
    }

        .fd-customer .fd-section-heading h2 {
            font-size: 15px;
        }

    .fd-customer .fd-text-link {
        font-size: 12px;
    }

    .fd-customer .fd-promo {
        padding: 22px 20px 38px;
        min-height: 250px;
        grid-template-columns: 1fr;
    }

    .fd-customer .fd-promo-copy {
        max-width: 92%;
    }

    .fd-customer .fd-promo h2 {
        font-size: 28px;
    }

    .fd-customer .fd-promo-copy > p:not(.fd-eyebrow) {
        font-size: 12px;
        max-width: 280px;
    }

    .fd-customer .fd-promo-art {
        display: none;
    }

    .fd-customer .fd-service-strip {
        gap: 9px;
        margin-right: -14px;
        padding-right: 14px;
    }

    .fd-customer .fd-service-tile {
        flex-basis: 91px;
        padding: 12px 6px;
    }

    .fd-customer .fd-service-name {
        font-size: 11px;
    }

    .fd-customer .fd-business-card {
        gap: 11px;
        padding: 10px;
        border-radius: 12px;
    }

    .fd-customer .fd-photo {
        flex-basis: 74px;
        width: 74px;
        height: 88px;
    }

    .fd-customer .fd-business-copy h2, .fd-customer .fd-business-copy h3 {
        font-size: 13px;
    }

    .fd-customer .fd-business-copy .fd-small, .fd-customer .fd-location {
        font-size: 11px;
    }

    .fd-customer .fd-button-pill {
        min-height: 40px;
        padding-inline: 12px;
        font-size: 11px;
    }

    .fd-customer .fd-price {
        font-size: 12px;
    }

    .fd-customer .fd-home-aside, .fd-customer .fd-info-grid, .fd-customer .fd-two-column, .fd-customer .fd-contact-aside, .fd-customer .fd-story-hero {
        grid-template-columns: 1fr;
    }

    .fd-customer .fd-avatar {
        width: 48px;
        height: 48px;
        flex-basis: auto;
    }

    .fd-customer .fd-page-heading {
        margin-bottom: 18px;
    }

        .fd-customer .fd-page-heading h1 {
            font-size: 18px;
        }

    .fd-customer .fd-filter-dialog {
        width: 100%;
        max-height: 92vh;
        max-height: 92dvh;
        margin: auto 0 0;
        border-radius: 26px 26px 0 0;
    }

        .fd-customer .fd-filter-dialog .fd-filter-panel {
            padding: 24px 20px calc(22px + env(safe-area-inset-bottom, 0px));
        }

        .fd-customer .fd-filter-dialog .fd-filter-actions {
            position: sticky;
            bottom: 0;
            background: #fff;
            padding-block: 12px 4px;
        }

    .fd-customer .fd-panel {
        padding: 22px;
    }

    .fd-customer .fd-story-image {
        min-height: 210px;
    }

    .fd-customer .fd-story-copy {
        padding: 26px 22px;
    }

        .fd-customer .fd-story-copy h2 {
            font-size: 30px;
        }

    .fd-customer .fd-contact-form .fd-form-grid {
        grid-template-columns: 1fr;
    }

    .fd-customer .fd-cta {
        padding: 25px;
    }
}

@media (max-width: 360px) {
    .fd-customer .fd-barber-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fd-customer .fd-search-form {
        gap: 5px;
        padding-left: 10px;
    }

        .fd-customer .fd-search-form > input[type="search"] {
            font-size: 12px;
        }

    .fd-customer .fd-photo {
        flex-basis: 64px;
        width: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-customer *, .fd-customer *::before, .fd-customer *::after {
        scroll-behavior: auto;
        transition: none;
        animation: none;
    }
}

/* Real appointment cards remain horizontal. */
.fd-customer .fd-appointment-grid, .fd-customer .fd-home-business-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fd-customer .fd-appointment-card {
    padding: 16px;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px #17171709;
}

.fd-customer .fd-appointment-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 12px;
    padding-bottom: 13px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eee;
}

    .fd-customer .fd-appointment-top > div {
        display: flex;
        align-items: center;
        gap: 7px;
    }

.fd-customer .fd-booking-status {
    display: inline-flex;
    border-radius: 99px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 650;
}

.fd-customer .fd-status-confirmed {
    background: #eaf7ef;
    color: #21603b;
}

.fd-customer .fd-status-pending {
    background: #fff2c8;
    color: #171717;
}

.fd-customer .fd-appointment-body {
    display: flex;
    gap: 13px;
    align-items: center;
}

.fd-customer .fd-appointment-service {
    color: #111;
    font-weight: 650;
    font-size: 12px;
    margin: 8px 0 3px;
}

.fd-customer .fd-appointment-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.fd-customer .fd-appointment-empty {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 23px;
    border-radius: 16px;
    border: 1px solid #ececec;
    background: linear-gradient(110deg, #fffaf0, #fff);
    box-shadow: 0 5px 16px #17171706;
}

    .fd-customer .fd-appointment-empty > div {
        flex: 1;
        min-width: 0;
    }

    .fd-customer .fd-appointment-empty p {
        font-size: 13px;
        color: #666;
        margin-top: 5px;
    }

    .fd-customer .fd-appointment-empty .fd-button {
        flex-shrink: 0;
    }

/* Photo-led homepage: broad desktop rows and compact, swipeable mobile rows. */
.fd-customer .fd-page.fd-home-v3 {
    width: min(100%, 1680px);
    padding: 20px 40px 32px;
}

.fd-customer .fd-welcome-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

    .fd-customer .fd-welcome-line a {
        font-size: 12px;
    }

.fd-customer .fd-discovery-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 35px;
    background: #ffbf18;
    border-radius: 20px;
    padding: 25px 30px;
    overflow: hidden;
}

.fd-customer .fd-discovery-copy {
    max-width: 760px;
    align-self: center;
}

.fd-customer .fd-discovery-hero h1 {
    font-size: clamp(25px, 2.6vw, 36px);
    line-height: 1.2;
    letter-spacing: -.04em;
    margin: 5px 0;
}

.fd-customer .fd-discovery-description {
    font-size: 13px;
    color: #222;
    margin: 7px 0 15px;
}

.fd-customer .fd-discovery-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 6px 5px 16px;
    background: #fff;
    border-radius: 99px;
    box-shadow: 0 5px 16px #00000012;
}

    .fd-customer .fd-discovery-search > i {
        color: #111;
        font-size: 18px;
    }

    .fd-customer .fd-discovery-search input[type="search"] {
        border: 0;
        background: transparent;
        min-width: 0;
        width: 100%;
        flex: 1;
        padding: 10px 0;
        font-size: 15px;
        color: #111;
    }

    .fd-customer .fd-discovery-search:focus-within {
        outline: 2px solid #111;
        outline-offset: 3px;
    }

    .fd-customer .fd-discovery-search input:focus-visible {
        outline: none;
    }

    .fd-customer .fd-discovery-search button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #171717;
        color: #fff;
        border: 0;
        border-radius: 99px;
        min-height: 44px;
        padding: 10px 19px;
        font-weight: 650;
        font-size: 13px;
        box-shadow: 0 3px 8px #0002;
    }

        .fd-customer .fd-discovery-search button:hover {
            background: #333;
        }

.fd-customer .fd-discovery-art {
    position: relative;
    min-height: 174px;
    overflow: hidden;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #171717;
    color: #ffbf18;
    font-size: 55px;
}

    .fd-customer .fd-discovery-art img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.fd-customer .fd-category-row {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 17px 2px 14px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.fd-customer .fd-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #eee;
    border-radius: 99px;
    background: #fffaf0;
    color: #111;
    font-size: 12px;
    font-weight: 650;
    box-shadow: 0 3px 7px #00000008;
}

    .fd-customer .fd-category > i {
        color: #ffb800;
        font-size: 18px;
    }

    .fd-customer .fd-category.is-selected {
        background: #ffefbc;
        border-color: #ffb800;
        box-shadow: 0 3px 9px #00000010;
    }

    .fd-customer .fd-category:hover {
        border-color: #ffb800;
    }

.fd-customer .fd-home-v3 .fd-section {
    margin-top: 24px;
}

.fd-customer .fd-home-v3 .fd-section-heading {
    margin-bottom: 15px;
}

    .fd-customer .fd-home-v3 .fd-section-heading h2 {
        font-size: 21px;
        letter-spacing: -.025em;
    }

.fd-customer .fd-discovery-sections {
    scroll-margin-top: 85px;
}

.fd-customer .fd-photo-section {
    scroll-margin-top: 85px;
}

.fd-customer .fd-row-caption {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.fd-customer .fd-rail-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

    .fd-customer .fd-rail-controls button {
        width: 33px;
        height: 33px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #f3f3f3;
        border: 1px solid #eee;
        color: #111;
        font-size: 12px;
    }

        .fd-customer .fd-rail-controls button:disabled {
            opacity: .3;
            cursor: default;
        }

.fd-customer .fd-photo-rail {
    --fd-columns: 6;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 5 * 18px) / 6);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
    padding: 3px 2px 14px;
}

.fd-customer .fd-discovery-card {
    min-width: 0;
    scroll-snap-align: start;
}

.fd-customer .fd-discovery-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 19px;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: 0 5px 15px #0000000c;
    isolation: isolate;
}

    .fd-customer .fd-discovery-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .2s;
    }

.fd-customer .fd-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #777;
    background: #f3f3f3;
    text-align: center;
    font-size: 12px;
}

    .fd-customer .fd-image-placeholder > i {
        font-size: 28px;
    }

.fd-customer .fd-photo-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 4px 9px;
    border-radius: 99px;
    background: #fffffff2;
    color: #171717;
    font-size: 10px;
    font-weight: 650;
    box-shadow: 0 2px 6px #0002;
}

.fd-customer .fd-discovery-details {
    padding: 10px 2px 0;
}

    .fd-customer .fd-discovery-details h3 {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

.fd-customer .fd-business-byline, .fd-customer .fd-card-location {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

    .fd-customer .fd-business-byline:hover, .fd-customer .fd-discovery-details h3 a:hover {
        text-decoration: underline;
    }

.fd-customer .fd-book-look {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    background: #ffbf18;
    color: #111;
    border-radius: 99px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 9px;
    box-shadow: 0 3px 8px #00000010;
}

    .fd-customer .fd-book-look:hover {
        background: #ffb800;
    }

.fd-customer .fd-active-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    font-size: 12px;
}

    .fd-customer .fd-active-search p {
        overflow-wrap: anywhere;
    }

    .fd-customer .fd-active-search a {
        flex-shrink: 0;
        text-decoration: underline;
        min-height: 36px;
        display: flex;
        align-items: center;
    }

.fd-customer .fd-booking-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 27px;
    padding: 12px 0;
    font-size: 12px;
    color: #666;
}

    .fd-customer .fd-booking-note a {
        color: #111;
        text-decoration: underline;
        font-weight: 650;
    }

.fd-customer .fd-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.fd-customer .fd-appointment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 1100px;
}

.fd-customer .fd-real-appointments .fd-photo {
    width: 82px;
    height: 84px;
    flex-basis: 82px;
}

.fd-customer .fd-real-appointments .fd-button {
    min-height: 40px;
    font-size: 12px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .fd-customer .fd-discovery-image:hover img {
        transform: scale(1.035);
    }
}

@media (max-width: 1350px) {
    .fd-customer .fd-photo-rail {
        grid-auto-columns: calc((100% - 4 * 18px) / 5);
    }
}

@media (max-width: 1100px) {
    .fd-customer .fd-photo-rail {
        grid-auto-columns: calc((100% - 3 * 18px) / 4);
    }

    .fd-customer .fd-discovery-hero {
        grid-template-columns: minmax(0, 1fr) 210px;
        gap: 22px;
    }

    .fd-customer .fd-page.fd-home-v3 {
        padding-inline: 26px;
    }
}

@media (max-width: 800px) {
    .fd-customer .fd-photo-rail {
        grid-auto-columns: calc((100% - 2 * 14px) / 3);
        gap: 14px;
    }

    .fd-customer .fd-discovery-art {
        display: none;
    }

    .fd-customer .fd-discovery-hero {
        display: block;
    }

    .fd-customer .fd-appointment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .fd-customer .fd-page.fd-home-v3 {
        padding: 8px 18px 22px;
    }

    .fd-customer .fd-discovery-hero {
        padding: 17px 15px;
        border-radius: 16px;
    }

        .fd-customer .fd-discovery-hero .fd-eyebrow, .fd-customer .fd-discovery-description {
            display: none;
        }

        .fd-customer .fd-discovery-hero h1 {
            font-size: 23px;
            margin: 0 0 12px;
        }

    .fd-customer .fd-discovery-search {
        gap: 8px;
        padding: 4px 5px 4px 12px;
    }

        .fd-customer .fd-discovery-search input[type="search"] {
            font-size: 16px;
            padding: 8px 0;
        }

        .fd-customer .fd-discovery-search button {
            min-width: 44px;
            width: 44px;
            height: 44px;
            padding: 0;
        }

            .fd-customer .fd-discovery-search button span {
                display: none;
            }

    .fd-customer .fd-category-row {
        padding-block: 13px 9px;
        margin-right: -18px;
        padding-right: 18px;
        gap: 8px;
    }

    .fd-customer .fd-category {
        padding: 8px 12px;
        font-size: 11px;
        min-height: 40px;
    }

        .fd-customer .fd-category i {
            font-size: 16px;
        }

    .fd-customer .fd-home-v3 .fd-section {
        margin-top: 16px;
    }

    .fd-customer .fd-home-v3 .fd-section-heading h2 {
        font-size: 17px;
    }

    .fd-customer .fd-home-v3 .fd-section-heading {
        margin-bottom: 10px;
    }

    .fd-customer .fd-row-caption {
        font-size: 11px;
    }

    .fd-customer .fd-photo-rail {
        grid-auto-columns: calc((100% - 24px) / 2.15);
        gap: 12px;
        margin-right: -18px;
        padding-right: 18px;
    }

    .fd-customer .fd-discovery-image {
        border-radius: 15px;
    }

    .fd-customer .fd-discovery-details h3 {
        font-size: 13px;
    }

    .fd-customer .fd-card-location, .fd-customer .fd-business-byline {
        font-size: 11px;
    }

    .fd-customer .fd-book-look {
        min-height: 40px;
        padding-inline: 10px;
        font-size: 10px;
        gap: 6px;
    }

    .fd-customer .fd-photo-badge {
        top: 8px;
        left: 8px;
        font-size: 9px;
        padding: 3px 7px;
    }

    .fd-customer .fd-rail-controls {
        gap: 5px;
    }

        .fd-customer .fd-rail-controls button {
            width: 30px;
            height: 30px;
        }

    .fd-customer .fd-booking-note {
        justify-content: flex-start;
        font-size: 11px;
    }

    .fd-customer .fd-appointment-card {
        padding: 12px;
    }

    .fd-customer .fd-appointment-actions {
        gap: 8px;
    }

        .fd-customer .fd-appointment-actions .fd-button {
            padding: 8px;
        }
}

/* Homepage alignment: consistent text slots and bottom-aligned actions. */
.fd-customer .fd-home-v3 .fd-discovery-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.fd-customer .fd-home-v3 .fd-discovery-image {
    flex-shrink: 0;
}

.fd-customer .fd-home-v3 .fd-discovery-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 5px;
    padding: 12px 2px 0;
}

    .fd-customer .fd-home-v3 .fd-discovery-details h3 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        overflow-wrap: anywhere;
        line-height: 1.4;
        height: 2.8em;
        min-height: 2.8em;
        margin: 0;
        color: #111;
    }

.fd-customer .fd-home-v3 .fd-business-byline,
.fd-customer .fd-home-v3 .fd-card-location {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 1.5em;
    min-height: 1.5em;
    margin: 0;
}

.fd-customer .fd-home-v3 .fd-book-look {
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    min-height: 44px;
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
}

.fd-customer .fd-home-v3 .fd-card-location {
    margin-bottom: 8px;
}

.fd-customer .fd-home-v3 .fd-image-placeholder span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.fd-customer .fd-barber-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 20px;
    align-items: stretch;
}

.fd-customer .fd-discover-footer {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.fd-customer .fd-discover-button {
    min-height: 48px;
    padding: 12px 28px;
    color: #111;
    box-shadow: 0 5px 14px rgb(0 0 0 / 12%);
}

@media (min-width: 1400px) {
    .fd-customer .fd-barber-preview-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fd-customer .fd-barber-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .fd-customer .fd-home-v3 .fd-book-look {
        min-height: 44px;
        font-size: 11px;
        padding: 9px 8px;
    }

    .fd-customer .fd-discover-button {
        width: 100%;
    }
}
