/* Bistro - a warm storefront for restaurants and coffee shops. Every colour comes from the store's brand
   colour (and its dark shade) through the platform's CSS variables, so a red burger brand and a brown
   coffee brand both look at home. Fonts come from the store; prices and labels use the bundled Oswald. */
@font-face {
  font-family: "Bistro Oswald";
  src: url("fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
  /* Latin only - Arabic text falls back to the store's heading font. */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
:root {
  --bi-brand: var(--color-brand, #c94c40);
  --bi-deep: var(--color-brand-dark, color-mix(in srgb, var(--bi-brand) 55%, #000));
  /* The --dm-* variables exist only when the store turns on dark mode. */
  --bi-bg: var(--dm-bg, color-mix(in srgb, var(--bi-brand) 13%, #fff));
  --bi-card: var(--dm-surface-raised, #fff);
  --bi-soft: var(--dm-surface, color-mix(in srgb, var(--bi-brand) 20%, #fff));
  --bi-text: var(--dm-text, #1c1917);
  --bi-muted: var(--dm-text-muted, #6b625c);
  --bi-border: var(--dm-border, color-mix(in srgb, var(--bi-brand) 22%, #fff));
  --bi-photo: #fff;
  --bi-sale: color-mix(in srgb, var(--bi-brand) 30%, #c8102e);
  --bi-head: var(--bi-deep);
  --bi-success: #1f8a4c;
  --bi-display: "Bistro Oswald", var(--heading-font-family, inherit), "Arial Narrow", sans-serif;
  --bi-radius: 18px;
  --bi-radius-sm: 12px;
  --bi-shadow: 0 2px 10px rgb(60 20 10 / .06);
  --bi-shadow-lg: 0 18px 44px rgb(60 20 10 / .16);
  --bi-wrap: 1340px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bi-bg);
  color: var(--bi-text);
  font-family: var(--body-font-family, system-ui), system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
:where(h1, h2, h3):where(:not(.platform-content *)) { font-family: var(--heading-font-family, inherit), system-ui, sans-serif; font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
:where(h1:not(.platform-content *)) { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); }
:where(h2:not(.platform-content *)) { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); }
:where(h3:not(.platform-content *)) { font-size: 1rem; }
:where(p:not(.platform-content *)) { margin: 0 0 1em; }
:where(a:not(.platform-content *)) { color: inherit; text-decoration: none; }
:where(img, video, iframe):where(:not(.platform-content *)) { display: block; max-width: 100%; }
img { height: auto; }
:where(button, input, select):where(:not(.platform-content *)) { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--bi-brand) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 32px, var(--bi-wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--bi-text); color: var(--bi-bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.main:focus { outline: none; }
.icon { flex-shrink: 0; }
[dir="rtl"] .icon--chevron, [dir="rtl"] .icon--arrow, [dir="rtl"] .icon--arrow-out { transform: scaleX(-1); }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }

/* Pages the platform renders inside this layout (checkout, account, login…) keep their own styles. */
.template-platform .main { min-height: 50vh; }
.platform-content { font-family: var(--body-font-family, system-ui), system-ui, sans-serif; }

/* Buttons: deep brand pills */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 999px;
  background: var(--bi-deep); color: #fff;
  font-weight: 600; font-size: 17px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.button:hover { background: color-mix(in srgb, var(--bi-deep) 82%, #000); color: #fff; }
.button--soft { background: var(--bi-card); color: var(--bi-text); border-color: var(--bi-border); }
.button--soft:hover { background: var(--bi-deep); color: #fff; border-color: var(--bi-deep); }
.button--outline { border-color: var(--bi-text); background: transparent; color: var(--bi-text); }
.button--outline:hover { background: var(--bi-text); color: var(--bi-card); }
.button--dark { background: var(--bi-deep); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.button--block { width: 100%; }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.brand-pill, .soft-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: transform .2s, background .2s; }
.brand-pill { background: var(--bi-brand); color: #fff; }
.brand-pill:hover { background: var(--bi-deep); transform: translateY(-1px); }
.soft-pill { min-height: 52px; min-width: 220px; border: 2px solid var(--bi-deep); background: var(--bi-bg); color: var(--bi-deep); font-family: var(--bi-display); font-size: 17px; letter-spacing: .02em; }
.soft-pill:hover { background: #fff; transform: translateY(-1px); }

/* Announcement: a ticker */
.announcement { overflow: hidden; background: var(--bi-bg); color: var(--bi-brand); font-family: var(--bi-display); font-size: 14px; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.announcement--image img { width: 100%; height: auto; max-height: 90px; object-fit: cover; }
.ticker { display: flex; width: max-content; animation: bi-ticker 45s linear infinite; }
.announcement:hover .ticker { animation-play-state: paused; }
[dir="rtl"] .ticker { animation-name: bi-ticker-rtl; }
.ticker__group { display: flex; flex-shrink: 0; }
.ticker__item { display: inline-flex; align-items: center; padding: 8px 0; }
.ticker__item::after { content: ""; width: 1.5px; height: 16px; margin-inline: 34px; background: currentColor; opacity: .6; }
@keyframes bi-ticker { to { transform: translateX(-50%); } }
@keyframes bi-ticker-rtl { to { transform: translateX(50%); } }
.contact-bar { background: var(--bi-deep); color: #fff; font-size: 13px; }
.contact-bar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-block: 0; padding-block: 7px; list-style: none; }
.contact-bar a { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.contact-bar a:hover { opacity: 1; }

/* Header: a brand-coloured bar - logo, the menu in white, and a round cart */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bi-brand); color: #fff; transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgb(0 0 0 / .14); }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 96px; }
.site-logo { display: flex; align-items: center; justify-self: start; }
/* A fixed height (not auto) so SVG logos without their own size still render; the width follows the logo's shape. */
.site-logo img { width: auto; height: 78px; max-width: 180px; object-fit: contain; object-position: left center; }
[dir="rtl"] .site-logo img { object-position: right center; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px 20px; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.site-nav > a, .site-nav__more summary { display: inline-flex; align-items: center; gap: 4px; padding-block: 10px; white-space: nowrap; transition: opacity .2s; }
.site-nav > a:hover, .site-nav__more summary:hover { opacity: .75; }
.site-nav__more { position: relative; }
.site-nav__more summary { list-style: none; cursor: pointer; }
.site-nav__more summary::-webkit-details-marker { display: none; }
.site-nav__more[open] summary .icon { transform: rotate(180deg); }
.site-nav__menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; display: grid; min-width: 220px; max-height: 60vh; overflow-y: auto; padding: 8px; border-radius: var(--bi-radius-sm); background: var(--bi-card); color: var(--bi-text); text-transform: none; font-size: 15px; font-weight: 500; box-shadow: var(--bi-shadow-lg); }
.site-nav__menu a { padding: 9px 12px; border-radius: 8px; }
.site-nav__menu a:hover { background: var(--bi-bg); }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; list-style: none; cursor: pointer; }
.icon-button::-webkit-details-marker { display: none; }
.icon-button:hover { background: rgb(255 255 255 / .14); }
.cart-link { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-inline-start: 8px; border-radius: 50%; background: var(--bi-bg); color: var(--bi-deep); box-shadow: 4px 4px 0 var(--bi-deep); transition: transform .2s, box-shadow .2s; }
.cart-link:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--bi-deep); }
.cart-link__count { position: absolute; top: -6px; inset-inline-end: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--bi-deep); color: #fff; font-size: 12px; font-weight: 700; line-height: 24px; text-align: center; }
.language-link { padding: 6px 12px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-search summary { list-style: none; }
.header-search__panel { position: absolute; inset-inline: 0; top: 100%; display: flex; gap: 10px; padding: 14px max(16px, calc((100% - var(--bi-wrap)) / 2)); background: var(--bi-card); color: var(--bi-text); box-shadow: var(--bi-shadow-lg); }
.header-search__panel input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 1.5px solid var(--bi-border); border-radius: 999px; background: var(--bi-bg); color: var(--bi-text); outline: none; }
.header-search__panel input:focus { border-color: var(--bi-deep); }
.drawer { display: none; }
@media (max-width: 1099px) {
  .site-header__inner { grid-template-columns: 1fr auto 1fr; min-height: 64px; }
  .site-nav { display: none; }
  .drawer { display: block; justify-self: start; margin-inline-start: -8px; }
  .site-logo { grid-column: 2; justify-self: center; }
  .site-logo img { height: 52px; object-position: center; }
  .site-header__actions { grid-column: 3; }
  .cart-link { width: 44px; height: 44px; box-shadow: 3px 3px 0 var(--bi-deep); }
}

/* Drawer (mobile menu) */
.drawer summary { list-style: none; }
/* The menu slides in on a soft ease over a fading backdrop, its links following one by one;
   closing plays the same movement backwards (theme.js adds .is-closing until it ends). */
.drawer[open] summary::before { content: ""; position: fixed; inset: 0; z-index: 90; background: rgb(0 0 0 / .45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); cursor: default; animation: drawer-backdrop-in .45s ease both; }
.drawer.is-closing summary::before { animation: drawer-backdrop-out .35s ease both; }
.drawer__panel { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 100; display: flex; flex-direction: column; width: min(340px, 88vw); overflow-y: auto; background: var(--bi-card-2); color: var(--bi-text); box-shadow: var(--bi-shadow-lg); animation: drawer-in .55s cubic-bezier(.22, 1, .36, 1) both; }
[dir="rtl"] .drawer__panel { animation-name: drawer-in-rtl; }
.drawer.is-closing .drawer__panel { animation: drawer-out .35s cubic-bezier(.55, 0, .75, .3) both; }
[dir="rtl"] .drawer.is-closing .drawer__panel { animation-name: drawer-out-rtl; }
.drawer[open] .drawer__nav > *, .drawer[open] .drawer__foot { animation: drawer-item .45s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(120ms + var(--drawer-i, 0) * 35ms); }
.drawer.is-closing .drawer__nav > *, .drawer.is-closing .drawer__foot { animation: none; }
@keyframes drawer-in { from { transform: translateX(-100%); } }
@keyframes drawer-in-rtl { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(-100%); } }
@keyframes drawer-out-rtl { to { transform: translateX(100%); } }
@keyframes drawer-backdrop-in { from { opacity: 0; } }
@keyframes drawer-backdrop-out { to { opacity: 0; } }
@keyframes drawer-item { from { opacity: 0; transform: translateX(-14px); } }
[dir="rtl"] .drawer[open] .drawer__nav > *, [dir="rtl"] .drawer[open] .drawer__foot { animation-name: drawer-item-rtl; }
@keyframes drawer-item-rtl { from { opacity: 0; transform: translateX(14px); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--bi-border); background: var(--bi-card-2); color: var(--bi-text); }
.drawer__logo { height: 42px; max-width: 150px; width: auto; object-fit: contain; }
.drawer__nav { display: grid; padding: 8px; }
.drawer__nav > a, .drawer__group summary { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-radius: 8px; font-weight: 600; list-style: none; cursor: pointer; }
.drawer__nav > a:hover, .drawer__group summary:hover { background: var(--bi-bg); }
.drawer__nav > .drawer__offers { color: var(--bi-sale); }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .icon { transform: rotate(180deg); }
.drawer__group a { display: block; padding: 9px 24px; color: var(--bi-muted); font-size: 15px; }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding: 16px; border-top: 1px solid var(--bi-border); }
.drawer__foot a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--bi-border); border-radius: 999px; font-size: 14px; font-weight: 600; }

/* Notices */
.notice { margin: 16px 0 0; padding: 14px 18px; border-radius: var(--bi-radius-sm); font-weight: 500; }
.notice--success { background: color-mix(in srgb, var(--bi-success) 12%, var(--bi-card)); color: var(--bi-success); }
.notice--error { background: color-mix(in srgb, var(--bi-sale) 10%, var(--bi-card)); color: var(--bi-sale); }

.drawer__search { display: flex; align-items: center; gap: 8px; margin: 14px 16px 4px; padding: 0 14px; border: 1px solid var(--bi-border); border-radius: 999px; background: var(--bi-card); color: var(--bi-muted); }
.drawer__search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; outline: none; color: var(--bi-text); }

/* Sections */
.section { padding-block: clamp(28px, 4vw, 52px); }
.section--compact { padding-block: 20px clamp(32px, 5vw, 56px); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); }
.section-title h2 { margin: 0; color: var(--bi-brand); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.section-title--centered { justify-content: center; text-align: center; }
.section-title__link { color: var(--bi-brand); font-size: clamp(17px, 1rem + .4vw, 22px); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-transform: uppercase; white-space: nowrap; }
.section-title__link:hover { color: var(--bi-deep); }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 64px 16px; text-align: center; color: var(--bi-muted); }
.page-header { padding-block: clamp(24px, 4vw, 44px) 8px; }
.page-header h1 { margin-bottom: 6px; color: var(--bi-brand); }
.page-header p, .page-header__meta { color: var(--bi-muted); max-width: 70ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 22px; font-size: 14px; }
.breadcrumbs a:hover { color: var(--bi-brand); }
.breadcrumbs [aria-current] { color: var(--bi-text); font-weight: 600; }

/* Chequered borders above and below a section, in the deep brand shade */
.checkered { position: relative; margin-block: 34px; }
.checkered::before, .checkered::after { content: ""; position: absolute; inset-inline: 0; z-index: 1; height: 32px; background: repeating-conic-gradient(var(--bi-deep) 0 25%, transparent 0 50%) 0 0 / 50px 32px; }
.checkered::before { top: -32px; }
.checkered::after { bottom: -32px; }

/* Hero: one slide at a time across the page, the title near the bottom */
.hero { position: relative; }
.hero__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; overflow: hidden; background: var(--bi-soft); scroll-snap-align: center; }
.hero__media { width: 100%; aspect-ratio: 1440 / 765; object-fit: cover; }
@media (max-width: 767px) { .hero__media { aspect-ratio: 4 / 5; } .hero__slide--mobile-art .hero__media { aspect-ratio: 2 / 3; } }
.hero__content { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 80px 20px clamp(26px, 4vw, 44px); background: linear-gradient(to top, rgb(0 0 0 / .45), transparent); color: #fff; text-align: center; }
.hero__title { margin: 0; font-size: clamp(1.9rem, 1.1rem + 3vw, 3.4rem); font-weight: 700; text-shadow: 0 3px 18px rgb(0 0 0 / .35); }
.hero__content p { max-width: 46ch; margin: 0 0 6px; font-size: clamp(15px, .9rem + .3vw, 18px); text-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.hero__link { position: absolute; inset: 0; }
.slider-dots { position: absolute; inset: auto 0 10px; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.slider-dots button { position: relative; width: 20px; height: 24px; padding: 0; border: 0; background: transparent; pointer-events: auto; transition: width .4s cubic-bezier(.22, 1, .36, 1); }
.slider-dots button::before, .slider-dots button::after { content: ""; position: absolute; inset: 9px 5px; border-radius: 999px; }
.slider-dots button::before { background: rgb(255 255 255 / .5); }
.slider-dots button.is-active { width: 46px; }
.slider-dots button.is-active::after { background: #fff; transform-origin: left center; animation: bi-dot-fill var(--slide-time, 4000ms) linear both; }
[dir="rtl"] .slider-dots button.is-active::after { transform-origin: right center; }
.slider-dots.is-paused button.is-active::after { animation-play-state: paused; }
@keyframes bi-dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .slider-dots button.is-active::after { animation: none; } }

/* The menu: round photos with the category name on a block under each */
.menu__title { margin: 0 0 clamp(26px, 4vw, 56px); color: var(--bi-brand); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 800; text-align: center; text-transform: uppercase; }
.menu__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 28px) / 4); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.menu__track::-webkit-scrollbar { display: none; }
@media (max-width: 899px) { .menu__track { grid-auto-columns: 42%; gap: 18px; } }
.menu-item { display: grid; justify-items: center; gap: 30px; scroll-snap-align: start; }
/* An octagon frame around a round photo */
.menu-item__photo { position: relative; display: grid; place-items: center; width: min(100%, 190px); aspect-ratio: 1; padding: 6px; background: var(--bi-soft); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.menu-item__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: color-mix(in srgb, var(--bi-brand) 8%, #fff); }
.menu-item:hover .menu-item__photo { transform: rotate(-6deg) scale(1.04); }
.menu-item__initial { color: var(--bi-brand); font-size: 3.4rem; font-weight: 800; }
.menu-item__name { width: min(100%, 250px); padding: 12px 10px; background: var(--bi-brand); color: #fff; font-size: clamp(16px, .9rem + .5vw, 22px); text-align: center; text-transform: uppercase; transition: background .2s; }
.menu-item:hover .menu-item__name { background: var(--bi-deep); }

/* Split shelf: a big photo beside a heading and a row of dishes */
.split-shelf { display: grid; align-items: center; background: var(--bi-bg); }
@media (min-width: 1000px) { .split-shelf { grid-template-columns: 1fr 1fr; } }
.split-shelf__media { position: relative; align-self: stretch; min-height: 320px; overflow: hidden; background: var(--bi-deep); }
.split-shelf__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-shelf__content { min-width: 0; padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 16px) clamp(28px, 4vw, 44px) clamp(16px, 5vw, 72px); }
[dir="rtl"] .split-shelf__content { padding-inline: clamp(16px, 3vw, 16px) clamp(16px, 5vw, 72px); }
.split-shelf__title { margin: 0 0 clamp(18px, 3vw, 34px); color: var(--bi-brand); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.75rem); font-weight: 800; text-transform: uppercase; }
.split-shelf__title a:hover { color: var(--bi-deep); }
.split-shelf .rail__track { grid-auto-columns: calc((100% - 12px) / 2); }
@media (max-width: 999px) { .split-shelf__content { padding: 28px 16px 36px; } .split-shelf__title { text-align: center; } }

/* Rows that scroll sideways, with round arrows over their ends */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 2px 6px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
@media (max-width: 999px) { .rail__track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; } }
@media (max-width: 559px) { .rail__track, .split-shelf .rail__track { grid-auto-columns: 78%; } }
.rail-arrows { position: absolute; inset: 50% -14px auto; z-index: 2; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.rail-arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--bi-bg) 85%, transparent); color: var(--bi-brand); box-shadow: var(--bi-shadow); pointer-events: auto; transition: background .2s, color .2s, opacity .2s; }
.rail-arrow:hover:not(:disabled) { background: var(--bi-brand); color: #fff; }
.rail-arrow:disabled { opacity: 0; pointer-events: none; }
.rail-arrow:not(.rail-arrow--next) .icon { transform: scaleX(-1); }
[dir="rtl"] .rail-arrow:not(.rail-arrow--next) .icon { transform: none; }
[dir="rtl"] .rail-arrow--next .icon { transform: scaleX(-1); }
@media (max-width: 767px) { .rail-arrows { inset-inline: -6px; } }

/* Dish cards */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 64px; } }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--bi-radius); background: var(--bi-card); box-shadow: var(--bi-shadow); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--bi-shadow-lg); }
.product-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / .92; background: var(--bi-photo); }
.product-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .6s cubic-bezier(.22, 1, .36, 1); }
.product-card__image--hover { opacity: 0; }
.product-card:hover .product-card__image { transform: scale(1.06); }
.product-card:hover .product-card__image--hover { opacity: 1; }
.product-card.is-sold-out .product-card__image { filter: grayscale(.6); opacity: .7; }
/* The scalloped "% off" seal */
.seal { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; display: grid; place-content: center; width: 60px; height: 60px; background: var(--bi-sale); color: #fff; font-family: var(--bi-display); font-size: 17px; font-weight: 600; line-height: .95; text-align: center; clip-path: polygon(50% 0, 61% 7%, 75% 4%, 82% 16%, 96% 20%, 95% 34%, 100% 50%, 95% 66%, 96% 80%, 82% 84%, 75% 96%, 61% 93%, 50% 100%, 39% 93%, 25% 96%, 18% 84%, 4% 80%, 5% 66%, 0 50%, 5% 34%, 4% 20%, 18% 16%, 25% 4%, 39% 7%); }
.seal small { font-size: 12px; font-weight: 500; text-transform: uppercase; }
.badge { position: absolute; z-index: 1; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge--muted { bottom: 10px; inset-inline-start: 10px; background: rgb(0 0 0 / .75); color: #fff; }
.product-card__body { display: grid; justify-items: center; align-content: start; gap: 10px; flex: 1; padding: 18px 20px 20px; text-align: center; }
.product-card__label { color: var(--bi-muted); font-size: 12.5px; text-transform: uppercase; }
.product-card__title { display: -webkit-box; margin: 0; overflow: hidden; font-size: clamp(17px, 1rem + .4vw, 22px); font-weight: 400; line-height: 1.3; text-transform: uppercase; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card__title a:hover { color: var(--bi-brand); }
.product-card__quick { align-self: end; width: 100%; margin-top: auto; padding-top: 10px; }
.product-card__quick button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--bi-deep); color: #fff; font-size: clamp(15px, .9rem + .3vw, 19px); text-transform: uppercase; transition: background .2s, transform .2s; }
.product-card__quick button:hover { background: color-mix(in srgb, var(--bi-deep) 80%, #000); transform: translateY(-1px); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 8px; font-family: var(--bi-display); font-size: 20px; font-weight: 500; }
.price__current { color: var(--bi-text); }
.price--sale .price__current { color: var(--bi-sale); }
.price__compare { color: color-mix(in srgb, var(--bi-sale) 55%, #fff); font-size: .9em; }
.price__soon { color: var(--bi-sale); font-weight: 600; }

/* Compact menu lines */
.menu-list { display: grid; gap: 18px; }
@media (min-width: 700px) { .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .menu-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.menu-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; overflow: hidden; padding: 18px; border-radius: var(--bi-radius); background: var(--bi-card); box-shadow: var(--bi-shadow); }
.menu-card__ribbon { position: absolute; top: 9px; inset-inline-start: -22px; z-index: 1; width: 90px; padding: 2px 0; background: var(--bi-sale); color: #fff; font-family: var(--bi-display); font-size: 12px; text-align: center; transform: rotate(-45deg); }
[dir="rtl"] .menu-card__ribbon { transform: rotate(45deg); }
.menu-card__media { display: block; aspect-ratio: 1; }
.menu-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.menu-card:hover .menu-card__media img { transform: rotate(-8deg) scale(1.05); }
.menu-card__body { display: grid; gap: 8px; min-width: 0; }
.menu-card__title { margin: 0; font-size: clamp(17px, 1rem + .4vw, 23px); font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.menu-card__title a:hover { color: var(--bi-brand); }
.menu-card .price { justify-content: flex-start; }
.menu-card__quick { justify-self: end; margin-top: 4px; }
.menu-card__quick button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--bi-deep); color: #fff; font-size: 15px; text-transform: uppercase; }
.menu-card__quick button:hover { background: color-mix(in srgb, var(--bi-deep) 80%, #000); }

/* Banners: wide promo, story block, or tiles side by side */
.promo { position: relative; overflow: hidden; color: #fff; }
.promo__media img, .promo__media video { width: 100%; min-height: 360px; max-height: 620px; object-fit: cover; }
.promo__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 30px clamp(20px, 6.5vw, 92px); background: linear-gradient(to right, rgb(0 0 0 / .5), transparent 70%); }
[dir="rtl"] .promo__content { background: linear-gradient(to left, rgb(0 0 0 / .5), transparent 70%); }
.promo__title { max-width: 15ch; margin: 0; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.story { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 1120px; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; } }
.story__media { overflow: hidden; box-shadow: 0 30px 60px rgb(60 20 10 / .22); }
.story__media img, .story__media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story__text { display: grid; justify-items: start; gap: 18px; }
.story__title { margin: 0; font-family: var(--bi-display); font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 600; line-height: 1.05; text-transform: uppercase; }
.banner-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-block: clamp(28px, 4vw, 52px); }
.banner-tiles::-webkit-scrollbar { display: none; }
@media (max-width: 767px) { .banner-tiles { grid-auto-columns: 82%; } }
.banner-tile { position: relative; overflow: hidden; scroll-snap-align: start; color: #fff; }
.banner-tile__media { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.banner-tile:hover .banner-tile__media { transform: scale(1.05); }
.banner-tile__content { position: absolute; inset: auto 0 0; display: grid; justify-items: center; gap: 6px; padding: 70px 16px 24px; background: linear-gradient(to top, rgb(0 0 0 / .55), transparent); text-align: center; }
.banner-tile__title { margin: 0; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 700; text-transform: uppercase; }
.banner-tile__link { font-size: 18px; text-decoration: underline; text-underline-offset: 5px; text-transform: uppercase; }

/* Newsletter */
.newsletter__inner { display: grid; justify-items: center; gap: 14px; max-width: 760px; text-align: center; }
.newsletter h2 { margin: 0; color: var(--bi-deep); font-size: clamp(1.8rem, 1.2rem + 2vw, 3.1rem); font-weight: 700; }
.newsletter p { margin: 0; color: var(--bi-deep); font-size: clamp(16px, .95rem + .3vw, 20px); font-weight: 500; }
.newsletter__form { display: flex; width: min(100%, 620px); margin-top: 18px; }
.newsletter__field { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding-inline: 14px; background: #fff; color: #555; }
.newsletter__field input { flex: 1; min-width: 0; height: 60px; border: 0; background: transparent; color: #111; outline: none; font-size: 16px; }
.newsletter__form button { padding: 0 22px; border: 0; background: var(--bi-deep); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.newsletter__form button:hover { background: color-mix(in srgb, var(--bi-deep) 80%, #000); }
.newsletter small { color: var(--bi-deep); font-size: 12px; }

/* Why shop: a scrolling strip */
.marquee { overflow: hidden; margin-block: clamp(10px, 2vw, 20px); padding-block: 14px; border-bottom: 1px solid var(--bi-border); background-size: cover; background-position: center; }
.marquee__track { display: flex; width: max-content; animation: bi-marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
[dir="rtl"] .marquee__track { animation-name: bi-marquee-rtl; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; gap: 36px; margin: 0; padding: 0 18px; list-style: none; }
.marquee__item { display: flex; align-items: center; gap: 36px; }
.marquee__text { color: var(--bi-brand); font-family: var(--heading-font-family, inherit), sans-serif; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); font-weight: 800; white-space: nowrap; }
.marquee__item img { width: clamp(44px, 4vw, 64px); height: clamp(44px, 4vw, 64px); object-fit: contain; }
@keyframes bi-marquee { to { transform: translateX(-50%); } }
@keyframes bi-marquee-rtl { to { transform: translateX(50%); } }

/* How it works: a row of steps */
.steps { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--bi-border); border-radius: var(--bi-radius); background: var(--bi-card-2); background-size: cover; background-position: center; }
.steps__title { margin: 0; font-size: 1.25rem; text-align: center; }
.steps__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 0; margin: 0; padding: 0; list-style: none; }
.step { display: flex; align-items: center; gap: 12px; padding-inline: clamp(14px, 3vw, 34px); }
.step + .step { border-inline-start: 1px solid var(--bi-border); }
.step__icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border: 1.5px solid color-mix(in srgb, var(--bi-brand) 55%, transparent); border-radius: 50%; color: var(--bi-brand); }
.step__icon img { width: 30px; height: 30px; object-fit: contain; }
.step__text { font-size: 14px; font-weight: 600; line-height: 1.35; }
@media (max-width: 767px) {
  .steps__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .step { padding: 0; }
  .step + .step { border: 0; }
  .step__icon { width: 44px; height: 44px; }
  .step__text { font-size: 13px; }
}

/* Shop */
.shop-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--bi-border); }
.shop-head h1 { margin: 0; }
.shop-head h1 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.shop-head__count { margin: 2px 0 0; color: var(--bi-muted); font-size: 13.5px; }
.sort { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.sort select { height: 40px; padding: 0 4px; border: 0; appearance: none; background: transparent; color: var(--bi-text); font-weight: 600; cursor: pointer; }
.shop-head { position: relative; }
.shop-tools { display: flex; align-items: center; gap: 6px; }
.filter-panel { position: relative; }
.filter-toggle { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--bi-border); border-radius: 999px; background: var(--bi-card); font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
.filter-toggle::-webkit-details-marker { display: none; }
.filter-toggle:hover, .filter-panel[open] .filter-toggle { border-color: var(--bi-text); }
.filter-toggle__count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bi-head); color: #fff; font-size: 11.5px; font-weight: 800; }
.filter-panel__body { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 30; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; width: min(600px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--bi-border); border-radius: var(--bi-radius); background: var(--bi-card-2); box-shadow: var(--bi-shadow-lg); }
.filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-group legend { margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--bi-muted); }
.filter-group__options { display: grid; gap: 2px; max-height: 240px; overflow-y: auto; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.filter-option:hover { background: var(--bi-bg); }
.filter-option--child { padding-inline-start: 26px; color: var(--bi-muted); }
.filter-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--bi-head); }
.filter-option:has(input:checked) { font-weight: 700; color: var(--bi-text); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range label { display: grid; gap: 4px; font-size: 12.5px; color: var(--bi-muted); }
.price-range input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--bi-border); border-radius: 6px; background: var(--bi-bg); color: var(--bi-text); }
.filter-panel__actions { display: flex; align-items: center; gap: 16px; grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--bi-border); }
.filter-panel__actions .button { min-height: 42px; }
.filter-panel__clear, .filter-tags__clear { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.filter-panel__clear:hover, .filter-tags__clear:hover { color: var(--bi-sale); }
@media (max-width: 767px) {
  .filter-panel { position: static; }
  .filter-panel__body { inset-inline: 0; width: auto; grid-template-columns: 1fr; }
}
.filter-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.filter-tags__label { color: var(--bi-muted); font-size: 13.5px; font-weight: 600; }
.filter-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 10px 4px 14px; border-radius: 999px; background: var(--bi-head); color: #fff; font-size: 13.5px; font-weight: 600; }
[dir="rtl"] .filter-tag { padding: 4px 14px 4px 10px; }
.filter-tag .icon { opacity: .75; }
.filter-tag:hover { background: var(--bi-sale); }
.filter-tag:hover .icon { opacity: 1; }
.chips { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.chip { flex-shrink: 0; padding: 7px 16px; border: 1px solid var(--bi-border); border-radius: 999px; background: var(--bi-card); font-size: 14px; font-weight: 600; white-space: nowrap; }
a.chip:hover { border-color: var(--bi-text); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span { min-width: 42px; padding: 9px 14px; border: 1px solid var(--bi-border); border-radius: 8px; background: var(--bi-card); text-align: center; font-weight: 600; }
.pagination a:hover { border-color: var(--bi-text); }
.pagination [aria-current] { background: var(--bi-head); color: #fff; border-color: var(--bi-head); }

/* Product page: photos stacked on the left (a swipeable slider on phones), details on the right */
.product { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .product__info { position: sticky; top: calc(var(--bi-header-space, 0px) + 20px); transition: top .35s ease; }
}
.product__main-image { position: relative; }
.product__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.product__slides::-webkit-scrollbar { display: none; }
.product__slides:focus-visible { outline-offset: -3px; }
.product__slide { flex: 0 0 100%; overflow: hidden; border-radius: var(--bi-radius-sm); background: var(--bi-photo); scroll-snap-align: start; scroll-snap-stop: always; }
.product__slide img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product__counter { position: absolute; bottom: 12px; inset-inline-end: 12px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: 12.5px; font-weight: 700; }
@media (min-width: 960px) {
  .product__slides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: visible; scroll-snap-type: none; }
  .product__slide:first-child, .product__slides--single .product__slide { grid-column: 1 / -1; }
  .product__counter { display: none; }
}
.product__brand { color: var(--bi-muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.product__title { margin: 4px 0 14px; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); font-weight: 400; }
.product__price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.product__price .price { font-size: 1.15rem; }
.product__price .price__current { font-weight: 600; }
.product__price .price--sale .price__current { color: #d93636; }
.product__save { padding: 2px 10px; border-radius: 4px; background: var(--bi-badge); color: #fff; font-size: 13px; font-weight: 500; }
.product__summary { margin-bottom: 16px; color: var(--bi-muted); line-height: 1.75; }
.product__form { display: grid; gap: 14px; margin-bottom: 18px; }
.variant-picker { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; }
.variant-picker fieldset, fieldset.variant-picker { margin: 0; padding: 0; border: 0; }
.variant-picker legend { margin-bottom: 10px; font-size: 13.5px; }
.variant-picker__values { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-picker__hint { margin: 0; color: var(--bi-muted); font-size: 13.5px; }
.variant-picker__hint.is-error { color: var(--bi-sale); font-weight: 600; }
.variant-pill input, .swatch input { position: absolute; opacity: 0; pointer-events: none; }
.variant-pill span { display: inline-block; min-width: 58px; padding: 7px 18px; border: 1px solid var(--bi-border); border-radius: 999px; background: var(--bi-bg); font-size: 13px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.variant-pill span:hover { border-color: var(--bi-text); }
.variant-pill input:checked + span { border-color: #000; background: #000; color: #fff; }
.variant-pill input:focus-visible + span, .swatch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--bi-brand) 60%, transparent); outline-offset: 2px; }
.variant-pill.is-disabled span, .variant-pill input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.swatch > span { position: relative; display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); cursor: pointer; }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 3px var(--bi-bg), 0 0 0 4.5px #000; }
.swatch input:disabled + span { opacity: .35; cursor: not-allowed; }
.product__buy { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.quantity { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--bi-border); border-radius: 999px; }
.quantity button { display: grid; place-items: center; width: 40px; height: 100%; border: 0; background: transparent; }
.quantity input { width: 46px; height: 100%; border: 0; background: transparent; text-align: center; -moz-appearance: textfield; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product__buy .button { min-height: 44px; }
.product__ask { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; }
.product__ask a { text-decoration: underline; text-underline-offset: 3px; }
.product-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.product-stats__views { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--bi-card); color: var(--bi-muted); font-size: 13.5px; }
.product-stats__sold { --demand: #f59e0b; display: grid; gap: 6px; min-width: 220px; padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--demand) 11%, var(--bi-bg)); font-size: 13.5px; font-weight: 600; }
.product-stats__sold--medium { --demand: #f97316; }
.product-stats__sold--high { --demand: #dc2626; }
.product-stats__sold-text { display: flex; justify-content: space-between; gap: 10px; }
.product-stats__bar { height: 6px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--demand) 20%, transparent); }
.product-stats__bar span { display: block; height: 100%; border-radius: inherit; background: var(--demand); }
.accordion { margin-bottom: 20px; border-top: 1px solid var(--bi-border); }
.accordion details, .accordion__link { border-bottom: 1px solid var(--bi-border); }
.accordion summary, .accordion__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 0; font-size: 15.5px; list-style: none; cursor: pointer; }
.accordion summary > span:first-child, .accordion__link > span { display: inline-flex; align-items: center; gap: 10px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion__toggle { position: relative; width: 16px; height: 16px; }
.accordion__toggle::before, .accordion__toggle::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .25s; }
.accordion__toggle::after { transform: rotate(90deg); }
.accordion details[open] .accordion__toggle::after { transform: rotate(0deg); }
.accordion details > :not(summary) { margin-bottom: 18px; }
.accordion__link:hover { color: var(--bi-brand); }
.product__details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; font-size: 14.5px; }
.product__details dt { font-weight: 600; }
.product__details dd { margin: 0; color: var(--bi-muted); }
.product__details a { text-decoration: underline; text-underline-offset: 3px; }
.share-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; }
.share-buttons > span { margin-inline-end: 4px; }
.share-buttons a, .share-buttons button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--bi-border); border-radius: 50%; background: var(--bi-bg); color: var(--bi-text); }
.share-buttons a:hover, .share-buttons button:hover, .share-buttons .is-copied { border-color: var(--bi-text); }
.payment-options { display: grid; gap: 10px; }
.payment-options__label { font-size: 13.5px; font-weight: 600; }
.payment-options ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.payment-options li { display: grid; place-items: center; min-width: 52px; height: 34px; padding: 4px 8px; border: 1px solid var(--bi-border); border-radius: 6px; background: #fff; font-size: 12.5px; color: #111; }
.payment-options img { width: auto; height: 22px; max-width: 76px; object-fit: contain; }
.video-embed { position: relative; margin-top: 20px; aspect-ratio: 16 / 9; }
.video-embed--tall { aspect-ratio: 3 / 4; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--bi-radius-sm); }

/* The magnifier on each photo and the full-screen photo viewer */
.product__slide { position: relative; }
.product__slide img { cursor: zoom-in; }
.product__zoom { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #111; box-shadow: 0 4px 14px rgb(0 0 0 / .14); opacity: .9; transition: transform .2s, opacity .2s; }
.product__zoom:hover { opacity: 1; transform: scale(1.08); }
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0c0c0e; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgb(0 0 0 / .6); }
.lightbox[open] { animation: bi-lightbox-in .3s ease; }
@keyframes bi-lightbox-in { from { opacity: 0; } }
.lightbox__stage { position: absolute; inset: 64px 0 40px; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; }
.lightbox.is-zoomed .lightbox__stage { cursor: grab; }
.lightbox__stage.is-dragging { cursor: grabbing; }
.lightbox__image { max-width: min(100%, 1400px); max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; will-change: transform; }
.lightbox.is-zoomed .lightbox__image { cursor: inherit; }
.lightbox__bar { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding-inline: 16px; }
.lightbox__counter { font-size: 14px; font-weight: 600; opacity: .85; }
.lightbox__tools { display: flex; gap: 6px; }
.lightbox__button, .lightbox__arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; transition: background .2s; }
.lightbox__button:hover, .lightbox__arrow:hover { background: rgb(255 255 255 / .22); }
.lightbox__arrow { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; }
.lightbox__arrow--prev { inset-inline-start: 16px; }
.lightbox__arrow--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .lightbox__arrow--prev .icon { transform: none; }
[dir="rtl"] .lightbox__arrow--next .icon { transform: scaleX(-1); }
.lightbox__arrow--next { inset-inline-end: 16px; }
.lightbox.is-zoomed .lightbox__arrow { opacity: 0; pointer-events: none; }
.lightbox__hint { position: absolute; inset: auto 0 12px; margin: 0; font-size: 12.5px; text-align: center; opacity: .6; pointer-events: none; }
@media (max-width: 767px) { .lightbox__arrow { display: none; } }

/* The buy bar that slides up once the main button scrolls away */
.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: var(--bi-card-2); border-top: 1px solid var(--bi-border); box-shadow: 0 -10px 30px rgb(16 24 40 / .08); animation: bi-buy-in .35s cubic-bezier(.22, 1, .36, 1); }
@keyframes bi-buy-in { from { transform: translateY(100%); } }
.sticky-buy__inner { display: flex; align-items: center; gap: 12px; }
.sticky-buy__image { width: 46px; height: 46px; border: 1px solid var(--bi-border); border-radius: 8px; object-fit: cover; }
.sticky-buy__info { display: grid; flex: 1; min-width: 0; font-size: 14px; }
.sticky-buy__info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.sticky-buy .button { min-height: 44px; min-width: min(40vw, 320px); border-radius: 999px; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }

/* Footer: the deep brand shade */
.site-footer { margin-top: clamp(24px, 4vw, 48px); background: var(--bi-deep); color: #fff; }
.site-footer__grid { display: grid; gap: 34px; padding-block: 60px 40px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 2.6fr 1fr 1fr 1.4fr; } }
.site-footer__logo { height: 92px; max-width: 200px; width: auto; object-fit: contain; object-position: left; }
[dir="rtl"] .site-footer__logo { object-position: right; }
.site-footer__about { max-width: 42ch; margin: 18px 0 0; opacity: .85; font-size: 14.5px; line-height: 1.7; }
.site-footer__title { margin: 12px 0 22px; font-size: 18px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.site-footer nav a:hover, .site-footer ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 30px; border-top: 1px solid rgb(255 255 255 / .35); font-size: 16px; }
.site-footer__rights { margin: 0; }
.site-footer .social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; }
.social-links a:hover { background: rgb(255 255 255 / .14); }
.whatsapp-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 45; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgb(37 211 102 / .4); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); }
.template-product .whatsapp-float { bottom: 92px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Cart */
.cart-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; border: 1px solid var(--bi-border); border-radius: var(--bi-radius); background: var(--bi-card); }
@media (min-width: 700px) { .cart-line { grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; } }
.cart-line__image { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 8px; background: var(--bi-photo); }
.cart-line__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.cart-line__variant { margin: 0 0 4px; color: var(--bi-muted); font-size: 13.5px; }
.cart-line__price { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.cart-line__price s { color: var(--bi-muted); font-size: 13px; font-weight: 500; }
.cart-line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; grid-column: 1 / -1; justify-content: space-between; }
@media (min-width: 700px) { .cart-line__actions { grid-column: auto; flex-direction: column; align-items: flex-end; } }
.cart-line__total { font-size: 1.05rem; }
.cart-line__remove { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; border: 0; background: none; color: var(--bi-muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: var(--bi-sale); }
.cart-line[aria-busy] { pointer-events: none; }
.quantity--small { height: 40px; border-color: var(--bi-border); }
.quantity--small button { width: 34px; }
.quantity--small input { width: 38px; }
.quantity button:disabled { opacity: .35; cursor: not-allowed; }
.cart-lines__footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .icon { transform: scaleX(-1); }
[dir="rtl"] .link-arrow .icon { transform: none; }
.cart-summary { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--bi-border); border-radius: var(--bi-radius); background: var(--bi-card); box-shadow: var(--bi-shadow); }
@media (min-width: 960px) { .cart-summary { position: sticky; top: calc(var(--bi-header-space, 0px) + 20px); transition: top .35s ease; } }
.cart-summary h2 { margin: 0; font-size: 1.15rem; }
.cart-summary dl { display: grid; gap: 10px; margin: 0; }
.cart-summary dl > div { display: flex; justify-content: space-between; gap: 12px; }
.cart-summary dd { margin: 0; font-weight: 700; }
.cart-summary__saving { color: var(--bi-success); }
.cart-summary__total { padding-top: 12px; border-top: 1px solid var(--bi-border); font-size: 1.1rem; }
.cart-summary__note { margin: 0; color: var(--bi-muted); font-size: 13px; }
.cart-summary .payment-options { padding: 0; border: 0; }
.cart-empty h2 { margin: 6px 0 0; color: var(--bi-text); }

/* Rich text & embeds */
.rich-text { overflow-wrap: anywhere; color: var(--bi-text); line-height: 1.75; }
/* Inline so emoji images pasted from social media stay in the line; large photos still fill it. */
.rich-text img { display: inline-block; max-width: 100%; height: auto; margin: 2px; vertical-align: middle; }
.rich-text > * + * { margin-top: .6em; }
.rich-text p, .rich-text div { margin-bottom: 0; }
.rich-text ul, .rich-text ol { padding-inline-start: 22px; }
.rich-text table { width: 100%; border-collapse: collapse; }
.rich-text td, .rich-text th { padding: 8px; border: 1px solid var(--bi-border); }
.rich-text a { color: var(--bi-brand); text-decoration: underline; }
.video-embed { position: relative; margin-top: 20px; aspect-ratio: 16 / 9; }
.video-embed--tall { aspect-ratio: 3 / 4; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--bi-radius); }

/* Blog */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.article-featured { margin-bottom: 30px; }
.article-featured .article-card { display: grid; gap: 22px; }
@media (min-width: 900px) { .article-featured .article-card { grid-template-columns: 1.3fr 1fr; align-items: center; } .article-featured h3 { font-size: 1.7rem; } }
.article-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--bi-radius); background: var(--bi-card); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__body { padding-top: 12px; }
.article-card time { color: var(--bi-muted); font-size: 13px; font-weight: 600; }
.article-card h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.article-card h3 a:hover { color: var(--bi-brand); }
.article-card p { color: var(--bi-muted); font-size: 14.5px; }
.article-header { margin-bottom: 8px; }
.article-header__meta { color: var(--bi-muted); }
.article-header__image { width: 100%; margin-block: 22px 30px; border-radius: var(--bi-radius); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--bi-border); font-weight: 600; }

/* Add to cart: the flying product image, the cart icon bump and the confirmation */
.cart-flyer { position: fixed; z-index: 1000; border-radius: 14px; background: var(--bi-card) center / cover no-repeat; box-shadow: var(--bi-shadow-lg); pointer-events: none; will-change: transform, opacity; }
.cart-link.is-bumped { animation: bi-cart-bump .6s cubic-bezier(.3, 1.6, .5, 1); }
.cart-link.is-bumped .cart-link__count { animation: bi-cart-count .6s ease-out; }
@keyframes bi-cart-bump { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-8deg); } 65% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes bi-cart-count { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.is-loading > * { visibility: hidden; }
.is-loading::after { content: ""; position: absolute; inset: 0; width: 20px; height: 20px; margin: auto; border: 2px solid var(--bi-text); border-color: var(--bi-text) var(--bi-text) transparent transparent; border-radius: 50%; animation: bi-spin .7s linear infinite; }
@keyframes bi-spin { to { transform: rotate(360deg); } }
.cart-toast { position: fixed; z-index: 1001; inset-inline: 16px; bottom: 20px; display: flex; align-items: center; gap: 10px; width: fit-content; max-width: calc(100% - 32px); margin-inline: auto; padding: 10px 12px; border-radius: 999px; background: var(--bi-head); color: #fff; box-shadow: var(--bi-shadow-lg); font-weight: 600; opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease; }
.cart-toast[hidden] { display: none; }
.cart-toast.is-visible { opacity: 1; transform: none; }
.cart-toast__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bi-success); color: #fff; flex: none; }
.cart-toast__link { padding: 6px 12px; border-radius: 999px; background: #fff; color: #111; font-size: 14px; white-space: nowrap; }
.cart-toast__link:hover { background: var(--bi-brand); color: #fff; }
.template-product .cart-toast { bottom: 84px; }
@media (min-width: 768px) { .template-product .cart-toast { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .cart-toast { transition: none; } .is-loading::after { animation-duration: 1.6s; } }

/* Bistro on the shop and product pages */
.shop-head { border: 0; }
.shop-head h1 { color: var(--bi-brand); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; letter-spacing: 0; text-transform: none; }
.shop-head::after { content: ""; position: absolute; inset: auto 0 0; width: 160px; height: 6px; margin-inline: auto; border-block: 1px solid color-mix(in srgb, var(--bi-brand) 60%, transparent); }
.sort, .filter-toggle { color: var(--bi-brand); }
.filter-toggle { border-color: var(--bi-border); background: var(--bi-card); }

.product__panel { padding: clamp(20px, 2vw, 26px); border-radius: var(--bi-radius-sm); background: var(--bi-card); }
.product__gallery { display: grid; gap: 14px; }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .product__gallery:has(.product__thumbs) { grid-template-columns: 84px minmax(0, 1fr); align-items: center; }
  .product__thumbs { grid-row: 1; flex-direction: column; }
  .product__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; }
  .product__slide:first-child, .product__slides--single .product__slide { grid-column: auto; }
}
.product__slide { border-radius: 0; background: #fff; }
.product__slide img { object-fit: contain; padding: 6%; }
.product__thumbs { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.product__thumb { flex: 0 0 auto; width: 84px; height: 84px; padding: 0; overflow: hidden; border: 1.5px solid transparent; border-radius: 6px; background: #fff; opacity: .7; transition: opacity .2s, border-color .2s; }
.product__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product__thumb.is-active, .product__thumb:hover { border-color: var(--bi-brand); opacity: 1; }
.product__title { margin: 0 0 16px; font-family: var(--bi-display); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 600; line-height: 1.05; text-transform: uppercase; }
.product__price .price { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); }
.product__save { border-radius: 999px; background: var(--bi-sale); font-family: var(--bi-display); }
.product__summary { padding-bottom: 22px; border-bottom: 1.5px dashed color-mix(in srgb, var(--bi-deep) 70%, transparent); color: var(--bi-text); font-size: 16px; }
.variant-pill span { border-color: var(--bi-border); }
.variant-pill input:checked + span { border-color: var(--bi-deep); background: var(--bi-deep); }
.quantity { height: 56px; border: 1.5px solid var(--bi-deep); border-radius: 999px; background: color-mix(in srgb, var(--bi-brand) 14%, #fff); color: var(--bi-deep); }
.product__buy { gap: 10px; }
.product__buy .button { min-height: 56px; font-size: 18px; }
.product__form > .button--outline { min-height: 56px; font-size: 18px; }
.accordion { border-color: color-mix(in srgb, var(--bi-deep) 40%, transparent); }
.accordion details, .accordion__link { border-bottom: 1.5px dashed color-mix(in srgb, var(--bi-deep) 60%, transparent); }
.accordion summary, .accordion__link { color: var(--bi-deep); font-weight: 600; }
.accordion__toggle { width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 50%; }
.accordion__toggle::before, .accordion__toggle::after { inset: 50% 7px auto; }
.accordion summary .icon, .accordion__link > span .icon { display: none; }
.sticky-buy .button { background: var(--bi-deep); }
