/* ==========================================================================
   Bloom — a florist's storefront
   --------------------------------------------------------------------------
   Soft and fresh rather than sweet: a warm cream ground, a blush surface, a
   deep garden green for actions and a rose-plum accent used sparingly. The
   display serif carries the romance; a clean sans does the work.

   The layout is its own, not a recolour of aurora: a centred masthead with
   the menu underneath, an edge-to-edge photo hero with the words on a cream
   card, round occasion bubbles, photo-first cards with a floating round
   "+", a green same-day banner, a swipeable row of shops, one large quote
   at a time, and a footer that leads with the shop's name.

   Colours and fonts are the CSS custom properties the layout emits from
   the store's theme settings; everything here composes them. Logical
   properties only, so `dir="rtl"` mirrors the page without an RTL sheet.
   Mobile first: rules start at the phone and widen at 40/48/60/78rem.
   ========================================================================== */

.theme-bloom {
    --gutter: 18px;
    --header-h: 64px;
    --shadow-soft: 0 18px 40px -22px color-mix(in srgb, var(--color-primary) 45%, transparent);
    --shadow-card: 0 24px 60px -28px color-mix(in srgb, var(--color-text) 55%, transparent);
    /* Where a full-bleed rail's first item lines up with the container. */
    --rail-pad: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    background: var(--color-bg);
}
@media (min-width: 60rem) { .theme-bloom { --gutter: 24px; --header-h: 128px; } }

.theme-bloom h1,
.theme-bloom h2,
.theme-bloom h3 {
    font-weight: 500;
    letter-spacing: -0.015em;
    font-variation-settings: "opsz" 96;
}
/* Fraunces is an optical-size face: display cuts for headings, text cuts
   (wider, calmer) for anything set small. */
.theme-bloom .product-card__title,
.theme-bloom .bloom-occasion__label,
.theme-bloom .bloom-shop__name,
.theme-bloom .bloom-promise__item,
.theme-bloom .brand,
.theme-bloom #co-note {
    font-variation-settings: "opsz" 24;
    letter-spacing: 0;
}
.theme-bloom h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem); line-height: 1.05; }
.theme-bloom h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.12; }

.theme-bloom :focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* Chevrons point "forward"; under RTL forward is the other way. */
html[dir="rtl"] .theme-bloom .bloom-card__fab svg,
html[dir="rtl"] .theme-bloom .bloom-split__cta svg,
html[dir="rtl"] .theme-bloom .bloom-quotes__arrow svg { transform: scaleX(-1); }

.theme-bloom .bloom-eyebrow {
    margin: 0 0 10px;
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.theme-bloom .bloom-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-block-end: 28px;
}
.theme-bloom .bloom-head h2 { margin: 0; }
.theme-bloom .bloom-head--center { justify-content: center; text-align: center; }
/* A small sprig under a centred heading — the theme's signature rule. */
.theme-bloom .bloom-head--center h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin: 16px auto 0;
    background: var(--color-accent);
}

.theme-bloom .bloom-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    white-space: nowrap;
}
.theme-bloom .bloom-link:hover { color: var(--color-accent); }
.theme-bloom .bloom-more { margin: 36px 0 0; text-align: center; }

/* Full-bleed rails share the same no-scrollbar, snap behaviour. */
.theme-bloom .bloom-occasions__track,
.theme-bloom .bloom-shops__track,
.theme-bloom .bloom-quotes__track {
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.theme-bloom .bloom-occasions__track::-webkit-scrollbar,
.theme-bloom .bloom-shops__track::-webkit-scrollbar,
.theme-bloom .bloom-quotes__track::-webkit-scrollbar { display: none; }

/* -------------------------------------------------------------- buttons */
.theme-bloom .btn {
    border-radius: var(--radius-pill);
    font-weight: 500;
    letter-spacing: .01em;
    padding-inline: 24px;
    min-height: 44px;
}
.theme-bloom .btn:hover:not(:disabled) { filter: none; background: color-mix(in srgb, var(--color-primary) 86%, #000); }
.theme-bloom .btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
}
.theme-bloom .btn--ghost:hover:not(:disabled) { background: var(--color-surface); color: var(--color-primary); }

/* --------------------------------------------------------------- header */
.theme-bloom .announce {
    background: var(--color-primary);
    font-size: .8rem;
    letter-spacing: .06em;
    padding-block: 8px;
}
.theme-bloom .bloom-header {
    background: color-mix(in srgb, var(--color-bg) 94%, transparent);
    backdrop-filter: saturate(1.2) blur(10px);
    border-block-end: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    transition: box-shadow .25s ease;
}
.theme-bloom .bloom-header.is-scrolled { box-shadow: 0 10px 30px -24px color-mix(in srgb, var(--color-text) 70%, transparent); }

/* Three columns, the outer two equal, so the name is truly centred
   whatever sits either side of it. */
.theme-bloom .bloom-header__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 64px;
    transition: min-height .25s ease;
}
.theme-bloom .bloom-header__start { display: flex; align-items: center; gap: 8px; }
.theme-bloom .bloom-header__end { justify-content: flex-end; gap: 2px; }
.theme-bloom .icon-btn { width: 44px; height: 44px; }
.theme-bloom .count-bubble { background: var(--color-accent); }

.theme-bloom .bloom-header__brand {
    margin: 0;
    justify-content: center;
    text-align: center;
    font-size: 1.45rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    min-height: 44px;
    max-width: 62vw;
    transition: font-size .25s ease;
}
.theme-bloom .bloom-header__brand img { height: 38px; transition: height .25s ease; }

/* Phone: menu · name · basket. Search and account live in the menu. */
.theme-bloom .bloom-header__search-btn,
.theme-bloom .bloom-header__account,
.theme-bloom .bloom-header__lang { display: none; }

.theme-bloom .bloom-header__nav { display: none; }

.theme-bloom .bloom-header__drawer {
    border-block-start: 1px solid var(--color-border);
    padding-block: 14px 8px;
}
.theme-bloom .bloom-header__msearch { margin-block-end: 6px; background: var(--color-surface); }
.theme-bloom .bloom-header__msearch input { min-height: 44px; }
.theme-bloom .bloom-header__drawer .mobile-nav { border: 0; padding-block: 0 6px; }
.theme-bloom .bloom-header__drawer .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-block: 6px;
    font-family: var(--font-heading);
    font-size: 1.12rem;
}
.theme-bloom .bloom-header__drawer .mobile-nav a.bloom-header__sub {
    padding-inline-start: 16px;
    font-family: var(--font-body);
    font-size: .95rem;
}

.theme-bloom .bloom-header__search {
    border-block-start: 1px solid var(--color-border);
    padding-block: 14px;
    background: var(--color-bg);
}
.theme-bloom .bloom-header__search .search { display: block; max-width: 640px; margin-inline: auto; }
.theme-bloom .search__field { border-radius: var(--radius-pill); background: color-mix(in srgb, var(--color-surface) 60%, var(--color-bg)); }
.theme-bloom .search__field input { min-height: 46px; }

@media (min-width: 60rem) {
    .theme-bloom .bloom-header__row { min-height: 84px; }
    .theme-bloom .bloom-header__brand { font-size: 2.05rem; max-width: none; }
    .theme-bloom .bloom-header__brand img { height: 52px; }
    .theme-bloom .bloom-header__search-btn,
    .theme-bloom .bloom-header__account { display: inline-flex; }
    .theme-bloom .bloom-header__lang { display: inline-flex; }
    .theme-bloom .bloom-header__drawer { display: none !important; }

    .theme-bloom .bloom-header__nav {
        display: block;
        margin: 0;
        border-block-start: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
    }
    .theme-bloom .bloom-header__nav-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        min-height: 44px;
    }
    .theme-bloom .bloom-header__nav .nav__link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 0;
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--color-text);
        background: transparent;
        position: relative;
    }
    .theme-bloom .bloom-header__nav .nav__link::after {
        content: "";
        position: absolute;
        inset-inline: 14px;
        inset-block-end: 9px;
        height: 1px;
        background: var(--color-accent);
        transform: scaleX(0);
        transition: transform .25s ease;
    }
    .theme-bloom .bloom-header__nav .nav__link:hover::after,
    .theme-bloom .bloom-header__nav .nav__link[aria-current="page"]::after { transform: scaleX(1); }
    .theme-bloom .bloom-header__nav .nav__link[aria-current="page"] { color: var(--color-primary); }
    .theme-bloom .bloom-header__nav .nav__menu { inset-inline-start: 50%; transform: translateX(-50%); }
    html[dir="rtl"] .theme-bloom .bloom-header__nav .nav__menu { transform: translateX(50%); }

    /* Scrolled: the name shrinks and the bar tightens. */
    .theme-bloom .bloom-header.is-scrolled .bloom-header__row { min-height: 58px; }
    .theme-bloom .bloom-header.is-scrolled .bloom-header__brand { font-size: 1.5rem; }
    .theme-bloom .bloom-header.is-scrolled .bloom-header__brand img { height: 36px; }
    .theme-bloom .bloom-header.is-scrolled .bloom-header__nav-inner { min-height: 40px; }
}

/* ----------------------------------------------------------------- hero */
.theme-bloom .bloom-hero { position: relative; }
.theme-bloom .bloom-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.theme-bloom .bloom-hero__frame { position: relative; z-index: 1; }
.theme-bloom .bloom-hero__card {
    margin-block-start: -72px;
    padding: 26px 22px 24px;
    background: var(--color-bg);
    border-radius: calc(var(--radius) * 1.1);
    box-shadow: var(--shadow-card);
}
.theme-bloom .bloom-hero--plain .bloom-hero__card {
    margin-block: 24px 8px;
    background: color-mix(in srgb, var(--color-surface) 70%, var(--color-bg));
    box-shadow: none;
    text-align: center;
}
.theme-bloom .bloom-hero__card h1 { margin-block-end: 12px; color: var(--color-text); }
.theme-bloom .bloom-hero__sub {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--color-muted);
    margin-block-end: 22px;
}
.theme-bloom .bloom-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-bloom .bloom-hero__actions .btn { flex: 1 1 auto; }
.theme-bloom .bloom-hero--plain .bloom-hero__actions { justify-content: center; }

@media (min-width: 40rem) {
    .theme-bloom .bloom-hero__media img { aspect-ratio: 16 / 10; }
    .theme-bloom .bloom-hero__card { margin-inline: 24px; padding: 34px 34px 30px; }
    .theme-bloom .bloom-hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 60rem) {
    .theme-bloom .bloom-hero__media img {
        aspect-ratio: auto;
        height: clamp(540px, calc(100vh - 170px), 760px);
    }
    /* The card sits on the photo's bottom-start corner, inside the
       container's edge so it lines up with everything below. */
    .theme-bloom .bloom-hero:not(.bloom-hero--plain) .bloom-hero__frame {
        position: absolute;
        inset: 0;
        margin-inline: auto;
        display: flex;
        align-items: flex-end;
        padding-block-end: 56px;
        pointer-events: none;
    }
    .theme-bloom .bloom-hero--end:not(.bloom-hero--plain) .bloom-hero__frame { justify-content: flex-end; }
    .theme-bloom .bloom-hero:not(.bloom-hero--plain) .bloom-hero__card {
        pointer-events: auto;
        margin: 0;
        max-width: 540px;
        padding: 44px 46px 40px;
        background: color-mix(in srgb, var(--color-bg) 96%, transparent);
    }
    .theme-bloom .bloom-hero--plain .bloom-hero__card { padding: 64px 48px; margin-block: 32px 8px; }
}

/* ------------------------------------------------------- promise line */
.theme-bloom .bloom-promise { padding-block: 22px 6px; }
.theme-bloom .bloom-promise__list {
    list-style: none;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
}
.theme-bloom .bloom-promise__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding-inline: 14px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    color: var(--color-primary);
}
.theme-bloom .bloom-promise__item svg { width: 17px; height: 17px; color: var(--color-accent); }
/* A small dot between phrases on a wide screen; on a phone they stack. */
@media (max-width: 47.99rem) {
    .theme-bloom .bloom-promise__list { flex-direction: column; align-items: center; }
}
@media (min-width: 48rem) {
    .theme-bloom .bloom-promise { padding-block: 34px 0; }
    .theme-bloom .bloom-promise__item { font-size: 1.1rem; padding-inline: 22px; }
    .theme-bloom .bloom-promise__item + .bloom-promise__item {
        border-inline-start: 1px solid var(--color-border);
    }
}

/* ------------------------------------------------------------ occasions */
.theme-bloom .bloom-occasions__track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: var(--rail-pad);
    scroll-padding-inline: var(--rail-pad);
    padding-block: 6px 4px;
}
/* Auto margins centre the row when it fits and never clip its start
   when it does not (unlike justify-content: center). */
.theme-bloom .bloom-occasions__track > :first-child { margin-inline-start: auto; }
.theme-bloom .bloom-occasions__track > :last-child { margin-inline-end: auto; }
.theme-bloom .bloom-occasions__track .bloom-occasion {
    flex: 0 0 112px;
    scroll-snap-align: start;
}
.theme-bloom .bloom-occasions__more { text-align: center; margin-block-start: 10px; }

.theme-bloom .bloom-occasion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    text-align: center;
}
.theme-bloom .bloom-occasion__media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 50%;
    background: var(--color-surface);
    box-shadow: 0 0 0 1px var(--color-border);
    transition: box-shadow .3s ease;
}
.theme-bloom .bloom-occasion__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.theme-bloom .bloom-occasion:hover .bloom-occasion__media,
.theme-bloom .bloom-occasion:focus-visible .bloom-occasion__media {
    box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent);
}
.theme-bloom .bloom-occasion:focus-visible { outline: 0; }
.theme-bloom .bloom-occasion:hover .bloom-occasion__media img { transform: scale(1.07); }
.theme-bloom .bloom-occasion__label {
    font-family: var(--font-heading);
    font-size: 1.04rem;
    line-height: 1.2;
}
.theme-bloom .bloom-occasion__label small {
    display: block;
    margin-block-start: 4px;
    font-family: var(--font-body);
    font-size: .76rem;
    color: var(--color-muted);
}
.theme-bloom .bloom-occasion:hover .bloom-occasion__label { color: var(--color-primary); }

@media (min-width: 60rem) {
    .theme-bloom .bloom-occasions__track { gap: 34px; }
    .theme-bloom .bloom-occasions__track .bloom-occasion { flex-basis: 158px; }
    .theme-bloom .bloom-occasion__label { font-size: 1.14rem; }
}

/* The collections index uses the same bubbles in a wrapping grid. */
.theme-bloom .grid:has(> .bloom-occasion) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 14px;
}
.theme-bloom .grid > .bloom-occasion .bloom-occasion__media { max-width: 170px; }
@media (min-width: 48rem) { .theme-bloom .grid:has(> .bloom-occasion) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; } }
@media (min-width: 78rem) { .theme-bloom .grid:has(> .bloom-occasion) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- cards */
.theme-bloom .grid { gap: 26px 12px; }
@media (min-width: 40rem) { .theme-bloom .grid { gap: 40px 22px; } }

.theme-bloom .product-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
.theme-bloom .product-card:hover { box-shadow: none; transform: none; }
.theme-bloom .bloom-card__frame { position: relative; }
.theme-bloom .product-card__media {
    border-radius: var(--radius);
    background: var(--color-surface);
}
.theme-bloom .product-card__media img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.theme-bloom .product-card:hover .product-card__media img { transform: scale(1.05); }

.theme-bloom .bloom-card__chips {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-start: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    pointer-events: none;
}
.theme-bloom .bloom-card__chips:empty { display: none; }
.theme-bloom .badge {
    font-size: .64rem;
    letter-spacing: .08em;
    padding: 4px 10px;
}
.theme-bloom .badge--soft {
    background: color-mix(in srgb, var(--color-bg) 92%, transparent);
    color: var(--color-accent);
}
.theme-bloom .badge--sale { background: var(--color-accent); }

.theme-bloom .bloom-card__sameday {
    position: absolute;
    inset-block-end: 12px;
    inset-inline-start: 10px;
    max-width: calc(100% - 72px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px 5px 8px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--color-bg) 92%, transparent);
    color: var(--color-primary);
    font-size: .7rem;
    font-weight: 500;
    line-height: 1.2;
    pointer-events: none;
}
.theme-bloom .bloom-card__sameday svg { width: 14px; height: 14px; color: var(--color-accent); flex: none; }
.theme-bloom .bloom-card__sameday span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* On a narrow two-up phone grid the chip keeps only its icon; the text
   stays for screen readers. */
@media (max-width: 39.99rem) {
    .theme-bloom .bloom-card__sameday { padding: 0; width: 30px; height: 30px; justify-content: center; inset-block-end: 14px; }
    .theme-bloom .bloom-card__sameday span {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
}

/* The round add button that floats on the photo's bottom-end corner. */
.theme-bloom .bloom-card__add {
    position: absolute;
    inset-block-end: 10px;
    inset-inline-end: 10px;
    margin: 0;
}
.theme-bloom .bloom-card__fab {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-primary);
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--color-text) 60%, transparent);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.theme-bloom .bloom-card__fab svg { width: 20px; height: 20px; }
.theme-bloom .bloom-card__fab:hover,
.theme-bloom .bloom-card__fab:focus-visible {
    background: var(--color-primary);
    color: #fff;
}
.theme-bloom .bloom-card__fab:active { transform: scale(.94); }
.theme-bloom .bloom-card__fab:disabled { opacity: .6; cursor: progress; }
.theme-bloom .bloom-card__stepper {
    background: var(--color-bg);
    border: 0;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--color-text) 60%, transparent);
}
.theme-bloom .stepper { border-radius: var(--radius-pill); }
.theme-bloom .stepper--sm button { width: 44px; height: 44px; border-radius: 50%; }

.theme-bloom .bloom-card__body {
    padding: 14px 4px 0;
    gap: 4px;
    align-items: center;
    text-align: center;
}
.theme-bloom .product-card__title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.02rem;
    line-height: 1.3;
}
@media (min-width: 40rem) { .theme-bloom .product-card__title { font-size: 1.14rem; } }
.theme-bloom .product-card__price {
    justify-content: center;
    font-weight: 500;
    font-size: .94rem;
    color: var(--color-text);
    padding-block-start: 0;
    gap: 6px;
}
.theme-bloom .bloom-card__from { font-size: .78rem; color: var(--color-muted); font-weight: 400; }

/* --------------------------------------------------- same-day banner */
.theme-bloom .bloom-split {
    display: grid;
    background: var(--color-primary);
    color: var(--color-bg);
    margin-block: 0;
}
.theme-bloom .bloom-split__media img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.theme-bloom .bloom-split__body {
    padding: 40px var(--gutter) 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.theme-bloom .bloom-split .bloom-eyebrow { color: color-mix(in srgb, var(--color-bg) 78%, var(--color-accent)); }
.theme-bloom .bloom-split__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
    line-height: 1.06;
    font-style: italic;
    color: var(--color-bg);
    max-width: 16ch;
}
.theme-bloom .bloom-split__text {
    margin: 0 0 26px;
    max-width: 30rem;
    line-height: 1.65;
    color: color-mix(in srgb, var(--color-bg) 84%, transparent);
}
.theme-bloom .bloom-split__cta {
    background: var(--color-bg);
    color: var(--color-primary);
    border-color: var(--color-bg);
    gap: 8px;
}
.theme-bloom .bloom-split__cta svg { width: 18px; height: 18px; }
.theme-bloom .bloom-split__cta:hover:not(:disabled) { background: var(--color-surface); color: var(--color-primary); }
.theme-bloom .bloom-split :focus-visible { outline-color: var(--color-bg); }
@media (min-width: 60rem) {
    .theme-bloom .bloom-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 560px; }
    .theme-bloom .bloom-split--plain { grid-template-columns: 1fr; min-height: 0; }
    .theme-bloom .bloom-split__media img { aspect-ratio: auto; position: absolute; inset: 0; }
    .theme-bloom .bloom-split__media { position: relative; }
    .theme-bloom .bloom-split__body { padding: 72px clamp(40px, 6vw, 96px); }
    .theme-bloom .bloom-split--plain .bloom-split__body { align-items: center; text-align: center; }
}

/* --------------------------------------------------------------- shops */
.theme-bloom .bloom-shops { background: color-mix(in srgb, var(--color-surface) 70%, var(--color-bg)); }
.theme-bloom .bloom-shops__intro { margin: 12px 0 0; max-width: 34rem; }
.theme-bloom .bloom-shops__hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: var(--color-bg);
    font-size: .88rem;
    color: var(--color-primary);
}
.theme-bloom .bloom-shops__track {
    list-style: none;
    margin: 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: var(--rail-pad);
    scroll-padding-inline: var(--rail-pad);
    padding-block: 4px 12px;
}
.theme-bloom .bloom-shops__track > li { scroll-snap-align: start; }
.theme-bloom .bloom-shops__photo {
    flex: 0 0 min(64vw, 250px);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
}
.theme-bloom .bloom-shops__photo img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.theme-bloom .bloom-shop {
    flex: 0 0 min(76vw, 290px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 22px 18px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}
.theme-bloom .bloom-shop__no {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--color-accent);
}
.theme-bloom .bloom-shop__name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.14rem;
    line-height: 1.25;
}
.theme-bloom .bloom-shop__address {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--color-muted);
}
.theme-bloom .bloom-shop__address svg { width: 16px; height: 16px; margin-block-start: 2px; color: var(--color-accent); flex: none; }
.theme-bloom .bloom-shop__links {
    margin-block-start: auto;
    padding-block-start: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    border-block-start: 1px solid var(--color-border);
}
.theme-bloom .bloom-shop__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-size: .9rem;
    color: var(--color-primary);
}
.theme-bloom .bloom-shop__phone svg { width: 16px; height: 16px; }
.theme-bloom .bloom-shop__phone:hover { color: var(--color-accent); }
.theme-bloom .bloom-shop__directions { padding-inline: 16px; font-size: .84rem; }
@media (min-width: 60rem) {
    .theme-bloom .bloom-shops__track { gap: 20px; }
    .theme-bloom .bloom-shop { flex-basis: 300px; padding: 26px 26px 20px; }
    .theme-bloom .bloom-shops__photo { flex-basis: 280px; }
}

/* --------------------------------------------------------- testimonials */
.theme-bloom .bloom-quotes__inner { text-align: center; }
.theme-bloom .bloom-quotes__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: var(--radius);
}
.theme-bloom .bloom-quote {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0;
    padding: 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.theme-bloom .bloom-quote__mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: .7;
    height: 40px;
    color: var(--color-accent);
}
.theme-bloom .bloom-quote blockquote {
    margin: 0;
    max-width: 44rem;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2.05rem);
    line-height: 1.4;
    font-style: italic;
    font-weight: 300;
    font-variation-settings: "opsz" 72;
    color: var(--color-text);
}
.theme-bloom .bloom-quote figcaption {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.theme-bloom .bloom-quote figcaption::before { content: "— "; }
.theme-bloom .bloom-quotes__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-block-start: 22px;
}
.theme-bloom .bloom-quotes__arrow { border: 1px solid var(--color-border); }
.theme-bloom .bloom-quotes__arrow:hover { background: var(--color-surface); border-color: var(--color-primary); }
.theme-bloom .bloom-quotes__count { font-size: .82rem; color: var(--color-muted); min-width: 6em; }

/* ------------------------------------------------------ collection page */
.theme-bloom .collection-head { text-align: center; padding-block: 18px 30px; }
.theme-bloom .collection-head h1 { font-style: italic; }
.theme-bloom .collection-head h1::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin: 16px auto 0;
    background: var(--color-accent);
}
.theme-bloom .collection-head .prose { margin-inline: auto; max-width: 40rem; }
.theme-bloom .breadcrumbs { font-size: .82rem; }
.theme-bloom .chip { border-radius: var(--radius-pill); }

/* --------------------------------------------------------- product page */
.theme-bloom .product__stage {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: var(--color-surface);
}
.theme-bloom .product__thumbs { padding: 3px; }
.theme-bloom .product__thumb {
    width: 64px;
    height: 80px;
    border-radius: calc(var(--radius) * .45);
    border-color: transparent;
    opacity: .7;
    transition: opacity .2s ease;
}
.theme-bloom .product__thumb:hover { opacity: 1; }
.theme-bloom .product__thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 3px var(--color-primary); }
.theme-bloom .product__info h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); font-style: italic; }
.theme-bloom .product__price-now {
    font-family: var(--font-body);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--color-primary);
}
.theme-bloom .product__lede { font-size: 1.04rem; line-height: 1.65; }
.theme-bloom .opt-group > .label,
.theme-bloom .modifier-group legend {
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-block-end: 10px;
}
.theme-bloom .opt-group > .label { display: block; }
.theme-bloom .modifier-group legend .muted,
.theme-bloom .modifier-group legend .badge {
    margin-inline-start: 8px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
/* Sizes as soft pills. */
.theme-bloom .opt {
    min-height: 46px;
    min-width: 96px;
    padding-inline: 20px;
    border-radius: var(--radius-pill);
    border-color: transparent;
    background: color-mix(in srgb, var(--color-surface) 85%, var(--color-bg));
    color: var(--color-text);
    font-weight: 500;
}
.theme-bloom .opt:hover:not([disabled]) { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-bloom .opt[aria-pressed="true"] {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
/* Add-ons as one tidy card: rows separated by hairlines. */
.theme-bloom .modifier-group {
    padding: 0;
    border: 0;
}
.theme-bloom .modifier-group .choice {
    margin: 0;
    align-items: center;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: var(--color-bg);
}
.theme-bloom .modifier-group .choice + .choice { border-block-start: 0; }
.theme-bloom .modifier-group legend + .choice { border-start-start-radius: calc(var(--radius) * .6); border-start-end-radius: calc(var(--radius) * .6); }
.theme-bloom .modifier-group .choice:last-child { border-end-start-radius: calc(var(--radius) * .6); border-end-end-radius: calc(var(--radius) * .6); }
.theme-bloom .modifier-group .choice input { margin: 0; width: 18px; height: 18px; }
.theme-bloom .modifier-group .choice.is-selected { background: color-mix(in srgb, var(--color-surface) 55%, var(--color-bg)); border-color: var(--color-border); }
.theme-bloom .modifier-group .choice__title { font-weight: 500; }
.theme-bloom .modifier-group .choice bdi { color: var(--color-text); }

/* The buy row follows the shopper down the options on any screen and
   docks at the end of the details. */
.theme-bloom .product__buy {
    position: sticky;
    inset-block-end: 0;
    z-index: 5;
    margin-inline: calc(var(--gutter) * -1);
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--color-bg);
    border-block-start: 1px solid var(--color-border);
}
.theme-bloom .product__buy .btn { min-height: 52px; }
/* Keep the WhatsApp bubble clear of the docked buy row. */
.theme-bloom:has(.product__buy) .wa-float { inset-block-end: calc(92px + env(safe-area-inset-bottom)); }

.theme-bloom .bloom-assure {
    list-style: none;
    margin: 18px 0 0;
    padding: 14px 16px;
    display: grid;
    gap: 8px;
    border-radius: calc(var(--radius) * .6);
    background: color-mix(in srgb, var(--color-surface) 55%, var(--color-bg));
    font-size: .9rem;
}
.theme-bloom .bloom-assure li { display: flex; gap: 10px; align-items: flex-start; }
.theme-bloom .bloom-assure svg { width: 18px; height: 18px; margin-block-start: 2px; color: var(--color-accent); flex: none; }
.theme-bloom .product__detail { border-block-start: 1px solid var(--color-border); padding-block-start: 28px; }
.theme-bloom .product__detail .prose { max-width: 44rem; font-size: 1.02rem; line-height: 1.7; }
/* "You may also like" gets the same centred heading as the home page. */
.theme-bloom .product ~ .section .section__head { justify-content: center; text-align: center; margin-block-end: 28px; }
.theme-bloom .product ~ .section .section__head h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin: 16px auto 0;
    background: var(--color-accent);
}

@media (min-width: 60rem) {
    .theme-bloom .product__layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
    /* Thumbnails stacked beside the photograph. */
    .theme-bloom .product__gallery:has(.product__thumbs) {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }
    .theme-bloom .product__gallery:has(.product__thumbs) .product__stage { grid-column: 2; grid-row: 1; }
    .theme-bloom .product__thumbs {
        grid-column: 1;
        grid-row: 1;
        flex-direction: column;
        margin: 0;
        padding: 3px;
        max-height: 640px;
        overflow-y: auto;
        overflow-x: visible;
    }
    .theme-bloom .product__thumb { width: 64px; height: 80px; }
    /* Whichever column is shorter stays in view. */
    .theme-bloom .product__info { position: sticky; top: calc(var(--header-h) + 20px); }
    .theme-bloom .product__buy {
        margin-inline: 0;
        padding-inline: 0;
        background: var(--color-bg);
    }
    .theme-bloom:has(.product__buy) .wa-float { inset-block-end: calc(18px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------- cart, checkout */
.theme-bloom .card { border-radius: calc(var(--radius) * .7); }
.theme-bloom .checkout__step-n { background: var(--color-primary); }
.theme-bloom .checkout__step-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.theme-bloom .choice.is-selected { border-color: var(--color-primary); }
.theme-bloom .slot-day,
.theme-bloom .slot-time { border-radius: var(--radius-pill); min-height: 44px; }
.theme-bloom .slot-day.is-selected,
.theme-bloom .slot-time.is-selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.theme-bloom #co-note { min-height: 110px; font-family: var(--font-heading); font-style: italic; font-size: 1.02rem; }
.theme-bloom .line__media img { border-radius: calc(var(--radius) * .4); }

/* --------------------------------------------------------------- footer */
.theme-bloom .bloom-footer {
    margin-block-start: 56px;
    padding-block: 0 20px;
    background: var(--color-primary);
    color: color-mix(in srgb, #fff 86%, transparent);
    border: 0;
}
.theme-bloom .bloom-footer a,
.theme-bloom .bloom-footer h3 { color: #fff; }
.theme-bloom .bloom-footer a:hover { color: color-mix(in srgb, #fff 75%, var(--color-surface)); }
.theme-bloom .bloom-footer .muted { color: color-mix(in srgb, #fff 74%, transparent); }
.theme-bloom .bloom-footer :focus-visible { outline-color: #fff; }

.theme-bloom .bloom-footer__crest {
    text-align: center;
    padding-block: 56px 40px;
    border-block-end: 1px solid color-mix(in srgb, #fff 18%, transparent);
}
.theme-bloom .bloom-footer__name {
    display: inline-block;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144;
}
.theme-bloom .bloom-footer__tagline {
    margin: 14px auto 0;
    max-width: 34rem;
    font-size: 1rem;
}
.theme-bloom .bloom-footer__note {
    margin: 6px auto 0;
    font-size: .86rem;
    color: color-mix(in srgb, #fff 72%, transparent);
}
.theme-bloom .bloom-footer__socials { justify-content: center; margin-block-start: 20px; }
.theme-bloom .bloom-footer__socials a {
    width: 44px; height: 44px;
    border-color: color-mix(in srgb, #fff 30%, transparent);
    color: #fff;
}

.theme-bloom .bloom-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-block: 36px 8px;
}
.theme-bloom .bloom-footer__cols .footer-col:last-child:nth-child(odd) { grid-column: 1 / -1; }
.theme-bloom .bloom-footer .footer-col h3 {
    font-family: var(--font-body);
    font-size: .74rem;
    letter-spacing: .18em;
    color: color-mix(in srgb, #fff 70%, transparent);
}
.theme-bloom .bloom-footer .footer-col a { display: flex; align-items: center; min-height: 36px; padding-block: 2px; overflow-wrap: anywhere; }
.theme-bloom .bloom-footer__address { margin-block-start: 6px; }
@media (min-width: 48rem) {
    .theme-bloom .bloom-footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 900px;
        margin-inline: auto;
        padding-block-start: 44px;
    }
    .theme-bloom .bloom-footer__cols .footer-col:last-child:nth-child(odd) { grid-column: auto; }
}

.theme-bloom .bloom-footer__bar {
    border-block-start-color: color-mix(in srgb, #fff 18%, transparent);
    color: color-mix(in srgb, #fff 72%, transparent);
    justify-content: center;
    text-align: center;
    gap: 10px 26px;
}
.theme-bloom .bloom-footer__bar .pay-icons { margin: 0; justify-content: center; }
.theme-bloom .pay-icons span {
    background: color-mix(in srgb, #fff 12%, transparent);
    border-color: color-mix(in srgb, #fff 22%, transparent);
    color: #fff;
}
@media (min-width: 48rem) { .theme-bloom .bloom-footer__bar { justify-content: space-between; } }

@media (prefers-reduced-motion: reduce) {
    .theme-bloom .product-card__media img,
    .theme-bloom .bloom-occasion__media img,
    .theme-bloom .bloom-header__row,
    .theme-bloom .bloom-header__brand { transition: none; }
    .theme-bloom .bloom-quotes__track { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ fine-tune */
.theme-bloom .bloom-header__msearch input {
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}
/* Once a bouquet is in the basket the stepper takes the photo's foot. */
.theme-bloom .bloom-card__frame:has(.bloom-card__stepper) .bloom-card__sameday { display: none; }
/* The pill carries the focus ring, not the bare input inside it. */
.theme-bloom .search__field input { border: 0; background: transparent; box-shadow: none; padding-inline: 0; }
.theme-bloom .search__field input:focus-visible { outline: 0; }
.theme-bloom .search__field:focus-within { box-shadow: 0 0 0 2px var(--color-accent); background: var(--color-bg); }
