/*
 * MenuMaker - the BRASA template of the public menu (partials/menu/tpl_brasa.php, js/menu/tpl-brasa.js).
 * Loaded after css/menu.css, on the menu page only and only while the customer's web_template is
 * brasa.
 *
 * The apps' Brasa (menumaker-app-mobile, Kiosk/Home/brasa) for the web: its sizes, its colours and
 * its curves, taken from there. Ember on charcoal (or on cream, light): one accent - the customer's
 * primary colour, #e3a857 when it names none (views/pages/menu.php) - glass buttons, Poppins. In
 * landscape a side column, in portrait a header with the categories as chips - as the apps choose
 * by the screen's shape; one category at a time beside it, as a carousel of tall picture cards,
 * cards, a list, or a cellar.
 *
 * The page's own pieces - the product sheet, the order, the list, the filters, the idle notice -
 * keep their markup and get this look through the base tokens below, plus their Brasa geometry
 * (the product full screen with its picture beside it, the order as a drawer).
 *
 * Without the script (no .mmm-js) every category is on the page one after the other.
 */

/* ------------------------------------------------------------------ the face */

@font-face {
    font-family: "Poppins";
    src: url("../../fonts/poppins-latin-300-normal.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../../fonts/poppins-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../../fonts/poppins-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../../fonts/poppins-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../../fonts/poppins-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ------------------------------------------------------------------ tokens */

.mmm--tpl-brasa {
    /* the ember is the customer's primary colour; the text on it is its own */
    --b-acc: var(--mmm-primary);
    --b-on-acc: var(--mmm-on-primary);
    --b-acc-glow: 0 8px 22px color-mix(in srgb, var(--b-acc) 25%, transparent);
    --b-glow2: #e6783c;

    --b-bg: #12100e;
    --b-fg: #f2ece3;
    --b-fg-rgb: 242, 236, 227;
    --b-sheet: #1c1916;
    --b-ph: #221e1a;
    /* the ember as text on the page */
    --b-acct: var(--b-acc);
    --b-glow-a: 10%;
    --b-glow-b: 7%;

    /* the cellar's room: its spotlight (r, g, b) and the floor the bottles stand on */
    --b-light: 255, 224, 170;
    --b-floor: #080606;
    --b-mark: rgba(242, 236, 227, .045);
    --b-vignette: rgba(0, 0, 0, .55);

    --b-ease: cubic-bezier(.2, .8, .2, 1);
    --b-pop: cubic-bezier(.3, 1.6, .5, 1);
    --b-side: 290px;

    /* the page's own pieces wear Brasa through these */
    --mmm-bg: var(--b-bg);
    --mmm-surface: var(--b-sheet);
    --mmm-surface-2: var(--b-ph);
    --mmm-ink: var(--b-fg);
    --mmm-ink-2: rgba(var(--b-fg-rgb), .7);
    --mmm-ink-3: rgba(var(--b-fg-rgb), .5);
    --mmm-line: rgba(var(--b-fg-rgb), .12);
    --mmm-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mmm-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mmm-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .6);
    --mmm-shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);

    position: relative;
    padding-bottom: 0;
    background: var(--b-bg);
    color: var(--b-fg);
    font-family: var(--mmm-sans);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
}

.mmm--tpl-brasa[data-tone="light"] {
    --b-bg: #f7f2eb;
    --b-fg: #1f1a16;
    --b-fg-rgb: 31, 26, 22;
    --b-sheet: #fffbf6;
    --b-ph: #e9e1d6;
    --b-acct: color-mix(in srgb, var(--b-acc) 62%, #000);
    --b-glow-a: 14%;
    --b-glow-b: 10%;
    --b-light: 255, 244, 222;
    --b-floor: #e2d3c0;
    --b-mark: rgba(60, 40, 20, .06);
    --b-vignette: rgba(90, 70, 48, .55);
    color-scheme: light;
}

body:has(.mmm--tpl-brasa) {
    background: #12100e;
}

body:has(.mmm--tpl-brasa[data-tone="light"]) {
    background: #f7f2eb;
}

/* the screen is the app - only with the script, which moves between its categories */
.mmm-js .mmm--tpl-brasa {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

.mmm--tpl-brasa button {
    font-family: inherit;
}

.br-icon {
    flex: none;
    display: block;
}

/* two embers of light behind the whole menu - the ember top right, a deeper one bottom left - drifting */
.br-glow {
    position: fixed;
    inset: -20%;
    pointer-events: none;
    background:
        radial-gradient(circle calc((100vw + 100vh) * .31) at 72% 18%,
            color-mix(in srgb, var(--b-acc) var(--b-glow-a), transparent),
            color-mix(in srgb, var(--b-acc) calc(var(--b-glow-a) * .82), transparent) 20%,
            color-mix(in srgb, var(--b-acc) calc(var(--b-glow-a) * .52), transparent) 40%,
            color-mix(in srgb, var(--b-acc) calc(var(--b-glow-a) * .26), transparent) 60%,
            color-mix(in srgb, var(--b-acc) calc(var(--b-glow-a) * .08), transparent) 80%,
            transparent),
        radial-gradient(circle calc((100vw + 100vh) * .34) at 18% 88%,
            color-mix(in srgb, var(--b-glow2) var(--b-glow-b), transparent),
            color-mix(in srgb, var(--b-glow2) calc(var(--b-glow-b) * .82), transparent) 20%,
            color-mix(in srgb, var(--b-glow2) calc(var(--b-glow-b) * .52), transparent) 40%,
            color-mix(in srgb, var(--b-glow2) calc(var(--b-glow-b) * .26), transparent) 60%,
            color-mix(in srgb, var(--b-glow2) calc(var(--b-glow-b) * .08), transparent) 80%,
            transparent);
    animation: brDrift 16s ease-in-out infinite alternate;
}

/* the frosted pill every secondary control wears */
.br-glass {
    border: 1px solid rgba(var(--b-fg-rgb), .14);
    background: rgba(var(--b-fg-rgb), .08);
    color: var(--b-fg);
}

.br-round {
    flex: none;
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
}

.br-round--40 { width: 40px; height: 40px; }
.br-round--42 { width: 42px; height: 42px; }
.br-round--46 { width: 46px; height: 46px; }
.br-round--56 { width: 56px; height: 56px; }

.br-round[hidden] {
    display: none;
}

/* small caps over titles */
.br-eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(var(--b-fg-rgb), .55);
}

.br-acct {
    color: var(--b-acct);
}

/* the ember-filled pill: add, continue */
.br-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: 28px;
    background: var(--b-acc);
    color: var(--b-on-acc);
    box-shadow: var(--b-acc-glow);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.br-btn--ghost {
    padding: 0 20px;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    background: none;
    color: var(--b-fg);
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
}

.br-btn--wide {
    flex: 1;
    width: 100%;
}

.br-btn:active,
.br-ctrl:active,
.br-chip:active,
.br-nav__item:active,
.br-round:active,
.br-brand:active,
.br-lang__btn:active,
.br-seg button:active {
    transform: scale(.95);
}

/* the light that runs across the one way forward */
.br-shine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 35%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
    animation: brShine 3.6s ease-in-out 1s infinite;
    pointer-events: none;
}

.br-powered {
    display: inline-block;
    padding: 8px;
    font-size: 11px;
    letter-spacing: .2px;
    color: rgba(var(--b-fg-rgb), .4);
    text-decoration: none;
}

.br-powered span {
    font-weight: 600;
    color: rgba(var(--b-fg-rgb), .65);
}

/* ------------------------------------------------------------------ the shell: portrait first */

.br-shell {
    position: relative;
    display: flex;
    flex-direction: column;
}

.mmm-js .br-shell {
    height: 100%;
}

.br-only-tablet {
    display: none !important;
}

.br-side {
    flex: none;
    position: relative;
    z-index: 5;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 0;
}

/* portrait: the brand, the language, the search and the order */
.br-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.br-top .br-brand {
    flex: 1;
    min-width: 0;
}

/* the brand: the horizontal logo (it carries the name), else the round mark and the name */
.br-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--b-fg);
    text-align: left;
    cursor: pointer;
}

.br-brand__logo {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.br-brand__wide {
    display: block;
    height: 36px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.br-brand__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.br-brand__name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

/* the horizontal logo says the name; kept for whoever cannot see it */
.br-brand--wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.br-brand--wide .br-brand__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.br-brand__spot {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--b-acct);
}

.br-brand__spot[hidden] {
    display: none;
}

.br-cart-mini__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--b-acc);
    color: var(--b-on-acc);
    box-shadow: var(--b-acc-glow);
    font-size: 11px;
    font-weight: 600;
}

.br-cart-mini__badge[hidden] {
    display: none;
}

/* the categories: a strip of chips in portrait */
.br-nav ul {
    display: flex;
    gap: 8px;
    margin: 12px -20px 0;
    padding: 0 20px 12px;
    overflow-x: auto;
    scrollbar-width: none;
    list-style: none;
}

.br-nav ul::-webkit-scrollbar {
    display: none;
}

.br-nav__item {
    flex: none;
    display: flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    border-radius: 999px;
    color: var(--b-fg);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .3s, color .3s, border-color .3s;
}

.br-nav__item[aria-current="true"] {
    border-color: var(--b-acc);
    background: var(--b-acc);
    color: var(--b-on-acc);
}

.br-nav__num {
    display: none;
}

.br-main {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 0;
    transition: opacity .22s ease, transform .4s var(--b-ease);
}

.br-main.is-fading {
    opacity: 0;
    transform: translateY(16px);
}

/* ------------------------------------------------------------------ a category */

.br-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding-bottom: 32px;
}

.mmm-js .br-panel {
    height: 100%;
    padding-bottom: 0;
}

.mmm-js .br-panel:not(.is-active) {
    display: none;
}

/* its head: the name set large, the views to its right (under it in portrait), its sections under */
.br-head {
    position: relative;
    z-index: 2;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 6px 20px;
}

.br-head__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.br-head__titles {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    padding-bottom: 6px;
}

.br-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.5px;
}

.br-head__side {
    display: flex;
    gap: 8px;
}

.br-ctrls,
.br-head__lang {
    display: flex;
    align-items: center;
    gap: 8px;
}

.br-ctrls[hidden] {
    display: none;
}

.br-ctrl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    border-radius: 22px;
    background: transparent;
    color: var(--b-fg);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .25s, border-color .25s;
}

.br-ctrl[hidden] {
    display: none;
}

/* the filters: ember while some are on, with how many */
.br-filterbtn.is-on {
    border-color: var(--b-acc);
    background: color-mix(in srgb, var(--b-acc) 14%, transparent);
}

.br-badge {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--b-acc);
    color: var(--b-on-acc);
    box-shadow: var(--b-acc-glow);
    font-size: 11px;
    font-weight: 600;
    animation: brPop .4s var(--b-pop);
}

.br-badge[hidden] {
    display: none;
}

.br-slidebtn {
    padding: 0 16px 0 12px;
}

.br-slidebtn[aria-pressed="true"] {
    background: color-mix(in srgb, var(--b-acc) 14%, transparent);
}

.br-slidebtn__dot {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--b-acc);
    color: var(--b-on-acc);
    box-shadow: var(--b-acc-glow);
}

.br-slidebtn[aria-pressed="true"] .br-slidebtn__play,
.br-slidebtn[aria-pressed="false"] .br-slidebtn__pause {
    display: none;
}

/* the slideshow only drives the carousel */
.br-panel:not([data-view="carousel"]) .br-slidebtn {
    display: none;
}

/* the category's views as one segmented pill */
.br-seg {
    display: flex;
    height: 44px;
    padding: 4px;
    border: 1px solid rgba(var(--b-fg-rgb), .1);
    border-radius: 22px;
    background: rgba(var(--b-fg-rgb), .06);
}

.br-seg button {
    display: grid;
    place-items: center;
    width: 44px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: var(--b-fg);
    cursor: pointer;
    transition: background-color .25s, color .25s;
}

.br-seg button[aria-pressed="true"] {
    background: var(--b-acc);
    color: var(--b-on-acc);
}

/* a line of pills - the sections, or the first filter - and the filter button at its end */
.br-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.br-line[hidden] {
    display: none;
}

.br-strip {
    align-items: flex-end;
}

.br-strip__values {
    flex: 1;
    min-width: 0;
}

.br-strip__label {
    margin: 0 0 5px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(var(--b-fg-rgb), .6);
}

.br-chips {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.br-chips::-webkit-scrollbar {
    display: none;
}

/* a pill that fills with ember when chosen - a phone's are the strip's height */
.br-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    border-radius: 999px;
    background: transparent;
    color: var(--b-fg);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}

.br-chip[aria-pressed="true"] {
    border-color: var(--b-acc);
    background: var(--b-acc);
    color: var(--b-on-acc);
}

/* an allergen's icon on a light disc, in both themes: the icons are drawn for a light page */
.br-chip--icon {
    padding-left: 5px;
}

.br-chip__disc {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #efe8dd;
}

.br-chip__disc img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    filter: grayscale(1);
}

/* portrait: the filter button the strip's height too */
.br-line .br-filterbtn {
    flex: none;
    height: 32px;
    gap: 6px;
    border-radius: 999px;
    font-size: 12px;
}

.br-line .br-filterbtn .br-icon {
    width: 14px;
    height: 14px;
}

.br-line .br-filterbtn .br-badge {
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
}

/* ------------------------------------------------------------------ products: one card, three views */

.mmm .br-track {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 8px 20px 24px;
    list-style: none;
}

.mmm-js .br-track {
    flex: 1;
    min-height: 0;
    scrollbar-width: none;
}

.br-track::-webkit-scrollbar {
    display: none;
}

.br-item {
    position: relative;
}

/* (the page's list view draws a line under each row; Brasa's rows are cards) */
.mmm.mmm--tpl-brasa .br-panel .br-track > .br-item {
    border: 0;
}

.br-card {
    position: relative;
    display: flex;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.br-card__media {
    flex: none;
    position: relative;
    overflow: hidden;
    background: var(--b-ph);
}

.br-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* the category's pictures whole, where it says so (background_fit) */
.br-fit--contain .br-card__media img {
    object-fit: contain;
}

.br-card__body {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.br-card__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.br-card__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
}

.br-card__desc {
    min-width: 0;
    font-size: 13px;
    line-height: 19px;
    color: rgba(var(--b-fg-rgb), .6);
}

.br-card__price {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
}

.br-card__price strong {
    order: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--b-acct);
}

.br-card__price del {
    order: 2;
    font-size: 13px;
    color: rgba(var(--b-fg-rgb), .45);
}

.br-card__price em {
    order: 3;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    color: var(--b-acct);
}

.br-card__unit {
    font-size: .8em;
    font-weight: 400;
    opacity: .7;
}

.br-card__deal {
    position: absolute;
    z-index: 2;
}

.br-card__add {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--b-acc);
    color: var(--b-on-acc);
    box-shadow: var(--b-acc-glow);
    cursor: pointer;
}

.br-card__add:active {
    transform: scale(.92);
}

/* carousel: a full-bleed picture, the text on it; the centred one full size, its neighbours smaller */

.br-panel[data-view="carousel"] .br-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    padding: var(--lead, 14px) 8px;
}

.br-panel[data-view="carousel"] .br-item {
    flex: none;
    width: min(480px, 100%);
    height: 500px;
    scroll-snap-align: center;
    will-change: transform, opacity;
}

.br-panel[data-view="carousel"] .br-card {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    background: var(--b-ph);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
    /* the text sits on a picture: always the light ink */
    --b-fg-rgb: 242, 236, 227;
    color: #f2ece3;
}

.br-panel[data-view="carousel"] .br-card__media {
    position: absolute;
    inset: 0;
}

.br-panel[data-view="carousel"] .br-card__deal {
    top: 18px;
    right: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(18, 16, 14, .55);
    color: var(--b-acc);
    font-size: 12px;
    font-weight: 500;
}

.br-panel[data-view="carousel"] .br-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    gap: 0;
    padding: 90px 26px 26px;
    background: linear-gradient(to bottom, rgba(12, 10, 9, 0), rgba(12, 10, 9, .94));
}

.br-panel[data-view="carousel"] .br-card__name {
    -webkit-line-clamp: 3;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -.2px;
}

.br-panel[data-view="carousel"] .br-card__row {
    flex-wrap: nowrap;
    margin-top: 14px;
}

.br-panel[data-view="carousel"] .br-card__desc {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.br-panel[data-view="carousel"] .br-card__price strong {
    order: 2;
    font-size: 16px;
    color: var(--b-acc);
}

.br-panel[data-view="carousel"] .br-card__price del {
    order: 1;
    color: rgba(242, 236, 227, .5);
}

.br-panel[data-view="carousel"] .br-card__price em,
.br-panel[data-view="carousel"] .br-card__add {
    display: none;
}

/* card: the picture on top, its name, a line of description, the price and the "+" */

.br-panel[data-view="card"] .br-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(min(260px, calc((100% - 12px) / 2)), calc((100% - 36px) / 4)), 1fr));
    align-content: start;
    gap: 12px;
    overflow-y: auto;
    padding: 8px 20px 130px;
}

.br-panel[data-view="card"] .br-card {
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 10px;
    border: 1px solid rgba(var(--b-fg-rgb), .07);
    border-radius: 26px;
    background: rgba(var(--b-fg-rgb), .04);
    transition: background-color .2s;
}

.br-panel[data-view="card"] .br-card:hover,
.br-panel[data-view="list"] .br-card:hover {
    background: rgba(var(--b-fg-rgb), .07);
}

.br-panel[data-view="card"] .br-card__media {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
}

.br-panel[data-view="card"] .br-card__deal {
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--b-acc);
    color: var(--b-on-acc);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
}

.br-panel[data-view="card"] .br-card__body {
    flex: 1;
    padding: 0 4px;
}

.br-panel[data-view="card"] .br-card__row {
    flex: 1;
    align-content: space-between;
}

.br-panel[data-view="card"] .br-card__desc {
    flex-basis: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.br-panel[data-view="card"] .br-card__desc--none {
    display: none;
}

.br-panel[data-view="card"] .br-card__price {
    flex-shrink: 1;
    min-height: 42px;
    align-content: center;
}

.br-panel[data-view="card"] .br-card__price em {
    display: none;
}

.br-panel[data-view="card"] .br-item:has(.br-card__add) .br-card__row {
    min-height: 42px;
    padding-right: 50px;
}

.br-panel[data-view="card"] .br-card__add {
    right: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
}

/* list: rows with a thumbnail - two columns in landscape */

.br-panel[data-view="list"] .br-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 12px;
    overflow-y: auto;
    padding: 8px 20px 130px;
}

.br-panel[data-view="list"] .br-card {
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 12px;
    border: 1px solid rgba(var(--b-fg-rgb), .07);
    border-radius: 26px;
    background: rgba(var(--b-fg-rgb), .04);
    transition: background-color .2s;
}

.br-panel[data-view="list"] .br-item:has(.br-card__add) .br-card {
    padding-right: 74px;
}

.br-panel[data-view="list"] .br-card__media {
    width: 88px;
    height: 88px;
    border-radius: 20px;
}

.br-panel[data-view="list"] .br-card__deal {
    display: none;
}

.br-panel[data-view="list"] .br-card__body {
    flex: 1;
}

.br-panel[data-view="list"] .br-card__desc {
    flex-basis: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.br-panel[data-view="list"] .br-card__desc--none {
    display: none;
}

.br-panel[data-view="list"] .br-card__price {
    margin-top: 2px;
}

.br-panel[data-view="list"] .br-card__add {
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

.br-panel[data-view="list"] .br-card__add:active {
    transform: translateY(-50%) scale(.92);
}

/* ------------------------------------------------------------------ the cellar: bottles under a spotlight */

/* a category allowed both ways has both on the page: only the one in view shows */
.mmm--tpl-brasa .br-panel:not([data-view="shelf"]) .br-cellar,
.mmm--tpl-brasa .br-panel:not([data-view="shelf"]) .br-room,
.mmm--tpl-brasa .br-panel[data-view="shelf"] .br-track {
    display: none;
}

.br-cellar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.mmm-js .br-cellar {
    flex: 1;
    min-height: 0;
}

.br-cellar[hidden] {
    display: none;
}

.br-stage {
    position: relative;
    container-type: inline-size;
    min-height: 360px;
    --slot: max(180px, 33.333cqw);
}

.mmm-js .br-stage {
    flex: 1;
    min-height: 0;
}

/* the light the centre bottle stands in: a cone from above onto a warm pool on the floor */
.br-stage__light {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
}

.br-panel.is-in .br-stage__light {
    animation: brLamp 1s linear .25s both;
}

.br-stage__beam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* the floor: under the room above the bottles, five parts of bottle to one of reflection */
    height: calc(50px + (100% - 50px) * 5 / 6);
    clip-path: polygon(calc(50% - 4cqw) 0, calc(50% + 4cqw) 0, calc(50% + min(21cqw, 230px)) 100%, calc(50% - min(21cqw, 230px)) 100%);
    background: linear-gradient(to bottom, rgba(var(--b-light), 0), rgba(var(--b-light), .2) 30%, rgba(var(--b-light), .03));
}

.br-stage__pool {
    position: absolute;
    top: calc(50px + (100% - 50px) * 5 / 6);
    left: 50%;
    width: min(52cqw, 570px);
    height: min(9.24cqw, 101px);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(var(--b-light), .28), rgba(var(--b-light), 0));
    transform: translate(-50%, -50%);
}

.br-stage__motes {
    position: absolute;
    inset: 0;
}

/* dust turning in the beam */
.br-stage__motes i {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--b-light), .9);
    opacity: .15;
    animation: brMote var(--d, 6s) ease-in-out var(--delay, 0s) infinite alternate;
}

.mmm .br-shelf {
    position: absolute;
    inset: 0;
    display: flex;
    margin: 0;
    padding: 50px calc(50% - var(--slot) / 2) 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.br-shelf::-webkit-scrollbar {
    display: none;
}

.br-bottle-item {
    flex: none;
    width: var(--slot);
    height: 100%;
    scroll-snap-align: center;
    /* the centred one faces the guest, its neighbours turn away and recede (js/menu/tpl-brasa.js) */
    opacity: calc(1 - var(--far, 0) * .32);
    transform: perspective(1000px) rotateY(var(--turn, 0deg)) scale(calc(1 - var(--far, 0) * .17));
    will-change: transform, opacity;
}

/* the page opens with the bottles rising onto the shelf one after another */
.mmm-js .br-panel .br-bottle {
    opacity: 0;
    transform: translateY(160px) rotateY(24deg);
}

.mmm-js .br-panel.is-in .br-bottle {
    opacity: 1;
    transform: none;
    transition: opacity .95s var(--b-ease), transform .95s var(--b-ease);
    transition-delay: calc(.45s + min(var(--i, 0), 5) * .13s);
}

.br-bottle {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.br-bottle__glass {
    flex: 5 1 0;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* in portrait the bottles a little smaller than their slot - the shelf is narrow and tall there */
.br-bottle__glass img,
.br-bottle__refl img {
    width: auto;
    max-width: 90%;
    height: 81.6%;
    object-fit: contain;
    object-position: center bottom;
}

.br-bottle--none .br-bottle__glass span {
    display: grid;
    place-items: center;
    width: 60%;
    height: 80%;
    padding: 16px;
    border-radius: 999px 999px 24px 24px;
    background: var(--b-ph);
    color: rgba(var(--b-fg-rgb), .6);
    font-size: 13px;
}

/* its soft shadow on the floor */
.br-bottle__shadow {
    flex: none;
    align-self: center;
    width: 55%;
    height: 28px;
    margin-top: -14px;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}

/* and its reflection, fading away */
.br-bottle__refl {
    flex: 1 1 0;
    min-height: 0;
    margin-top: -14px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .26), rgba(0, 0, 0, .104) 40%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .26), rgba(0, 0, 0, .104) 40%, rgba(0, 0, 0, 0));
}

.br-bottle__refl img {
    flex: none;
    height: 408%;
    transform: scaleY(-1);
    transform-origin: center top;
    translate: 0 100%;
}

/* the label of the bottle in the light: region and place, the name, the price - and the ways forward */
.br-shelfinfo {
    flex: none;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 170px;
    justify-content: flex-end;
    padding: 0 20px 16px;
}

.br-shelfinfo[hidden] {
    display: none;
}

.br-shelfinfo.is-turn > * {
    animation: brUp .38s var(--b-ease) both;
}

.br-shelfinfo__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.br-shelfinfo__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: -.4px;
}

.br-shelfinfo__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}

.br-shelfinfo__price[hidden] {
    display: none;
}

.br-shelfinfo__price strong {
    font-size: 18px;
    font-weight: 500;
    color: rgba(var(--b-fg-rgb), .75);
}

.br-shelfinfo__price del {
    font-size: 14px;
    color: rgba(var(--b-fg-rgb), .45);
}

.br-shelfinfo__price em {
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    color: var(--b-acct);
}

.br-shelfinfo__btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.br-shelfinfo__cart {
    flex: none;
    width: 56px;
    height: 56px;
    margin-left: auto;
}

/* the room the wine list opens into: its own backdrop, the floor at its foot, the name pressed in */
.br-room {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    animation: brFade .7s ease-out both;
}

.br-room img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.br-room::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, var(--b-floor));
}

.br-room::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 70% at 50% 45%, transparent 55%, var(--b-vignette));
}

.br-room__mark {
    position: absolute;
    inset: 0 24px 80px;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: min(180px, 15vw);
    font-weight: 600;
    letter-spacing: 12px;
    white-space: nowrap;
    color: var(--b-mark);
    animation: brMark 1.4s var(--b-ease) .3s both;
}

/* ------------------------------------------------------------------ nothing to show */

.br-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
    animation: brUp .4s var(--b-ease);
}

.br-empty[hidden] {
    display: none;
}

.br-empty__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(var(--b-fg-rgb), .06);
    color: rgba(var(--b-fg-rgb), .5);
}

.br-empty p {
    margin: 0;
    font-size: 16px;
    color: rgba(var(--b-fg-rgb), .7);
}

.br-empty .br-btn--ghost {
    height: 48px;
    border-radius: 24px;
}

/* ------------------------------------------------------------------ the side column: booking */

.br-bookbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 10px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--b-fg);
    font-weight: 600;
    text-decoration: none;
}

.mmm--tpl-brasa .mmm-tone {
    border: 1px solid rgba(var(--b-fg-rgb), .14);
    background: rgba(var(--b-fg-rgb), .08);
    color: var(--b-fg);
}

.mmm--tpl-brasa .mmm-tone[hidden] {
    display: none;
}

/* ------------------------------------------------------------------ a page of the customer's: a spread */

/* in portrait the picture tops the page and the text follows, scrolling together */
.br-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 8px 20px 40px;
}

.mmm-js .br-page {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
}

.br-page::-webkit-scrollbar {
    display: none;
}

.br-page__media {
    flex: none;
    margin: 0;
    overflow: hidden;
    border-radius: 36px;
    background: var(--b-ph);
}

.br-page__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc((100vw - 40px) * 1.25);
    object-fit: cover;
}

.br-page__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.br-page--alone .br-page__text {
    max-width: 680px;
}

.br-page__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.br-page__title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    line-height: 33px;
    letter-spacing: -.6px;
}

.br-page__sub {
    margin: 0;
    font-size: 16px;
    line-height: 23px;
    color: rgba(var(--b-fg-rgb), .65);
}

.br-page__rule {
    display: block;
    width: 48px;
    height: 2px;
    border-radius: 1px;
    background: var(--b-acc);
}

.br-page__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 15px;
    line-height: 25px;
    color: rgba(var(--b-fg-rgb), .72);
    overflow-wrap: anywhere;
}

.br-page__body > *,
.br-page__body p {
    margin: 0;
}

.br-page__body strong,
.br-page__body b {
    font-weight: 600;
    color: var(--b-fg);
}

.br-page__body h2,
.br-page__body h3,
.br-page__body h4 {
    margin: 8px 0 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 25px;
    color: var(--b-fg);
}

.br-page__body ul,
.br-page__body ol {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    list-style: none;
}

.br-page__body li {
    position: relative;
    padding-left: 18px;
}

.br-page__body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--b-acc);
}

.br-page__body blockquote {
    margin: 0;
    padding-left: 16px;
    border-left: 2px solid var(--b-acc);
    font-style: italic;
}

.br-page__body a {
    color: var(--b-acct);
    text-decoration: underline;
}

.br-page__body img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.br-page__body hr {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(var(--b-fg-rgb), .14);
}

/* ------------------------------------------------------------------ about us: a customer without pages */

.br-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 280px auto;
    gap: 28px;
    padding: 8px 20px 40px;
}

.mmm-js .br-about {
    overflow-y: auto;
}

.br-about__media {
    min-height: 240px;
    overflow: hidden;
    border-radius: 36px;
    background: var(--b-ph);
}

.br-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.br-about__text {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 8px 4px;
}

.br-about__logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
}

.br-about__name {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.6px;
}

.br-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 10px 0 0;
}

.br-fact {
    padding: 16px 18px;
    border: 1px solid rgba(var(--b-fg-rgb), .07);
    border-radius: 20px;
    background: rgba(var(--b-fg-rgb), .04);
}

.br-fact dt {
    font-size: 12px;
    color: rgba(var(--b-fg-rgb), .55);
}

.br-fact dd {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.br-fact a {
    color: inherit;
    text-decoration: none;
}

.br-about__book {
    margin: 8px 0 0;
}

.br-about__book .br-book {
    display: inline-flex;
    text-decoration: none;
}

.br-about__note {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(var(--b-fg-rgb), .5);
}

/* ------------------------------------------------------------------ the reveal of a category */

.mmm-js .br-panel .br-rv {
    opacity: 0;
    transform: translateY(14px) scale(.96);
    transition: opacity .45s ease, transform .6s var(--b-ease);
}

.mmm-js .br-panel.is-in .br-rv {
    opacity: 1;
    transform: none;
}

.mmm-js .br-panel .br-rv--grow {
    transform: scale(.94);
}

.mmm-js .br-panel.is-in .br-rv--grow { transition-delay: .05s; }
.mmm-js .br-panel.is-in .br-rv--0 { transition-delay: .02s; }
.mmm-js .br-panel.is-in .br-rv--1 { transition-delay: .12s; }
.mmm-js .br-panel.is-in .br-rv--2 { transition-delay: .2s; }
.mmm-js .br-panel.is-in .br-rv--3 { transition-delay: .26s; }

/* the title rises out of its own baseline */
.mmm-js .br-title {
    transform: translateY(80%);
    opacity: 0;
    transition: transform .7s var(--b-ease), opacity .5s ease;
}

.mmm-js .br-panel.is-in .br-title {
    transform: none;
    opacity: 1;
    transition-delay: .08s;
}

.mmm-js .mmm--tpl-brasa .br-panel[data-view="carousel"] .br-track.br-rv {
    transform: translateY(60px);
    filter: blur(10px);
    transition: opacity .5s ease, transform .8s var(--b-ease), filter .6s ease;
}

.mmm-js .mmm--tpl-brasa .br-panel.is-in[data-view="carousel"] .br-track.br-rv {
    transform: none;
    filter: none;
}

/* the cards and the rows cascade in as a category opens */
.mmm-js .mmm--tpl-brasa .br-panel[data-view="list"] .br-item,
.mmm-js .mmm--tpl-brasa .br-panel[data-view="card"] .br-item {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease, transform .6s var(--b-ease);
}

.mmm-js .mmm--tpl-brasa .br-panel.is-in[data-view="list"] .br-item,
.mmm-js .mmm--tpl-brasa .br-panel.is-in[data-view="card"] .br-item {
    opacity: 1;
    transform: none;
    transition-delay: calc(.26s + min(var(--i, 0), 14) * .045s);
}

/* the section chips and the filters leave things out */
.br-item.is-out,
.br-bottle-item.is-out {
    display: none !important;
}

/* ------------------------------------------------------------------ language */

.br-lang {
    position: relative;
    z-index: 27;
    flex: none;
}

.br-lang__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px 0 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    list-style: none;
    cursor: pointer;
}

.br-lang__btn::-webkit-details-marker {
    display: none;
}

.mmm .br-lang__menu {
    position: absolute;
    top: 48px;
    right: 0;
    width: 210px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    border-radius: 22px;
    background: var(--b-sheet);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    transform-origin: top right;
    animation: brMenu .25s var(--b-ease);
}

.br-lang__row {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 46px;
    padding: 0 14px;
    border-radius: 16px;
    color: var(--b-fg);
    font-size: 14px;
    text-decoration: none;
}

.br-lang__row.is-current {
    background: rgba(var(--b-fg-rgb), .07);
}

.br-lang__row .br-icon {
    color: var(--b-acc);
}

.br-lang__code {
    flex: none;
    width: 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .7px;
    color: rgba(var(--b-fg-rgb), .55);
}

.br-lang__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.br-lang__row.is-current .br-lang__name {
    font-weight: 600;
}

/* ------------------------------------------------------------------ search */

.br-search,
.br-drawer {
    position: fixed;
    inset: 0;
    z-index: 44;
}

.br-search[hidden],
.br-drawer[hidden] {
    display: none;
}

.br-search__backdrop,
.br-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 5, 4, .6);
    opacity: 0;
    transition: opacity .35s;
}

.br-search__backdrop {
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.br-search.is-in .br-search__backdrop,
.br-drawer.is-in .br-drawer__backdrop {
    opacity: 1;
}

.br-search__panel {
    position: absolute;
    top: calc(56px + env(safe-area-inset-top, 0px));
    left: 50%;
    display: flex;
    flex-direction: column;
    width: calc(100% - 24px);
    max-height: 78%;
    overflow: hidden;
    border-radius: 30px;
    background: var(--b-sheet);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
    opacity: 0;
    transform: translate(-50%, -20px) scale(.97);
    transition: transform .45s cubic-bezier(.2, .9, .3, 1.1), opacity .3s;
}

.br-search.is-in .br-search__panel {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.br-search__bar {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 64px;
    padding: 0 12px 0 20px;
    border-bottom: 1px solid rgba(var(--b-fg-rgb), .08);
    color: rgba(var(--b-fg-rgb), .6);
}

.br-search__bar input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: none;
    color: var(--b-fg);
    font-size: 16px;
}

.br-search__bar input::placeholder {
    color: rgba(var(--b-fg-rgb), .45);
}

.br-search__head {
    padding: 14px 20px 6px;
}

.mmm .br-search__list {
    margin: 0;
    padding: 4px 10px 12px;
    list-style: none;
    overflow-y: auto;
}

.br-result {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 20px;
    background: none;
    color: var(--b-fg);
    text-align: left;
    cursor: pointer;
    animation: brUp .35s var(--b-ease) both;
}

.br-result:hover,
.br-result:focus-visible {
    background: rgba(var(--b-fg-rgb), .06);
}

.br-result__img {
    flex: none;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--b-ph);
}

.br-result__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.br-result__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.br-result__name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
}

.br-result__meta {
    font-size: 12px;
    color: rgba(var(--b-fg-rgb), .5);
}

.br-result__price {
    flex: none;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--b-acct);
}

.br-result__price del {
    font-size: 12px;
    font-weight: 400;
    color: rgba(var(--b-fg-rgb), .45);
}

/* ------------------------------------------------------------------ filters: the page's own panel, in a drawer */

.br-drawer {
    z-index: 42;
}

.br-drawer__panel {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px 20px 0;
    border-radius: 32px 32px 0 0;
    background: var(--b-sheet);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transform: translateY(100%);
    transition: transform .5s var(--b-ease);
}

.br-drawer.is-in .br-drawer__panel {
    transform: none;
}

.br-drawer__head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.br-drawer__head h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 34px;
}

.br-drawer__body {
    flex: 1;
    min-height: 0;
    margin-top: 22px;
    overflow-y: auto;
}

.br-drawer__body .mmm-filters {
    max-height: none;
    overflow: visible;
    border: 0;
    background: none;
}

.br-drawer .br-filters__inner {
    display: grid;
    gap: 26px;
    padding-bottom: 8px;
}

.br-drawer .mmm-filters__group legend {
    margin-bottom: 12px;
    padding: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--b-acct);
}

.br-drawer .mmm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.br-drawer .mmm-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 16px;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    border-radius: 999px;
    background: transparent;
    color: var(--b-fg);
    font-size: 13px;
    font-weight: 500;
}

.br-drawer .mmm-chip:has(.mmm-al-icon) {
    padding-left: 5px;
}

.br-drawer .mmm-chip .mmm-al-icon {
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 4px;
    border-radius: 50%;
    background: #efe8dd;
    filter: grayscale(1);
}

.br-drawer .mmm-chip[aria-pressed="true"] {
    border-color: var(--b-acc);
    background: var(--b-acc);
    color: var(--b-on-acc);
}

.br-drawer .mmm-filters__foot {
    display: none;
}

.br-drawer__foot {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0 calc(28px + env(safe-area-inset-bottom, 0px));
}

.br-drawer__clear {
    flex: none;
    height: 56px;
    border-radius: 28px;
}

/* ------------------------------------------------------------------ the page's sheets, the Brasa way */

.mmm--tpl-brasa .mmm-sheet {
    background: var(--b-sheet);
    color: var(--b-fg);
    border-radius: 32px 32px 0 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.mmm--tpl-brasa .mmm-sheet::backdrop {
    background: rgba(6, 5, 4, .6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mmm--tpl-brasa .mmm-sheet__close {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--b-fg-rgb), .14);
    background: rgba(var(--b-fg-rgb), .08);
    color: var(--b-fg);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.mmm--tpl-brasa .mmm-sheet__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: -.6px;
    text-wrap: balance;
}

.mmm--tpl-brasa .mmm-tag {
    padding: 6px 12px;
    background: color-mix(in srgb, var(--mmm-accent) 22%, transparent);
    color: var(--b-fg);
    font-weight: 500;
}

.mmm--tpl-brasa .mmm-block__title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(var(--b-fg-rgb), .55);
}

.mmm--tpl-brasa .mmm-stepper {
    height: 60px;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    border-radius: 30px;
    background: none;
}

.mmm--tpl-brasa .mmm-stepper button {
    width: 52px;
    height: 58px;
    color: var(--b-fg);
}

.mmm--tpl-brasa .mmm-stepper output {
    min-width: 22px;
    font-size: 16px;
    font-weight: 600;
}

.mmm--tpl-brasa .mmm-btn {
    position: relative;
    overflow: hidden;
    min-height: 60px;
    border-radius: 30px;
    background: var(--b-acc);
    color: var(--b-on-acc);
    box-shadow: var(--b-acc-glow);
    font-size: 15px;
    font-weight: 600;
}

.mmm--tpl-brasa .mmm-btn--ghost {
    background: transparent;
    color: var(--b-fg);
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    box-shadow: none;
}

/* ---------------- the product, full screen: its picture on top (beside the text in landscape) */

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) {
    top: 0;
    bottom: 0;
    height: 100%;
    max-height: none;
    border-radius: 0;
    background: var(--b-bg);
}

/* what is said elsewhere in the apps' sheet: the attribute tags, the time, the notes */
.mmm--tpl-brasa .mmm-sheet .mmm-card__tags,
.mmm--tpl-brasa .mmm-sheet .mmm-lead,
.mmm--tpl-brasa .mmm-sheet .mmm-field,
.mmm--tpl-brasa .mmm-sheet .mmm-note__sep,
.mmm--tpl-brasa .mmm-sheet .mmm-note__hint {
    display: none;
}

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__close {
    top: 26px;
    left: 26px;
    right: auto;
    width: 50px;
    height: 50px;
    border: 0;
    background: rgba(18, 16, 14, .6);
    color: #f2ece3;
}

/* in portrait the picture gives up half its height as the text scrolls up under it, and stays */
.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-gallery {
    position: sticky;
    top: calc(12px - 20vh);
    top: calc(12px - 20dvh);
    z-index: 2;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 28px;
    background: var(--b-ph);
    box-shadow: 0 0 0 12px var(--b-bg);
}

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-gallery__track,
.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-gallery__track img {
    height: 40vh;
    height: 40dvh;
    aspect-ratio: auto;
}

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-gallery__track img {
    object-fit: cover;
}

/*
 * A product of a shelf (a wine, from the wine list or out of a pairing - js/menu/tpl-brasa.js): its
 * bottle whole and centred, standing over its reflection, the two taking 84% of the frame - as the
 * cellar shows it, never a cropped photo. On the cellar's wall, under its light, when it has one;
 * without, on the frame's own ground.
 */
.mmm--tpl-brasa .mmm-sheet .mmm-gallery.br-showcase {
    container-type: size;
    height: 40vh;
    height: 40dvh;
}

.mmm--tpl-brasa .mmm-sheet .br-showcase .mmm-gallery__track {
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

.mmm--tpl-brasa .mmm-sheet .mmm-gallery.br-showcase .mmm-gallery__track img {
    height: 70cqh;
    margin-top: 8cqh;
    object-fit: contain;
    object-position: center bottom;
    -webkit-box-reflect: below 0 linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, .104) 92%, rgba(0, 0, 0, .26));
}

/* its soft shadow on the floor - and, under the light, the warm pool it stands in */
.mmm--tpl-brasa .mmm-sheet .br-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(13cqh 14px at 50% 78cqh, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}

.mmm--tpl-brasa .mmm-sheet .br-showcase--lit {
    background:
        radial-gradient(70% 70% at 50% 45%, transparent 55%, var(--b-vignette)),
        linear-gradient(to bottom, transparent 50%, var(--b-floor)),
        var(--br-wall) center / cover no-repeat,
        var(--b-ph);
}

.mmm--tpl-brasa .mmm-sheet .br-showcase--lit::after {
    background:
        radial-gradient(13cqh 14px at 50% 78cqh, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)),
        radial-gradient(min(26cqw, 285px) min(4.6cqw, 50px) at 50% 78cqh, rgba(var(--b-light), .28), rgba(var(--b-light), 0));
}

.mmm--tpl-brasa .mmm-sheet .br-showcase--lit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
    height: 78cqh;
    pointer-events: none;
    clip-path: polygon(calc(50% - 4cqw) 0, calc(50% + 4cqw) 0, calc(50% + min(21cqw, 230px)) 100%, calc(50% - min(21cqw, 230px)) 100%);
    background: linear-gradient(to bottom, rgba(var(--b-light), 0), rgba(var(--b-light), .2) 30%, rgba(var(--b-light), .03));
}

.mmm--tpl-brasa .mmm-sheet .br-showcase .mmm-gallery__dots {
    z-index: 2;
}

/* the photo opens full screen - the whole of it */
.br-expand {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 16, 14, .6);
    color: #f2ece3;
    cursor: pointer;
}

.mmm--tpl-brasa .mmm-sheet .mmm-gallery.is-full {
    position: fixed;
    inset: 0;
    z-index: 80;
    height: 100%;
    margin: 0;
    border-radius: 0;
    background: #000;
}

/* a bottle stays a bottle over its reflection, the room's whole height */
.mmm--tpl-brasa .mmm-sheet .mmm-gallery.br-showcase.is-full:not(.br-showcase--lit) {
    background: var(--b-bg);
}

.mmm--tpl-brasa .mmm-sheet .mmm-gallery.is-full .mmm-gallery__track,
.mmm--tpl-brasa .mmm-sheet .mmm-gallery.is-full:not(.br-showcase) .mmm-gallery__track img {
    height: 100%;
    object-fit: contain;
}

.mmm--tpl-brasa .mmm-sheet .mmm-gallery.is-full .br-expand {
    top: calc(24px + env(safe-area-inset-top, 0px));
}

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__body {
    display: block;
    padding: 22px 22px 24px;
}

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__head {
    padding-right: 0;
}

/* where it is from, then its name and its price */
.br-sheet__eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--b-acct);
}

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__title {
    margin-top: 12px;
    font-size: 28px;
    line-height: 31px;
}

.mmm--tpl-brasa .mmm-sheet__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-top: 14px;
}

.mmm--tpl-brasa .mmm-sheet__price strong {
    order: 1;
    font-size: 22px;
    font-weight: 600;
    color: var(--b-fg);
}

.mmm--tpl-brasa .mmm-sheet__price del {
    order: 2;
    font-size: 15px;
    color: rgba(var(--b-fg-rgb), .55);
}

.mmm--tpl-brasa .mmm-sheet__price .mmm-price__unit {
    order: 3;
}

.mmm--tpl-brasa .mmm-sheet__desc {
    margin-top: 18px;
    font-size: 15px;
    line-height: 25px;
    color: rgba(var(--b-fg-rgb), .72);
}

/* its video, its 3D: two glass pills side by side, played full screen */
.br-mediabtns {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.br-mediabtn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    border-radius: 26px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.br-mediabtn:active {
    transform: scale(.95);
}

.mmm--tpl-brasa .mmm-sheet .mmm-media {
    display: none;
}

.mmm--tpl-brasa .mmm-sheet .mmm-media.is-open {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 72px 24px 24px;
    background: rgba(6, 5, 4, .94);
    animation: brFade .3s ease both;
}

.mmm--tpl-brasa .mmm-sheet .mmm-media.is-open video,
.mmm--tpl-brasa .mmm-sheet .mmm-media.is-open iframe,
.mmm--tpl-brasa .mmm-sheet .mmm-media.is-open model-viewer {
    width: min(100%, 1100px);
    max-height: 100%;
    border-radius: 24px;
}

.br-media__close {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: 16px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(242, 236, 227, .12);
    color: #f2ece3;
    cursor: pointer;
}

/* each choice to make: its name, required or optional - and how many of how many - then its pills */
.mmm--tpl-brasa .mmm-sheet .mmm-block {
    margin-top: 22px;
}

.mmm--tpl-brasa .mmm-sheet .mmm-block__head {
    margin-bottom: 0;
}

.mmm--tpl-brasa .mmm-sheet .mmm-block__hint,
.mmm--tpl-brasa .mmm-sheet .mmm-block__hint--req {
    padding: 0;
    background: none;
    font-size: 12px;
    font-weight: 500;
    color: rgba(var(--b-fg-rgb), .45);
}

.mmm--tpl-brasa .mmm-sheet .mmm-block__hint.is-missing,
.mmm--tpl-brasa .mmm-sheet .mmm-block[aria-invalid="true"] .mmm-block__hint {
    color: var(--b-acct);
}

.mmm--tpl-brasa .mmm-sheet .mmm-block .mmm-note {
    margin-top: 6px;
    font-size: 13px;
    line-height: 19px;
    color: rgba(var(--b-fg-rgb), .55);
}

.mmm--tpl-brasa .mmm-sheet .mmm-block .mmm-note:not(:has(.mmm-note__desc)) {
    display: none;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

/* a pill that fills with ember once picked, with what it adds to (or takes off) the price */
.mmm--tpl-brasa .mmm-sheet .mmm-choice {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    min-height: 0;
    padding: 11px 18px;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    border-radius: 999px;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice + .mmm-choice {
    border-top: 1px solid rgba(var(--b-fg-rgb), .16);
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice__name {
    flex: none;
    white-space: nowrap;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice:has(input:checked),
.mmm--tpl-brasa .mmm-sheet .mmm-choice.is-on {
    border-color: var(--b-acc);
    background: var(--b-acc);
    color: var(--b-on-acc);
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice:has(input:focus-visible) {
    outline: 3px solid var(--b-acc);
    outline-offset: 2px;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice__price {
    font-size: 12px;
    font-weight: 400;
    color: rgba(var(--b-fg-rgb), .55);
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice:has(input:checked) .mmm-choice__price,
.mmm--tpl-brasa .mmm-sheet .mmm-choice.is-on .mmm-choice__price {
    color: inherit;
}

/* nothing more fits in its group: an unpicked pill looks unavailable, a picked one takes no more */
.mmm--tpl-brasa .mmm-sheet .mmm-choice.is-off,
.mmm--tpl-brasa .mmm-sheet .br-full .mmm-choice:not(.is-on):not(:has(input:checked)) {
    opacity: .4;
    pointer-events: none;
}

.mmm--tpl-brasa .mmm-sheet .br-full .mmm-choice.is-on .mmm-stepper button:last-child {
    opacity: .35;
    pointer-events: none;
}

/* a pick-several group: a picked pill has a "−" at its start */
.mmm--tpl-brasa .mmm-sheet .br-choice--several:has(input:checked) {
    padding-left: 14px;
}

.mmm--tpl-brasa .mmm-sheet .br-choice--several:has(input:checked)::before {
    content: "\2212";
    font-size: 18px;
    line-height: 20px;
}

/* one that can be taken more than once: a little stepper once picked - "−", "3×", the name, "+" */
.mmm--tpl-brasa .mmm-sheet .mmm-choice .mmm-stepper {
    display: contents;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice .mmm-stepper button {
    align-self: stretch;
    width: auto;
    height: auto;
    margin: -11px 0;
    padding: 0 4px;
    border-radius: 0;
    background: none;
    color: inherit;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice .mmm-stepper button:first-child {
    order: -2;
    margin-left: -8px;
    padding-left: 0;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice .mmm-stepper button:last-child {
    order: 5;
    margin-right: -8px;
    padding-right: 0;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice .mmm-stepper button .mmm-icon {
    width: 16px;
    height: 16px;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice .mmm-stepper output {
    order: -1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice .mmm-stepper output::after {
    content: "\00d7";
}

/* not picked yet: only the pill, the whole of it adding one */
.mmm--tpl-brasa .mmm-sheet .mmm-choice:not(.is-on) .mmm-stepper button:first-child,
.mmm--tpl-brasa .mmm-sheet .mmm-choice:not(.is-on) .mmm-stepper output {
    display: none;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice:not(.is-on) .mmm-stepper button:last-child {
    position: absolute;
    inset: 0;
    z-index: 1;
    margin: 0;
    opacity: 0;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice.is-on .mmm-stepper button:disabled {
    opacity: .35;
}

.mmm--tpl-brasa .mmm-sheet .mmm-choice--static {
    cursor: default;
}

/* what it contains: each allergen's icon on a light disc and its name; the traces dashed */
.mmm--tpl-brasa .mmm-sheet .mmm-block .mmm-allergens {
    gap: 10px;
    margin-top: 12px;
}

.mmm--tpl-brasa .mmm-allergens li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border: 1px solid rgba(var(--b-fg-rgb), .16);
    border-radius: 999px;
    background: none;
    color: var(--b-fg);
    font-size: 13px;
    font-weight: 500;
}

.mmm--tpl-brasa .mmm-allergens li:not(:has(.mmm-al-icon)) {
    padding-left: 14px;
}

.mmm.mmm--tpl-brasa .mmm-allergens .mmm-al-icon {
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 4px;
    border-radius: 50%;
    background: #efe8dd;
}

.mmm--tpl-brasa .mmm-allergens--trace li {
    border-style: dashed;
    opacity: .75;
}

/* "pairs with": the suggested product on a paper-light card, the same in both themes */
.mmm--tpl-brasa .mmm-sheet .mmm-related__rows {
    display: block;
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__list {
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding: 0;
    overflow: visible;
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__list > li {
    position: relative;
    flex: none;
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 14px;
    min-height: 92px;
    padding: 10px 10px 10px 12px;
    border-radius: 24px;
    background: #efe8dd;
    color: #201c18;
}

.mmm--tpl-brasa .mmm-sheet .br-pair .mmm-related__item {
    padding-right: 130px;
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__item:active {
    transform: scale(.98);
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__item img,
.mmm--tpl-brasa .mmm-sheet .mmm-related__noimg {
    grid-row: 1 / span 2;
    width: 56px;
    height: 72px;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: contain;
    background: none;
    align-self: center;
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__meta {
    align-self: end;
    font-size: 12px;
    color: rgba(32, 28, 24, .6);
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__name {
    align-self: start;
    font-size: 15px;
    font-weight: 600;
    line-height: 19px;
    color: #201c18;
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__item:not(:has(.mmm-related__meta)) .mmm-related__name {
    grid-row: 1 / span 2;
    align-self: center;
}

.mmm--tpl-brasa .mmm-sheet .mmm-related__price {
    grid-column: 2;
    font-size: 14px;
    font-weight: 600;
    color: #201c18;
}

.br-pair__add {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    place-items: center;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 22px;
    background: #201c18;
    color: #efe8dd;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transform: translateY(-50%);
    cursor: pointer;
}

.br-pair__add:active {
    transform: translateY(-50%) scale(.95);
}

/* the quantity and the add, at its foot */
.mmm--tpl-brasa .mmm-sheet__foot {
    gap: 12px;
    padding: 16px 22px calc(32px + env(safe-area-inset-bottom, 0px));
    border-top: 0;
    background: var(--b-bg);
}

.mmm--tpl-brasa .mmm-sheet--cart .mmm-sheet__foot {
    background: var(--b-sheet);
}

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__foot .mmm-btn {
    justify-content: space-between;
    gap: 12px;
    height: 60px;
    padding: 0 15px;
}

.mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__foot .mmm-btn.br-btn--alone {
    justify-content: center;
}

.mmm--tpl-brasa .mmm-sheet__foot .mmm-btn::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 35%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
    animation: brShine 3.6s ease-in-out 1s infinite;
    pointer-events: none;
}

/* ---------------- the order and the list */

.mmm--tpl-brasa .mmm-sheet--cart {
    top: 60px;
    max-height: none;
}

.mmm--tpl-brasa .mmm-sheet--cart .mmm-sheet__close {
    top: 28px;
    right: 20px;
}

.mmm--tpl-brasa .mmm-sheet--cart .mmm-sheet__title {
    font-size: 30px;
    line-height: 34px;
}

.mmm--tpl-brasa .mmm-line {
    gap: 14px;
    padding: 12px;
    border: 0;
    border-radius: 22px;
    background: rgba(var(--b-fg-rgb), .04);
}

.mmm--tpl-brasa .mmm-lines {
    display: grid;
    gap: 10px;
}

.mmm--tpl-brasa .mmm-line__total {
    color: var(--b-acct);
    font-weight: 600;
}

.mmm--tpl-brasa .mmm-total strong {
    font-size: 24px;
    font-weight: 600;
}

/* the phone's floating "view order · n" with its total */
.mmm--tpl-brasa .mmm-cartbar {
    z-index: 20;
    padding: 0 20px calc(30px + env(safe-area-inset-bottom, 0px));
    animation: brUp .5s var(--b-ease);
}

.mmm--tpl-brasa .mmm-cartbar__btn {
    position: relative;
    overflow: hidden;
    gap: 0;
    min-height: 62px;
    max-width: none;
    padding: 0 26px;
    border-radius: 31px;
    background: var(--b-acc);
    color: var(--b-on-acc);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    font-size: 16px;
    font-weight: 600;
}

.mmm--tpl-brasa .mmm-cartbar__label {
    flex: none;
    order: 1;
}

.mmm--tpl-brasa .mmm-cartbar__count {
    order: 2;
    display: inline;
    min-width: 0;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: none;
}

.mmm--tpl-brasa .mmm-cartbar__count::before {
    content: "\00a0\00b7\00a0";
}

.mmm--tpl-brasa .mmm-cartbar__total {
    order: 3;
    margin-left: auto;
}

.mmm--tpl-brasa .mmm-cartbar__btn:active {
    transform: scale(.95);
}

/* the cellar has the order beside its add, in place of the bar that would cover it */
.mmm--tpl-brasa[data-view="shelf"] .mmm-cartbar {
    display: none !important;
}

/* still there? */
.mmm--tpl-brasa .mmm-idle {
    border-radius: 36px;
    background: var(--b-sheet);
    color: var(--b-fg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
}

.mmm--tpl-brasa .mmm-idle::backdrop {
    background: rgba(6, 5, 4, .62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mmm--tpl-brasa .mmm-idle__count {
    color: var(--b-acc);
}

.mmm--tpl-brasa .mmm-idle__title {
    font-size: 28px;
    font-weight: 600;
}

.mmm--tpl-brasa .mmm-toast__msg {
    border-radius: 999px;
    background: var(--b-sheet);
    color: var(--b-fg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

/* ------------------------------------------------------------------ adding: the flight to the order */

.br-fly {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 55;
    pointer-events: none;
    transition: transform .7s cubic-bezier(.4, 0, .6, 1);
}

.br-fly__in {
    transition: transform .7s cubic-bezier(.45, -0.7, .85, .55);
}

.br-fly__ball {
    display: block;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--b-acct);
    box-shadow: 0 0 0 3px var(--b-acc), 0 0 30px 8px color-mix(in srgb, var(--b-acc) 45%, transparent);
}

.br-fly__ball img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.br-burst {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 57;
    pointer-events: none;
}

.br-burst i {
    position: absolute;
    border-radius: 50%;
    animation: brBurst var(--d, .55s) var(--b-ease) both;
}

.br-burst b {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    font-weight: 700;
    color: color-mix(in srgb, var(--b-acc) 70%, #fff);
    text-shadow: 0 2px 12px color-mix(in srgb, var(--b-acc) 60%, transparent);
    animation: brPlus .9s var(--b-ease) both;
}

.br-bump {
    transform: scale(1.08) !important;
    transition: transform .3s var(--b-pop);
}

.br-pop {
    animation: brPop .45s var(--b-pop);
}

/* ------------------------------------------------------------------ welcome */

.br-splash {
    position: fixed;
    inset: 0;
    z-index: 70;
    overflow: hidden;
    background: #0e0c0b;
    color: #f2ece3;
    --b-fg: #f2ece3;
    --b-fg-rgb: 242, 236, 227;
    --b-sheet: #1c1916;
    cursor: pointer;
    transition: opacity .8s ease, transform 1s var(--b-ease);
}

.br-splash[hidden] {
    display: none;
}

.br-splash.is-leaving {
    opacity: 0;
    transform: scale(1.06);
    pointer-events: none;
}

.br-splash__slides,
.br-splash__vignette,
.br-splash__embers {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.br-splash__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.4s ease, transform 1.4s ease;
}

/* the one on screen drifts slowly forward */
.br-splash__slide.is-on {
    opacity: 1;
    transform: scale(1.08);
    transition: opacity 1.4s ease, transform 6s linear;
}

.br-splash__vignette {
    background: radial-gradient(75% 75% at 50% 45%, rgba(14, 12, 11, .5), rgba(14, 12, 11, .92));
}

.br-splash__embers {
    overflow: hidden;
}

.br-ember {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffe2a8, color-mix(in srgb, var(--b-acc) 80%, #f0a64a) 45%, rgba(230, 120, 40, 0) 72%);
    box-shadow: 0 0 10px 2px color-mix(in srgb, var(--b-acc) 45%, transparent);
    animation: brEmber var(--d, 8s) linear var(--delay, 0s) infinite;
}

.br-splash__center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 40px 80px;
    text-align: center;
}

/* the logo in a stage twice its size: two rings swelling out of it, the name going round */
.br-splash__stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 320px;
    height: 320px;
}

.br-ring {
    position: absolute;
    inset: 16%;
    border: 1px solid color-mix(in srgb, var(--b-acc) 55%, transparent);
    border-radius: 50%;
    opacity: 0;
    animation: brRing 3.4s ease-out 1.2s infinite;
}

.br-ring--2 {
    animation-delay: 2.9s;
}

.br-splash__ringtext {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: brSpin 40s linear infinite, brFade 1.2s ease .6s both;
}

.br-splash__ringtext text {
    fill: rgba(242, 236, 227, .62);
    font-size: 7.4px;
    font-weight: 500;
    letter-spacing: 2.2px;
}

.br-splash__logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    animation: brLogoIn 1.3s var(--b-ease) both, brBreath 4s ease-in-out 1.3s infinite;
}

.br-splash__logo--initial {
    display: grid;
    place-items: center;
    background: var(--b-acc);
    color: var(--b-on-acc);
    font-size: 64px;
    font-weight: 600;
}

/* the name is said by the logo and the ring; kept for whoever cannot see them */
.br-splash__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.br-splash__names {
    position: relative;
    align-self: stretch;
    height: 44px;
    margin-top: 14px;
    animation: brUp .9s var(--b-ease) .8s both;
}

.br-splash__names span {
    position: absolute;
    inset: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 22px;
    font-weight: 500;
    color: var(--b-acc);
    opacity: 0;
    transform: translateY(14px) scale(.96);
    transition: opacity 1s var(--b-ease), transform 1s var(--b-ease);
}

.br-splash__names span.is-on {
    opacity: 1;
    transform: none;
}

/* a hairline filling up to the next photo */
.br-splash__bar {
    width: 120px;
    height: 2px;
    margin: 6px auto 0;
    overflow: hidden;
    border-radius: 1px;
    background: rgba(242, 236, 227, .15);
}

.br-splash__bar span {
    display: block;
    height: 100%;
    background: var(--b-acc);
    transform-origin: center;
    animation: brFill 3.4s linear both;
}

.br-splash__cta {
    position: absolute;
    left: 50%;
    bottom: calc(52px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--b-acc) 35%, transparent);
    border-radius: 999px;
    background: rgba(242, 236, 227, .08);
    color: #f2ece3;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transform: translateX(-50%);
    animation: brUpX .9s var(--b-ease) 1.1s both;
    cursor: pointer;
}

.br-splash__cta .br-shine {
    width: 40%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 236, 200, .22), rgba(255, 255, 255, 0));
    animation: brShine 3.2s ease-in-out 2s infinite;
}

.br-splash__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--b-acc);
    animation: brPulse 1.8s ease-in-out infinite;
}

/* the language and the light / dark switch, over the photo: frosted, light on dark */
.br-splash__langs {
    position: absolute;
    top: calc(58px + env(safe-area-inset-top, 0px));
    right: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}

.br-splash__langs .br-lang__btn,
.br-splash__langs .mmm-tone {
    height: 42px;
    border: 0;
    border-radius: 21px;
    background: rgba(255, 255, 255, .08);
    color: #f2ece3;
}

.br-splash__langs .br-lang__menu {
    top: 50px;
}

.br-splash__powered {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
}

/* ------------------------------------------------------------------ landscape: the side column */

@media (min-width: 768px) and (orientation: landscape) {

    .br-only-tablet:not([hidden]) {
        display: revert !important;
    }

    /* the side column's own rows keep their flex */
    .br-side__brand.br-only-tablet,
    .br-head__lang.br-only-tablet,
    .br-bookbtn.br-only-tablet:not([hidden]),
    .br-searchbtn.br-only-tablet:not([hidden]),
    .br-cartbtn.br-only-tablet:not([hidden]),
    .br-side__powered.br-only-tablet {
        display: flex !important;
    }

    .br-only-phone {
        display: none !important;
    }

    .br-shell {
        flex-direction: row;
    }

    .br-side {
        display: flex;
        flex-direction: column;
        width: var(--b-side);
        padding: calc(32px + env(safe-area-inset-top, 0px)) 20px calc(12px + env(safe-area-inset-bottom, 0px)) 28px;
    }

    .mmm-js .br-side {
        height: 100%;
    }

    /* the brand centred, the spot centred under it */
    .br-side__brand {
        justify-content: center;
    }

    .br-brand--center {
        max-width: 100%;
    }

    .br-brand--center.br-brand--wide {
        align-items: center;
    }

    .br-brand__logo {
        width: 38px;
        height: 38px;
    }

    .br-brand__wide {
        height: 38px;
        object-position: center;
    }

    /* the search: a frosted pill above the categories */
    .br-searchbtn {
        align-items: center;
        gap: 10px;
        height: 44px;
        margin-top: 24px;
        padding: 0 16px;
        border-radius: 22px;
        color: rgba(var(--b-fg-rgb), .45);
        font-size: 14px;
        text-align: left;
        cursor: pointer;
    }

    .br-searchbtn .br-icon {
        color: rgba(var(--b-fg-rgb), .6);
    }

    .br-searchbtn:active {
        transform: scale(.97);
    }

    /* every category numbered; the open one lit, the rest dimmed */
    .br-nav {
        flex: 1;
        min-height: 0;
        margin: 20px 0;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .br-nav::-webkit-scrollbar {
        display: none;
    }

    .br-nav ul {
        flex-direction: column;
        gap: 4px;
        margin: 0;
        padding: 0 8px 0 0;
        overflow: visible;
    }

    .br-nav__item {
        gap: 14px;
        height: auto;
        padding: 12px 16px;
        border: 0;
        border-radius: 16px;
        opacity: .55;
        white-space: normal;
        transition: opacity .3s, background-color .3s;
    }

    .br-nav__item[aria-current="true"] {
        opacity: 1;
        background: rgba(var(--b-fg-rgb), .07);
        color: var(--b-fg);
    }

    .br-nav__num {
        display: block;
        flex: none;
        width: 18px;
        font-size: 11px;
        font-weight: 500;
        color: var(--b-acct);
    }

    .br-nav__name {
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 17px;
        font-weight: 400;
        line-height: 20px;
    }

    .br-nav__item[aria-current="true"] .br-nav__name {
        font-weight: 600;
    }

    /* the order pinned at the bottom: its name and total, the count on the right */
    .br-cartbtn {
        align-items: center;
        justify-content: space-between;
        padding: 16px 16px 16px 20px;
        border-radius: 24px;
        cursor: pointer;
        transition: transform .3s var(--b-pop);
    }

    .br-cartbtn__text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .br-cartbtn__label {
        font-size: 15px;
        font-weight: 500;
    }

    .br-cartbtn__total {
        font-size: 13px;
        color: rgba(var(--b-fg-rgb), .6);
    }

    .br-cartbtn__total:empty {
        display: none;
    }

    .br-cartbtn__count {
        display: grid;
        place-items: center;
        min-width: 40px;
        height: 40px;
        padding: 0 8px;
        border-radius: 20px;
        background: var(--b-acc);
        color: var(--b-on-acc);
        box-shadow: var(--b-acc-glow);
        font-size: 15px;
        font-weight: 600;
    }

    .br-side__powered {
        justify-content: center;
        margin-top: 6px;
    }

    .br-main {
        padding-top: env(safe-area-inset-top, 0px);
    }

    /* the head: the name at 52, the views and the language to its right */
    .br-head {
        gap: 14px;
        padding: 40px 40px 8px 20px;
    }

    .br-title {
        font-size: 52px;
    }

    .br-chip {
        height: auto;
        padding: 8px 16px;
        font-size: 13px;
        gap: 8px;
    }

    .br-chip--icon {
        padding-left: 5px;
    }

    .br-chip__disc {
        width: 24px;
        height: 24px;
    }

    .br-chip__disc img {
        width: 16px;
        height: 16px;
    }

    .br-line .br-filterbtn {
        height: 44px;
        gap: 8px;
        border-radius: 22px;
        font-size: 13px;
    }

    .br-line .br-filterbtn .br-icon {
        width: 18px;
        height: 18px;
    }

    .br-line .br-filterbtn .br-badge {
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 11px;
    }

    /* the carousel runs sideways */
    .br-panel[data-view="carousel"] .br-track {
        flex-direction: row;
        gap: 28px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 20px calc(50% - 197.5px) 36px;
    }

    .br-panel[data-view="carousel"] .br-item {
        width: 395px;
        height: min(570px, 100%);
    }

    .mmm-js .mmm--tpl-brasa .br-panel[data-view="carousel"] .br-track.br-rv {
        transform: translateX(90px);
    }

    .br-panel[data-view="card"] .br-track {
        padding: 12px 40px 32px 20px;
    }

    .br-panel[data-view="list"] .br-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px 40px 32px 20px;
    }

    .br-panel[data-view="list"] .br-card__media {
        width: 104px;
        height: 104px;
    }

    /* the cellar: a bottle 240 wide at its full height, its label beside the ways forward */
    .br-stage {
        --slot: 240px;
    }

    .br-bottle__glass img {
        height: 96%;
    }

    .br-bottle__refl img {
        height: 480%;
    }

    .br-shelfinfo {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        min-height: 120px;
        padding: 0 40px 16px 20px;
    }

    .br-shelfinfo__name {
        font-size: 30px;
        line-height: 34px;
    }

    .br-shelfinfo__btns {
        flex: none;
    }

    /* a page: a spread - the picture holds one half at full height, the text the other */
    .br-page {
        flex-direction: row;
        gap: 40px;
        padding: 32px 40px 32px 20px;
        overflow: hidden;
    }

    .mmm-js .br-page {
        overflow: hidden;
    }

    .br-page__media {
        flex: 1;
        min-width: 0;
    }

    .br-page__media img {
        height: 100%;
        max-height: none;
    }

    .br-page__col {
        flex: 1;
        min-width: 0;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .br-page__col::-webkit-scrollbar {
        display: none;
    }

    .br-page__text {
        justify-content: center;
        min-height: 100%;
        padding: 24px 0;
    }

    .br-page__title {
        font-size: 42px;
        line-height: 48px;
    }

    .br-page__sub {
        font-size: 19px;
        line-height: 27px;
    }

    .br-page__body {
        font-size: 17px;
        line-height: 28px;
    }

    .br-page__body h2,
    .br-page__body h3,
    .br-page__body h4 {
        font-size: 22px;
        line-height: 29px;
    }

    .br-about {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(0, 1fr);
        gap: 40px;
        padding: 32px 40px 32px 20px;
    }

    .br-about__text {
        justify-content: center;
    }

    .br-about__name {
        font-size: 42px;
    }

    .br-search__panel {
        top: 70px;
        width: 620px;
        max-height: 660px;
    }

    /* the filters: a panel from the right */
    .br-drawer__panel {
        top: 16px;
        right: 16px;
        bottom: 16px;
        left: auto;
        width: 440px;
        padding: 32px 30px 0;
        border-radius: 32px;
        transform: translateX(110%);
    }

    .br-drawer__foot {
        padding-bottom: 28px;
    }

    /* the order is in the side column: no bar */
    .mmm--tpl-brasa .mmm-cartbar {
        display: none !important;
    }

    .mmm--tpl-brasa .mmm-sheet--cart {
        inset: 16px 16px 16px auto;
        top: 16px;
        width: 480px;
        height: auto;
        border-radius: 32px;
        animation-name: brDrawer;
    }

    /* the product full screen: its picture on the left, the text and the choosing on the right */
    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) {
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        animation-name: brOpen;
    }

    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__scroll {
        display: grid;
        grid-template-columns: 52% minmax(0, 1fr);
        overflow: hidden;
    }

    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-gallery {
        position: relative;
        top: auto;
        grid-column: 1;
        height: calc(100% - 32px);
        margin: 16px 0 16px 16px;
        box-shadow: none;
    }

    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-gallery__track,
    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-gallery__track img {
        height: 100%;
    }

    .br-expand {
        top: auto;
        right: 16px;
        bottom: 16px;
    }

    .mmm--tpl-brasa .mmm-sheet .mmm-gallery.is-full {
        height: 100%;
        margin: 0;
    }

    .mmm--tpl-brasa .mmm-sheet .mmm-gallery.is-full .br-expand {
        top: 24px;
        right: 24px;
        bottom: auto;
    }

    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__body {
        grid-column: 2;
        overflow-y: auto;
        padding: 52px 44px 32px;
        scrollbar-width: none;
    }

    /* the picture at full height: the quantity and the add are the right column's foot */
    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart):has(.mmm-sheet__foot) .mmm-sheet__body {
        padding-bottom: 124px;
    }

    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__title {
        font-size: 38px;
        line-height: 42px;
    }

    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__close {
        top: 32px;
        left: 32px;
    }

    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__scroll {
        height: 100%;
    }

    .mmm--tpl-brasa .mmm-sheet:not(.mmm-sheet--cart) .mmm-sheet__foot {
        position: absolute;
        left: 52%;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: 16px 44px 32px;
    }

    .br-splash__stage {
        width: 440px;
        height: 440px;
    }

    .br-splash__logo {
        width: 220px;
        height: 220px;
    }

    .br-splash__names span {
        font-size: 30px;
    }

    .br-splash__langs {
        top: calc(28px + env(safe-area-inset-top, 0px));
        right: 32px;
    }
}

/* a short landscape screen: the welcome's stage a size down */
@media (min-width: 768px) and (orientation: landscape) and (max-height: 640px) {

    .br-splash__stage {
        width: 320px;
        height: 320px;
    }

    .br-splash__logo {
        width: 160px;
        height: 160px;
    }
}

/* ------------------------------------------------------------------ motion */

@keyframes brPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes brEmber { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(var(--dx, 0px), -900px) scale(.25); opacity: 0; } }
@keyframes brSpin { to { transform: rotate(360deg); } }
@keyframes brRing { 0% { transform: scale(.82); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes brLogoIn { 0% { transform: scale(.55) rotate(-25deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes brBreath { 0%, 100% { box-shadow: 0 0 60px 0 transparent; } 50% { box-shadow: 0 0 60px 8px color-mix(in srgb, var(--b-acc) 28%, transparent); } }
@keyframes brShine { 0% { transform: translateX(-120%) skewX(-20deg); } 60%, 100% { transform: translateX(320%) skewX(-20deg); } }
@keyframes brFill { from { transform: translateX(-50%) scaleX(0); } to { transform: none; } }
@keyframes brBurst { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--tx), var(--ty)) scale(.2); opacity: 0; } }
@keyframes brPlus { 0% { transform: translate(-50%, 0) scale(.6); opacity: 0; } 20% { transform: translate(-50%, -12px) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -52px) scale(1); opacity: 0; } }
@keyframes brDrift { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(-6%, 4%) rotate(8deg); } }
@keyframes brPop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes brUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes brUpX { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes brFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes brMenu { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes brDrawer { from { transform: translateX(110%); } to { transform: none; } }
@keyframes brOpen { from { opacity: 0; transform: scale(.94); border-radius: 32px; } to { opacity: 1; transform: none; border-radius: 0; } }
/* the cellar's lamp switches on: a short flicker, then steady */
@keyframes brLamp { 0% { opacity: 0; } 11% { opacity: .55; } 20% { opacity: .15; } 32% { opacity: .8; } 40% { opacity: .45; } 100% { opacity: 1; } }
@keyframes brMote {
    0% { opacity: .15; transform: translate(0, 0); }
    25% { transform: translate(calc(var(--drift, -30px) * -.3), calc(var(--drift, -30px) * .25)); }
    50% { opacity: .75; transform: translate(0, calc(var(--drift, -30px) * .5)); }
    75% { transform: translate(calc(var(--drift, -30px) * .3), calc(var(--drift, -30px) * .75)); }
    100% { opacity: .15; transform: translate(0, var(--drift, -30px)); }
}
@keyframes brMark { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {

    .mmm--tpl-brasa *,
    .mmm--tpl-brasa *::before,
    .mmm--tpl-brasa *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}
