/* Menu page — Bohemian Café */

.bw-menu-frame {
    position: relative;
}

.bw-menu-frame__content {
    min-width: 0;
}

/* Category TOC */
.bw-toc {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.bw-toc::-webkit-scrollbar { display: none; }

.bw-toc__label {
    flex: 0 0 auto;
    font-family: var(--bw-font-display);
    font-style: italic;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--bw-cognac);
    padding-inline: 0.25rem;
}

.bw-toc__mark {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    opacity: 0.7;
}

.bw-toc__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(-10deg);
}

.bw-toc__item {
    flex: 0 0 auto;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--bw-wood) 16%, transparent);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--bw-ivory) 92%, white), color-mix(in srgb, var(--bw-sand) 55%, white));
    color: var(--bw-ink-soft);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(62, 42, 28, 0.06);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bw-toc__item:hover {
    transform: translateY(-1px);
}

.bw-toc__item.is-active {
    background: linear-gradient(135deg, var(--bw-terracotta), var(--bw-cognac));
    border-color: transparent;
    color: var(--bw-ivory);
}

.bw-toc--mobile-bar {
    position: sticky;
    top: var(--bw-masthead-h);
    z-index: 70;
    padding: 0.55rem 0.75rem;
    background: color-mix(in srgb, var(--bw-ivory) 90%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid color-mix(in srgb, var(--bw-wood) 10%, transparent);
}

.bw-toc--desktop-sidebar {
    display: none;
}

/* Hero / menu head */
.bw-menu-head {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 1.75rem;
    background:
        linear-gradient(180deg, rgba(42, 33, 24, 0.55), rgba(42, 33, 24, 0.72)),
        url('../../images/bohemian/hero-flatlay.jpg') center / cover no-repeat;
    color: var(--bw-ivory);
}

.bw-menu-head__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.1rem;
}

.bw-menu-head__intro h1 {
    margin: 0;
    font-family: var(--bw-font-fa);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.bw-menu-head__intro p {
    margin: 0.55rem 0 0;
    max-width: 28rem;
    opacity: 0.9;
    font-size: 0.98rem;
}

.bw-menu-head__intro .bw-ornament-line {
    margin-block: 0.65rem 0.15rem;
    margin-inline: 0;
}

.bw-menu-head__deco {
    position: absolute;
    top: 0.35rem;
    inset-inline-end: 6%;
    z-index: 3;
    width: clamp(56px, 10vw, 96px);
    opacity: 0.65;
    pointer-events: none;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.bw-search {
    display: grid;
    gap: 0.35rem;
    max-width: 360px;
}

.bw-search__label {
    font-size: 0.82rem;
    opacity: 0.85;
}

.bw-search input {
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--bw-ivory) 35%, transparent);
    background: color-mix(in srgb, var(--bw-ivory) 14%, transparent);
    color: var(--bw-ivory);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    min-height: 2.75rem;
}

.bw-search input::placeholder {
    color: color-mix(in srgb, var(--bw-ivory) 65%, transparent);
}

.bw-search input:focus {
    outline: 2px solid color-mix(in srgb, var(--bw-mustard) 55%, transparent);
    outline-offset: 1px;
}

/* Featured rail */
.bw-featured {
    position: relative;
    padding: 2.25rem 0 1.75rem;
    overflow: hidden;
    background: var(--bw-sand);
}

.bw-featured__deco {
    display: none;
}

.bw-featured .bw-container {
    position: relative;
    z-index: 2;
}

.bw-featured .bw-section-head--invert h2,
.bw-featured .bw-section-head--invert .bw-section-head__label {
    color: var(--bw-wood-deep);
}

.bw-featured .bw-section-head--invert .bw-section-head__label {
    color: var(--bw-cognac);
}

.bw-featured__rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0.15rem 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.bw-featured__rail > .bw-spread {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
    max-width: 280px;
}

/* Catalog / chapters */
.bw-catalog {
    position: relative;
    padding: 0.5rem 0 2rem;
}

.bw-chapter {
    position: relative;
    padding: 2rem 0 1.5rem;
}

.bw-chapter + .bw-chapter {
    border-top: 1px solid color-mix(in srgb, var(--bw-wood) 10%, transparent);
}

.bw-chapter > .bw-container {
    position: relative;
    z-index: 2;
}

.bw-chapter__head {
    position: relative;
    margin-bottom: 1.25rem;
    max-width: 38rem;
}

.bw-chapter__plate {
    position: relative;
    z-index: 1;
}

.bw-chapter__head h2 {
    margin: 0;
    font-family: var(--bw-font-fa);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    color: var(--bw-wood-deep);
}

.bw-chapter__head .bw-ornament-line {
    margin-block: 0.55rem 0.1rem;
    margin-inline: 0;
    width: min(140px, 45%);
}

.bw-chapter__head p {
    margin: 0.4rem 0 0;
    color: var(--bw-ink-soft);
    font-size: 0.95rem;
}

.bw-chapter__spreads {
    display: grid;
    gap: 1.15rem;
}

/* Item cards — image beside copy; alternate sides on desktop */
.bw-spread {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.28s var(--bw-ease), box-shadow 0.28s ease;
}

.bw-spread--sold {
    opacity: 0.72;
    filter: grayscale(0.18);
}

.bw-spread--plate {
    display: grid;
    grid-template-columns: minmax(6.5rem, 38%) minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
    border-radius: 1.15rem;
    background: var(--bw-ivory);
    box-shadow: var(--bw-shadow-soft);
}

.bw-spread--plate.bw-spread--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 38%);
}

.bw-spread--plate.bw-spread--reverse .bw-spread__polaroid {
    order: 2;
}

.bw-spread--plate.bw-spread--reverse .bw-spread__ticket {
    order: 1;
}

.bw-spread--plate .bw-spread__polaroid-frame {
    aspect-ratio: auto;
    height: 100%;
    min-height: 9.5rem;
}

.bw-spread--plate .bw-spread__polaroid-frame > img {
    min-height: 9.5rem;
}

.bw-spread--plate .bw-spread__fade {
    inset-block: 0;
    inset-inline-start: auto;
    inset-inline-end: 0;
    width: 42%;
    height: auto;
    background: linear-gradient(
        to left,
        var(--bw-ivory) 0%,
        color-mix(in srgb, var(--bw-ivory) 78%, transparent) 28%,
        color-mix(in srgb, var(--bw-ivory) 28%, transparent) 62%,
        transparent 100%
    );
}

[dir="rtl"] .bw-spread--plate .bw-spread__fade {
    background: linear-gradient(
        to right,
        var(--bw-ivory) 0%,
        color-mix(in srgb, var(--bw-ivory) 78%, transparent) 28%,
        color-mix(in srgb, var(--bw-ivory) 28%, transparent) 62%,
        transparent 100%
    );
}

.bw-spread--plate.bw-spread--reverse .bw-spread__fade {
    inset-inline-start: 0;
    inset-inline-end: auto;
    background: linear-gradient(
        to right,
        var(--bw-ivory) 0%,
        color-mix(in srgb, var(--bw-ivory) 78%, transparent) 28%,
        color-mix(in srgb, var(--bw-ivory) 28%, transparent) 62%,
        transparent 100%
    );
}

[dir="rtl"] .bw-spread--plate.bw-spread--reverse .bw-spread__fade {
    background: linear-gradient(
        to left,
        var(--bw-ivory) 0%,
        color-mix(in srgb, var(--bw-ivory) 78%, transparent) 28%,
        color-mix(in srgb, var(--bw-ivory) 28%, transparent) 62%,
        transparent 100%
    );
}

.bw-spread--plate .bw-spread__ticket {
    margin-top: 0;
    padding: 0.85rem 0.9rem 0.95rem;
    justify-content: center;
}

@media (min-width: 720px) {
    .bw-spread--plate {
        grid-template-columns: minmax(11rem, 38%) minmax(0, 1fr);
    }

    .bw-spread--plate.bw-spread--reverse {
        grid-template-columns: minmax(0, 1fr) minmax(11rem, 38%);
    }

    .bw-spread--plate .bw-spread__polaroid-frame {
        min-height: 12.5rem;
    }

    .bw-spread--plate .bw-spread__polaroid-frame > img {
        min-height: 12.5rem;
    }

    .bw-spread--plate .bw-spread__ticket {
        padding: 1.05rem 1.15rem 1.15rem;
    }
}

.bw-spread--plate:hover {
    transform: translateY(-3px);
    box-shadow: var(--bw-shadow-lift);
}

.bw-spread__polaroid {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    min-width: 0;
}

.bw-spread__polaroid .bw-label {
    z-index: 4;
}

.bw-spread__polaroid-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    padding: 0;
    background: var(--bw-sand);
    overflow: hidden;
}

.bw-spread__polaroid-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 140px;
}

.bw-spread__fade {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 48%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        var(--bw-ivory) 0%,
        color-mix(in srgb, var(--bw-ivory) 78%, transparent) 28%,
        color-mix(in srgb, var(--bw-ivory) 28%, transparent) 62%,
        transparent 100%
    );
}

.bw-spread__ticket {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    margin-top: -2.1rem;
    padding: 0 1rem 1rem;
    background: transparent;
}

.bw-spread__desc {
    margin: 0.15rem 0 0.1rem;
    color: var(--bw-ink-soft, #6b5e52);
    font-size: 0.86rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bw-spread--plate .bw-spread__title {
    font-size: 1.02rem;
    line-height: 1.3;
}

.bw-spread--plate .bw-spread__chapter {
    font-size: 0.72rem;
}

.bw-spread--plate .bw-variants {
    display: grid;
    gap: 0.25rem;
    margin: 0.35rem 0 0;
}

.bw-spread--plate .bw-variant {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.4rem;
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--bw-sand) 42%, transparent);
    border: 1px solid transparent;
}

.bw-spread--plate .bw-variant__meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
    min-width: 0;
}

.bw-spread--plate .bw-variant__name {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.bw-spread--plate .bw-variant__price {
    font-size: 0.72rem;
    color: var(--bw-cognac);
    line-height: 1.15;
}

.bw-spread--plate .bw-variant__price small {
    font-size: 0.6rem;
}

.bw-spread--plate .bw-qty--compact {
    gap: 0.08rem;
    padding: 0.05rem;
    background: color-mix(in srgb, var(--bw-ivory) 80%, white);
}

.bw-spread--plate .bw-qty--compact .bw-qty__btn {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.8rem;
}

.bw-spread--plate .bw-qty--compact .bw-qty__val {
    min-width: 0.85rem;
    font-size: 0.72rem;
}

.bw-spread--plate .bw-spread__foot {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    gap: 0.4rem;
}

.bw-spread--plate .bw-spread__foot--variants {
    margin-top: 0.35rem;
}

.bw-spread--plate .bw-btn--ticket {
    min-height: 1.95rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
}

.bw-spread--plate .bw-qty:not(.bw-qty--compact) .bw-qty__btn {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.85rem;
}

.bw-spread--plate .bw-spread__price {
    font-size: 0.95rem;
}

.bw-spread__chapter {
    font-family: var(--bw-font-display);
    font-style: italic;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--bw-cognac);
}

.bw-spread__title {
    margin: 0;
    font-family: var(--bw-font-fa);
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--bw-wood-deep);
    font-weight: 700;
}

.bw-spread__foot {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-top: 1px solid color-mix(in srgb, var(--bw-sand) 70%, transparent);
}

.bw-spread__foot--variants {
    flex-direction: column;
    align-items: stretch;
}

.bw-spread__pricing {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.bw-spread__price {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--bw-terracotta);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.bw-spread__price small {
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.85;
}

.bw-spread__price-old {
    color: var(--bw-ink-soft);
    font-weight: 500;
    font-size: 0.78rem;
    margin-inline-end: 0.2rem;
}

.bw-spread__badge {
    display: inline-flex;
    width: fit-content;
    font-size: 0.66rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bw-mustard) 30%, var(--bw-ivory));
    color: var(--bw-wood-deep);
}

.bw-spread__actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.bw-spread__blocked {
    font-size: 0.82rem;
    color: var(--bw-ink-soft);
}

.bw-spread__veil {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(42, 33, 24, 0.48);
    color: var(--bw-ivory);
    font-weight: 700;
    border-radius: 0;
    z-index: 3;
}

.bw-btn--ticket {
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--bw-wood) 22%, transparent);
    background: color-mix(in srgb, var(--bw-sand) 45%, var(--bw-ivory));
    color: var(--bw-wood-deep);
    min-height: 2.05rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    cursor: pointer;
}

.bw-btn--ticket:hover {
    background: color-mix(in srgb, var(--bw-mustard) 24%, #FBF7F0);
}

.bw-spread--plate .bw-label {
    top: 0.65rem;
    inset-inline-start: 0.65rem;
}

/* Featured rail */
.bw-spread--compact,
.bw-featured__rail .bw-spread {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    min-height: 0;
    border-radius: 1.15rem;
    background: var(--bw-ivory);
    border: 0;
    box-shadow: var(--bw-shadow-soft);
    overflow: hidden;
}

.bw-spread--picked {
    box-shadow: var(--bw-shadow-lift);
}

.bw-spread--compact .bw-spread__polaroid,
.bw-featured__rail .bw-spread__polaroid {
    width: 100%;
    margin: 0;
}

.bw-spread--compact .bw-spread__polaroid-frame,
.bw-featured__rail .bw-spread__polaroid-frame {
    aspect-ratio: 16 / 10;
    padding: 0;
    background: var(--bw-sand);
}

.bw-spread--compact .bw-spread__polaroid-frame > img,
.bw-featured__rail .bw-spread__polaroid-frame > img {
    min-height: 120px;
}

.bw-spread--compact .bw-spread__fade,
.bw-featured__rail .bw-spread__fade {
    height: 42%;
}

.bw-spread--compact .bw-spread__ticket,
.bw-featured__rail .bw-spread__ticket {
    margin-top: -1.6rem;
    padding: 0 0.85rem 0.85rem;
    background: transparent;
    flex: 1 1 auto;
}

.bw-spread--compact .bw-picked__chip,
.bw-featured__rail .bw-picked__chip {
    font-size: 0.62rem;
    padding: 0.08rem 0.4rem;
}

.bw-spread--compact .bw-spread__title,
.bw-featured__rail .bw-spread__title {
    font-size: 0.95rem;
    line-height: 1.3;
}

.bw-spread--compact .bw-variants,
.bw-featured__rail .bw-variants {
    gap: 0.25rem;
    margin: 0.35rem 0 0;
}

.bw-spread--compact .bw-variant,
.bw-featured__rail .bw-variant {
    padding: 0.28rem 0.35rem;
    gap: 0.4rem;
    border-radius: 0.55rem;
    background: color-mix(in srgb, var(--bw-sand) 28%, transparent);
}

.bw-spread--compact .bw-variant__name,
.bw-featured__rail .bw-variant__name {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
}

.bw-spread--compact .bw-variant__price,
.bw-featured__rail .bw-variant__price {
    font-size: 0.72rem;
}

.bw-spread--compact .bw-variant__price small,
.bw-featured__rail .bw-variant__price small {
    font-size: 0.62rem;
}

.bw-spread--compact .bw-qty--compact .bw-qty__btn,
.bw-featured__rail .bw-qty--compact .bw-qty__btn {
    width: 1.45rem;
    height: 1.45rem;
    font-size: 0.85rem;
}

.bw-spread--compact .bw-qty--compact .bw-qty__val,
.bw-featured__rail .bw-qty--compact .bw-qty__val {
    min-width: 1rem;
    font-size: 0.75rem;
}

.bw-spread--compact .bw-spread__foot,
.bw-featured__rail .bw-spread__foot {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
}

.bw-spread--compact .bw-spread__price,
.bw-featured__rail .bw-spread__price {
    font-size: 0.88rem;
}

.bw-spread--compact .bw-qty:not(.bw-qty--compact) .bw-qty__btn,
.bw-featured__rail .bw-qty:not(.bw-qty--compact) .bw-qty__btn {
    width: 1.65rem;
    height: 1.65rem;
}

.bw-picked__chip {
    display: inline-flex;
    width: fit-content;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bw-mustard) 22%, transparent);
    color: var(--bw-wood-deep);
    font-weight: 600;
    font-size: 0.72rem;
}

.bw-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--bw-ink-soft);
}

.bw-empty__mark {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    background: url('../../images/bohemian/deco-macrame.png') center / contain no-repeat;
    opacity: 0.55;
}

@media (min-width: 992px) {
    .bw-menu-frame {
        display: grid;
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 1.25rem;
        width: var(--bw-container);
        margin-inline: auto;
        align-items: start;
    }

    .bw-toc--mobile-bar {
        display: none;
    }

    .bw-toc--desktop-sidebar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: sticky;
        top: calc(var(--bw-masthead-h) + 1rem);
        max-height: calc(100vh - var(--bw-masthead-h) - 2rem);
        overflow: auto;
        padding: 1rem 0.75rem;
        border-radius: 1rem;
        background: color-mix(in srgb, var(--bw-ivory) 88%, transparent);
        border: 1px solid color-mix(in srgb, var(--bw-wood) 12%, transparent);
        box-shadow: var(--bw-shadow-soft);
        gap: 0.4rem;
    }

    .bw-toc--desktop-sidebar .bw-toc__label {
        margin-bottom: 0.35rem;
    }

    .bw-toc--desktop-sidebar .bw-toc__item {
        justify-content: flex-start;
        border-radius: 0.85rem;
        white-space: normal;
        text-align: start;
    }

    .bw-menu-frame__content .bw-menu-head,
    .bw-menu-frame__content .bw-featured {
        margin-inline: 0;
        border-radius: 1rem;
        overflow: hidden;
    }
}

@media (max-width: 767.98px) {
    .bw-menu-head,
    .bw-featured,
    .bw-chapter,
    .bw-catalog,
    .bw-menu-frame,
    .bw-menu-frame__content {
        max-width: 100%;
        overflow-x: clip;
    }

    .bw-menu-head__deco {
        width: 48px;
        opacity: 0.5;
        top: 0.4rem;
        inset-inline-end: 0.75rem;
    }

    .bw-spread__ticket {
        margin-top: -1.7rem;
        padding: 0 0.85rem 0.9rem;
    }

    .bw-spread--plate .bw-spread__ticket {
        margin-top: 0;
        padding: 0.75rem 0.7rem 0.85rem;
    }

    .bw-spread--plate .bw-spread__desc {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 0.78rem;
    }

    .bw-spread--plate .bw-spread__title {
        font-size: 0.95rem;
    }

    .bw-btn--ticket,
    .bw-spread--plate .bw-btn--ticket {
        min-height: 1.85rem;
        padding: 0.22rem 0.55rem;
        font-size: 0.68rem;
    }

    .bw-featured__rail > .bw-spread {
        flex-basis: min(78vw, 240px);
        max-width: 240px;
    }

    .bw-spread--compact .bw-spread__ticket,
    .bw-featured__rail .bw-spread__ticket {
        margin-top: -1.35rem;
        padding: 0 0.7rem 0.75rem;
    }

    .bw-spread__price {
        font-size: 0.9rem;
    }
}

/* Item detail modal */
.flr-modal.bw-editorial {
    position: fixed;
    inset: 0;
    z-index: 5200;
    display: grid;
    place-items: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.flr-modal.bw-editorial.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.flr-modal.bw-editorial .bw-editorial__veil {
    position: absolute;
    inset: 0;
}

.flr-modal.bw-editorial .bw-editorial__sheet {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    max-height: min(90dvh, 720px);
    overflow: auto;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.28s var(--bw-ease);
    box-shadow: var(--bw-shadow-lift);
}

.flr-modal.is-open .bw-editorial__sheet {
    transform: none;
}
