/* Basil - a fresh grocery storefront. White cards on a warm off-white page, the store's brand colour
   (a fresh green by default) for buttons, prices and the progress bars, a narrow category side bar on
   computers and an app-like bottom bar on phones. Fonts come from the store's settings. */
:root {
  --bs-brand: var(--color-brand, #7ab55c);
  --bs-brand-deep: color-mix(in srgb, var(--bs-brand) 78%, #000);
  --bs-brand-ink: color-mix(in srgb, var(--bs-brand) 45%, #1b2a12);
  --bs-brand-soft: color-mix(in srgb, var(--bs-brand) 14%, #fff);
  --bs-accent: var(--color-brand-second, #f6b93b);
  --bs-on-accent: #2b2412;
  /* The --dm-* variables exist only when the store turns on dark mode. */
  --bs-bg: var(--dm-bg, #f7f7f3);
  --bs-card: var(--dm-surface-raised, #fff);
  --bs-card-2: var(--dm-surface, #fff);
  --bs-soft: var(--dm-surface, var(--bs-brand-soft));
  --bs-text: var(--dm-text, #242424);
  --bs-muted: var(--dm-text-muted, #777);
  --bs-border: var(--dm-border, #e7e7e2);
  --bs-photo: #fff;
  --bs-sale: #e5322d;
  --bs-head: var(--bs-brand);
  --bs-success: #3f8f3a;
  --bs-display: var(--heading-font-family, inherit), system-ui, sans-serif;
  --bs-radius: 12px;
  --bs-radius-sm: 10px;
  --bs-shadow: 0 1px 3px rgb(30 40 20 / .05);
  --bs-shadow-lg: 0 14px 36px rgb(30 40 20 / .13);
  --bs-wrap: 1400px;
  --bs-side: 0px;
  --bs-bar-h: 0px;
  --bs-pattern: none;
}
@media (min-width: 1200px) { .has-side-bar { --bs-side: 64px; } }
@media (max-width: 1023px) { .has-mobile-bar { --bs-bar-h: calc(64px + env(safe-area-inset-bottom, 0px)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bs-bg);
  color: var(--bs-text);
  font-family: var(--body-font-family, system-ui), system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:where(h1, h2, h3):where(:not(.platform-content *)) { font-family: var(--bs-display); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; color: var(--bs-text); }
:where(h1:not(.platform-content *)) { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
:where(h2:not(.platform-content *)) { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); }
: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(--bs-brand) 60%, transparent); outline-offset: 2px; border-radius: 8px; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 32px, var(--bs-wrap)); margin-inline: auto; }
@media (min-width: 1024px) { .wrap { width: min(100% - 48px, var(--bs-wrap)); } }
.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: 200; padding: 10px 16px; background: var(--bs-text); color: var(--bs-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; } }

/* The page sits beside the side bar on computers and above the bottom bar on phones. */
.site-frame { display: flex; align-items: flex-start; }
.page-shell { flex: 1; min-width: 0; padding-bottom: var(--bs-bar-h); }

/* 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: rounded, in the store's button colour */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border: 2px solid transparent; border-radius: 10px;
  background: var(--color-primary-btn, var(--bs-brand)); color: var(--color-primary-btn-font, #fff);
  font-family: var(--bs-display); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.button:hover { background: var(--color-primary-btn-hover, var(--bs-brand-deep)); color: var(--color-primary-btn-hover-font, #fff); }
.button--accent { background: var(--bs-accent); color: var(--bs-on-accent); }
.button--accent:hover { background: color-mix(in srgb, var(--bs-accent) 85%, #000); color: var(--bs-on-accent); }
.button--white { background: #fff; color: #242424; box-shadow: 0 4px 14px rgb(0 0 0 / .08); }
.button--white:hover { background: var(--bs-brand); color: #fff; }
.button--soft { background: var(--bs-card); color: var(--bs-text); border-color: var(--bs-border); }
.button--soft:hover { background: var(--bs-brand); color: #fff; border-color: var(--bs-brand); }
.button--outline { border-color: var(--bs-brand); background: transparent; color: var(--bs-brand); }
.button--outline:hover { background: var(--bs-brand); color: #fff; }
.button--dark { background: var(--bs-text); color: var(--bs-card); }
.button--dark:hover { background: var(--bs-brand); color: #fff; }
.button--block { width: 100%; }
.button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.pill-link, .text-link { display: inline-flex; align-items: center; min-height: 32px; padding-bottom: 2px; border-bottom: 2px solid var(--bs-brand); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.pill-link:hover, .text-link:hover { color: var(--bs-brand); }

/* Announcement */
.announcement { background: var(--bs-brand); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; }
.announcement--image img { width: 100%; height: auto; max-height: 90px; object-fit: cover; }
.announcement__text { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 8px 16px; }

/* Header */
.site-header { position: sticky; top: calc(var(--bs-lead, 0px) - var(--bs-top-h, 0px)); z-index: 50; }
.top-bar { border-bottom: 1px solid var(--bs-border); background: var(--bs-bg); color: var(--bs-text); font-size: 13px; }
.top-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.top-bar__pages, .top-bar__info { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.top-bar__pages a, .top-bar__info > li { display: inline-flex; align-items: center; gap: 6px; padding-inline: 14px; }
.top-bar__pages a:first-child { padding-inline-start: 0; }
.top-bar__info > li:last-child { padding-inline-end: 0; }
.top-bar__pages a + a, .top-bar__info > li + li { border-inline-start: 1px solid var(--bs-border); }
.top-bar__info a { display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: var(--bs-brand); }

.site-header__main { border-bottom: 1px solid var(--bs-border); background: var(--bs-card); transition: box-shadow .3s ease; }
.site-header:has(.drawer[open]) { z-index: 120; }
.site-header.is-scrolled .site-header__main { box-shadow: 0 6px 20px rgb(30 40 20 / .08); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
/* 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: 50px; max-width: 190px; object-fit: contain; object-position: left center; }
[dir="rtl"] .site-logo img { object-position: right center; }

.all-categories { position: relative; flex-shrink: 0; }
.all-categories summary { list-style: none; }
.all-categories summary::-webkit-details-marker { display: none; }
.all-categories__button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--bs-brand); color: #fff; font-family: var(--bs-display); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.all-categories__button:hover, .all-categories[open] .all-categories__button { background: var(--bs-brand-deep); }
.all-categories__panel { position: absolute; inset-inline-start: 0; top: calc(100% + 12px); z-index: 60; display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 6px 10px; width: max-content; max-width: min(820px, 80vw); max-height: 70vh; overflow-y: auto; padding: 16px; border-radius: 14px; background: var(--bs-card); color: var(--bs-text); box-shadow: var(--bs-shadow-lg); animation: bs-pop .25s cubic-bezier(.22, 1, .36, 1); }
@keyframes bs-pop { from { opacity: 0; transform: translateY(-6px); } }
.all-categories__group { padding: 8px; border-radius: 10px; }
.all-categories__group:hover { background: var(--bs-bg); }
.all-categories__title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.all-categories__title:hover { color: var(--bs-brand); }
.all-categories__group ul { display: grid; gap: 2px; margin: 6px 0 0; padding: 0 0 0 50px; list-style: none; color: var(--bs-muted); font-size: 14px; }
[dir="rtl"] .all-categories__group ul { padding: 0 50px 0 0; }
.all-categories__group ul a:hover { color: var(--bs-brand); }
.category-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--bs-brand-soft); color: var(--bs-brand-ink); font-family: var(--bs-display); font-weight: 700; }
.category-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-icon .menu-icon { width: 20px; height: 20px; }
.category-icon--line img { object-fit: contain; padding: 17%; }

.site-search { position: relative; display: flex; align-items: center; flex: 1 1 320px; min-width: 0; max-width: 460px; height: 44px; border: 1.5px solid var(--bs-border); border-radius: 999px; background: var(--bs-card); transition: border-color .2s, box-shadow .2s; }
.site-search:focus-within { border-color: var(--bs-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bs-brand) 14%, transparent); }
.site-search button { display: grid; place-items: center; width: 46px; height: 100%; border: 0; background: transparent; color: var(--bs-muted); }
.site-search button:hover { color: var(--bs-brand); }
.site-search input { flex: 1; min-width: 0; height: 100%; padding: 0 18px 0 0; border: 0; background: transparent; color: var(--bs-text); outline: none; font-size: 15px; }
[dir="rtl"] .site-search input { padding: 0 0 0 18px; }
.site-search input::-webkit-search-cancel-button { display: none; }

.quick-links { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; font-family: var(--bs-display); font-size: 15px; font-weight: 600; }
.quick-links a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: color .2s; }
.quick-links a:hover { color: var(--bs-brand); }
.quick-links .icon { color: var(--bs-brand); }

.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: color-mix(in srgb, var(--bs-text) 7%, transparent); }
.cart-link { position: relative; display: inline-grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--bs-brand-soft); color: var(--bs-brand-ink); transition: background .2s, color .2s; }
.site-header .cart-link:hover { background: var(--bs-brand); color: #fff; }
.cart-link__count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--bs-brand); color: #fff; box-shadow: 0 0 0 2px var(--bs-card); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.drawer__toggle { display: none; }

@media (max-width: 1279px) { .quick-links a:nth-child(n+2) { display: none; } }
@media (max-width: 1099px) { .quick-links { display: none; } .site-search { max-width: none; } }
@media (min-width: 1024px) {
  .site-search { margin-inline-start: 4px; }
}
/* Phones and tablets: keep the logo, menu and search together in the sticky row. */
@media (max-width: 1023px) {
  .top-bar, .all-categories { display: none; }
  .site-header__inner { gap: 8px; min-height: 64px; }
  .site-logo--main { max-width: 22%; }
  .site-logo--main img { height: 40px; max-width: 100%; object-position: center; }
  .drawer__toggle { display: inline-grid; flex-shrink: 0; }
  .site-search { flex: 1; height: 44px; }
  .has-mobile-bar.has-bar-cart .site-header .cart-link { display: none; }
}

/* Side bar (computers): icons only, opening into a menu over the page on hover */
.side-bar { display: none; }
@media (min-width: 1200px) {
  .has-side-bar .side-bar { position: sticky; top: var(--bs-lead, 0px); z-index: 70; display: block; flex: 0 0 var(--bs-side); height: calc(100vh - var(--bs-lead, 0px)); height: calc(100dvh - var(--bs-lead, 0px)); }
}
/* The page dims while the menu is open. */
.side-bar::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgb(20 25 15 / .45); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; pointer-events: none; }
.side-bar__panel { position: absolute; inset-block: 0; inset-inline-start: 0; display: flex; flex-direction: column; gap: 10px; width: var(--bs-side); padding: 10px; border-inline-end: 1px solid var(--bs-border); background: var(--bs-card); transition: width .35s cubic-bezier(.22, 1, .36, 1), box-shadow .3s; }
.side-bar__menu { display: flex; align-items: center; gap: 12px; flex-shrink: 0; width: 100%; height: 44px; padding: 0 11px; overflow: hidden; border: 0; border-radius: 999px; background: var(--bs-brand); color: #fff; font-size: 15.5px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.side-bar__menu:hover { background: var(--bs-brand-deep); }
.side-bar__list { display: grid; align-content: start; gap: 2px; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
.side-bar__list::-webkit-scrollbar { display: none; }
.side-bar__item { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 4px; overflow: hidden; border-radius: 10px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.side-bar__item .category-icon { width: 36px; height: 36px; font-size: 14px; transition: box-shadow .2s; }
.side-bar__item--offers .category-icon { background: color-mix(in srgb, var(--bs-sale) 12%, #fff); color: var(--bs-sale); }
.side-bar__item--plain .category-icon { color: var(--bs-brand); }
.side-bar__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s; }
.side-bar__arrow { display: grid; color: var(--bs-muted); opacity: 0; transition: opacity .2s, transform .2s; }
[dir="rtl"] .side-bar__arrow .icon { transform: scaleX(-1); }
.side-bar__entry:hover > .side-bar__item, .side-bar__item:focus-visible { background: var(--bs-bg); color: var(--bs-brand); }
.side-bar__entry:hover > .side-bar__item .category-icon { box-shadow: 0 0 0 2px var(--bs-brand); }
.side-bar__entry:hover .side-bar__arrow { color: var(--bs-brand); transform: translateX(3px); }
[dir="rtl"] .side-bar__entry:hover .side-bar__arrow { transform: translateX(-3px); }

/* Open: the bar widens over the page with the names, the arrows and the dimmed page behind it. */
.side-bar:is(:hover, :focus-within, .is-open) .side-bar__panel { width: 280px; box-shadow: var(--bs-shadow-lg); }
.side-bar:is(:hover, :focus-within, .is-open)::before { opacity: 1; visibility: visible; }
.side-bar:is(:hover, :focus-within, .is-open) :is(.side-bar__text, .side-bar__arrow) { opacity: 1; transition-delay: .08s; }

/* A category's panel: sub-categories as a picture grid, its photo as a banner and "View all". */
.side-bar__flyout { position: absolute; inset-block: 0; inset-inline-start: 100%; display: grid; align-content: start; gap: 18px; width: 440px; padding: 22px 24px; overflow-y: auto; border-inline-start: 1px solid var(--bs-border); background: var(--bs-card); box-shadow: 20px 0 40px rgb(20 25 15 / .12); opacity: 0; visibility: hidden; transform: translateX(-10px); transition: opacity .2s, transform .25s cubic-bezier(.22, 1, .36, 1), visibility .2s; }
[dir="rtl"] .side-bar__flyout { box-shadow: -20px 0 40px rgb(20 25 15 / .12); transform: translateX(10px); }
.side-bar:is(:hover, :focus-within, .is-open) .side-bar__entry:is(:hover, :focus-within) > .side-bar__flyout { opacity: 1; visibility: visible; transform: none; transition-delay: .05s; }
.side-bar__flyout-title { margin: 0; font-family: var(--bs-display); font-size: 17px; font-weight: 600; }
.side-bar__flyout-title a:hover { color: var(--bs-brand); }
.side-bar__children { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.side-bar__children a { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px; border-radius: 10px; font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s; }
.side-bar__children a:hover { background: var(--bs-bg); color: var(--bs-brand); }
.side-bar__children .category-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bs-bg); }
.side-bar__children .category-icon img { object-fit: contain; padding: 3px; }
.side-bar__banner { position: relative; display: grid; grid-template-columns: 1fr 44%; align-items: center; gap: 12px; min-height: 170px; overflow: hidden; padding: 22px; border-radius: var(--bs-radius); background: color-mix(in srgb, var(--bs-accent) 45%, #fff); color: color-mix(in srgb, var(--bs-accent) 30%, #2a1e05); }
.side-bar__banner-text { display: grid; justify-items: start; gap: 12px; }
.side-bar__banner-title { font-family: var(--bs-display); font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.side-bar__banner-link { padding: 7px 14px; border-radius: 8px; background: #fff; color: #242424; font-size: 13.5px; font-weight: 600; }
.side-bar__banner img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.side-bar__banner:hover img { transform: scale(1.05); }
.side-bar__all { justify-self: start; align-self: start; }
.side-bar__divider { display: block; height: 1px; margin: 6px 8px; background: var(--bs-border); }

/* Bottom bar (phones): like an app's tab bar */
.mobile-bar { display: none; }
@media (max-width: 1023px) {
  .has-mobile-bar .mobile-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 80; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: var(--bs-bar-h); padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--bs-border); background: color-mix(in srgb, var(--bs-card) 94%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 -6px 20px rgb(30 40 20 / .06); }
  .has-mobile-bar .whatsapp-float { bottom: calc(var(--bs-bar-h) + 14px); }
  .has-mobile-bar .cart-toast { bottom: calc(var(--bs-bar-h) + 12px); }
}
.mobile-bar__item { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; width: auto; height: auto; min-height: 56px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--bs-muted); font-size: 11.5px; font-weight: 600; line-height: 1.1; -webkit-tap-highlight-color: transparent; }
.mobile-bar__item[aria-current="page"], .mobile-bar__item:active { color: var(--bs-brand); }
.mobile-bar__item[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--bs-brand); }
.mobile-bar__item .icon { transition: transform .2s; }
.mobile-bar__item:active .icon { transform: scale(.88); }
.mobile-bar__icon { position: relative; display: grid; }
.mobile-bar .cart-link__count { top: -6px; inset-inline-end: -10px; }

/* Drawer (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__backdrop { position: fixed; inset: 0; z-index: 90; width: 100%; height: 100%; padding: 0; border: 0; background: rgb(0 0 0 / .45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); cursor: pointer; animation: drawer-backdrop-in .25s ease both; }
@media (min-width: 1024px) { .drawer[open] .drawer__toggle { display: block; position: absolute; width: 0; height: 0; overflow: visible; } }
.drawer.is-closing .drawer__backdrop { animation: drawer-backdrop-out .2s ease both; }
.drawer__panel { position: fixed; inset-block: var(--bs-lead, 0px) 0; inset-inline-start: 0; z-index: 100; display: flex; flex-direction: column; width: min(340px, 88vw); overflow-y: auto; background: var(--bs-card-2); color: var(--bs-text); box-shadow: var(--bs-shadow-lg); animation: drawer-in .3s cubic-bezier(.22, 1, .36, 1) both; }
[dir="rtl"] .drawer__panel { animation-name: drawer-in-rtl; }
.drawer.is-closing .drawer__panel { animation: drawer-out .2s ease-in 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 { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--bs-border); background: var(--bs-card-2); }
.drawer__logo { height: 42px; max-width: 150px; width: auto; object-fit: contain; }
.drawer__nav { display: grid; gap: 2px; padding: 10px; }
.drawer__nav > a, .drawer__group summary { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 6px 12px; border-radius: 10px; font-size: 15.5px; font-weight: 600; list-style: none; cursor: pointer; }
.drawer__nav > a > .icon { display: grid; place-items: center; width: 40px; color: var(--bs-brand); }
.drawer__nav .category-icon { width: 40px; height: 40px; }
.drawer__group summary > span:not(.category-icon) { flex: 1; }
.drawer__nav > a:hover, .drawer__group summary:hover { background: var(--bs-bg); color: var(--bs-brand); }
.drawer__nav > .drawer__offers, .drawer__nav > .drawer__offers .icon { color: var(--bs-sale); }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary .icon { transition: transform .2s; }
.drawer__group[open] summary .icon { transform: rotate(180deg); }
.drawer__group a { display: block; padding: 9px 14px 9px 64px; color: var(--bs-muted); font-size: 14.5px; }
[dir="rtl"] .drawer__group a { padding: 9px 64px 9px 14px; }
.drawer__group a:hover { color: var(--bs-brand); }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding: 16px; border-top: 1px solid var(--bs-border); }
.drawer__foot a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--bs-bg); font-size: 14px; font-weight: 600; }
.drawer__dismiss { display: none; }
@media (max-width: 1023px) {
  .drawer__dismiss { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: center; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bs-card-2) 28%); }
  .drawer__dismiss button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 120px; min-height: 44px; padding: 0 20px; border: 1px solid var(--bs-border); border-radius: 999px; background: var(--bs-card); color: var(--bs-text); box-shadow: var(--bs-shadow-lg); font-weight: 600; cursor: pointer; }
  .drawer__dismiss button:active { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
  .drawer__backdrop, .drawer__panel, .drawer.is-closing .drawer__backdrop, .drawer.is-closing .drawer__panel, .drawer[open] .drawer__nav > *, .drawer[open] .drawer__foot { animation: none; }
}

/* Side cart: slides in from the side over a dimmed page */
.cart-drawer { position: fixed; inset: var(--bs-lead, 0px) 0 0; z-index: 150; }
.cart-drawer__backdrop { position: absolute; inset: 0; background: rgb(20 25 15 / .5); opacity: 0; transition: opacity .4s ease; cursor: pointer; }
.cart-drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(380px, 92vw); background: var(--bs-card-2); color: var(--bs-text); box-shadow: var(--bs-shadow-lg); transform: translateX(100%); transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
[dir="rtl"] .cart-drawer__panel { transform: translateX(-100%); }
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--bs-border); }
.cart-drawer__title { margin: 0; font-size: 1.2rem; }
.cart-drawer__close { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 6px; border: 0; background: transparent; color: var(--bs-text); font-size: 14.5px; font-weight: 600; transition: color .2s; }
.cart-drawer__close:hover { color: var(--bs-brand); }
.cart-drawer__close .icon { transition: transform .3s; }
.cart-drawer__close:hover .icon { transform: rotate(90deg); }
.cart-drawer__body { display: flex; flex: 1; flex-direction: column; min-height: 0; transition: opacity .2s; }
.cart-drawer__body.is-busy .mini-cart { opacity: .55; pointer-events: none; }
.cart-drawer__loading { display: grid; flex: 1; place-items: center; }
.cart-drawer__spinner { width: 32px; height: 32px; border: 3px solid var(--bs-border); border-top-color: var(--bs-brand); border-radius: 50%; animation: bs-spin .8s linear infinite; }
.mini-cart { display: flex; flex: 1; flex-direction: column; min-height: 0; transition: opacity .2s; animation: bs-fade-in .3s ease; }
@keyframes bs-fade-in { from { opacity: 0; } }
.mini-cart__lines { flex: 1; margin: 0; padding: 4px 18px; overflow-y: auto; list-style: none; }
.mini-cart__line { position: relative; display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bs-border); transition: opacity .2s; }
.mini-cart__line:last-child { border-bottom: 0; }
.mini-cart__line.is-updating { opacity: .45; pointer-events: none; }
.mini-cart__image { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--bs-photo); }
.mini-cart__image img { width: 100%; height: 100%; object-fit: cover; }
.mini-cart__info { display: grid; align-content: start; justify-items: start; gap: 6px; min-width: 0; }
.mini-cart__title { display: -webkit-box; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mini-cart__title:hover { color: var(--bs-brand); }
.mini-cart__variant { margin: 0; color: var(--bs-muted); font-size: 13px; }
.mini-qty--line { height: 32px; }
.mini-qty--line button { width: 30px; }
.mini-qty--line button:disabled { opacity: .35; cursor: default; }
.mini-qty__value { min-width: 26px; font-weight: 600; text-align: center; }
.mini-cart__price { display: flex; gap: 4px; margin: 0; color: var(--bs-muted); font-size: 13.5px; }
.mini-cart__price span { color: var(--bs-brand); font-weight: 600; }
.mini-cart__remove button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bs-muted); transition: background .2s, color .2s; }
.mini-cart__remove button:hover { background: color-mix(in srgb, var(--bs-sale) 10%, transparent); color: var(--bs-sale); }
.mini-cart__footer { display: grid; gap: 10px; padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--bs-border); background: var(--bs-card-2); }
.mini-cart__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; }
.mini-cart__row--saving { color: var(--bs-success); font-size: 14px; font-weight: 600; }
.mini-cart__row--total { font-size: 1.15rem; font-weight: 600; }
.mini-cart__row--total strong { color: var(--bs-brand); font-size: 1.3rem; }
.mini-cart__note { margin: 0 0 4px; color: var(--bs-muted); font-size: 13px; }
.mini-cart__footer .button { min-height: 46px; }
.mini-cart__footer .button--soft { background: var(--bs-bg); border-color: transparent; }
.mini-cart__empty { display: grid; flex: 1; align-content: center; justify-items: center; gap: 8px; padding: 32px 24px; color: var(--bs-muted); text-align: center; }
.mini-cart__empty p { margin: 0; }
.mini-cart__empty-icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 6px; border-radius: 50%; background: var(--bs-brand-soft); color: var(--bs-brand); }
.mini-cart__empty-title { color: var(--bs-text); font-size: 1.1rem; font-weight: 600; }
.mini-cart__empty .button { margin-top: 10px; }
@keyframes bs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cart-drawer__panel, .cart-drawer__backdrop { transition: none; } }

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

/* Sections */
.section { padding-block: clamp(20px, 3vw, 36px); }
.section--tight { padding-block: clamp(10px, 1.6vw, 18px); }
.section--compact { padding-block: 20px clamp(32px, 5vw, 56px); }
.section--stories { padding-block: 22px 6px; }
.section--hero { padding-block: 14px 8px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(14px, 2vw, 22px); }
.section-title h2 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.section-title--centered { justify-content: center; text-align: center; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 64px 16px; text-align: center; color: var(--bs-muted); }
.page-header { padding-block: clamp(24px, 4vw, 44px) 8px; }
.page-header h1 { margin-bottom: 6px; }
.page-header p, .page-header__meta { color: var(--bs-muted); max-width: 70ch; }
.page-header--band { margin-bottom: clamp(-40px, -3vw, -20px); padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 84px); background: var(--bs-soft) var(--bs-pattern); text-align: center; }
.page-header--band h1 { margin-bottom: 10px; color: var(--bs-head); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.page-header--band p { margin: 0 auto; font-size: 1.05rem; }
.page-header__crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin-bottom: 12px; color: var(--bs-muted); font-size: 14px; }
.page-header__crumbs a:hover { color: var(--bs-brand); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 22px; color: var(--bs-muted); font-size: 14px; }
.breadcrumbs a:hover { color: var(--bs-brand); }
.breadcrumbs [aria-current] { color: var(--bs-text); font-weight: 600; }

/* Category stories: round photos with the name under them */
.stories { display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px; }
.stories::-webkit-scrollbar { display: none; }
.story { display: grid; justify-items: center; gap: 10px; scroll-snap-align: start; text-align: center; }
.story__ring { display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; border-radius: 50%; background: var(--bs-brand-soft); box-shadow: 0 0 0 2px var(--bs-bg), 0 0 0 4px transparent; transition: box-shadow .25s, transform .25s; }
.story__ring img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.story:hover .story__ring { box-shadow: 0 0 0 2px var(--bs-bg), 0 0 0 4px var(--bs-brand); }
.story:hover .story__ring img { transform: scale(1.08); }
.story__initial { color: var(--bs-brand-ink); font-family: var(--bs-display); font-size: 2rem; font-weight: 700; }
.story__title { display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rail__progress--stories { margin-top: 12px; }
@media (min-width: 1024px) { .rail__progress--stories { display: none; } .stories { grid-auto-columns: 150px; gap: 8px; } }
@media (max-width: 559px) { .stories { grid-auto-columns: 84px; gap: 12px; } .story__ring { width: 76px; height: 76px; } .story__title { font-size: 13px; } }

/* Hero: the slider beside up to two offer tiles */
.hero-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) {
  .hero-grid--tiles-1 { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
  .hero-grid--tiles-2 { grid-template-columns: minmax(0, 1fr) repeat(2, minmax(220px, 270px)); }
}
@media (min-width: 560px) and (max-width: 1023px) {
  .hero-grid--tiles-2 { grid-template-columns: 1fr 1fr; }
  .hero-grid--tiles .hero { grid-column: 1 / -1; }
}
.hero { position: relative; min-width: 0; overflow: hidden; border-radius: var(--bs-radius); }
.hero__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; display: grid; min-height: clamp(320px, 30vw, 400px); overflow: hidden; background: var(--bs-brand-soft); scroll-snap-align: center; }
.hero__visual { position: absolute; inset: 0; }
.hero__media { width: 100%; height: 100%; object-fit: cover; }
.hero__visual picture { display: contents; }
/* A slide with a title: the photo fills the end side and fades into the soft brand colour behind the text. */
.hero__slide--text .hero__visual { inset-inline-start: 34%; -webkit-mask-image: linear-gradient(to right, transparent 8%, #000 50%); mask-image: linear-gradient(to right, transparent 8%, #000 50%); }
[dir="rtl"] .hero__slide--text .hero__visual { -webkit-mask-image: linear-gradient(to left, transparent 8%, #000 50%); mask-image: linear-gradient(to left, transparent 8%, #000 50%); }
.hero__panel { position: relative; z-index: 1; display: grid; align-content: center; justify-items: start; gap: 16px; max-width: min(560px, 62%); padding: clamp(28px, 4vw, 56px); }
.hero__title { margin: 0; color: var(--bs-brand-ink); font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); font-weight: 600; line-height: 1.2; }
.hero__text { max-width: 44ch; margin: 0; color: color-mix(in srgb, var(--bs-brand-ink) 80%, transparent); font-size: clamp(14px, .85rem + .2vw, 16px); line-height: 1.6; }
.hero__panel .button { margin-top: 6px; }
.hero__link { position: absolute; inset: 0; z-index: 1; }
@media (max-width: 767px) {
  .hero__slide { min-height: 0; aspect-ratio: 4 / 5; }
  .hero__slide--text .hero__visual, [dir="rtl"] .hero__slide--text .hero__visual {
    inset: 0; -webkit-mask-image: none; mask-image: none;
  }
  .hero__panel { align-content: end; justify-items: center; max-width: none; gap: 10px; padding: 24px 22px 56px; text-align: center; }
  .hero__title, .hero__text { color: #fff; text-shadow: 0 2px 8px rgb(0 0 0 / .8); }
}
.slider-dots { position: absolute; inset: auto 0 14px; z-index: 2; display: flex; justify-content: center; pointer-events: none; }
.slider-dots:not(:empty) { width: fit-content; margin-inline: auto; padding: 4px 8px; border-radius: 999px; background: rgb(255 255 255 / .9); pointer-events: auto; }
.slider-dots button { position: relative; width: 18px; height: 18px; padding: 0; border: 0; background: transparent; transition: width .4s cubic-bezier(.22, 1, .36, 1); }
.slider-dots button::before, .slider-dots button::after { content: ""; position: absolute; inset: 5px; border-radius: 999px; }
.slider-dots button::before { background: #c9c9c4; }
.slider-dots button.is-active { width: 34px; }
.slider-dots button.is-active::after { background: #333; transform-origin: left center; animation: bs-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 bs-dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .slider-dots button.is-active::after { animation: none; } }

/* Offer tiles beside the hero: soft colour, the title and "Shop now" on top and the picture below */
.offer-tile { --tile: #a9cfee; position: relative; display: grid; grid-template-rows: auto 1fr; gap: 14px; min-height: 100%; overflow: hidden; padding: 22px 18px 0; border-radius: var(--bs-radius); background: color-mix(in srgb, var(--tile) 55%, #fff); color: color-mix(in srgb, var(--tile) 30%, #12202e); text-align: center; isolation: isolate; }
.offer-tile--2 { --tile: var(--bs-accent); }
.offer-tile__text { display: grid; justify-items: center; gap: 6px; }
.offer-tile__title { font-family: var(--bs-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); font-weight: 600; line-height: 1.25; }
.offer-tile__link { padding-bottom: 1px; border-bottom: 1.5px solid currentColor; font-size: 14px; font-weight: 600; }
.offer-tile__media { align-self: end; overflow: hidden; margin-inline: -18px; aspect-ratio: 1; }
.offer-tile__media img, .offer-tile__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.offer-tile:hover .offer-tile__media img { transform: scale(1.06); }
@media (max-width: 559px) { .offer-tile__media { aspect-ratio: 16 / 10; } }

/* Why shop: a white strip of icons and titles that slowly scrolls */
.marquee { overflow: hidden; border-radius: var(--bs-radius); background: var(--bs-card) center / cover; box-shadow: var(--bs-shadow); }
.marquee__track { display: flex; width: max-content; animation: bs-marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
[dir="rtl"] .marquee__track { animation-name: bs-marquee-rtl; }
.marquee__group { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; padding: 20px 36px; font-family: var(--bs-display); font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.marquee__item img { width: 30px; height: 30px; object-fit: contain; }
.marquee__dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bs-brand-soft); color: var(--bs-brand); }
@keyframes bs-marquee { to { transform: translateX(-50%); } }
@keyframes bs-marquee-rtl { to { transform: translateX(50%); } }

/* Rows that scroll sideways: a heading with "All products", and a scroll bar under the row */
.rail { position: relative; }
.rail__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(14px, 2vw, 22px); }
.rail__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); font-weight: 600; }
.rail__title a:hover { color: var(--bs-brand); }
.rail__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bs-brand-soft); color: var(--bs-brand); }
.rail__tools { display: flex; align-items: center; gap: 14px; }
.rail-arrows { display: flex; gap: 6px; }
.rail-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--bs-border); border-radius: 50%; background: var(--bs-card); color: var(--bs-text); transition: background .2s, color .2s, opacity .2s; }
.rail-arrow:hover:not(:disabled) { border-color: var(--bs-brand); background: var(--bs-brand); color: #fff; }
.rail-arrow:disabled { opacity: .35; cursor: default; }
.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); }
.rail__track, .category-cards, .article-rail { display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 2px 6px; }
.rail__track::-webkit-scrollbar, .category-cards::-webkit-scrollbar, .article-rail::-webkit-scrollbar { display: none; }
.rail__track > *, .category-cards > *, .article-rail > * { scroll-snap-align: start; }
.rail__track { grid-auto-columns: calc((100% - 4 * 20px) / 5); }
.article-rail { grid-auto-columns: calc((100% - 3 * 20px) / 4); }
.category-cards { grid-auto-columns: calc((100% - 3 * 20px) / 4); }
@media (max-width: 1299px) { .rail__track { grid-auto-columns: calc((100% - 3 * 20px) / 4); } }
@media (max-width: 1199px) { .rail__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } .category-cards { grid-auto-columns: calc((100% - 2 * 16px) / 3); } .article-rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); } .rail__track, .category-cards, .article-rail { gap: 16px; } }
@media (max-width: 899px) { .rail__track, .article-rail { grid-auto-columns: calc((100% - 12px) / 2.2); gap: 12px; } .category-cards { grid-auto-columns: calc((100% - 12px) / 1.6); gap: 12px; } }
@media (max-width: 559px) { .rail__track { grid-auto-columns: 46%; } .category-cards { grid-auto-columns: 86%; } .article-rail { grid-auto-columns: 82%; } }
@media (max-width: 767px) { .rail-arrows { display: none; } }
.rail__progress { position: relative; height: 3px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: var(--bs-border); }
.rail__progress span { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--rail-size, 100%); border-radius: inherit; background: var(--bs-brand); transform: translateX(var(--rail-shift, 0%)); transition: transform .15s linear; }
[dir="rtl"] .rail__progress span { transform: translateX(calc(var(--rail-shift, 0%) * -1)); }
.rail__progress.is-full { visibility: hidden; }
.rail__progress.is-loop span { transition: none; }
.rail__progress.is-loop span::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(var(--rail-lap, 0) * -100%); width: 100%; border-radius: inherit; background: inherit; }
[data-drag-scroll] { cursor: grab; }
[data-drag-scroll].is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
[data-drag-scroll].is-dragging a { pointer-events: none; }

/* Popular categories: the photo beside the name and the sub-categories */
.category-card { display: grid; grid-template-columns: 44% 1fr; gap: 16px; align-items: start; min-height: 100%; padding: 14px; border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow); transition: box-shadow .25s; }
.category-card:hover { box-shadow: var(--bs-shadow-lg); }
.category-card__photo { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--bs-brand-soft); }
.category-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.category-card:hover .category-card__photo img { transform: scale(1.06); }
.category-card__initial { color: var(--bs-brand-ink); font-family: var(--bs-display); font-size: 3rem; font-weight: 700; }
.category-card__body { display: grid; align-content: start; gap: 10px; min-width: 0; padding-top: 4px; }
.category-card__title { margin: 0; font-size: 15.5px; font-weight: 600; }
.category-card__title a:hover { color: var(--bs-brand); }
.category-card__children { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--bs-muted); font-size: 14px; }
.category-card__children a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-card__children a:hover, .category-card__more:hover { color: var(--bs-brand); }
.category-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--bs-muted); font-size: 14px; font-weight: 600; }

/* Product cards: white, the photo with badges, the name and price, then quantity + "Add to cart" */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.product-card { position: relative; display: flex; flex-direction: column; border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow); transition: box-shadow .25s; }
.product-card:hover { box-shadow: var(--bs-shadow-lg); }
.product-card__media { position: relative; }
.product-card__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--bs-radius) var(--bs-radius) 0 0; background: var(--bs-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.05); }
.product-card:hover .product-card__image--hover { opacity: 1; }
.product-card.is-sold-out .product-card__image { filter: grayscale(.6); opacity: .7; }
.product-card__badges { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; display: grid; justify-items: start; gap: 6px; pointer-events: none; }
.tag { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.8; }
.tag--sale { background: var(--bs-brand); color: #fff; }
.tag--muted { background: #8a8a85; color: #fff; }
.product-card__body { display: grid; align-content: start; gap: 6px; flex: 1; padding: 14px 16px 12px; }
.product-card__label { color: var(--bs-muted); font-size: 13px; }
.product-card__title { display: -webkit-box; margin: 0; overflow: hidden; font-family: var(--bs-display); font-size: 15.5px; font-weight: 500; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card__title a:hover { color: var(--bs-brand); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 15.5px; font-weight: 600; }
.price__current { color: var(--bs-brand); }
.price__compare { order: -1; color: var(--bs-muted); font-size: .85em; font-weight: 400; }
.price__soon { color: var(--bs-sale); font-weight: 600; }
.product-card__footer { padding: 0 14px 14px; border-radius: 0 0 var(--bs-radius) var(--bs-radius); background: var(--bs-card); }
.product-card__add { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.product-card__add--options { grid-template-columns: 1fr; }
.mini-qty { display: flex; align-items: center; height: 42px; border-radius: 8px; background: var(--bs-bg); }
.mini-qty button { display: grid; place-items: center; width: 30px; height: 100%; border: 0; background: transparent; color: var(--bs-muted); }
.mini-qty button:hover { color: var(--bs-brand); }
.mini-qty input { width: 28px; height: 100%; padding: 0; border: 0; background: transparent; color: var(--bs-text); font-weight: 600; text-align: center; -moz-appearance: textfield; }
.mini-qty input::-webkit-outer-spin-button, .mini-qty input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.add-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 42px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--color-primary-btn, var(--bs-brand)); color: var(--color-primary-btn-font, #fff); font-size: 14px; font-weight: 600; transition: background .2s; }
.add-button:hover { background: var(--color-primary-btn-hover, var(--bs-brand-deep)); }
.add-button__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 559px) {
  .product-card__add { grid-template-columns: 1fr; }
  .mini-qty { justify-content: space-between; height: 36px; }
  .mini-qty input { flex: 1; }
}
/* Banners: rounded panels with the photo filling them and the title in white on a soft shade */
.promo-row { display: grid; gap: 20px; }
@media (min-width: 768px) { .promo-row--n2 { grid-template-columns: 1fr 1fr; } }
.promo-row--n3 { grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.promo-row--n3::-webkit-scrollbar { display: none; }
.promo-row--n3 > * { scroll-snap-align: start; }
@media (max-width: 899px) { .promo-row--n3 { grid-auto-columns: 82%; gap: 12px; } }
.promo { --promo: var(--bs-brand); position: relative; display: grid; align-content: center; min-height: clamp(200px, 18vw, 260px); overflow: hidden; border-radius: var(--bs-radius); background: var(--promo); color: #fff; isolation: isolate; }
.promo--2 { --promo: color-mix(in srgb, var(--bs-accent) 80%, #b4560a); }
.promo--3 { --promo: #3a9ad9; }
.promo--0 { --promo: color-mix(in srgb, var(--bs-brand) 60%, #20304a); }
.promo-row--n1 .promo { min-height: clamp(220px, 22vw, 320px); }
.promo__media { position: absolute; inset: 0; z-index: -1; }
.promo__media img, .promo__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.promo:hover .promo__media img { transform: scale(1.04); }
.promo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--promo) 94%, transparent) 0%, color-mix(in srgb, var(--promo) 70%, transparent) 32%, transparent 60%); }
[dir="rtl"] .promo__media::after { background: linear-gradient(to left, color-mix(in srgb, var(--promo) 94%, transparent) 0%, color-mix(in srgb, var(--promo) 70%, transparent) 32%, transparent 60%); }
.promo__content { display: grid; justify-items: start; gap: 14px; max-width: min(440px, 70%); padding: clamp(22px, 3vw, 36px); }
.promo__title { margin: 0; color: inherit; font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.2rem); font-weight: 600; line-height: 1.2; text-shadow: 0 1px 12px rgb(0 0 0 / .12); }
.promo__link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 8px; background: #fff; color: #242424; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.promo__link:hover { background: var(--bs-text); color: #fff; }

/* How it works: numbered white cards */
.steps { background-position: center; background-size: cover; }
.steps__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: clamp(16px, 2.4vw, 26px); text-align: center; }
.steps__art { width: clamp(56px, 7vw, 96px); height: auto; object-fit: contain; }
.steps__title { margin: 0; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); }
.steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { position: relative; display: grid; justify-items: center; gap: 12px; padding: 26px 18px 22px; border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow); text-align: center; }
.step__number { position: absolute; top: 12px; inset-inline-start: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bs-brand-soft); color: var(--bs-brand-ink); font-size: 13px; font-weight: 700; }
.step__image { width: 64px; height: 64px; object-fit: contain; }
.step__title { font-family: var(--bs-display); font-size: 15.5px; font-weight: 600; }

/* Brands: logos on white cards */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.brand-card { display: grid; place-items: center; height: 88px; padding: 14px 20px; border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow); font-weight: 600; text-align: center; transition: box-shadow .25s; }
.brand-card:hover { box-shadow: var(--bs-shadow-lg); }
.brand-card img { max-width: 100%; max-height: 50px; width: auto; object-fit: contain; }

/* About the store */
.about-store { padding: clamp(22px, 3vw, 34px); border-radius: var(--bs-radius); background: var(--bs-card); }
.about-store__title { margin: 0 0 10px; color: var(--bs-brand); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.about-store__text { max-width: 110ch; margin: 0; color: var(--bs-muted); line-height: 1.8; white-space: pre-line; }

/* Footer: the store's footer colours (a fresh green by default) */
.site-footer { --footer-bg: var(--color-footer-background, var(--bs-brand)); --footer-text: var(--color-footer-text, #fff); margin-top: clamp(32px, 5vw, 56px); background: var(--footer-bg); color: var(--footer-text); }
.site-footer__grid { display: grid; gap: 30px; padding-block: 50px 34px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.site-footer__logo { height: 58px; max-width: 200px; width: auto; object-fit: contain; object-position: left; }
[dir="rtl"] .site-footer__logo { object-position: right; }
.site-footer__about { max-width: 40ch; margin: 16px 0 0; font-size: 14.5px; line-height: 1.75; opacity: .9; }
.site-footer__address { display: flex; gap: 8px; margin: 14px 0 0; font-size: 14.5px; opacity: .9; }
.site-footer__address .icon { margin-top: 4px; }
.site-footer__title { margin: 0 0 16px; color: inherit; font-size: 17px; font-weight: 600; }
.site-footer__title--social { margin-top: 24px; }
.site-footer__column summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.site-footer__column summary::-webkit-details-marker { display: none; }
.site-footer__column summary .icon { display: none; transition: transform .2s; }
.site-footer__column summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.site-footer ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 8px; opacity: .9; transition: opacity .2s; }
.site-footer ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .social-links a { --social: rgb(255 255 255 / .2); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--social); color: #fff; opacity: 1; transition: transform .2s; }
.site-footer .social-links a:hover { text-decoration: none; transform: translateY(-3px); }
.site-footer .social-links .social-links__facebook { --social: #1877f2; }
.site-footer .social-links .social-links__instagram { --social: #d62976; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.site-footer .social-links .social-links__twitter, .site-footer .social-links .social-links__tiktok { --social: #000; }
.site-footer .social-links .social-links__linkedin { --social: #0a66c2; }
.site-footer .social-links .social-links__youtube { --social: #ff0000; }
@media (max-width: 599px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 36px 24px; }
  .site-footer__lead { padding-bottom: 24px; }
  .site-footer__column { border-top: 1px solid rgb(255 255 255 / .25); }
  .site-footer__column:last-child { border-bottom: 1px solid rgb(255 255 255 / .25); }
  .site-footer__column summary { min-height: 56px; cursor: pointer; }
  .site-footer__column summary .site-footer__title { margin: 0; }
  .site-footer__column summary .icon { display: block; flex: none; }
  .site-footer__column[open] summary .icon { transform: rotate(180deg); }
  .site-footer__column > ul { padding-bottom: 20px; }
  .site-footer__column .social-links { padding-bottom: 20px; }
}
.newsletter { display: grid; gap: 18px 32px; align-items: center; margin-bottom: 30px; padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 40px); border-radius: var(--bs-radius); background: color-mix(in srgb, var(--footer-bg) 82%, #000); color: var(--footer-text); }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr minmax(0, 520px); } }
.newsletter h2 { margin: 0 0 4px; color: inherit; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.newsletter p { margin: 0; opacity: .85; font-size: 14.5px; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__field { flex: 1 1 220px; min-width: 0; }
.newsletter__field input { width: 100%; height: 48px; padding: 0 18px; border: 0; border-radius: 10px; background: #fff; color: #111; outline: none; font-size: 15px; }
.newsletter__form button { min-height: 48px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--bs-text); color: #fff; font-weight: 600; transition: background .2s; }
.newsletter__form button:hover { background: #000; }
.site-footer__bottom { background: var(--color-footer-copyright-background, color-mix(in srgb, var(--footer-bg) 88%, #000)); color: var(--color-footer-copyright-text, var(--footer-text)); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; font-size: 14px; }
.site-footer__rights { margin: 0; opacity: .9; }
.powered-by { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.whatsapp-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 45; display: grid; place-items: center; width: 54px; height: 54px; 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); }

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

/* 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(--bs-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(--bs-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(--bs-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(--bs-border); border-radius: 999px; background: var(--bs-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(--bs-text); }
.filter-toggle__count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bs-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(--bs-border); border-radius: var(--bs-radius); background: var(--bs-card-2); box-shadow: var(--bs-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(--bs-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(--bs-bg); }
.filter-option--child { padding-inline-start: 26px; color: var(--bs-muted); }
.filter-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--bs-head); }
.filter-option:has(input:checked) { font-weight: 700; color: var(--bs-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(--bs-muted); }
.price-range input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--bs-border); border-radius: 6px; background: var(--bs-bg); color: var(--bs-text); }
.filter-panel__actions { display: flex; align-items: center; gap: 16px; grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--bs-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(--bs-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(--bs-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(--bs-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(--bs-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(--bs-border); border-radius: 999px; background: var(--bs-card); font-size: 14px; font-weight: 600; white-space: nowrap; }
a.chip:hover { border-color: var(--bs-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(--bs-border); border-radius: 8px; background: var(--bs-card); text-align: center; font-weight: 600; }
.pagination a:hover { border-color: var(--bs-text); }
.pagination [aria-current] { background: var(--bs-head); color: #fff; border-color: var(--bs-head); }

/* Product page: photos stacked on the left (a swipeable slider on phones), details on the right */
.product { display: grid; grid-template-columns: minmax(0, 1fr); 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(--bs-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(--bs-radius-sm); background: var(--bs-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(--bs-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(--bs-badge); color: #fff; font-size: 13px; font-weight: 500; }
.product__summary { margin-bottom: 16px; color: var(--bs-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(--bs-muted); font-size: 13.5px; }
.variant-picker__hint.is-error { color: var(--bs-sale); font-weight: 600; }
.variant-picker__option.is-missing legend { color: var(--bs-sale); }
.variant-picker__option.is-missing .variant-picker__values { border-radius: 12px; animation: option-missing .55s ease-in-out, option-missing-glow 1.6s ease-out; }
@keyframes option-missing { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes option-missing-glow { 0%, 60% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-sale) 35%, transparent); } 100% { box-shadow: 0 0 0 3px transparent; } }
@media (prefers-reduced-motion: reduce) { .variant-picker__option.is-missing .variant-picker__values { animation: none; box-shadow: 0 0 0 2px var(--bs-sale); } }
.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(--bs-border); border-radius: 999px; background: var(--bs-bg); font-size: 13px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.variant-pill span:hover { border-color: var(--bs-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(--bs-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(--bs-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(--bs-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(--bs-card); color: var(--bs-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(--bs-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(--bs-border); }
.accordion details, .accordion__link { border-bottom: 1px solid var(--bs-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(--bs-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(--bs-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(--bs-border); border-radius: 50%; background: var(--bs-bg); color: var(--bs-text); }
.share-buttons a:hover, .share-buttons button:hover, .share-buttons .is-copied { border-color: var(--bs-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(--bs-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(--bs-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: bs-lightbox-in .3s ease; }
@keyframes bs-lightbox-in { from { opacity: 0; } }
.lightbox__stage { position: absolute; inset: 64px 0 40px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); 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 { width: auto; height: auto; max-width: min(100%, 1400px); max-height: 100%; aspect-ratio: auto; 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: var(--bs-bar-h); z-index: 40; padding: 10px 0; background: var(--bs-card-2); border-top: 1px solid var(--bs-border); box-shadow: 0 -10px 30px rgb(16 24 40 / .08); animation: bs-buy-in .35s cubic-bezier(.22, 1, .36, 1); }
@keyframes bs-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(--bs-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); }
@media (min-width: 1024px) { .sticky-buy { padding-inline-start: var(--bs-side); } }
body:not(.has-mobile-bar) .sticky-buy { padding-bottom: max(10px, env(safe-area-inset-bottom)); }

@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(--bs-border); border-radius: var(--bs-radius); background: var(--bs-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(--bs-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(--bs-muted); font-size: 13.5px; }
.cart-line__price { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.cart-line__price s { color: var(--bs-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(--bs-muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: var(--bs-sale); }
.cart-line[aria-busy] { pointer-events: none; }
.quantity--small { height: 40px; border-color: var(--bs-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(--bs-border); border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow); }
@media (min-width: 960px) { .cart-summary { position: sticky; top: calc(var(--bs-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(--bs-success); }
.cart-summary__total { padding-top: 12px; border-top: 1px solid var(--bs-border); font-size: 1.1rem; }
.cart-summary__note { margin: 0; color: var(--bs-muted); font-size: 13px; }
.cart-summary .payment-options { padding: 0; border: 0; }
.cart-empty h2 { margin: 6px 0 0; color: var(--bs-text); }

/* Rich text & embeds */
.rich-text { overflow-wrap: anywhere; color: var(--bs-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(--bs-border); }
.rich-text a { color: var(--bs-brand); text-decoration: underline; }
.rich-text--card { position: relative; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--bs-border); border-radius: calc(var(--bs-radius) + 6px); background: var(--bs-card); box-shadow: var(--bs-shadow-lg); font-size: 1.02rem; }
.rich-text--card :is(h2, h3, h4) { color: var(--bs-head); }
.rich-text--card :is(h2, h3):not(:first-child) { margin-top: 1.6em; padding-top: 1.1em; border-top: 1px dashed var(--bs-border); }
.rich-text--card h4:not(:first-child) { margin-top: 1.3em; }
.rich-text--card :is(h2, h3, h4) { margin-bottom: .45em; }
.rich-text--card :is(h2) { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); }
.rich-text--card :is(h3, h4) { font-size: 1.12rem; }
.rich-text--card ul { padding-inline-start: 0; list-style: none; }
.rich-text--card ul > li { position: relative; padding-inline-start: 28px; }
.rich-text--card ul > li + li { margin-top: .35em; }
.rich-text--card ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--bs-brand); box-shadow: 0 0 0 4px var(--bs-brand-soft); }
.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(--bs-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(--bs-radius); background: var(--bs-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(--bs-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(--bs-brand); }
.article-card p { color: var(--bs-muted); font-size: 14.5px; }
.article-header { margin-bottom: 8px; }
.article-header__meta { color: var(--bs-muted); }
.article-header__image { width: 100%; margin-block: 22px 30px; border-radius: var(--bs-radius); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--bs-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(--bs-card) center / cover no-repeat; box-shadow: var(--bs-shadow-lg); pointer-events: none; will-change: transform, opacity; }
.cart-link.is-bumped { animation: bs-cart-bump .6s cubic-bezier(.3, 1.6, .5, 1); }
.cart-link.is-bumped .cart-link__count { animation: bs-cart-count .6s ease-out; }
@keyframes bs-cart-bump { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-8deg); } 65% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes bs-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(--bs-text); border-color: var(--bs-text) var(--bs-text) transparent transparent; border-radius: 50%; animation: bs-spin .7s linear infinite; }
@keyframes bs-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(--bs-head); color: #fff; box-shadow: var(--bs-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(--bs-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(--bs-brand); color: #fff; }
.template-product .cart-toast { bottom: calc(var(--bs-bar-h) + 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; } }




/* Blog cards: photo on top, the tag and date, the title, a short excerpt and "Continue reading" */
.article-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow); }
.article-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bs-soft); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { display: grid; align-content: start; gap: 8px; flex: 1; padding: 20px 22px 24px; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--bs-muted); font-size: 13.5px; }
.article-card h3 { margin: 0; font-size: 1.2rem; font-weight: 500; line-height: 1.35; }
.article-card h3 a:hover { color: var(--bs-brand); }
.article-card p { margin: 0; color: var(--bs-muted); font-size: 14.5px; }
.article-card__more { justify-self: start; margin-top: 4px; color: var(--bs-brand); font-family: var(--bs-display); font-size: 14.5px; font-weight: 500; }
.article-card__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.article-featured { margin-bottom: 30px; }
@media (min-width: 900px) { .article-featured .article-card { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; } .article-featured .article-card__media { height: 100%; } .article-featured h3 { font-size: 1.8rem; } }
.article-header { margin-bottom: 8px; }
.article-header__meta { color: var(--bs-muted); }
.article-header__image { width: 100%; margin-block: 22px 30px; border-radius: var(--bs-radius); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--bs-border); font-weight: 600; }

/* Basil on the shop and product pages */
.shop-head { border: 0; }
.shop-head h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 500; letter-spacing: 0; text-transform: none; }
.filter-toggle, .chip, .pagination a, .pagination span { border-color: transparent; background: var(--bs-card); box-shadow: var(--bs-shadow); }
.sort select { color: var(--bs-text); }
.pagination a, .pagination span { border-radius: 999px; }

.product__gallery { display: grid; gap: 14px; }
.product__main-image { overflow: hidden; border-radius: var(--bs-radius); background: var(--bs-photo); }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .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: var(--bs-photo); }
.product__slide img { object-fit: contain; padding: 6%; }
/* Thumbnails: one swipeable row on phones; the ends fade out while there is more to scroll to. */
.product__thumbs-wrap { position: relative; min-width: 0; }
.product__thumbs-arrow { display: none; }
.product__thumbs { --fade-start: 0px; --fade-end: 0px; --thumbs-fade: linear-gradient(to right, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%); display: flex; gap: 10px; padding: 2px; overflow: auto hidden; overscroll-behavior: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: var(--thumbs-fade); mask-image: var(--thumbs-fade); }
[dir="rtl"] .product__thumbs { --thumbs-fade: linear-gradient(to left, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%); }
.product__thumbs::-webkit-scrollbar { display: none; }
.product__thumbs-wrap.can-prev .product__thumbs { --fade-start: 36px; }
.product__thumbs-wrap.can-next .product__thumbs { --fade-end: 36px; }
.product__thumb { flex: 0 0 auto; width: 84px; height: 84px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 16px; background: #fff; opacity: .75; scroll-snap-align: start; transition: opacity .2s, border-color .2s; }
@media (max-width: 959px) { .product__thumb { width: 68px; height: 68px; border-radius: 12px; } }
@media (min-width: 960px) {
  /* The thumbnails stand beside the photo and are exactly as tall as it; the rest scroll. */
  .product__gallery:has(.product__thumbs) { grid-template-columns: 88px minmax(0, 1fr); align-items: stretch; }
  .product__thumbs-wrap { grid-row: 1; grid-column: 1; }
  .product__thumbs, [dir="rtl"] .product__thumbs { position: absolute; inset: 0; flex-direction: column; overflow: hidden auto; scroll-snap-type: y proximity; --thumbs-fade: linear-gradient(to bottom, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%); }
  .product__thumbs-arrow { position: absolute; inset-inline: 0; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin-inline: auto; padding: 0; border: 1px solid var(--bs-border); border-radius: 50%; background: var(--bs-card); color: var(--bs-text); box-shadow: var(--bs-shadow); opacity: 0; pointer-events: none; transition: opacity .2s, background .2s, color .2s; }
  .product__thumbs-arrow:hover { border-color: var(--bs-brand); background: var(--bs-brand); color: #fff; }
  .product__thumbs-arrow--prev { top: 2px; }
  .product__thumbs-arrow--next { bottom: 2px; }
  .product__thumbs-arrow--prev .icon { transform: rotate(-90deg); }
  .product__thumbs-arrow--next .icon { transform: rotate(90deg); }
  .product__thumbs-wrap.can-prev .product__thumbs-arrow--prev, .product__thumbs-wrap.can-next .product__thumbs-arrow--next { opacity: 1; pointer-events: auto; }
}
.product__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product__thumb.is-active, .product__thumb:hover { border-color: var(--bs-brand); opacity: 1; }
.product__panel { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow); }
.product__brand { color: var(--bs-brand); font-family: var(--bs-display); letter-spacing: .02em; }
.product__title { margin: 4px 0 14px; font-family: var(--bs-display); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 500; line-height: 1.15; }
.product__price .price { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); }
.product__price .price--sale .price__current { color: var(--bs-brand); }
.product__save { border-radius: 999px; background: var(--bs-accent); color: var(--bs-on-accent); font-family: var(--bs-display); }
.product__summary { padding-bottom: 18px; border-bottom: 1px solid var(--bs-border); }
.variant-pill span { border-color: var(--bs-border); background: var(--bs-card); }
.variant-pill input:checked + span { border-color: var(--bs-brand); background: var(--bs-brand); color: #fff; }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 3px var(--bs-card), 0 0 0 5px var(--bs-brand); }
.quantity { height: 52px; border: 0; background: var(--bs-bg); }
.product__buy { gap: 10px; }
.product__buy .button, .product__form > .button { min-height: 52px; }
.accordion summary, .accordion__link { font-family: var(--bs-display); font-size: 17px; font-weight: 500; }
.share-buttons a, .share-buttons button { border: 0; background: var(--bs-bg); }
.share-buttons a:hover, .share-buttons button:hover { background: var(--bs-brand); color: #fff; }
.product-stats__views { background: var(--bs-bg); }
.sticky-buy .button { background: var(--bs-brand); }
.cart-line, .cart-summary { border: 0; box-shadow: var(--bs-shadow); }
.cart-line { border-radius: var(--bs-radius); }
.product__video { margin-top: 0; }
.product .video-embed { max-width: 100%; overflow: hidden; }
.product__video.video-embed--tall { max-width: 460px; margin-inline: auto; }
.product__slide img[src$="/digital-product-placeholder.svg"] { object-fit: contain; padding: 0; background: #eef2ff; cursor: default; }
@media (max-width: 767px) {
  .product__slide img[src$="/digital-product-placeholder.svg"] { height: 240px; aspect-ratio: auto; object-fit: contain; padding: 0; background: #eef2ff; }
}

/* Article: a brand hero with the title and meta, the cover overlapping it, then the text beside a sticky
   table of contents, like the HalaOrders blog. Code blocks get a copy button (theme.js). */
.article-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 80px) clamp(70px, 9vw, 130px); background: var(--bs-brand) var(--bs-pattern) 0 0 / 160px; color: #fff; text-align: center; }
.article-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bs-brand) 88%, transparent), color-mix(in srgb, var(--bs-brand-deep) 96%, transparent)); pointer-events: none; }
.article-hero__inner { position: relative; display: grid; justify-items: center; gap: 16px; max-width: 920px; }
.article-hero__crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14px; opacity: .85; }
.article-hero__crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-hero__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
.article-hero__tags span { padding: 5px 14px; border-radius: 999px; background: rgb(255 255 255 / .16); font-size: 13.5px; font-weight: 600; }
.article-hero__title { margin: 0; color: inherit; font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.4rem); font-weight: 600; line-height: 1.18; text-wrap: balance; }
.article-hero__lead { max-width: 62ch; margin: 0; opacity: .9; font-size: clamp(15.5px, .9rem + .35vw, 19px); line-height: 1.7; text-wrap: pretty; }
.article-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14.5px; opacity: .92; }
.article-hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.article-hero__author { font-weight: 600; }
.article-hero__author i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bs-accent); color: var(--bs-on-accent); font-style: normal; font-weight: 700; text-transform: uppercase; }

.article-body { padding-bottom: clamp(36px, 5vw, 70px); }
.article-cover { max-width: 1040px; margin: calc(-1 * clamp(50px, 7vw, 100px)) auto clamp(28px, 4vw, 48px); position: relative; overflow: hidden; border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow-lg); }
.article-cover img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.article-body > .article-layout:first-child { margin-top: clamp(28px, 4vw, 48px); }
.article-layout { display: grid; gap: 40px; max-width: 1180px; margin-inline: auto; }
.article-main { min-width: 0; max-width: 780px; width: 100%; margin-inline: auto; padding: clamp(22px, 3.4vw, 44px); border-radius: var(--bs-radius); background: var(--bs-card); box-shadow: var(--bs-shadow); }
@media (min-width: 1100px) {
  .article-layout--toc { grid-template-columns: minmax(0, 1fr) 270px; align-items: start; }
  .article-toc--inline { display: none; }
}
@media (max-width: 1099px) { .article-aside { display: none; } }

.article-aside { position: sticky; top: calc(var(--bs-header-space, 64px) + 20px); }
.article-toc { padding: 20px 22px; border-radius: var(--bs-radius-sm); background: var(--bs-card); box-shadow: var(--bs-shadow); }
.article-toc__title { margin: 0 0 10px; font-family: var(--bs-display); font-size: 16px; font-weight: 600; }
.article-toc__list { display: grid; gap: 2px; max-height: 70vh; margin: 0; padding: 0; overflow-y: auto; list-style: none; font-size: 14px; }
.article-toc__item a { display: block; padding: 6px 12px; border-inline-start: 2px solid var(--bs-border); color: var(--bs-muted); line-height: 1.45; transition: color .2s, border-color .2s; }
.article-toc__item--h3 a { padding-inline-start: 26px; font-size: 13.5px; }
.article-toc__item a:hover, .article-toc__item a.is-active { border-color: var(--bs-brand); color: var(--bs-brand); }
.article-toc__item a.is-active { font-weight: 600; }
.article-toc--inline { margin-bottom: 24px; padding: 0; background: var(--bs-bg); box-shadow: none; }
.article-toc--inline summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-family: var(--bs-display); font-weight: 600; cursor: pointer; list-style: none; }
.article-toc--inline summary::-webkit-details-marker { display: none; }
.article-toc--inline[open] summary .icon { transform: rotate(180deg); }
.article-toc--inline .article-toc__list { padding: 0 10px 14px; }

.article-prose { overflow-wrap: anywhere; color: var(--bs-text); font-size: 17px; line-height: 1.85; }
.article-prose > :first-child { margin-top: 0; }
.article-prose > * + * { margin-top: 1.1em; }
.article-prose p, .article-prose ul, .article-prose ol { margin-bottom: 0; }
.article-prose h2, .article-prose h3 { position: relative; scroll-margin-top: calc(var(--bs-header-space, 64px) + 24px); }
.article-prose h2 { margin: 1.9em 0 .6em; font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; }
.article-prose h3 { margin: 1.5em 0 .5em; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; }
.article-prose h4 { margin: 1.3em 0 .4em; font-size: 1.05rem; }
.article-prose .ho-heading-anchor { margin-inline-start: .35em; color: var(--bs-brand); opacity: 0; text-decoration: none; transition: opacity .2s; }
.article-prose :is(h2, h3):hover .ho-heading-anchor, .article-prose .ho-heading-anchor:focus-visible { opacity: .7; }
.article-prose a:not(.ho-heading-anchor) { color: var(--bs-brand); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-prose strong { font-weight: 700; }
.article-prose ul, .article-prose ol { display: grid; gap: .45em; padding-inline-start: 1.4em; }
.article-prose li::marker { color: var(--bs-brand); font-weight: 700; }
.article-prose img { max-width: 100%; height: auto; border-radius: var(--bs-radius-sm); }
.article-prose figure { margin-inline: 0; }
.article-prose figcaption { margin-top: 8px; color: var(--bs-muted); font-size: 14px; text-align: center; }
.article-prose blockquote { margin-inline: 0; padding: 16px 22px; border-inline-start: 4px solid var(--bs-brand); border-radius: var(--bs-radius-sm); background: color-mix(in srgb, var(--bs-brand) 7%, var(--bs-card)); }
.article-prose blockquote > :last-child { margin-bottom: 0; }
.article-prose hr { margin-block: 2em; border: 0; border-top: 1px solid var(--bs-border); }
.article-prose :not(pre) > code { padding: .12em .42em; border-radius: 6px; background: color-mix(in srgb, var(--bs-brand) 10%, var(--bs-card)); color: var(--bs-brand-deep); font-size: .88em; }
.article-prose pre { position: relative; margin-inline: 0; padding: 18px 20px; overflow-x: auto; border-radius: var(--bs-radius-sm); background: #161a2e; color: #e6e8f2; direction: ltr; text-align: left; font-size: 14px; line-height: 1.65; }
.article-prose pre code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.article-code { position: relative; }
.article-code__copy { position: absolute; top: 10px; right: 10px; z-index: 1; padding: 4px 10px; border: 1px solid rgb(255 255 255 / .2); border-radius: 8px; background: rgb(255 255 255 / .08); color: #e6e8f2; font-size: 12.5px; cursor: pointer; opacity: .8; }
.article-code__copy:hover, .article-code__copy.is-copied { opacity: 1; background: var(--bs-brand); border-color: var(--bs-brand); }
.article-prose .table-scroll, .article-prose table { width: 100%; }
.article-prose .table-scroll { overflow-x: auto; }
.article-prose table { border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--bs-border); border-radius: var(--bs-radius-sm); font-size: 15px; }
.article-prose th, .article-prose td { padding: 11px 14px; border-bottom: 1px solid var(--bs-border); text-align: start; vertical-align: top; }
.article-prose th { background: color-mix(in srgb, var(--bs-brand) 8%, var(--bs-card)); font-weight: 700; }
.article-prose tr:last-child td { border-bottom: 0; }
.article-prose tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--bs-bg) 60%, transparent); }

.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; color: var(--bs-muted); font-size: 14px; font-weight: 600; }
.article-tag { padding: 5px 13px; border-radius: 999px; background: var(--bs-bg); color: var(--bs-text); }
.article-share { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-top: 26px; padding: 18px 22px; border-radius: var(--bs-radius-sm); background: var(--bs-bg); }
.article-share p { margin: 0; font-family: var(--bs-display); font-size: 17px; font-weight: 600; }
.article-share .share-buttons { margin: 0; }
.article-share .share-buttons > span { display: none; }
.article-share .share-buttons a, .article-share .share-buttons button { background: var(--bs-card); }
.article-pager { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin-top: 26px; }
.article-pager__link { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--bs-border); border-radius: var(--bs-radius-sm); transition: border-color .2s, transform .2s; }
.article-pager__link:hover { border-color: var(--bs-brand); transform: translateY(-2px); }
.article-pager__link--next { text-align: end; }
.article-pager__link small { color: var(--bs-muted); font-size: 13px; font-weight: 600; }
.article-pager__link strong { font-family: var(--bs-display); font-weight: 500; line-height: 1.4; }
.article-hero__author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.article-hero__author a { text-decoration: underline; text-underline-offset: 3px; }

/* The writer: under their articles, and as the header of their page */
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 30px; padding: 22px; border-radius: var(--bs-radius-sm); background: color-mix(in srgb, var(--bs-brand) 6%, var(--bs-card)); }
.author-box__photo { flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.author-box__photo--initial { display: grid; place-items: center; background: var(--bs-brand); color: #fff; font-family: var(--bs-display); font-size: 34px; font-weight: 600; }
.author-box__body { display: grid; gap: 6px; min-width: 0; }
.author-box__body p { margin: 0; }
.author-box__eyebrow { color: var(--bs-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.author-box__name { margin: 0; font-family: var(--bs-display); font-size: 1.25rem; font-weight: 600; }
.author-box__name a:hover { color: var(--bs-brand); }
.author-box__job { color: var(--bs-brand); font-weight: 600; font-size: 14.5px; }
.author-box__bio { color: var(--bs-text); line-height: 1.7; }
.author-box__links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px !important; font-size: 14px; font-weight: 600; }
.author-box__links a { color: var(--bs-brand); }
.author-box__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.author-box__more { margin-inline-start: auto; }
.author-box--page { margin: 0 0 8px; padding: clamp(22px, 3vw, 36px); background: var(--bs-card); box-shadow: var(--bs-shadow); }
.author-box--page .author-box__photo { width: clamp(96px, 12vw, 140px); height: clamp(96px, 12vw, 140px); }
.author-box--page .author-box__name { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.author-page__title { margin: 30px 0 0; font-size: 1.4rem; }
@media (max-width: 559px) { .author-box { flex-direction: column; } }

/* Theme settings: product card photos (card_photo) and card shape (card_shape) */
.card-photo-fill .product-card__image { object-fit: cover; padding: 0; }
.card-photo-full .product-card__image { object-fit: contain; }
.card-shape-portrait .product-card__photo { aspect-ratio: 4 / 5; }
.card-shape-square .product-card__photo { aspect-ratio: 1; }

/* Store menus (Store design → Menus): header drop-downs and footer group headings */
.menu-dd { position: relative; display: inline-block; }
.menu-dd > summary { display: inline-flex; align-items: center; gap: .3em; list-style: none; cursor: pointer; }
.menu-dd > summary::-webkit-details-marker { display: none; }
.menu-dd > summary svg { transition: transform .2s ease; }
.menu-dd[open] > summary svg { transform: rotate(180deg); }
.menu-dd .menu-dd__panel { position: absolute; inset-inline-start: 0; top: calc(100% + .5rem); z-index: 80; display: grid; gap: 2px; min-width: 220px; max-height: 70vh; overflow-y: auto; padding: .5rem; background: var(--bs-card); color: var(--bs-text); border: 1px solid var(--bs-border); border-radius: var(--bs-radius-sm); box-shadow: var(--bs-shadow-lg); text-align: start; }
.menu-dd .menu-dd__panel a { display: block; border: 0; padding: .5rem .75rem; border-radius: var(--bs-radius-sm); color: var(--bs-text); font-weight: 400; text-decoration: none; white-space: nowrap; }
.menu-dd .menu-dd__panel a:hover, .menu-dd .menu-dd__panel a[aria-current] { background: var(--bs-soft); color: var(--bs-text); }
.menu-dd .menu-dd__panel .menu-dd__all { font-weight: 700; }
.menu-dd__label, .site-footer__label { display: block; padding: .6rem .75rem .2rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bs-muted); }
.site-footer__label { padding-inline: 0; }
.drawer__nav .menu-dd, .side-bar .menu-dd { display: block; }
.drawer__nav .menu-dd > summary, .side-bar .menu-dd > summary { display: flex; justify-content: space-between; width: 100%; }
.drawer__nav .menu-dd .menu-dd__panel, .side-bar .menu-dd .menu-dd__panel { position: static; min-width: 0; max-height: none; padding: 0 0 .5rem; padding-inline-start: 1rem; background: none; border: 0; box-shadow: none; }

/* Product buy buttons: tall enough to tap and easy to spot on every screen. */
.product__form [data-main-buy], .product__form a.button--block { min-height: 50px; font-size: 16px; font-weight: 700; }

/* Catalog mode: enquiry buttons in place of the cart */
.product__enquiry { display: grid; gap: 10px; margin-block: 18px; }
.product__enquiry .button { gap: 8px; }

.hero__link--entire { position: absolute; inset: 0; z-index: 3; display: block; }
.hero__slide--linked .hero__content, .hero__slide--linked .hero__panel { pointer-events: none; }
.hero:has(.hero__slide--linked) .slider-dots, .hero:has(.hero__slide--linked) .hero__dots, .hero:has(.hero__slide--linked) .hero__controls, .hero:has(.hero__slide--linked) .hero__arrow, .hero:has(.hero__slide--linked) .slider-arrow { z-index: 4; }
.hero__link--entire:focus-visible { z-index: 5; outline: 3px solid var(--color-primary-btn, currentColor); outline-offset: -4px; }
.slide-button--primary { transition: background-color .2s, color .2s, border-color .2s; background: var(--color-primary-btn, #222); color: var(--color-primary-btn-font, #fff); border-color: var(--color-primary-btn, #222); }
.slide-button--primary:hover, .slide-button--primary:focus-visible { background: var(--color-primary-btn-hover, var(--color-primary-btn, #111)); color: var(--color-primary-btn-hover-font, var(--color-primary-btn-font, #fff)); border-color: var(--color-primary-btn-hover, var(--color-primary-btn, #111)); }
.slide-button--secondary { transition: background-color .2s, color .2s, border-color .2s; background: var(--color-secondary-btn, transparent); color: var(--color-secondary-btn-font, var(--color-primary-btn, #222)); border: 1px solid var(--color-secondary-btn, var(--color-primary-btn, currentColor)); }
.slide-button--secondary:hover, .slide-button--secondary:focus-visible { background: var(--color-secondary-btn-hover, var(--color-primary-btn, #222)); color: var(--color-secondary-btn-hover-font, var(--color-primary-btn-font, #fff)); border-color: var(--color-secondary-btn-hover, var(--color-primary-btn, #222)); }

/* Option filters (colour, size…) in the shop filter panel reuse the variant picker's swatches and pills. */
.filter-group__values { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-group .swatch > span { width: 28px; height: 28px; }
.filter-group .variant-pill span { min-width: 0; padding: 5px 12px; font-size: 13px; }
