/* ==========================================================================
   Haven Claws — Client Layout, Home & Gallery Styles
   Breakpoints:
   xs: <= 400px
   sm: 401px - 600px
   md: 601px - 1023px
   lg: 1024px - 1279px
   xl: >= 1280px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Client Shell Header, Phone Tab Bar & Navigation
   -------------------------------------------------------------------------- */

/* Height of the fixed client header; sticky page bars (e.g. .book-header) sit below it. */
:root {
    --client-header-h: 64px;
    --client-tabbar-h: 72px;
    --card-pad: clamp(20px, 4vw, 28px);
    --hero-scrim: rgba(43, 34, 38, 0.72); /* always dark: it sits on a photo in both themes */
}

.client-shell-header {
    position: fixed;
    top: var(--test-banner-h, 0px);
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--client-header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    background: var(--glass-header-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--edge);
}

.client-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    text-decoration: none;
    color: inherit;
}

.client-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    flex-shrink: 0;
}

.client-brand-text {
    line-height: 1;
}

.client-brand-title {
    font-family: var(--font-script);
    font-size: 24px;
    color: var(--rose);
}

.client-brand-by {
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--antique-gold);
    margin-top: 2px;
    text-transform: uppercase;
}

.client-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-header-nav-desktop {
    display: none;
}

.client-nav-book-btn {
    height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
}

.client-nav-book-btn:hover {
    background: var(--deep-rose);
    color: var(--white);
}

.client-nav-link {
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--deep-rose);
    font-size: 15px;
    font-weight: 400;
    box-sizing: border-box;
    border-bottom: 2px solid transparent;
}

.client-nav-link:hover {
    color: var(--rose);
}

.client-nav-link.active,
.client-nav-link[aria-current="page"] {
    font-weight: 500;
    border-bottom-color: var(--gold);
}

.client-brand-link:focus-visible,
.client-nav-link:focus-visible,
.client-nav-book-btn:focus-visible,
.client-tab:focus-visible,
.client-footer-link:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
}

/* Phone bottom tab bar (xs and sm); hidden from md, where the header carries the navigation */
.client-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    height: calc(var(--client-tabbar-h) + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: stretch;
    padding: 0 8px calc(6px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: var(--glass-header-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid var(--edge);
}

.client-tab {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
}

.client-tab-pill {
    width: 56px;
    height: 30px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background-color var(--duration-fast) var(--ease-spring);
}

.client-tab.active {
    color: var(--deep-rose);
}

.client-tab.active .client-tab-pill {
    background: var(--blush);
}

@media (min-width: 401px) {
    .client-shell-header {
        padding: 0 24px;
    }
}

@media (min-width: 601px) {
    :root {
        --client-header-h: 72px;
    }

    .client-shell-header {
        padding: 0 40px;
    }

    .client-brand-link {
        gap: 10px;
    }

    .client-brand-logo {
        width: 42px;
        height: 42px;
    }

    .client-brand-text {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .client-brand-title {
        font-size: 30px;
    }

    .client-brand-by {
        font-size: 12px;
        margin-top: 0;
    }

    .client-header-nav-desktop {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .client-nav-book-btn {
        padding: 0 22px;
        font-size: 15px;
    }

    .client-tabbar {
        display: none;
    }
}

@media (min-width: 1024px) {
    :root {
        --client-header-h: 76px;
    }

    .client-shell-header {
        padding: 0 56px;
    }

    .client-brand-title {
        font-size: 33px;
    }

    .client-nav-link,
    .client-nav-book-btn {
        font-size: 17px;
    }
}

@media (min-width: 1280px) {
    .client-shell-header {
        padding: 0 64px;
    }
}

/* --------------------------------------------------------------------------
   2. Shared Client Footer
   -------------------------------------------------------------------------- */

.client-footer {
    /* Page wrappers (.hm-page, .pp-page) paint a fixed gradient in their own stacking layer; without this the
       static footer would be painted underneath it and look like empty space. */
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 56px 20px calc(40px + var(--client-tabbar-h) + env(safe-area-inset-bottom, 0px));
}

.client-footer-brand {
    font-family: var(--font-script);
    font-size: 34px;
    color: var(--rose);
}

.client-footer-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.client-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 10px 0 0;
}

.client-footer-link {
    min-height: 44px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--deep-rose);
    text-decoration: none;
}

.client-footer-button {
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.client-footer-link:hover {
    color: var(--rose);
}

@media (min-width: 401px) {
    .client-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 601px) {
    .client-footer {
        padding: 56px 40px 40px;
    }
}

@media (min-width: 1024px) {
    .client-footer-brand {
        font-size: 37px;
    }

    .client-footer-sub {
        font-size: 15px;
    }

    .client-footer-link {
        font-size: 16px;
    }
}

/* Unconstrained full-width main container for client landing pages (Home, Gallery) */
main.client-landing-main {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    overflow-x: clip;
}

/* --------------------------------------------------------------------------
   3. Home Page Styles
   Widths: xs <=400, sm 401-600, md 601-1023, lg 1024-1279, xl >=1280. Class prefix hm- keeps these apart from
   the older home-* rules in app.css. The hero ids (heroTrack, photoBox, heroText, bodyText) are read by
   havenClawsMotion.initHomeScrollEffects, which sizes the scroll track and shrinks the photo into a card.
   -------------------------------------------------------------------------- */

.hm-page {
    --hm-px: 20px;
    --hm-title: 26px;
    --hm-gap: 44px;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    isolation: isolate;
    font-family: var(--font-sans);
    color: var(--ink);
    overflow-x: clip;
    min-height: 100vh;
}

/* The page gradient is as tall as the screen and stays put while the page scrolls over it */
.hm-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--page-bg);
}

.hm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* 3.1 Hero */
.hm-hero-track {
    position: relative;
    height: calc(100svh + 40svh); /* same as R1 in motion.js */
}

.hm-hero-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
}

.hm-hero-photo {
    position: absolute;
    inset: 0;
}

.hm-hero-photobox {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: clip-path;
}

.hm-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 600ms ease, transform 1200ms var(--ease-spring);
}

.hm-hero-img.is-ready {
    opacity: 1;
    transform: none;
}

/* Loading state: shimmer, a breathing logo with a turning gold ring, and the wordmark */
.hm-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, var(--blush) 0%, var(--petal) 55%, var(--champagne) 100%);
    transition: opacity 500ms ease;
}

.hm-loader.is-done {
    opacity: 0;
    pointer-events: none;
}

.hm-loader-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    animation: hmShimmer 1.6s ease-in-out infinite;
}

.hm-loader-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hm-loader-logo {
    --hm-logo: 88px;
    position: relative;
    width: var(--hm-logo);
    height: var(--hm-logo);
    animation: hmBreath 2.4s ease-in-out infinite;
}

.hm-loader-logo img {
    position: absolute;
    left: 9px;
    top: 9px;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    border-radius: 50%;
    object-fit: cover;
}

.hm-loader-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    animation: hmSpin 1.4s linear infinite;
}

.hm-loader-ring circle {
    fill: none;
    stroke-width: 2.5;
}

.hm-loader-ring-track {
    stroke: var(--champagne);
}

.hm-loader-ring-arc {
    stroke: var(--gold);
    stroke-linecap: round;
    stroke-dasharray: 70 226;
}

.hm-loader-title {
    font-family: var(--font-script);
    font-size: 34px;
    line-height: 1;
    color: var(--rose);
}

.hm-loader-by {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--antique-gold);
}

@keyframes hmShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes hmSpin {
    to { transform: rotate(360deg); }
}

@keyframes hmBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.hm-hero-text {
    /* N1: the staging test bar pushes the page down by its height, so the hero ends that much below the screen.
       The dark fade below reads this same value, so it always reaches the bottom edge. */
    --hm-text-bottom: calc(var(--client-tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px + var(--test-banner-h, 0px));
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--hm-text-bottom);
    text-align: center;
    pointer-events: none;
    z-index: 5;
}

/* C6: a dark fade from the screen bottom up behind the title and pill */
.hm-hero-text::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -120px;
    bottom: calc(-1 * var(--hm-text-bottom));
    z-index: -1;
    background: linear-gradient(to top, var(--hero-scrim), transparent);
}

.hm-hero-intro {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 500ms ease 250ms, transform 500ms ease 250ms;
}

.hm-hero-intro.is-ready {
    opacity: 1;
    transform: none;
}

.hm-hero-wordmark {
    font-family: var(--font-script);
    font-size: 46px;
    line-height: 1;
    color: var(--white);
    text-shadow: 0 2px 18px rgba(43, 34, 38, 0.45);
}

.hm-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    height: 48px;
    padding: 0 20px 0 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 250, 251, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 22px rgba(43, 34, 38, 0.22);
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
}

.hm-hero-pill:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
}

.hm-hero-pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rose);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-chevron-desktop,
.hm-desktop-only {
    display: none;
}

.hm-hero-pill-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--deep-rose);
}

.hm-hero-body {
    position: absolute;
    left: var(--hm-px);
    right: var(--hm-px);
    top: 411px;
    z-index: 6;
    opacity: 0;
    pointer-events: none; /* U1: hidden at the top of the page, so the pill under it takes the tap; motion.js turns it on */
    text-align: center; /* centred on every width (A0.11) */
}

.hm-headline {
    margin: 0;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.05;
    color: var(--rose);
}

.hm-subtitle {
    margin: 8px 0 16px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
    color: var(--muted);
}

.hm-page .hm-cta {
    display: flex;
    width: fit-content;
    margin: 0 auto;
}

/* Static hero when there are no photos */
.hm-hero-static {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--client-header-h) + 36px) var(--hm-px) 48px;
    text-align: center;
}

.hm-hero-static-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    margin-bottom: 12px;
}

.hm-hero-static-wordmark {
    font-family: var(--font-script);
    font-size: 52px;
    line-height: 1.1;
    color: var(--rose);
}

.hm-hero-static-by {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--antique-gold);
    margin: 4px 0 18px;
}

.hm-hero-static .hm-subtitle {
    max-width: 440px;
}

.hm-page .hm-hero-static .hm-cta {
    margin: 0 auto;
}

/* 3.2 Content */
.hm-content {
    padding: 48px var(--hm-px) 0;
}

.hm-content-inner {
    max-width: var(--hm-max, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--hm-gap);
}

.hm-section-title {
    margin: 0 0 14px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: var(--hm-title);
    line-height: 1.1;
    color: var(--deep-rose);
}

.hm-section-sub {
    margin: -8px 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.hm-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--antique-gold);
}

/* Open This Week */
.hm-date-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
}

.hm-date-row + .hm-date-row {
    border-top: 1px dashed var(--edge);
}

.hm-date-col {
    width: 52px;
    flex-shrink: 0;
    text-align: center;
}

.hm-date-num {
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    color: var(--deep-rose);
}

.hm-date-dow {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--antique-gold);
    margin-top: 4px;
}

.hm-slots-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hm-slots-col .chip {
    align-self: flex-start;
    width: fit-content;
}

.hm-time-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hm-time-pill {
    box-sizing: border-box;
    height: 44px;
    min-width: 0;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--edge);
    background: var(--white);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color var(--duration-fast) var(--ease-spring), border-color var(--duration-fast) var(--ease-spring);
}

.hm-time-pill:hover {
    background: var(--blush);
}

.hm-time-pill.is-villasis {
    border-color: var(--champagne-edge);
    color: var(--champagne-ink);
}

.hm-time-pill.is-villasis:hover {
    background: var(--champagne);
}

.hm-time-pill:focus-visible,
.hm-tile:focus-visible,
.hm-ig-link:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
}

.hm-see-all {
    margin-top: 6px; /* where the link sits comes from .actions */
}

.hm-skeleton-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hm-skeleton-row {
    height: 64px;
    border-radius: var(--radius-tile);
}

.hm-skeleton-card {
    height: 168px;
    border-radius: var(--card-radius);
}

/* Empty and error states: a disc with an icon, a title, a line of help, the action on the right on phones */
.hm-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.hm-message > .btn2,
.hm-message > .btn {
    align-self: flex-end;
    margin-top: 8px;
}

.hm-message-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.hm-message-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}

.hm-disc {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blush);
    color: var(--deep-rose);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services */
.hm-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.hm-service-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-top: 6px;
}

.hm-service-name {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 26px;
    color: var(--deep-rose);
}

.hm-service-tiers {
    font-size: 14px;
    color: var(--muted);
}

.hm-service-desc {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.hm-service-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.hm-service-price {
    font-size: 15px;
    color: var(--ink);
}

/* Home has two containers: .card (plain border) and .hm-banner (blush strip). */
.hm-banner {
    padding: 14px 18px;
    border-radius: 18px;
    background: var(--blush);
    border: 1px solid var(--edge-soft);
}

.hm-inspo {
    margin-top: 16px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
}

.hm-inspo-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

.hm-inspo-sub {
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}

/* N11: on phones a text link sits left, under the text it belongs to */
@media (max-width: 600px) {
    .hm-service-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .hm-inspo-link {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    /* a text link has 6px side padding; pull it back so its words start where the text above starts */
    .hm-see-all .btn-text,
    .hm-service-foot .btn-text,
    .hm-inspo-link {
        margin-left: -6px;
    }
}

/* How Booking Works */
.hm-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.hm-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.hm-step-badge {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blush);
    color: var(--deep-rose);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.hm-step-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.hm-step-sub {
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
    margin-top: 2px;
}

.hm-notice {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
}

.hm-ig-link {
    color: var(--deep-rose);
    font-weight: 500;
}

.hm-trained {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
}

/* Recent Sets */
.hm-recent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hm-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    background: var(--blush);
    border: 1px solid var(--edge-soft);
}

.hm-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hm-recent-more {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

/* The Gallery "no sets" card still uses the stitch classes */
.home-stitch-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    padding: 10px;
    box-shadow: var(--card-shadow);
    box-sizing: border-box;
}

.home-stitch-inner {
    border: 1px dashed var(--card-stitch-color);
    border-radius: var(--card-stitch-radius);
    padding: 20px;
}

@media (min-width: 401px) {
    .hm-page {
        --hm-px: 24px;
        --hm-title: 28px;
    }

    .hm-hero-wordmark { font-size: 56px; }
    .hm-headline { font-size: 40px; }
    .hm-loader-logo { --hm-logo: 96px; }
    .hm-loader-title { font-size: 38px; }
}

@media (min-width: 601px) {
    .hm-page {
        --hm-px: 40px;
        --hm-title: 32px;
        --hm-gap: 56px;
        --hm-max: 640px;
    }

    .hm-hero-text { --hm-text-bottom: 90px; }
    .hm-hero-wordmark { font-size: 72px; }
    .hm-hero-body { max-width: 640px; margin: 0 auto; text-align: center; }
    .hm-headline { font-size: 52px; }
    .hm-subtitle { font-size: 16px; }
    .hm-page .hm-cta { width: 300px; margin: 0 auto; }
    .hm-loader-logo { --hm-logo: 120px; }
    .hm-loader-title { font-size: 44px; }
    .hm-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-recent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .hm-recent-more { justify-content: center; }
    .hm-time-pill { min-width: 92px; }
    .hm-message > .btn2,
    .hm-message > .btn { align-self: center; }
}

@media (min-width: 1024px) {
    .hm-page {
        --hm-px: 56px;
        --hm-title: 37px;
        --hm-max: 800px;
    }

    .hm-hero-wordmark { font-size: 81px; }
    .hm-headline { font-size: 55px; }
    .hm-subtitle { font-size: 18px; }
    .hm-hero-pill-text { font-size: 17px; }
    .hm-page .hm-cta { font-size: 17px; }
    .hm-loader-logo { --hm-logo: 128px; }
    .hm-loader-title { font-size: 51px; }
    .hm-loader-by { font-size: 12px; }
    .hm-chevron-phone,
    .hm-phone-only { display: none; }
    .hm-chevron-desktop { display: block; }
    .hm-desktop-only { display: inline; }
    .hm-section-sub { font-size: 16px; }
    .hm-date-num { font-size: 33px; }
    .hm-date-dow { font-size: 12px; }
    .hm-time-pill { min-width: 92px; font-size: 16px; }
    .hm-slots-col .chip { font-size: 14px; }
    .hm-kicker { font-size: 12px; }
    .hm-service-name { font-size: 29px; }
    .hm-service-tiers,
    .hm-service-desc,
    .hm-step-sub,
    .hm-notice,
    .hm-message-text,
    .hm-inspo-sub { font-size: 16px; }
    .hm-service-price,
    .hm-inspo-title,
    .hm-trained { font-size: 17px; }
    .hm-step-title { font-size: 18px; }
    .hm-inspo-link,
    .hm-service-foot .btn-text,
    .hm-see-all .btn-text { font-size: 16px; }
}

@media (min-width: 1280px) {
    .hm-page {
        --hm-px: 64px;
        --hm-title: 40px;
        --hm-max: 880px;
    }

    .hm-hero-wordmark { font-size: 89px; }
    .hm-headline { font-size: 59px; }
    .hm-subtitle { font-size: 19px; }
    .hm-page .hm-cta { font-size: 18px; }
}

@media (min-width: 1440px) {
    .hm-page { --hm-max: 1100px; }
}

/* --------------------------------------------------------------------------
   4. Gallery grid (shared by /gallery and the admin gallery; the public page itself is in section 7)
   -------------------------------------------------------------------------- */

.gal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.gal-tile {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 1px solid #F6CDD9;
    border-radius: 22px;
    overflow: hidden;
    background: #F7DCE5;
    box-shadow: 0 12px 30px rgba(185, 97, 123, 0.12);
    cursor: zoom-in;
    border: 0;
}

.gal-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gal-tile-chip {
    font-family: var(--font-sans);
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 250, 251, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 500;
    color: #8F435B;
    pointer-events: none;
}

.gal-tile-tier-num {
    font-family: 'Jost', sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
}

/* Breakpoint rules for Gallery: 14px gap applies for 401px-600px; overridden by gap: 18px at min-width: 601px below */
@media (min-width: 401px) {
    .gal-grid {
        gap: 14px;
    }
}

@media (min-width: 601px)  {
    .gal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .gal-tile {
        border-radius: 24px;
    }
}

@media (min-width: 1024px)  {
    .gal-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1280px)  {
    .gal-grid {
        gap: 24px;
    }
}



/* --------------------------------------------------------------------------
   5. Admin Gallery (/admin/gallery)
   -------------------------------------------------------------------------- */

.admin-gallery-wrap {
    padding: 0 0 64px 0;
}

.admin-gallery-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-gallery-page-sub {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--muted, #6D5A61);
}

.admin-gallery-sub-short { display: none; }

@media (max-width: 600px) {
    .admin-gallery-page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .admin-gallery-page-title-block {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }
    .admin-gallery-page-sub {
        margin: 0;
        white-space: nowrap;
    }
    .admin-gallery-sub-long { display: none; }
    .admin-gallery-sub-short { display: inline; }
}

.admin-gallery-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* D6: on phones the filter pills and the Settings tabs are one scrolling row with a fade on the right edge. */
@media (max-width: 600px) {
    .admin-gallery-filters,
    .settings-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
        mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
    }
    .admin-gallery-filters::-webkit-scrollbar { display: none; }
    .admin-gallery-filter-pill { flex: none; white-space: nowrap; }
}

.admin-gallery-filter-pill {
    min-height: 44px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #F6CDD9;
    background: #FFFFFF;
    color: #6D5A61;
    font-family: 'Jost', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-gallery-filter-pill:hover {
    background: #FFF8FA;
    border-color: #B05A74;
}

.admin-gallery-filter-pill.active {
    background: #8F435B;
    color: #FFFFFF;
    border-color: #8F435B;
}

.admin-gallery-grid-responsive {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (min-width: 601px) {
    .admin-gallery-grid-responsive {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1024px) {
    .admin-gallery-grid-responsive {
        gap: 20px;
    }
}

/* Four columns only when a card is wide enough for its four action buttons (A0.8). */
@media (min-width: 1280px) {
    .admin-gallery-grid-responsive {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.admin-gallery-item-card {
    position: relative;
    border-radius: 28px;
    border: 1px solid #F6CDD9;
    background: #FFFAFB;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(185, 97, 123, 0.08);
    display: flex;
    flex-direction: column;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.admin-gallery-item-card.inactive {
    opacity: 0.6;
}

.admin-gallery-item-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #F7DCE5;
    cursor: zoom-in;
    overflow: hidden;
}

.admin-gallery-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.admin-gallery-item-thumb:hover img {
    transform: scale(1.02);
}

.admin-thumb-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.admin-thumb-badge {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.9);
    color: #4A3A40;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(246, 205, 217, 0.8);
}

.admin-thumb-badge.badge-home {
    background: #FBE3EA;
    color: #8F435B;
    border-color: #F1B9C8;
    font-weight: 600;
}

.admin-thumb-badge.badge-sample {
    background: #F7EBC8;
    color: #6F5320;
    border-color: #D8B56A;
}

.admin-gallery-item-meta {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.admin-gallery-item-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.admin-gallery-item-title {
    font-weight: 600;
    font-size: 15px;
    color: #2B2226;
    margin: 0;
}

.admin-gallery-item-caption {
    font-size: 13px;
    color: #6D5A61;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-gallery-item-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #FBE3EA;
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   6. Motion & Accessibility
   -------------------------------------------------------------------------- */

@keyframes hcNudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hc-nudge {
    animation: hcNudge 1.6s cubic-bezier(.2, .8, .2, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hc-nudge {
        animation: none;
    }

    /* Everything becomes a simple fade: the photo stays a card and the loader just fades out */
    .hm-hero-track {
        height: auto;
    }

    .hm-hero-sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .hm-hero-photo {
        position: relative;
        inset: auto;
    }

    .hm-hero-photobox {
        position: relative;
        inset: auto;
        max-width: var(--hm-max, 1100px);
        width: calc(100% - 2 * var(--hm-px));
        margin: calc(var(--client-header-h) + 16px) auto 0;
        height: 400px;
        border-radius: var(--card-radius);
        clip-path: none !important;
        filter: none !important;
        box-shadow: var(--card-shadow);
    }

    .hm-hero-img {
        transform: none;
    }

    .hm-hero-img,
    .hm-loader,
    .hm-hero-intro {
        transition-duration: 200ms !important;
        transition-delay: 0s !important;
    }

    .hm-hero-intro {
        transform: none;
    }

    .hm-hero-text {
        display: none;
    }

    .hm-hero-body {
        position: relative;
        top: auto !important;
        left: auto;
        right: auto;
        opacity: 1 !important;
        pointer-events: auto;
        padding: 24px var(--hm-px) 0;
    }
}

/* --------------------------------------------------------------------------
   7. Public pages (FE-2): Studio rules, Privacy notice, Schedule, Gallery, Not found
   Class prefix pp- is shared by these pages; rl-, pv-, sc-, gl- belong to one page each.
   -------------------------------------------------------------------------- */

.pp-page {
    position: relative;
    isolation: isolate;
    font-family: var(--font-sans);
    color: var(--ink);
    overflow-x: clip;
    min-height: 70vh;
}

.pp-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--page-bg);
}

.pp-wrap {
    --pp-px: 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: calc(var(--client-header-h) + 28px) var(--pp-px) 8px;
    box-sizing: content-box;
}

.pp-title {
    margin: 6px 0 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.1;
    color: var(--deep-rose);
}

.pp-lead {
    margin: 8px 0 0;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
    color: var(--muted);
}

.pp-kicker {
    margin: 24px 0 10px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--antique-gold);
}
.pp-link:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
    border-radius: 6px;
}

/* One card holding every section, with a dashed rule between sections */
.pp-card {
    margin-top: 22px;
}

.pp-sec {
    scroll-margin-top: calc(var(--client-header-h) + 16px);
}

.pp-sec + .pp-sec {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed var(--edge);
}

.pp-sec h2 {
    margin: 0 0 12px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.15;
    color: var(--deep-rose);
}

.pp-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pp-list li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
}

.pp-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rose);
}

.pp-text {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.55;
}

.pp-end {
    margin: 36px 0 12px;
    text-align: center;
}

.pp-end p {
    margin: 0 0 12px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 24px;
    color: var(--deep-rose);
}

.pp-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 12px 0;
}

/* Studio rules: the short version */
.rl-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.rl-tile {
    padding: 14px 18px;
    border: 1px solid var(--edge-soft);
    border-radius: var(--radius-tile);
    background: var(--white);
}

.rl-tile-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--deep-rose);
}

.rl-tile-text {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
}

@media (min-width: 401px) {
    .pp-wrap {
        --pp-px: 24px;
    }
}

@media (min-width: 601px) {
    .pp-wrap {
        --pp-px: 90px;
        max-width: 640px;
    }

    .pp-title {
        font-size: 32px;
    }

    .pp-lead {
        font-size: 16px;
    }

    .pp-list li {
        font-size: 16px;
        line-height: 1.7;
    }

    .pp-sec h2 {
        font-size: 26px;
    }

    .rl-tile-title {
        font-size: 19px;
    }

    .rl-tiles {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .pp-wrap {
        --pp-px: 24px;
        max-width: 720px;
    }

    .pp-title {
        font-size: 36px;
    }
}

@media (min-width: 1280px) {
    .pp-title {
        font-size: 40px;
    }

    .pp-lead,
    .pp-list li {
        font-size: 17px;
    }

    .pp-sec h2 {
        font-size: 29px;
    }

    .rl-tile-title {
        font-size: 20px;
    }

    .rl-tile-text {
        font-size: 15px;
    }
}

/* Filter pills (Gallery services, Schedule locations) */
.pp-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.pp-pill {
    box-sizing: border-box;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--edge);
    background: var(--white);
    color: var(--deep-rose);
    font: 500 14px var(--font-sans);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-spring);
}

.pp-pill:hover {
    background: var(--blush);
}

.pp-pill[aria-pressed="true"] {
    background: var(--deep-rose);
    border-color: var(--deep-rose);
    color: var(--white);
}

.pp-pill:focus-visible,
.gal-tile:focus-visible,
.gv-btn:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
}

.pp-count {
    margin-left: auto;
    font-size: 14px;
    color: var(--muted);
}

/* Gallery */
.gl-wrap {
    max-width: 1100px;
}

.gl-grid {
    margin-top: 16px;
}

.gl-grid .gal-tile {
    cursor: pointer;
    border: 1px solid var(--edge-soft);
}

.gl-grid .gal-tile-chip {
    color: var(--deep-rose);
}

.gl-inspo {
    margin: 36px 0 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--edge-soft);
    border-radius: var(--radius-tile);
    background: var(--white);
}

.gl-inspo-text {
    flex: 1;
    min-width: 0;
}

.gl-inspo-title {
    font-weight: 500;
    color: var(--deep-rose);
}

.gl-inspo-sub {
    margin-top: 2px;
    font-size: 14px;
    color: var(--muted);
}

/* Photo viewer: a full-screen dark layer; swipe or use the arrows */
.gv-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(18, 9, 13, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    outline: none;
    touch-action: pan-y;
}

.gv-top {
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    font-size: 14px;
}

.gv-photo-wrap {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}

.gv-photo {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-tile);
    object-fit: contain;
}

.gv-meta {
    width: 100%;
    max-width: 520px;
}

.gv-chips {
    display: flex;
    gap: 8px;
}

.gv-title {
    margin: 10px 0 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.1;
    color: var(--white);
}

.gv-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.gv-btn {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.gv-btn:hover {
    background: var(--glass-header-bg);
    color: var(--deep-rose);
}

.gv-book {
    flex: 1;
    max-width: 240px;
    margin-left: auto;
    text-align: center;
}

.gv-hint {
    margin: 8px 0 0;
    text-align: right;
    font-size: 13px;
    color: var(--blush);
}

@media (min-width: 601px) {
    .gl-wrap {
        --pp-px: 40px;
    }

    .gv-hint {
        display: none;
    }
}

@media (min-width: 1024px) {
    .gl-wrap {
        --pp-px: 24px;
    }
}

@media (min-width: 1280px) {
    .gl-wrap {
        --pp-px: 100px;
    }
}

.gl-skeleton {
    width: 100%;
    height: 100%;
}

/* Schedule */
.sc-wrap {
    max-width: 1100px;
}

.sc-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.sc-controls .pp-filters {
    margin-top: 0;
}

.sc-switch {
    display: flex;
    flex: 1 1 100%;
    padding: 4px;
    gap: 2px;
    border-radius: var(--radius-pill);
    background: var(--blush);
}

.sc-switch-item {
    flex: 1;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--muted);
    font: 500 14px var(--font-sans);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.sc-switch-item[aria-pressed="true"] {
    background: var(--white);
    color: var(--deep-rose);
    box-shadow: 0 2px 8px rgba(176, 90, 116, 0.18);
}

.sc-switch-item:focus-visible,
.sc-nav:focus-visible,
.sc-day.is-open:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
}

.sc-body {
    display: flex;
    flex-direction: column;
}

.sc-month-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sc-month {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 24px;
    color: var(--deep-rose);
}

.sc-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--edge);
    background: var(--white);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sc-nav:disabled {
    background: var(--disabled-bg);
    color: var(--disabled-ink);
    border-color: transparent;
    cursor: not-allowed;
}

.sc-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    row-gap: 6px;
    justify-items: center;
}

.sc-dow {
    padding: 6px 0;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--antique-gold);
}

.sc-day {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    font: 400 15px var(--font-sans);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sc-day.is-closed {
    color: var(--placeholder);
}

.sc-day.is-open {
    background: var(--white);
    border-color: var(--edge-soft);
    color: var(--deep-rose);
    cursor: pointer;
}

.sc-day.is-open:hover {
    background: var(--blush);
}

.sc-day.is-selected {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--white);
    box-shadow: 0 6px 14px rgba(176, 90, 116, 0.3);
}

.sc-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rose);
}

.sc-dot.is-villasis {
    background: var(--antique-gold);
}

.sc-day.is-selected .sc-dot {
    background: var(--white);
}

.sc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
}

.sc-legend .sc-dot {
    margin-right: 6px;
    vertical-align: middle;
}

.sc-side-title {
    margin: 4px 0 10px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.1;
    color: var(--deep-rose);
}

.sc-side-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--muted);
}

.sc-note {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.sc-skeleton-grid {
    height: 260px;
    border-radius: var(--radius-tile);
}

@media (min-width: 601px) {
    .sc-wrap {
        --pp-px: 40px;
    }
}

@media (min-width: 1024px) {
    .sc-wrap {
        --pp-px: 24px;
    }

    .sc-body {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
        column-gap: 28px;
        align-items: start;
    }

    .sc-day {
        width: 56px;
        height: 56px;
    }
}

@media (min-width: 1280px) {
    .sc-wrap {
        --pp-px: 100px;
    }
}

/* Page not found */
.page:has(> .pp-page) {
    max-width: none;
    padding: 0;
}

.below-header,
.nf-wrap {
    padding-top: calc(var(--client-header-h) + 24px);
}

.nf-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 6px;
}

.nf-disc {
    width: 64px;
    height: 64px;
}

.nf-title {
    margin: 4px 0 0;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 44px;
    line-height: 1;
    color: var(--rose);
}

.nf-text {
    margin: 0;
    max-width: 380px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.nf-actions { margin-top: 10px; align-self: stretch; }

@media (min-width: 601px) {
    .nf-wrap {
        max-width: 560px;
    }

    .nf-title {
        font-size: 56px;
    }
}

/* Install sheet: a bottom sheet on phones, a centred card from md up */
.ins-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(43, 34, 38, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: insFade 220ms ease;
}

.ins-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    max-height: 90dvh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 14px 20px max(28px, env(safe-area-inset-bottom, 0px));
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -16px 40px rgba(43, 34, 38, 0.2);
    outline: none;
    animation: insRise 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ins-handle {
    width: 44px;
    height: 5px;
    margin: 0 auto 14px;
    border-radius: var(--radius-pill);
    background: var(--logo-pink);
    opacity: 0.7;
}

.ins-logo {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 2px solid var(--gold);
    object-fit: cover;
    box-shadow: var(--card-shadow);
}

.ins-title {
    margin: 14px 0 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.15;
    color: var(--deep-rose);
}

.ins-sub {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}

.ins-steps {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Plain numbered instructions: no card, so they do not read as buttons. */
.ins-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* A small picture of the control to look for, beside the step title. */
.ins-step-icon {
    margin-left: 4px;
    vertical-align: -3px;
    color: var(--deep-rose);
}

.ins-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blush);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ins-step-text {
    flex: 1;
    min-width: 0;
}

.ins-step-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

.ins-step-sub {
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

.ins-warn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--champagne-edge);
    border-radius: var(--radius-tile);
    background: var(--champagne);
    color: var(--champagne-ink);
}

.ins-warn .ins-step-title,
.ins-warn .ins-step-sub {
    color: var(--champagne-deep);
}

.ins-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.ins-links {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.ins-quiet {
    color: var(--muted);
}

@keyframes insFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes insRise {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (min-width: 601px) {
    .ins-panel {
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        width: min(480px, calc(100vw - 48px));
        padding: 28px 32px 24px;
        border: 1px solid var(--card-border);
        border-radius: 28px;
        transform: translate(-50%, -50%);
        text-align: center;
        animation: insFadeCentre 220ms ease;
    }

    .ins-handle {
        display: none;
    }

    .ins-logo {
        margin: 0 auto;
    }

    .ins-steps {
        text-align: left;
    }

    .ins-actions,
    .ins-links {
        justify-content: center;
    }
}

@keyframes insFadeCentre {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .ins-backdrop,
    .ins-panel {
        animation: none;
    }
}

/* Phones: the calendar card gives the day circles the full width, as in the frames */
.card.stitch-card.sc-main {
    padding: 18px 14px !important;
}

/* app.css has bare ".btn" selectors in several scoped lists, which leave a plain .btn at width 100% with a
   200px minimum; the buttons on the public pages size to their text instead. */
.nf-actions .btn,
.pp-end .btn,
.ins-actions .btn {
    width: auto;
    min-width: 0;
    margin: 0;
    flex: 0 0 auto;
    padding: 0 28px;
    min-height: 52px;
    white-space: nowrap;
}

.nf-actions .btn-text {
    white-space: nowrap;
}

@media (min-width: 601px) {
    .card.stitch-card.sc-main {
        padding: var(--card-pad) !important;
    }
}

/* Review fixes from the visual check */
.ins-panel:focus-visible {
    outline: none;
}

.ins-actions .btn2 {
    min-height: 52px;
    padding: 0 28px;
}

.gl-inspo {
    flex-wrap: wrap;
}

.gl-inspo-text {
    flex: 1 1 180px;
}

.gl-inspo .btn-text {
    margin-left: auto;
}

/* Gallery photo that could not be loaded: a quiet tile instead of alt text in an empty box */
.gi-placeholder {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: var(--blush);
    color: var(--deep-rose);
}

.gv-photo.gi-placeholder {
    width: min(100%, 320px);
    height: 100%;
    max-height: 400px;
    border-radius: var(--radius-tile);
}

/* ==========================================================================
   Auth Flow (FE-3 Redesign)
   ========================================================================== */

.auth-page {
    width: 100%;
    min-height: calc(100dvh - var(--client-header-h));
    display: grid;
    place-items: center;
    align-content: center;
    box-sizing: border-box;
    padding-top: calc(var(--client-header-h) + 24px);
    padding-bottom: calc(var(--client-tabbar-h) + 24px + env(safe-area-inset-bottom, 0px));
    padding-inline: 0; /* the .page gutter is the only side padding, so the card is not inset twice */
}

@media (min-width: 1024px) {
    .auth-page {
        padding-bottom: 48px;
    }
}

.auth-card {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    margin-block: auto;
    padding: var(--card-pad);
}

/* A0.1: a clean, calm backdrop for every sign-in page (log in, create account, codes, reset).
   One soft pearl-to-blush wash across the whole viewport and one very faint rose glow behind the card;
   tokens only, so dark mode follows. */
.auth-page {
    position: relative;
    isolation: isolate;
}
.auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(30rem 24rem at 50% 50%, color-mix(in srgb, var(--rose) 8%, transparent), transparent 70%),
        linear-gradient(180deg, var(--pearl) 0%, var(--blush) 100%);
}
.card.auth-card {
    background: var(--card-bg);
    box-shadow: 0 20px 50px color-mix(in srgb, var(--rose) 14%, transparent);
}

.auth-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: var(--blush);
    margin: 0 0 20px;
    min-height: 52px;
    box-sizing: border-box;
}

.auth-tab {
    flex: 1;
    min-height: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    border: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease, color 150ms ease;
}

.auth-tab.on,
.auth-tab[aria-selected="true"] {
    background: var(--white);
    color: var(--deep-rose);
    box-shadow: 0 2px 8px rgba(176, 90, 116, 0.18);
    font-weight: 500;
}

.auth-header-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.auth-header-icon.icon-pink {
    background: var(--blush);
    color: var(--deep-rose);
}

.auth-header-icon.icon-green {
    background: var(--success-bg);
    color: var(--success-ink);
}

.auth-header-icon.icon-gold {
    background: var(--champagne);
    color: var(--champagne-ink);
}

.auth-title {
    margin: 0;
    font-family: var(--font-section, 'Cormorant Garamond', Georgia, serif);
    font-weight: 600;
    font-size: 28px;
    line-height: 1.15;
    color: var(--deep-rose);
    text-align: left;
}

.auth-title.text-center {
    text-align: center;
}

.auth-sub {
    margin: 6px 0 18px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
    text-align: left;
}

.auth-sub.text-center {
    text-align: center;
}

.auth-actions { margin-top: 18px; }


.auth-footer-note {
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

.auth-footer-note.text-left {
    text-align: left;
}

.auth-inline-link {
    min-height: 44px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--rose);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.auth-inline-link:hover {
    color: var(--deep-rose);
}

.auth-sub-link {
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--rose);
    text-decoration: underline;
    cursor: pointer;
    padding: 4px;
}

.auth-sub-link:hover {
    color: var(--deep-rose);
}

.auth-input-ig-wrap {
    position: relative;
    width: 100%;
}

.auth-input-ig-prefix {
    position: absolute;
    left: 16px;
    top: 15px;
    font-size: 18px;
    color: var(--muted);
    pointer-events: none;
}

.auth-input-ig {
    padding-left: 36px !important;
}

.auth-checklist {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
}

.auth-check-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
}

.auth-check-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--logo-pink);
    box-sizing: border-box;
    flex-shrink: 0;
}

.auth-check-item.ok {
    color: var(--sage);
}

.auth-check-item.ok .auth-check-dot {
    background: var(--sage);
    border-color: var(--sage);
}

.auth-checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    cursor: pointer;
    margin-top: 10px;
}

.auth-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--rose);
    flex-shrink: 0;
}

.account-logout-wrap {
    margin-top: 32px;
    text-align: center;
}

.account-logout-btn {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 15px;
    text-decoration: underline;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-logout-btn:hover {
    color: var(--deep-rose);
}

.rate-limit-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--champagne);
    border: 1px solid var(--champagne-edge);
    color: var(--champagne-deep);
    margin-bottom: 14px;
    text-align: left;
}

.rate-limit-icon {
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
}

.rate-limit-title {
    font-size: 15px;
    font-weight: 500;
}

.rate-limit-text {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 2px;
}

.app-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--cherry-bg);
    border: 1px solid var(--cherry-edge);
    color: var(--cherry-ink);
    margin-bottom: 14px;
    text-align: left;
}

.app-message.info-tone {
    background: var(--blush);
    border: 1px solid var(--edge);
    color: var(--deep-rose);
}

.app-message-icon {
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
}

.app-message-title {
    font-size: 15px;
    font-weight: 500;
}

.app-message-text {
    font-size: 14px;
    line-height: 1.5;
}

.code-boxes.has-error .box {
    border: 2px solid var(--cherry);
}

.btn-auth-submit {
    height: 52px;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.28), 0 8px 18px rgba(176, 90, 116, 0.28);
    padding: 0 32px;
}

.btn-auth-disabled {
    height: 52px;
    padding: 0 26px;
    border-radius: var(--radius-pill);
    border: 0;
    background: var(--disabled-bg);
    color: var(--disabled-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
    border: 0;
    background: var(--disabled-bg);
    color: var(--disabled-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-sub strong {
    color: var(--ink);
    font-weight: 500;
}

.auth-sub-mb {
    margin-bottom: 12px;
}

.auth-stack {
    --stack-gap: 14px;
}

.auth-stack-mt {
    --stack-gap: 14px;
    margin-top: 6px;
}

.auth-cluster-end {
    justify-content: flex-end;
    margin-top: 6px;
}

.auth-cluster-mb {
    margin-bottom: 14px;
}

.auth-field-hint-gap {
    margin-top: 8px;
}

.auth-boxes-wrap {
    margin-top: 18px;
}

.auth-notice-wrap {
    margin-top: 12px;
}

.auth-error-wrap {
    margin-top: 10px;
}

.auth-cooldown-text {
    font-size: 14px;
    color: var(--muted);
}

.auth-confirm-verify {
    text-align: left;
    padding: 8px 0;
}

.auth-confirm-skeleton {
    margin: 20px 0;
    max-width: 240px;
}

.auth-form-wrap {
    margin-top: 16px;
}

.auth-modal-scroll {
    max-height: 70vh;
    overflow-y: auto;
    padding: 8px 4px;
}

.auth-modal-actions { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Booking (J2) Redesign
   -------------------------------------------------------------------------- */

.book-page-wrap {
    padding-top: calc(env(safe-area-inset-top, 0px) + 8px); /* no site header on /book */
    padding-inline: 0; /* .client-main already gives the phone gutter */
    padding-bottom: 120px;
    box-sizing: border-box;
}

@media (min-width: 601px) {
    .book-page-wrap {
        padding-inline: 24px;
        padding-bottom: 80px;
    }
}

@media (min-width: 1024px) {
    .book-page-wrap {
        padding-inline: 32px;
        padding-bottom: 80px;
    }
}

.book-container {
    max-width: 1040px;
    margin: 0 auto;
    width: 100%;
}

.book-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 8px 0;
    margin-bottom: 8px;
}

/* U5: at 320 the title keeps one line and the eyebrow sits under it, never on the progress bars */
@media (max-width: 400px) {
    .book-header-bar {
        gap: 8px;
    }

    .book-header-script {
        font-size: 30px;
        white-space: nowrap;
    }
}

.book-glass-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font: inherit;
    color: var(--deep-rose);
    text-decoration: none;
    flex-shrink: 0;
}

.book-glass-btn:hover {
    color: var(--rose);
}

.book-glass-btn-spacer {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.book-header-title-wrap {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.book-header-script {
    font-family: var(--font-script);
    font-size: 38px; /* was 28px, bigger per A2 */
    line-height: 1;
    color: var(--rose);
}

.book-header-step-text {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--antique-gold);
    margin-top: 2px;
    text-transform: uppercase;
}

.book-step-bars {
    display: flex;
    gap: 6px;
    margin: 0 0 20px;
}

.book-step-bar {
    flex: 1;
    height: 4px;
    border-radius: var(--radius-pill);
    background: var(--edge-soft);
    transition: background 0.2s ease;
}

.book-step-bar.active {
    background: var(--rose);
}

.book-main-title {
    margin: 0 0 6px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 26px;
    color: var(--deep-rose);
}

.book-main-lead {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}

.book-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 1024px) {
    .book-grid-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: flex-start;
        gap: 32px;
    }
}

.book-step-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.book-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.book-section-title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
    color: var(--deep-rose);
}

.book-radiogroup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.book-option-card,
.btn2.book-option-card {
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
    border-radius: var(--radius-tile);
    padding: 16px 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 14px;
    height: auto;
    min-height: 64px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.book-option-card:hover,
.btn2.book-option-card:hover:not(:disabled) {
    background: var(--card-bg);
    border-color: var(--rose);
}

.book-option-card:focus-visible,
.btn2.book-option-card:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-option-card.active,
.btn2.book-option-card.active,
.book-option-card.active:hover,
.btn2.book-option-card.active:hover:not(:disabled),
.book-option-card.active:focus-visible,
.btn2.book-option-card.active:focus-visible {
    background: var(--card-bg);
    border: 2px solid var(--rose);
    box-shadow: var(--btn-shadow);
}

.book-option-card.active:hover,
.btn2.book-option-card.active:hover:not(:disabled) {
    border-color: var(--deep-rose);
}

.book-option-radio {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
    box-sizing: border-box;
    background: var(--card-bg);
    border: 2px solid var(--logo-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-option-card.active .book-option-radio {
    border: 7px solid var(--rose);
}

/* U7: a tier shows its sample photo (or a blush tile) beside the description */
.book-tier-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 6px;
}

.book-tier-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--radius-field);
    border: 1px solid var(--card-border);
    object-fit: cover;
    display: block;
}

.book-tier-text {
    flex: 1;
    min-width: 0;
}

/* U4: on a phone the name sits left and the price right on the first line; the rest is full width below */
@media (max-width: 600px) {
    .book-option-card,
    .btn2.book-option-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 4px;
    }

    .book-option-body {
        display: contents;
    }

    .book-option-radio {
        grid-column: 1;
        grid-row: 1;
    }

    .book-option-title,
    .book-option-title-sans {
        grid-column: 2;
        grid-row: 1;
    }

    .book-option-price {
        grid-column: 3;
        grid-row: 1;
    }

    .book-option-body > :not(.book-option-title):not(.book-option-title-sans) {
        grid-column: 1 / -1;
    }
}

.book-option-body {
    flex: 1;
    min-width: 0;
}

.book-option-title {
    display: block;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 20px;
    color: var(--deep-rose);
}

.book-option-title-sans {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.book-option-desc {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
    margin-top: 2px;
}

.book-option-dur {
    display: block;
    font-size: 12px;
    color: var(--antique-gold);
    margin-top: 4px;
}

.book-option-price {
    font-size: 15px;
    font-weight: 500;
    color: var(--deep-rose);
    white-space: nowrap;
}

.book-tier-samples-strip {
    margin-top: 14px;
}

.book-tier-samples-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--antique-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.book-tier-samples-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.book-tier-sample-btn {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    border-radius: var(--radius-field);
    overflow: hidden;
    display: block;
}

.book-tier-sample-btn:focus-visible {
    outline: 3px solid var(--rose);
}

.book-tier-sample-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-field);
    border: 1px solid var(--card-border);
    display: block;
}

.book-tier-see-examples {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--deep-rose);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.book-tier4-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-field);
    background: var(--champagne);
    border: 1px solid var(--champagne-edge);
    color: var(--champagne-deep);
    font-size: 14px;
    line-height: 1.5;
}

.book-tier4-alert a {
    color: var(--deep-rose);
    text-decoration: underline;
}

.book-inspo-callout {
    background: var(--blush);
    border-color: var(--edge-soft);
    padding: var(--card-pad);
    margin-top: 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.book-inspo-callout-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.book-inspo-callout-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pearl);
    border: 1px solid var(--edge);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.book-inspo-callout-text {
    flex: 1;
    min-width: 0;
}

.book-inspo-callout-title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25;
    color: var(--deep-rose);
}

.book-inspo-callout-desc {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.book-inspo-callout-btn {
    width: 100%;
}

@media (min-width: 601px) {
    .book-inspo-callout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .book-inspo-callout-main {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        flex: 1;
        min-width: 0;
    }

    .book-inspo-callout-btn {
        width: auto;
        flex-shrink: 0;
    }
}

.book-inspo-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-field);
    border: 1px solid var(--edge-soft);
    background: var(--pearl);
    text-decoration: none;
    color: var(--muted);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.book-inspo-card:hover {
    border-color: var(--edge);
    background: var(--white);
    text-decoration: none;
}

.book-inspo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blush);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.book-inspo-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.book-inspo-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}

.book-inspo-desc {
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--muted);
    text-decoration: none;
}

.book-inspo-action {
    color: var(--rose);
    font-weight: 500;
    text-decoration: underline;
}

.book-inspo-card:hover .book-inspo-action {
    color: var(--deep-rose);
}

.book-inspo-arrow {
    color: var(--deep-rose);
    flex-shrink: 0;
}

/* Summary Card */
.book-set-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: var(--card-pad);
}

.book-set-summary-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-field);
    border: 1px solid var(--card-border);
    object-fit: cover;
    flex-shrink: 0;
}

.book-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush-soft);
    color: var(--plum-deep);
}

.book-set-summary-meta {
    flex: 1;
    min-width: 0;
}

.book-set-summary-eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--antique-gold);
}

.book-set-summary-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-top: 2px;
}

.book-set-summary-dur {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

/* A3: the chosen day and its place wrap as a pair; the place chip never splits over two lines */
.book-section-card .book-section-head { flex-wrap: wrap; gap: 6px 12px; }
.book-section-card .book-section-head .status-chip { white-space: nowrap; }

.btn2.book-change-btn {
    height: 36px; /* A3: a small pill, not a full 48px button beside the set */
    padding: 0 14px;
}

.book-change-btn {
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--deep-rose);
    cursor: pointer;
    flex-shrink: 0;
}

.book-change-btn:hover {
    border-color: var(--rose);
}

/* U3: on a phone the card stacks: "YOUR SET" and a Change text link on one row, name and time full width below */
@media (max-width: 600px) {
    .book-set-summary-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 2px;
    }

    .book-set-summary-card > .book-set-summary-thumb {
        display: none;
    }

    .book-set-summary-meta {
        display: contents;
    }

    .book-set-summary-eyebrow {
        grid-column: 1;
        grid-row: 1;
    }

    .btn2.book-change-btn {
        grid-column: 2;
        grid-row: 1;
        height: 44px;
        min-width: 44px;
        margin: -8px 0;
        padding: 0 4px;
        border: none;
        background: none;
        box-shadow: none;
        color: var(--deep-rose);
        text-decoration: underline;
    }

    .book-set-summary-name,
    .book-set-summary-dur {
        grid-column: 1 / -1;
    }
}

/* Location toggle pills */
.book-loc-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.book-loc-pill,
.btn2.book-loc-pill {
    height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--edge);
    background: var(--card-bg);
    color: var(--deep-rose);
    white-space: nowrap;
    transition: all 0.15s ease;
}

.book-loc-pill:hover,
.btn2.book-loc-pill:hover:not(:disabled) {
    background: var(--blush);
    color: var(--deep-rose);
    border-color: var(--rose);
}

.book-loc-pill:focus-visible,
.btn2.book-loc-pill:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-loc-pill.active,
.btn2.book-loc-pill.active,
.book-loc-pill.active:hover,
.btn2.book-loc-pill.active:hover:not(:disabled),
.book-loc-pill.active:focus,
.book-loc-pill.active:focus-visible,
.btn2.book-loc-pill.active:focus-visible {
    background: var(--deep-rose);
    color: var(--white);
    border-color: var(--deep-rose);
    box-shadow: var(--btn-shadow);
}

.book-loc-pill.active:focus-visible,
.btn2.book-loc-pill.active:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

/* Calendar Month / Week Toggle */
.book-cal-view-switch {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    padding: 3px;
}

.book-cal-switch-btn,
.btn2.book-cal-switch-btn {
    border: none;
    background: none;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.book-cal-switch-btn:hover,
.btn2.book-cal-switch-btn:hover:not(:disabled) {
    color: var(--deep-rose);
    background: var(--blush);
}

.book-cal-switch-btn:focus-visible,
.btn2.book-cal-switch-btn:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-cal-switch-btn.active,
.btn2.book-cal-switch-btn.active,
.book-cal-switch-btn.active:hover,
.btn2.book-cal-switch-btn.active:hover:not(:disabled),
.book-cal-switch-btn.active:focus-visible,
.btn2.book-cal-switch-btn.active:focus-visible {
    background: var(--card-bg);
    color: var(--deep-rose);
    box-shadow: var(--glass-shadow);
}

.book-cal-switch-btn.active:focus-visible,
.btn2.book-cal-switch-btn.active:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-cal-month-head {
    display: flex;
    flex-wrap: wrap; /* A3: the switch and arrows drop under the month on a phone instead of squeezing it */
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
    margin-bottom: 12px;
}

.book-cal-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    cursor: pointer;
}

.book-cal-month-title {
    margin: 0;
    white-space: nowrap;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 20px;
    color: var(--deep-rose);
}

.book-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    text-align: center;
}

/* U8: on phones the week runs to 8px from the card edge, so a day is about 40px wide at 375 */
@media (max-width: 600px) {
    .book-cal-grid {
        margin-inline: calc(8px - var(--card-pad));
    }
}

.book-cal-dow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--antique-gold);
    padding: 4px 0;
}

.book-cal-cell {
    aspect-ratio: 1;
    border-radius: var(--radius-field);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    cursor: default;
    color: var(--disabled-ink);
    position: relative;
    font: inherit;
    height: auto;
    padding: 0;
}

/* A3: .btn2 gives buttons 48px height and 22px side padding; with aspect-ratio that made each day 48px wide
   and the week ran out of the card on a phone. Days fill their column instead. */
.btn2.book-cal-cell {
    width: 100%;
    min-width: 0;
    height: 48px; /* U8 */
    aspect-ratio: auto;
    padding: 0;
    border-radius: 14px;
    font-size: 15px;
}

.book-cal-cell.is-open {
    cursor: pointer;
    color: var(--ink);
    background: var(--card-bg);
    border-color: var(--card-border);
}

.book-cal-cell.is-open:hover {
    border-color: var(--rose);
    background: var(--card-bg);
    color: var(--ink);
}

.book-cal-cell:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-cal-cell.is-selected,
.book-cal-cell.is-selected:hover,
.book-cal-cell.is-selected:focus,
.book-cal-cell.is-selected:focus-visible,
.btn2.book-cal-cell.is-selected,
.btn2.book-cal-cell.is-selected:hover,
.btn2.book-cal-cell.is-selected:focus-visible {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
    box-shadow: var(--btn-shadow);
}

.book-cal-cell.is-selected:hover,
.btn2.book-cal-cell.is-selected:hover {
    background: var(--deep-rose);
    border-color: var(--deep-rose);
    color: var(--white);
}

.book-cal-dot {
    width: 5px;
    height: 5px;
    border-radius: var(--radius-pill);
    margin-top: 3px;
}

.book-cal-dot.is-loc-1,
.book-cal-dot.is-baguio {
    background: var(--rose);
}

.book-cal-dot.is-loc-2,
.book-cal-dot.is-villasis {
    background: var(--antique-gold);
}

.book-cal-dot.is-loc-3 {
    background: var(--sage);
}

.book-cal-dot.is-loc-4 {
    background: var(--sky);
}

.book-cal-cell.is-selected .book-cal-dot {
    background: var(--white);
}

.book-cal-hint {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 13px;
    color: var(--muted);
    margin-top: 10px;
}

.book-legend-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap; /* U10: a name never wraps mid-way */
}

/* Times grid */
.book-times-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* A3: two roomy times per row on a phone */
    gap: 10px;
    margin-top: 12px;
}

@media (min-width: 601px) {
    .book-times-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.book-time-pill,
.btn2.book-time-pill {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 12px;
    white-space: nowrap; /* A3: never split "10:00" and "AM" */
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--deep-rose);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.book-time-pill:hover,
.btn2.book-time-pill:hover:not(:disabled) {
    background: var(--blush);
    color: var(--deep-rose);
    border-color: var(--rose);
}

/* Times too early for a Tier 4 set: crossed out, as the hint under them says */
.btn2.book-time-pill:disabled {
    text-decoration: line-through;
}

.book-time-pill:focus-visible,
.btn2.book-time-pill:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-time-pill.selected,
.btn2.book-time-pill.selected,
.book-time-pill.selected:hover,
.btn2.book-time-pill.selected:hover:not(:disabled),
.book-time-pill.selected:focus,
.book-time-pill.selected:focus-visible,
.btn2.book-time-pill.selected:focus-visible {
    background: var(--deep-rose);
    color: var(--white);
    border-color: var(--deep-rose);
    box-shadow: var(--btn-shadow);
}

.book-time-pill.selected:focus-visible,
.btn2.book-time-pill.selected:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

/* Slot Taken Notice */
.book-taken-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-field);
    background: var(--champagne);
    border: 1px solid var(--champagne-edge);
    color: var(--champagne-deep);
    margin-bottom: 16px;
}

.book-taken-title {
    font-size: 15px;
    font-weight: 500;
}

.book-taken-text {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 2px;
}

/* Sticky Bottom Mobile Bar */
.book-sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 12px 16px;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 1024px) {
    .book-sticky-bottom {
        display: none;
    }
}

.book-sticky-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.book-sticky-label {
    font-size: 14px;
    color: var(--muted);
}

.book-sticky-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--deep-rose);
}

.book-btn-cta {
    height: 48px;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: var(--white);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--btn-shadow);
    width: 100%;
}

.book-btn-cta:hover:not(:disabled) {
    background: var(--deep-rose);
}

/* U9: the disabled label keeps AA contrast (disabled ink on the blush fill) instead of fading with opacity */
.book-btn-cta:disabled {
    background: var(--disabled-bg);
    color: var(--disabled-ink);
    box-shadow: none;
    opacity: 1;
    cursor: not-allowed;
}

/* Sidebar Summary (Desktop / Tablet) */
.book-sidebar-card {
    display: none;
}

/* Q2: the Account tab (profile, change password) */
.account-settings-col { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.account-password-card { padding: var(--card-pad); display: flex; flex-direction: column; gap: 12px; }
.account-section-title { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 24px; color: var(--deep-rose); }
.account-section-sub { margin: 0; font-size: 14px; color: var(--muted); }
.account-password-save { margin-top: 4px; }

/* Q6: account number under the QR, with Copy */
.book-account-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 8px 0;
    font-size: 13px;
    color: var(--muted);
}
.book-account-number-row { display: inline-flex; align-items: center; gap: 6px; }
.book-account-number-row b { font-size: 17px; color: var(--ink); letter-spacing: .04em; }

/* A6: booking summary on the pay step (phone and iPad portrait; wider screens have the sidebar) */
.book-pay-summary-money {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--edge);
}

@media (min-width: 1024px) {
    /* Two classes: .book-section-card { display: flex } comes later in this file and would win over one. */
    .book-section-card.book-pay-summary { display: none; }
}

@media (min-width: 1024px) {
    .book-sidebar-card {
        display: flex;
        flex-direction: column;
        gap: 14px;
        position: sticky;
        top: calc(var(--client-header-h) + 24px);
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: var(--radius-tile);
        padding: var(--card-pad);
        box-shadow: var(--card-shadow);
    }
}

.book-sidebar-title {
    margin: 0 0 4px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
    color: var(--deep-rose);
}

.book-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.book-summary-row span {
    color: var(--muted);
}

.book-summary-row b {
    font-weight: 500;
    color: var(--ink);
    text-align: right;
}

.book-summary-row.total {
    border-top: 1px dashed var(--edge);
    padding-top: 10px;
    margin-top: 4px;
}

.book-pay-summary-money .book-summary-row b {
    white-space: nowrap;
}

.book-summary-row.total b {
    font-size: 16px;
    color: var(--deep-rose);
}

/* Payment Methods */
.book-pay-tabs {
    display: flex;
    gap: 8px;
}

.book-pay-tab,
.btn2.book-pay-tab {
    flex: 1;
    height: 44px;
    border-radius: var(--radius-field);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--deep-rose);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.book-pay-tab:hover,
.btn2.book-pay-tab:hover:not(:disabled) {
    background: var(--blush);
    color: var(--deep-rose);
    border-color: var(--rose);
}

.book-pay-tab:focus-visible,
.btn2.book-pay-tab:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-pay-tab.active,
.btn2.book-pay-tab.active,
.book-pay-tab.active:hover,
.btn2.book-pay-tab.active:hover:not(:disabled),
.book-pay-tab.active:focus,
.book-pay-tab.active:focus-visible,
.btn2.book-pay-tab.active:focus-visible {
    background: var(--deep-rose);
    color: var(--white);
    border-color: var(--deep-rose);
    box-shadow: var(--btn-shadow);
}

.book-pay-tab.active:focus-visible,
.btn2.book-pay-tab.active:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-tile);
    background: var(--card-bg);
    border: 1px dashed var(--edge);
}

.book-qr-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius-field);
}

.book-qr-fallback {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    background: var(--surface);
    border-radius: var(--radius-field);
    max-width: 280px;
}

.book-qr-tip {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* Upload Dropzone */
.book-dropzone,
/* A4: Take photo and Upload from gallery side by side */
.book-proof-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.btn2.book-dropzone {
    box-sizing: border-box;
    width: 100%;
    min-height: 72px;
    height: auto;
    border: 1.5px dashed var(--edge);
    border-radius: var(--radius-tile);
    padding: 18px 16px;
    text-align: center;
    background: var(--card-bg);
    color: var(--deep-rose);
    cursor: pointer;
    font: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: none;
}

.book-dropzone:hover,
.btn2.book-dropzone:hover {
    border-color: var(--rose);
    background: var(--blush);
    color: var(--deep-rose);
}

.book-dropzone:focus-visible,
.btn2.book-dropzone:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-dropzone-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--deep-rose);
}

.book-dropzone-desc {
    font-size: 12px;
    color: var(--muted);
}

.book-proof-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: var(--card-pad);
    border-radius: var(--radius-tile);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.book-proof-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-field);
    object-fit: cover;
    border: 1px solid var(--edge);
    flex-shrink: 0;
}

.book-proof-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.book-proof-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.book-proof-size {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.3;
}

.book-proof-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.book-proof-btn {
    background: none;
    border: none;
    padding: 0 8px;
    min-height: 44px;
    min-width: 44px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--deep-rose);
    cursor: pointer;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-field);
}

.book-proof-btn:hover {
    color: var(--rose);
}

.book-proof-btn:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-proof-btn.delete {
    color: var(--cherry);
}

.book-proof-btn.delete:hover {
    color: var(--cherry-ink);
}

@media (max-width: 600px) {
    .book-proof-preview {
        display: grid;
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        row-gap: 8px;
        align-items: center;
    }

    .book-proof-thumb {
        grid-row: 1 / span 2;
        align-self: center;
    }

    .book-proof-info {
        grid-column: 2;
    }

    .book-proof-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

/* Rules agreement row */
.book-rules-row {
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 44px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--ink);
    cursor: pointer;
    user-select: none;
}

.book-rules-row input[type="checkbox"],
.book-rules-checkbox {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    accent-color: var(--rose);
    cursor: pointer;
}

.book-rules-row input[type="checkbox"]:focus-visible,
.book-rules-checkbox:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.book-rules-text {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
}

.book-rules-link {
    display: inline-block;
    height: auto;
    min-height: 0;
    margin: -12px 0; /* U16: 44px tap area without changing the line height */
    padding: 12px 0;
    border: none;
    background: transparent;
    font: inherit;
    font-size: inherit;
    line-height: inherit;
    color: var(--deep-rose);
    cursor: pointer;
    text-decoration: underline;
    vertical-align: baseline;
}

.book-rules-link:hover {
    color: var(--rose-ink);
}

.book-rules-link:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 2px;
}

.book-cta-hint {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
    text-align: center;
    margin: 8px 0 0;
}

/* Result States */
.book-result-wrap {
    max-width: 540px;
    margin: 24px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.book-result-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-pill);
    background: var(--success-bg);
    color: var(--success-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* A7: "Request Sent" comes alive. The badge pops, the tick draws, two soft ripples spread, the rest rises in
   one after another, and the Waiting chip breathes. All of it is off under Reduce Motion. */
.book-result-sent .book-result-icon {
    position: relative;
    animation: bsPop 520ms var(--ease-spring) both;
}
.book-result-sent .book-result-icon::before,
.book-result-sent .book-result-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--success-ink);
    opacity: 0;
    animation: bsRipple 1600ms ease-out 420ms 2;
    pointer-events: none;
}
.book-result-sent .book-result-icon::after { animation-delay: 800ms; }
.book-result-sent .book-result-icon path {
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: bsDraw 420ms ease-out 260ms forwards;
}
.book-result-sent > :not(.book-result-icon) {
    animation: bsRise 520ms var(--ease-spring) both;
}
.book-result-sent > :nth-child(2) { animation-delay: 180ms; }
.book-result-sent > :nth-child(3) { animation-delay: 260ms; }
.book-result-sent > :nth-child(4) { animation-delay: 340ms; }
.book-result-sent > :nth-child(5) { animation-delay: 440ms; }
.book-result-sent > :nth-child(6) { animation-delay: 540ms; }
.book-result-sent > :nth-child(7) { animation-delay: 640ms; }

.book-wait-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
    animation: bsBreathe 1800ms ease-in-out infinite;
}

@keyframes bsPop {
    0% { transform: scale(0.4); opacity: 0; }
    60% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}
@keyframes bsRipple {
    0% { transform: scale(1); opacity: 0.45; }
    100% { transform: scale(1.9); opacity: 0; }
}
@keyframes bsDraw { to { stroke-dashoffset: 0; } }
@keyframes bsRise {
    from { transform: translateY(14px); opacity: 0; }
    to { transform: none; opacity: 1; }
}
@keyframes bsBreathe {
    0%, 100% { transform: scale(0.75); opacity: 0.55; }
    50% { transform: scale(1.15); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .book-result-sent .book-result-icon,
    .book-result-sent .book-result-icon::before,
    .book-result-sent .book-result-icon::after,
    .book-result-sent > :not(.book-result-icon),
    .book-wait-dot { animation: none !important; }
    .book-result-sent .book-result-icon path { animation: none !important; stroke-dashoffset: 0; }
}

.book-result-icon.unavailable {
    background: var(--blush);
    color: var(--deep-rose);
}

.book-result-script {
    font-family: var(--font-script);
    font-size: 44px;
    line-height: 1;
    color: var(--deep-rose);
    margin: 0;
}

.book-result-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--deep-rose);
    margin: 0;
}

.book-result-lead {
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.book-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-top: 8px;
}

.book-numbered-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.book-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
}

.book-bullet-num {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-pill);
    background: var(--pink-soft);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
}

.book-bullet-content {
    flex: 1;
    min-width: 0;
}

.book-action-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.book-back-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-height: 44px;
    padding: 0 16px;
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    margin-top: 4px;
}

.book-back-home-link:hover {
    color: var(--deep-rose);
}

.book-summary-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: var(--card-pad);
    text-align: left;
    box-sizing: border-box;
}

.book-eyebrow-heading {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--antique-gold);
    font-weight: 600;
    text-transform: uppercase;
}

.book-btn-secondary {
    min-height: 52px; /* U19 */
    justify-content: center;
    text-decoration: none;
    font: inherit;
    font-weight: 500;
    color: var(--deep-rose);
}

.book-section-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: var(--card-pad);
    box-sizing: border-box;
}

.book-cal-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.book-legend-dot {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.book-qr-amount {
    font-size: 24px;
    font-weight: 600;
    color: var(--deep-rose);
    margin: 4px 0;
}

.book-field-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

.book-field-error {
    color: var(--cherry);
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.book-file-input-hidden {
    display: none;
}

.book-paidfrom-box {
    border-top: 1px dashed var(--edge);
    padding-top: 14px;
}

.book-paidfrom-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.book-paidfrom-sub {
    font-weight: 400;
    color: var(--muted);
}

.book-paidfrom-lead {
    font-size: 13px;
    color: var(--muted);
    margin: 2px 0 10px;
}

.book-paidfrom-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.book-request-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.book-request-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background: var(--champagne);
    color: var(--champagne-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.book-request-meta {
    flex: 1;
    min-width: 0;
}

.book-request-title {
    margin: 0 0 4px;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--deep-rose);
}

.book-request-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.book-rules-row.top-space {
    margin-top: 8px;
}

.book-retry-wrap {
    margin-top: 12px;
}

/* ============================================================
   J4 · Client Account Header Menu
   ============================================================ */
.client-account-menu-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.client-account-menu-mobile {
    display: inline-flex;
}

@media (min-width: 601px) {
    .client-account-menu-mobile {
        display: none;
    }
}

.client-header-account-btn-mobile {
    height: 44px;
    width: 44px;
    border-radius: var(--radius-pill);
    background: var(--pearl);
    border: 1px solid var(--edge-soft);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.client-header-account-btn-mobile:hover {
    color: var(--rose);
    border-color: var(--field-edge);
    background: var(--white);
}

.client-header-account-btn-mobile:focus {
    outline: none;
}

.client-header-account-btn-mobile:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
    border-radius: var(--radius-pill);
}

.client-header-account-btn-mobile.open {
    background: var(--blush);
    color: var(--deep-rose);
    border-color: var(--blush-border);
}

.client-account-menu-trigger {
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--deep-rose);
    padding: 0 16px;
    height: 40px;
    border-radius: var(--radius-pill);
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease;
}

.client-account-menu-trigger:hover {
    color: var(--rose);
}

.client-account-menu-trigger:focus {
    outline: none;
}

.client-account-menu-trigger:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
    border-radius: var(--radius-pill);
}

.client-account-menu-trigger.open {
    background: var(--blush);
    color: var(--deep-rose);
}

.client-account-menu-trigger.active {
    background: var(--blush);
    color: var(--deep-rose);
    font-weight: 600;
}

.client-account-menu-trigger.open .client-account-menu-chevron {
    transform: rotate(180deg);
}

.client-account-menu-chevron {
    color: var(--muted);
    transition: transform 0.15s ease;
}

.client-account-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: transparent;
}

.client-account-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    max-width: calc(100vw - 32px);
    background: var(--pearl);
    border: 1px solid var(--edge-soft);
    border-radius: var(--radius-field);
    box-shadow: var(--card-shadow);
    padding: 8px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
}

.client-account-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: left;
}

.client-account-menu-item:hover {
    background: var(--blush);
    color: var(--deep-rose);
}

.client-account-menu-item:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: -2px;
}

.client-account-menu-logout {
    color: var(--cherry-ink);
}

.client-account-menu-logout:hover {
    background: var(--cherry-bg);
    color: var(--cherry-ink);
}

/* ============================================================
   J4 · Account Page
   ============================================================ */
.account-page {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

@media (min-width: 601px) {
    .account-page {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .account-page {
        padding-left: 56px;
        padding-right: 56px;
    }
}

.account-header-wrap {
    margin-bottom: 18px;
}

.account-title {
    margin: 6px 0 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 26px;
    color: var(--deep-rose);
}

@media (min-width: 1024px) {
    .account-title {
        font-size: 37px;
    }
}

.account-grid {
    display: block;
}

@media (min-width: 1024px) {
    .account-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 32px;
        align-items: start;
    }
}

.account-col-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.account-col-right {
    display: none;
}

@media (min-width: 1024px) {
    .account-col-right {
        display: block;
        position: sticky;
        top: calc(var(--client-header-h) + 24px);
    }
}

.account-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: var(--blush);
    margin: 0 0 16px;
}

.account-tab-btn {
    flex: 1;
    height: 44px;
    border-radius: var(--radius-pill);
    border: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    color: var(--muted);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-tab-btn.active {
    background: var(--white);
    color: var(--deep-rose);
    box-shadow: var(--btn-shadow);
}

.account-tab-btn:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 1px;
}

.account-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-card {
    width: 100%;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: var(--card-pad);
    border-radius: var(--radius-tile);
    background: var(--white);
    box-sizing: border-box;
    border: 1px solid var(--edge-soft);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-card:hover {
    border-color: var(--rose);
}

.account-card:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
}

.account-card.account-card-selected {
    border: 2px solid var(--rose);
    box-shadow: var(--card-shadow);
}

.account-date-block {
    width: 52px;
    flex-shrink: 0;
    text-align: center;
}

.account-date-mon {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--antique-gold);
    text-transform: uppercase;
}

.account-date-day {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    color: var(--deep-rose);
    font-family: var(--font-sans);
}

.account-date-dow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--antique-gold);
    text-transform: uppercase;
}

.account-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.account-card-set {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.account-card-sub {
    font-size: 14px;
    color: var(--muted);
}

.account-card-note {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

.account-card-chevron {
    color: var(--field-edge);
    display: flex;
    align-self: center;
    flex-shrink: 0;
}

.account-empty-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: 28px var(--card-pad);
    border-radius: var(--radius-tile);
    border: 1.5px dashed var(--field-edge);
    background: var(--glass-bg);
    box-sizing: border-box;
}

.account-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--deep-rose);
}

.account-empty-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
    color: var(--deep-rose);
    margin: 0;
}

.account-empty-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    max-width: 320px;
}

.account-empty-action {
    margin-top: 6px;
}

.account-ig-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--blush);
    border: 1px solid var(--edge);
    color: var(--cherry-ink);
    box-sizing: border-box;
    margin-top: 16px;
}

.account-ig-icon {
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    color: var(--rose);
}

.account-ig-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
}

.account-ig-link {
    color: var(--deep-rose);
    font-weight: 500;
    text-decoration: none;
}

.account-ig-link:hover {
    text-decoration: underline;
}

.account-profile-wrap {
    margin-top: 20px;
}

.account-profile-box {
    background: var(--pearl);
    border: 1px solid var(--edge-soft);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--card-shadow);
}

.account-profile-inner {
    border: 1px dashed var(--edge); /* hero stitch: dropped under 601 px below */
    border-radius: calc(var(--radius) - 7px);
    overflow: hidden;
}

.account-profile-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 14px;
    padding: var(--card-pad);
}

.account-profile-who {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.account-profile-id {
    min-width: 0;
}

.account-profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--deep-rose);
}

.account-profile-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.account-profile-meta {
    font-size: 14px;
    color: var(--muted);
}

.account-logout-btn-card {
    gap: 8px;
    white-space: nowrap;
}

.account-profile-footer {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--edge-soft);
}

.account-profile-foot-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 var(--card-pad);
    font-size: 15px;
    color: var(--rose);
    text-decoration: none;
}

.account-profile-foot-link + .account-profile-foot-link {
    border-top: 1px solid var(--edge-soft);
}

.account-profile-foot-link.account-profile-foot-danger {
    color: var(--cherry-ink);
}

.account-profile-foot-link:hover,
.account-profile-foot-link:focus-visible {
    text-decoration: underline;
}

.account-profile-foot-link:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 1px;
}

@media (min-width: 1024px) {
    .account-page .bottom-sheet-backdrop,
    .account-page .bottom-sheet-panel {
        display: none;
    }
}

/* ============================================================
   J4 · Booking Detail (Panel & Sheet)
   ============================================================ */
.account-detail-card {
    background: var(--pearl);
    border: 1px solid var(--edge-soft);
    border-radius: var(--radius-tile);
    padding: var(--card-pad);
    box-shadow: var(--card-shadow);
    box-sizing: border-box;
}

.account-detail-empty {
    padding: 48px var(--card-pad);
    text-align: center;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.account-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.account-detail-title-group {
    flex: 1;
    min-width: 0;
}

.account-detail-set {
    margin: 8px 0 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 26px;
    color: var(--deep-rose);
}

.account-detail-full {
    font-size: 14px;
    color: var(--muted);
    margin-top: 2px;
}

.account-detail-close-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--deep-rose);
}

.account-detail-close-btn:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
}

.account-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px dashed var(--edge);
    font-size: 14px;
}

.account-detail-label {
    color: var(--muted);
}

.account-detail-value {
    font-weight: 500;
    color: var(--ink);
    text-align: right;
}

.account-detail-maps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-bottom: 1px dashed var(--edge);
}

.account-map-btn {
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--deep-rose);
    border: 1px solid var(--edge);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    gap: 6px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.15s ease;
}

.account-map-btn:hover {
    background: var(--blush);
}

.account-map-btn:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 1px;
}

.account-detail-note {
    padding-top: 10px;
    border-top: 1px dashed var(--edge);
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.account-timeline {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.account-timeline-step {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.account-timeline-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22px;
    flex-shrink: 0;
}

.account-timeline-dot-done {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rose);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-timeline-dot-now {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 6px solid var(--gold);
    background: var(--white);
    box-sizing: border-box;
}

.account-timeline-dot-next {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--field-edge);
    background: var(--white);
    box-sizing: border-box;
}

.account-timeline-line {
    flex: 1;
    width: 2px;
    background: var(--edge);
    min-height: 16px;
    margin: 2px 0;
}

.account-timeline-text {
    padding: 1px 0 14px;
    font-size: 15px;
    color: var(--ink);
}

.account-detail-calendar {
    margin-top: 12px;
}

.account-btn-calendar {
    height: 48px;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--deep-rose);
    border: 1px solid var(--edge);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 0 22px;
    box-sizing: border-box;
    cursor: pointer;
    gap: 6px;
    transition: background 0.15s ease;
}

.account-btn-calendar:hover {
    background: var(--blush);
}

.account-btn-calendar:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 2px;
}

.account-detail-ig {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

/* ============================================================
   J4 · Banners (Offer & Pay)
   ============================================================ */
.account-banner-offer {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--blush), var(--petal));
    border: 1px solid var(--blush-border);
}

.account-banner-offer-header,
.account-banner-pay-header,
.account-banner-fullpay-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.account-banner-offer-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--deep-rose);
}

.account-banner-offer-body,
.account-banner-pay-body,
.account-banner-fullpay-body {
    flex: 1;
    min-width: 0;
}

.account-banner-offer-title,
.account-banner-pay-title,
.account-banner-fullpay-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.account-banner-offer-text,
.account-banner-pay-text,
.account-banner-fullpay-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 2px;
}

.account-banner-offer-action,
.account-banner-pay-action,
.account-banner-fullpay-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.account-banner-offer-btn,
.account-banner-pay-btn,
.account-banner-fullpay-btn {
    height: 48px;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
    padding: 0 24px;
    transition: background 0.15s ease;
}

.account-banner-offer-btn:hover,
.account-banner-pay-btn:hover,
.account-banner-fullpay-btn:hover {
    background: var(--deep-rose);
}

.account-banner-pay,
.account-banner-fullpay {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 22px;
    background: var(--white);
    border: 2px solid var(--champagne-edge);
}

.account-banner-pay-icon,
.account-banner-fullpay-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--champagne);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--champagne-ink);
}

.account-detail-cta-wrap {
    margin: 8px 0 14px;
}

.account-btn-see-offer {
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
    padding: 0 20px;
}

.account-btn-see-offer:hover {
    background: var(--deep-rose);
}

/* ============================================================
   J4 · Offer Sheet & Panel Content
   ============================================================ */
.account-offer-sheet-header,
.account-pay-sheet-header {
    border-bottom: 1px dashed var(--edge);
    padding-bottom: 12px;
}

.account-offer-title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 24px;
    color: var(--deep-rose);
}

.account-offer-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.account-offer-compare-col {
    background: var(--pearl);
    border: 1px solid var(--edge-soft);
    border-radius: var(--radius-card);
    padding: 14px;
    box-sizing: border-box;
}

.account-offer-compare-suggested {
    background: var(--petal);
    border-color: var(--blush-border);
}

.account-offer-compare-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.account-offer-compare-set {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
}

.account-offer-compare-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--deep-rose);
    margin-top: 6px;
}

.account-offer-note-card {
    background: var(--pearl);
    border: 1px dashed var(--blush-border);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.account-offer-note-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2px;
}

.account-offer-note-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
}

.account-offer-fineprint-wrap {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 14px 0;
}

.account-offer-fineprint {
    margin-bottom: 2px;
}

.account-offer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.account-btn-message-marga {
    min-height: 48px;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--deep-rose);
    border: 1px solid var(--edge);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 0 20px;
    box-sizing: border-box;
    cursor: pointer;
    gap: 6px;
}

.account-btn-message-marga:hover {
    background: var(--blush);
}

.account-btn-accept {
    min-height: 48px;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
    padding: 0 24px;
}

.account-btn-accept:hover:not(:disabled) {
    background: var(--deep-rose);
}

.account-btn-accept:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================================
   J4 · Pay Sheet & Panel Content
   ============================================================ */
.account-pay-methods-tabs {
    display: flex;
    gap: 8px;
    margin: 14px 0;
    flex-wrap: wrap;
}

.account-pay-method-tab {
    height: 38px;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--edge-soft);
    padding: 0 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.account-pay-method-tab.active {
    background: var(--blush);
    color: var(--deep-rose);
    border-color: var(--blush-border);
}

.account-pay-qr-card {
    text-align: center;
    padding: 16px;
    background: var(--pearl);
    border-radius: var(--radius-card);
    border: 1px solid var(--edge-soft);
    margin: 14px 0;
}

.account-pay-qr-box {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.account-pay-qr-img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    border-radius: 12px;
}

.account-pay-qr-fallback {
    font-size: 13px;
    color: var(--muted);
    padding: 24px 16px;
}

.account-pay-qr-tip {
    font-size: 14px;
    color: var(--ink);
}

.account-pay-qr-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--deep-rose);
    margin: 4px 0;
}

.account-pay-qr-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.account-pay-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0;
}

.account-pay-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-pay-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.account-pay-input {
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--field-edge);
    padding: 0 14px;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

.account-pay-dropzone {
    height: 52px;
    border-radius: 14px;
    background: var(--white);
    border: 1px dashed var(--edge);
    color: var(--deep-rose);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.account-pay-dropzone:hover {
    background: var(--blush);
}

.account-file-hidden {
    display: none;
}

.account-pay-proof-chosen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--blush);
    border-radius: 12px;
    font-size: 13px;
    color: var(--deep-rose);
}

.account-pay-proof-remove {
    border: 0;
    background: transparent;
    color: var(--cherry-ink);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.account-pay-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.account-btn-send-payment {
    height: 48px;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
    padding: 0 24px;
}

.account-btn-send-payment:hover:not(:disabled) {
    background: var(--deep-rose);
}

.account-btn-send-payment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================================
   J4 · Account Delete Page
   ============================================================ */
.account-delete-page {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.account-delete-header-wrap {
    margin-bottom: 18px;
}

.account-delete-title {
    margin: 0;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
    color: var(--rose);
}

.account-delete-subtitle {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.account-delete-card {
    background: var(--pearl);
    border: 1px solid var(--edge-soft);
    border-radius: 28px;
    padding: 10px;
    box-shadow: var(--card-shadow);
}

.account-delete-inner {
    border: 1px dashed var(--blush-border);
    border-radius: 21px;
    padding: 20px;
}

.account-delete-bullets {
    margin: 0 0 16px;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink);
}

.account-delete-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-delete-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-delete-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.account-delete-input {
    width: 100%;
    box-sizing: border-box;
    height: 52px;
    border-radius: 16px;
    border: 1px solid var(--field-edge);
    background: var(--white);
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    padding: 0 16px;
}

.account-delete-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.account-btn-keep {
    height: 48px;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--deep-rose);
    border: 1px solid var(--blush-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 0 22px;
    box-sizing: border-box;
    cursor: pointer;
}

.account-btn-keep:hover {
    background: var(--blush);
}

.account-btn-delete-danger {
    height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-pill);
    border: 0;
    background: var(--cherry);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.account-btn-delete-danger:hover:not(:disabled) {
    background: var(--cherry-ink);
}

.account-btn-delete-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.account-delete-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--cherry-bg);
    border: 1px solid var(--cherry-edge);
    color: var(--cherry-ink);
}

.account-delete-alert-icon {
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
}

.account-delete-alert-body {
    flex: 1;
    min-width: 0;
}

.account-delete-alert-title {
    font-size: 15px;
    font-weight: 500;
}

.account-delete-alert-text {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 2px;
}



/* ==========================================================================
   J3 · Send Your Inspo (/inspo)
   ========================================================================== */

.inspo-page {
    min-height: 100vh;
    box-sizing: border-box;
}

.inspo-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--card-pad);
    box-sizing: border-box;
}

.inspo-intro {
    margin-bottom: 24px;
}

.inspo-kicker {
    font-family: 'Great Vibes', cursive;
    font-size: 34px;
    line-height: 1;
    color: var(--rose);
}

.inspo-title {
    margin: 6px 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.1;
    color: var(--deep-rose);
}

.inspo-subtitle {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
    color: var(--muted);
    max-width: 560px;
}

.inspo-form-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.inspo-form-col-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.inspo-form-col-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.inspo-col-side-desktop {
    display: none;
}

.inspo-col-side-mobile {
    display: block;
}

.inspo-section {
    display: flex;
    flex-direction: column;
}

.inspo-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.inspo-badge {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blush);
    color: var(--deep-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.inspo-section-title {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--deep-rose);
}

.inspo-section-sub {
    margin: -4px 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.inspo-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.inspo-photo-slot {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--edge-soft);
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inspo-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inspo-photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--deep-rose);
    padding: 0;
}

.inspo-photo-add {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    border: 1.5px dashed var(--field-edge);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    /* Without these the label grows past 4/5 with its text and ends up taller than the photo tiles. */
    overflow: hidden;
    min-height: 0;
}

.inspo-photo-add-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-rose);
}

.inspo-photo-add-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--deep-rose);
    white-space: nowrap;
}

.inspo-photo-counter {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.inspo-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.inspo-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inspo-field-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 8px;
}

.inspo-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inspo-pill {
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--deep-rose);
    border: 1px solid var(--edge);
    transition: all 0.15s ease;
}

.inspo-pill.active {
    background: var(--deep-rose);
    color: var(--white);
    border-color: var(--deep-rose);
}

.inspo-textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 18px;
    border: 1px solid var(--edge);
    background: var(--white);
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    padding: 12px 16px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.book-addons-note-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inspo-input,
.book-addons-input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 18px;
    border: 1px solid var(--edge);
    background: var(--white);
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    padding: 12px 16px;
    height: 52px;
}

.inspo-submit-block { margin-top: 16px; }
.inspo-sheet-actions { margin-top: 18px; }

.inspo-guest-note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

.inspo-next-card {
    background: var(--pearl);
    border: 1px solid var(--edge-soft);
    border-radius: 28px;
    padding: 10px;
    box-shadow: var(--card-shadow);
    margin-top: 20px;
}

.inspo-next-inner {
    border: 1px dashed var(--edge);
    border-radius: 21px;
    padding: 20px;
}

.inspo-next-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--antique-gold);
    margin-bottom: 12px;
    font-weight: 500;
}

.inspo-next-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.inspo-next-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.inspo-next-num {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blush);
    color: var(--deep-rose);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.inspo-next-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

.inspo-next-desc {
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
    margin-top: 2px;
}

.inspo-sent-card {
    background: var(--pearl);
    border: 1px solid var(--edge-soft);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    max-width: 600px;
    margin: 40px auto 0;
}

.inspo-sent-title {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 28px;
    color: var(--deep-rose);
}

.inspo-sent-text {
    margin: 8px 0 24px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}

.inspo-sent-actions .btn,
.inspo-sent-actions .btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    box-sizing: border-box;
    white-space: nowrap;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.inspo-modal-backdrop {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.inspo-sheet {
    width: 100%;
    box-sizing: border-box;
}

.inspo-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.inspo-sheet-kicker {
    font-family: 'Great Vibes', cursive;
    font-size: 34px;
    line-height: 1;
    color: var(--rose);
}

.inspo-sheet-title {
    margin: 6px 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--deep-rose);
}

.inspo-sheet-close {
    flex-shrink: 0;
}

.inspo-sheet-notice {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--blush);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.inspo-sheet-sub {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    text-align: right;
}

/* Breakpoint: sm (401px and up) */
@media (min-width: 401px) {
    .inspo-kicker {
        font-size: 38px;
    }
    .inspo-title {
        font-size: 28px;
    }
}

/* Breakpoint: md (601px and up) */
@media (min-width: 601px) {
    .inspo-modal-backdrop {
        align-items: center;
    }
    .inspo-sheet-handle-wrap {
        display: none;
    }
    .inspo-sheet {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 440px;
        max-width: calc(100vw - 32px);
        border-radius: 28px;
        border: 1px solid var(--edge-soft);
        padding: 28px;
        box-shadow: var(--card-shadow);
        animation: none;
    }
    .inspo-sheet-sub {
        text-align: center;
    }
}

/* Breakpoint: lg (1024px and up) */
@media (min-width: 1024px) {
    .inspo-kicker {
        font-size: 55px;
    }
    .inspo-title {
        font-size: 37px;
    }
    .inspo-subtitle {
        font-size: 17px;
    }
    .inspo-form-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
        align-items: start;
        margin-top: 28px;
    }
    .inspo-col-side-desktop {
        display: block;
    }
    .inspo-col-side-mobile {
        display: none;
    }
    .inspo-next-card {
        margin-top: 0;
    }
    .inspo-guest-note {
        text-align: center;
        font-size: 15px;
    }
}

/* Breakpoint: xl (1280px and up) */
@media (min-width: 1280px) {
    .inspo-container {
        max-width: 1200px;
    }
}

/* ============================================================
   J4 · Quotes Tab & Book with Quote Banner
   ============================================================ */
.account-quote-stack {
    --stack-w: 56px;
    --stack-h: 68px;
    position: relative;
    width: var(--stack-w);
    height: var(--stack-h);
    flex-shrink: 0;
}

@media (min-width: 601px) {
    .account-quote-stack {
        --stack-w: 72px;
        --stack-h: 88px;
    }
}

.account-quote-thumb {
    position: relative;
    z-index: 1;
    display: block;
    width: var(--stack-w);
    height: var(--stack-h);
    border-radius: 10px;
    object-fit: cover;
    background: var(--petal);
}

.account-quote-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    color: var(--muted);
}

.account-quote-stack-layer {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: var(--blush);
    border: 1px solid var(--edge-soft);
    box-shadow: var(--card-shadow);
}

.account-quote-stack-layer-1 {
    transform: translate(4px, -2px) rotate(6deg);
}

.account-quote-stack-layer-2 {
    transform: translate(-3px, -1px) rotate(-5deg);
}

.account-quote-stack-badge {
    position: absolute;
    right: -6px;
    bottom: -6px;
    z-index: 2;
    padding: 1px 6px;
    border-radius: var(--radius-pill);
    background: var(--deep-rose);
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

/* Loading tile: blush with a soft shimmer sweep; the sweep stops for reduced motion */
.account-photo-skeleton {
    position: relative;
    overflow: hidden;
    background: var(--blush);
}

.account-photo-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--white) 60%, transparent) 50%, transparent 70%);
    animation: hmShimmer 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .account-photo-skeleton::after {
        animation: none;
        display: none;
    }
}

.account-quote-detail-photos {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 16px 0 20px;
}

.account-quote-detail-photo {
    width: 120px;
    height: 150px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--petal);
}

.account-quote-detail-photo.account-quote-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    color: var(--muted);
}

.account-quote-thumb.account-photo-skeleton,
.account-quote-detail-photo.account-photo-skeleton {
    background: var(--blush);
}

.account-detail-quote-note {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.5;
    margin: 8px 0 16px;
    white-space: pre-wrap;
}

.account-quote-detail-block {
    margin-top: 16px;
}

.account-quote-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
}

.account-quote-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-quote-status-line {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--muted);
}

.account-quote-chip-row {
    width: fit-content;
}

/* One long unbroken word (a pasted link, "aaaa...") must wrap, or the card pushes the page sideways. */
.account-quote-client-note,
.account-quote-subdetail,
.account-quote-marga-note,
.account-quote-detail-block,
.account-detail-quote-note,
.account-detail-value {
    overflow-wrap: anywhere;
}

.account-quote-client-note {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.account-quote-subdetail {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.account-quote-date {
    margin-left: auto;
    font-size: 13px;
    color: var(--muted);
}

.account-quote-waiting-text {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.account-quote-ready-block {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--blush-border);
}

.account-quote-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--gold-text);
    font-weight: 600;
    text-transform: uppercase;
}

.account-quote-price {
    font-size: 28px;
    font-weight: 600;
    color: var(--deep-rose);
    line-height: 1.2;
    margin-top: 2px;
    font-family: var(--font-serif);
}

.account-quote-tier {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-top: 4px;
}

.account-quote-addon {
    font-size: 14px;
    color: var(--muted);
}

.account-quote-marga-note {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    font-style: italic;
}

.account-quote-validity {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--deep-rose);
    font-weight: 500;
}

.account-quote-fine-print {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.account-quote-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.account-quote-secondary-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.account-quote-withdraw-btn {
    font-size: 14px;
    color: var(--muted);
}

.account-quote-expired-block {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--blush-border);
}

.account-quote-expired-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.account-quote-booked-block {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

.account-quote-see-booking-btn {
    font-size: 14px;
    color: var(--rose);
}

.book-quote-banner {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--blush), var(--petal));
    border: 1px solid var(--blush-border);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.book-quote-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--deep-rose);
}

.book-quote-banner-body {
    flex: 1;
    min-width: 0;
}

.book-quote-banner-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.book-quote-banner-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 2px;
}

.book-confirm-sheet,
.account-quote-confirm-sheet {
    max-width: 480px;
    padding: 24px;
    background: var(--white);
    box-sizing: border-box;
}

@media (min-width: 601px) {
    .book-confirm-sheet,
    .account-quote-confirm-sheet {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        border-radius: 24px;
        box-shadow: var(--card-shadow);
    }
}

.book-confirm-title,
.account-quote-confirm-title {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--deep-rose);
    line-height: 1.3;
}

.book-confirm-actions,
.account-quote-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}


@media (max-width: 600px) {
    .account-profile-inner { border-color: transparent; }
}
