/* Ember - a calm, editorial storefront. Fonts, the brand colour and button colours come from the store's
   settings through the platform's CSS variables; the warm stone page and the dark footer are the theme's own. */
:root {
  --em-brand: var(--color-brand, #1f2a30);
  --em-brand-dark: var(--color-brand-dark, var(--em-brand));
  /* The --dm-* variables exist only when the store turns on dark mode. */
  --em-bg: var(--dm-bg, #ece9e3);
  --em-card: var(--dm-surface, #f5f4f2);
  --em-card-2: var(--dm-surface-raised, #fff);
  --em-panel: var(--dm-surface-raised, #fff);
  --em-soft: var(--dm-surface, #f4f1ec);
  --em-text: var(--dm-text, #1d1d1d);
  --em-muted: var(--dm-text-muted, #6f6b66);
  --em-border: var(--dm-border, #dcd8d1);
  --em-photo: var(--dm-surface-raised, #fff);
  --em-ink: #1f2a30;
  --em-head: #111;
  --em-gold: #c9a862;
  --em-sale: #d23c3c;
  --em-badge: #c7393f;
  --em-success: #1f8a4c;
  --em-footer: #232323;
  --em-serif: var(--heading-font-family, system-ui), system-ui, sans-serif;
  /* --em-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif; */
  --em-radius: 16px;
  --em-radius-sm: 12px;
  --em-shadow: 0 1px 3px rgb(16 24 40 / .06);
  --em-shadow-lg: 0 18px 44px rgb(16 24 40 / .14);
  --em-gutter: 10px;
  --em-wrap: 1460px;
}

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

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

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

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 26px; border: 1px solid transparent; border-radius: 10px;
  background: var(--color-primary-btn, var(--em-ink)); color: var(--color-primary-btn-font, #fff);
  font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--color-primary-btn-hover, var(--em-brand-dark)); color: var(--color-primary-btn-hover-font, #fff); }
.button--soft { background: var(--em-card); color: var(--em-text); border-color: var(--em-border); }
.button--soft:hover { background: var(--em-text); color: var(--em-bg); border-color: var(--em-text); }
.button--outline { border-color: var(--em-text); background: transparent; color: var(--em-text); font-size: 16px; }
.button--outline:hover { background: var(--em-text); color: var(--em-panel); }
.button--dark { background: var(--em-ink); color: #fff; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.button--dark:hover { background: #000; color: #fff; }
.button--block { width: 100%; }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.light-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 28px; border-radius: 999px; background: #fff; color: #111; font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: transform .2s, background .2s; }
.light-pill:hover { background: #f1efe9; transform: translateY(-1px); }
.outline-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 18px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s; }
.outline-pill:hover { background: var(--em-text); border-color: var(--em-text); color: var(--em-bg); }
.eyebrow { color: color-mix(in srgb, var(--em-gold) 75%, var(--em-text)); font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.eyebrow--light { color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: color-mix(in srgb, var(--em-gold) 65%, var(--em-text)); font-size: 13.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.text-link:hover { color: var(--em-text); }

/* Announcement and contact bars */
.announcement { background: var(--em-ink); color: #fff; font-size: 13.5px; font-weight: 500; letter-spacing: .03em; text-align: center; }
.announcement p { width: 100%; margin: 0; padding: 8px 12px; }
.announcement a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announcement--image img { width: 100%; height: auto; max-height: 90px; object-fit: cover; }
.contact-bar { border-bottom: 1px solid var(--em-border); font-size: 13px; }
.contact-bar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-block: 0; padding-block: 7px; list-style: none; }
.contact-bar a { display: inline-flex; align-items: center; gap: 6px; color: var(--em-muted); }
.contact-bar a:hover { color: var(--em-text); }

/* Header: a white bar floating 18px below the top of the page. On the home page the hero slides up
   under it (.template-index .hero pulls itself up by --em-header-h). Its background sits on a layer
   behind it - a lasting transform or backdrop-filter on the header would trap the fixed menu drawer. */
:root { --em-header-h: 66px; }
@media (max-width: 1099px) { :root { --em-header-h: 96px; } }
.site-header { position: sticky; top: 0; z-index: 50; padding: 18px 20px 0; pointer-events: none; }
.site-header__bar { position: relative; pointer-events: auto; overflow: visible; border-radius: 10px; background: var(--em-panel); color: var(--em-text); box-shadow: 0 2px 10px rgb(16 24 40 / .06); transition: box-shadow .3s ease; }
.site-header.is-scrolled .site-header__bar { box-shadow: 0 10px 30px rgb(16 24 40 / .12); }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 48px; padding: 0 12px 0 20px; }
[dir="rtl"] .site-header__inner { padding: 0 20px 0 12px; }
.site-logo { display: flex; align-items: center; justify-self: start; }
/* A fixed height (not auto) so SVG logos without their own size still render; the width follows the logo's shape. */
.site-logo img { width: auto; height: 34px; max-width: 170px; object-fit: contain; object-position: left center; }
[dir="rtl"] .site-logo img { object-position: right center; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px 24px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.site-nav > a, .site-nav__more summary { display: inline-flex; align-items: center; gap: 4px; padding-block: 12px; white-space: nowrap; transition: opacity .2s; }
.site-nav > a:hover, .site-nav__more summary:hover { opacity: .6; }
.site-nav__more { position: relative; }
.site-nav__more summary { list-style: none; cursor: pointer; }
.site-nav__more summary::-webkit-details-marker { display: none; }
.site-nav__more[open] summary .icon { transform: rotate(180deg); }
.site-nav__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; display: grid; min-width: 220px; max-height: 60vh; overflow-y: auto; padding: 8px; border: 1px solid var(--em-border); border-radius: var(--em-radius-sm); background: var(--em-panel); color: var(--em-text); letter-spacing: normal; text-transform: none; font-size: 15px; box-shadow: var(--em-shadow-lg); }
.site-nav__menu a { padding: 9px 12px; border-radius: 8px; }
.site-nav__menu a:hover { background: var(--em-card); }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; 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(--em-text) 7%, transparent); }
.cart-link__count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--em-sale); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.language-link { padding: 5px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.header-search summary { list-style: none; }
.header-search__panel { position: absolute; inset-inline: 0; top: calc(100% + 8px); display: flex; gap: 10px; padding: 12px; border-radius: 10px; background: var(--em-panel); box-shadow: var(--em-shadow-lg); }
.header-search__panel input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid var(--em-border); border-radius: 10px; background: var(--em-bg); color: var(--em-text); outline: none; }
.header-search__panel input:focus { border-color: var(--em-text); }
.site-header__strip { display: none; }
.drawer { display: none; }
@media (max-width: 1099px) {
  .site-header { padding: 18px var(--em-gutter) 0; }
  .site-header__inner { grid-template-columns: 1fr auto 1fr; min-height: 42px; padding: 0 6px; }
  [dir="rtl"] .site-header__inner { padding: 0 6px; }
  .site-nav { display: none; }
  .drawer { display: block; justify-self: start; }
  .site-logo { grid-column: 2; justify-self: center; }
  .site-logo img { height: 30px; object-position: center; }
  .site-header__actions { grid-column: 3; }
  /* The categories scroll in a soft strip under the bar. */
  .site-header__strip { display: flex; gap: 24px; padding: 8px 18px; overflow-x: auto; border-radius: 0 0 10px 10px; background: color-mix(in srgb, var(--em-bg) 70%, var(--em-panel)); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; scrollbar-width: none; }
  .site-header__strip::-webkit-scrollbar { display: none; }
  .site-header__strip a:hover { opacity: .6; }
}
.main { padding-top: 14px; }
.template-index .main { padding-top: 0; }

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

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

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

/* Sections */
.section { padding-block: clamp(20px, 3vw, 36px); }
.section--compact { padding-block: 16px clamp(32px, 5vw, 56px); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(16px, 2vw, 24px); }
.section-title h2 { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.section-title--centered { justify-content: center; text-align: center; }
.section-title--centered h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.9rem); font-weight: 400; letter-spacing: 0; text-transform: none; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 64px 16px; text-align: center; color: var(--em-muted); }
.page-header { padding-block: clamp(16px, 3vw, 32px) 8px; }
.page-header h1 { margin-bottom: 6px; }
.page-header p, .page-header__meta { color: var(--em-muted); max-width: 70ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0 18px; padding-inline: 14px; font-size: 13.5px; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--em-text); font-weight: 500; }

/* Hero: one slide at a time across the page, rounded, 10px from the sides. On the home page it
   slides up under the floating header. */
.hero { position: relative; width: calc(100% - 2 * var(--em-gutter)); margin: 0 auto; padding-top: 10px; }
.template-index .hero { margin-top: calc(-1 * var(--em-header-h)); }
.hero__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overflow-y: hidden; border-radius: var(--em-radius-sm); scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; overflow: hidden; background: var(--em-card); scroll-snap-align: center; }
.hero__media { width: 100%; aspect-ratio: 1440 / 760; object-fit: cover; }
@media (max-width: 767px) { .hero__media { aspect-ratio: 4 / 5; } .hero__slide--mobile-art .hero__media { aspect-ratio: 9 / 17; } }
.hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: calc(var(--em-header-h) + 10px) clamp(22px, 6vw, 80px) 70px; color: #fff; background: linear-gradient(to right, rgb(0 0 0 / .5), transparent 65%); }
[dir="rtl"] .hero__content { background: linear-gradient(to left, rgb(0 0 0 / .5), transparent 65%); }
.hero__title { max-width: 13ch; margin: 0; font-size: clamp(2rem, 1rem + 4vw, 5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; }
.hero__content p { max-width: 36ch; margin: 6px 0 14px; font-size: clamp(15px, .9rem + .4vw, 19px); }
.hero__link { position: absolute; inset: 0; }
/* The progress bar along the bottom: one segment per slide, the active one fills while its slide
   shows (--slide-time comes from theme.js); the pause button sits at its end. */
.hero__controls { position: absolute; inset: auto clamp(14px, 1.6vw, 22px) 18px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.slider-progress { display: flex; flex: 1; gap: 6px; }
.slider-progress button { position: relative; flex: 1; height: 22px; padding: 0; border: 0; background: transparent; }
.slider-progress button::before, .slider-progress button::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.slider-progress button::before { background: rgb(255 255 255 / .38); transition: background .2s; }
.slider-progress button:hover::before { background: rgb(255 255 255 / .6); }
.slider-progress button.is-active::after { background: #fff; transform-origin: left center; animation: em-fill var(--slide-time, 5000ms) linear both; }
[dir="rtl"] .slider-progress button.is-active::after { transform-origin: right center; }
.slider-progress.is-paused button.is-active::after { animation-play-state: paused; }
@keyframes em-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .slider-progress button.is-active::after { animation: none; } }
.hero__pause { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.hero__pause:hover { background: rgb(255 255 255 / .16); }
.hero__play-icon, .hero__pause[aria-pressed="true"] .hero__pause-icon { display: none; }
.hero__pause[aria-pressed="true"] .hero__play-icon { display: block; }

/* Arrows of rows that scroll sideways */
.rail-arrows { display: flex; gap: 10px; }
.rail-arrows--end { justify-content: flex-end; margin-bottom: 16px; }
.rail-arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--em-text) 55%, transparent); border-radius: 50%; background: transparent; color: var(--em-text); transition: background .2s, color .2s, opacity .2s; }
.rail-arrow:hover:not(:disabled) { background: var(--em-text); color: var(--em-bg); }
.rail-arrow:disabled { opacity: .3; 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); }

/* Category tiles: tall photos with the name in an outlined pill; four across, the rest scroll. */
.category-tiles { padding-block: clamp(36px, 4vw, 50px) clamp(16px, 2vw, 24px); }
.category-tiles__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.category-tiles__track::-webkit-scrollbar { display: none; }
@media (max-width: 899px) { .category-tiles__track { grid-auto-columns: 74%; } }
.category-tile { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--em-radius-sm); background: var(--em-card); scroll-snap-align: start; }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.category-tile::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .14); transition: background .3s; }
.category-tile:hover img { transform: scale(1.05); }
.category-tile:hover::after { background: rgb(0 0 0 / .26); }
.category-tile__initial { color: var(--em-muted); font-size: 4rem; font-weight: 300; }
.category-tile__name { position: relative; z-index: 1; padding: 7px 16px; border: 1px solid #fff; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 6px rgb(0 0 0 / .25); transition: background .2s, color .2s; }
.category-tile:not(:has(img)) .category-tile__name { border-color: var(--em-text); color: var(--em-text); text-shadow: none; }
.category-tile:hover .category-tile__name { background: #fff; color: #111; text-shadow: none; }

/* Featured: a large lead tile beside product cards */
.featured__title { margin: 0 0 clamp(16px, 2vw, 24px); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.9rem); font-weight: 400; text-align: center; }
.featured__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1000px) { .featured__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.featured__lead { position: relative; grid-column: 1 / -1; overflow: hidden; min-height: 420px; border-radius: var(--em-radius-sm); background: var(--em-card); }
@media (min-width: 1000px) { .featured__lead { grid-column: 1; } .featured__grid--rows-2 .featured__lead { grid-row: span 2; } }
.featured__lead-media { position: absolute; inset: 0; }
.featured__lead-media::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .12); }
.featured__lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.featured__lead:hover .featured__lead-media img { transform: scale(1.04); }
.featured__lead-title { position: absolute; inset: 50% 16px auto; z-index: 1; color: #fff; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); font-weight: 500; text-align: center; text-shadow: 0 2px 14px rgb(0 0 0 / .3); transform: translateY(-50%); pointer-events: none; }
.featured__lead-button { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 1; padding: 6px 16px; border-radius: 999px; background: #fff; color: #111; font-size: 17px; font-weight: 500; transition: background .2s; }
.featured__lead-button:hover { background: #f1efe9; }
@media (max-width: 999px) { .featured__lead-button { inset-inline: 50% auto; bottom: auto; top: calc(50% + 34px); transform: translateX(-50%); font-size: 15px; } [dir="rtl"] .featured__lead-button { transform: translateX(50%); } }

/* Rows of product cards: an uppercase heading with "View all" and arrows */
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-inline: 10px; }
.rail-head__title { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.rail-head__tools { display: flex; align-items: center; gap: 16px; }
@media (max-width: 767px) { .rail-head__tools .rail-arrows { display: none; } }
.product-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-rail__track::-webkit-scrollbar { display: none; }
.product-rail__track > * { scroll-snap-align: start; }
@media (max-width: 999px) { .product-rail__track { grid-auto-columns: calc((100% - 20px) / 3); } }
@media (max-width: 767px) { .product-rail__track { grid-auto-columns: 64%; } }

/* Banners: wide (photo across the page, words in the middle), editorial (photo beside the words),
   or a carousel of wide cards. */
.wide-banner { position: relative; display: grid; overflow: hidden; color: #fff; }
.wide-banner__media img, .wide-banner__media video { width: 100%; height: 100%; min-height: 380px; max-height: 780px; object-fit: cover; }
.wide-banner__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 18px; padding: 40px 20px clamp(36px, 6vw, 80px); background: linear-gradient(to top, rgb(0 0 0 / .5), rgb(0 0 0 / .15) 55%, transparent); text-align: center; }
.wide-banner__title { max-width: 18ch; margin: 0; font-family: var(--em-serif); font-size: clamp(2rem, 1.2rem + 3vw, 4rem); font-weight: 400; line-height: 1.08; }
.editorial { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 5vw, 72px) clamp(18px, 8vw, 150px); background: var(--em-soft); }
@media (min-width: 900px) { .editorial { grid-template-columns: 1fr 1fr; } }
.editorial__media { overflow: hidden; border-radius: 4px; box-shadow: 0 30px 60px rgb(16 24 40 / .16); }
.editorial__media img, .editorial__media video { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.editorial__text { display: grid; justify-items: start; gap: 16px; }
.editorial__title { margin: 0; font-family: var(--em-serif); font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem); font-weight: 400; line-height: 1.12; }
.banner-carousel__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banner-carousel__track::-webkit-scrollbar { display: none; }
.promo-card { position: relative; flex: 0 0 min(78%, 1100px); overflow: hidden; border-radius: var(--em-radius-sm); background: var(--em-card); scroll-snap-align: start; }
.banner-carousel__track > .promo-card:only-child { flex-basis: 100%; }
@media (max-width: 767px) { .promo-card { flex-basis: 88%; } }
.promo-card__media { width: 100%; height: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
@media (max-width: 767px) { .promo-card__media { aspect-ratio: 4 / 5; } }
.promo-card__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 16px; padding: clamp(20px, 4vw, 48px); background: linear-gradient(to top, rgb(0 0 0 / .5), transparent 60%); color: #fff; text-align: center; }
.promo-card__title { max-width: 18ch; margin: 0; font-family: var(--em-serif); font-size: clamp(1.6rem, 1rem + 2vw, 2.8rem); font-weight: 400; }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--em-radius-sm); background: var(--em-card); }
.product-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--em-photo); }
.product-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .7s cubic-bezier(.22, 1, .36, 1); }
.product-card__image--hover { opacity: 0; }
.product-card:hover .product-card__image { transform: scale(1.04); }
.product-card:hover .product-card__image--hover { opacity: 1; }
.product-card.is-sold-out .product-card__image { filter: grayscale(.5); opacity: .7; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.6; }
.badge--sale { background: var(--em-badge); color: #fff; }
.badge--muted { top: auto; bottom: 10px; background: rgb(0 0 0 / .75); color: #fff; }
.product-card__body { display: grid; align-content: start; gap: 4px; flex: 1; padding: 14px 14px 18px; }
.product-card__label { color: var(--em-muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.product-card__title { display: -webkit-box; margin: 0; overflow: hidden; font-size: 13.5px; font-weight: 500; letter-spacing: .03em; line-height: 1.4; text-transform: uppercase; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card__title a:hover { opacity: .65; }
.product-card__quick { justify-self: end; margin-top: 8px; }
.product-card__quick button { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border: 1px solid var(--em-text); border-radius: 999px; background: transparent; color: var(--em-text); font-size: 14.5px; font-weight: 600; transition: background .2s, color .2s; }
.product-card__quick button:hover { background: var(--em-text); color: var(--em-card); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 13.5px; }
.price__current { font-weight: 500; }
.price--sale .price__current { color: var(--em-sale); }
.price__compare { color: var(--em-muted); font-size: .92em; }
.price__soon { color: var(--em-sale); font-weight: 600; }

/* Category cover: the first cell of a grid */
.category-cover { position: relative; display: block; min-height: 360px; overflow: hidden; border-radius: var(--em-radius-sm); background: var(--em-text); }
.category-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.category-cover:hover img { transform: scale(1.05); }
.category-cover__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(to top, rgb(0 0 0 / .55), transparent 55%); color: #fff; }
.category-cover__eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.category-cover__title { margin: 2px 0 18px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); font-weight: 700; }
.category-cover__button { display: block; padding: 8px 18px; border-radius: 3px; background: #fff; color: #111; font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .2s; }
.category-cover:hover .category-cover__button { background: #f1efe9; }

/* Newsletter band */
.newsletter-band { display: grid; justify-items: center; gap: 14px; padding: clamp(44px, 7vw, 86px) 20px; background: #000; color: #fff; text-align: center; }
.newsletter-band h2 { margin: 0; font-family: var(--em-serif); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 400; }
.newsletter-band p { max-width: 44ch; margin: 0; font-size: 16.5px; opacity: .92; }
.newsletter-band__form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(100%, 520px); margin-top: 12px; }
.newsletter-band__form input { flex: 1 1 260px; min-width: 0; height: 54px; padding: 0 18px; border: 1px solid rgb(255 255 255 / .75); border-radius: 0; background: #111; color: #fff; outline: none; }
.newsletter-band__form input::placeholder { color: rgb(255 255 255 / .6); }
.newsletter-band__form input:focus { border-color: var(--em-gold); }
.newsletter-band__form button { height: 54px; padding: 0 24px; border: 0; border-radius: 0; background: var(--em-gold); color: #111; font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background .2s; }
.newsletter-band__form button:hover { background: color-mix(in srgb, var(--em-gold) 85%, #fff); }
.newsletter-band small { margin-top: 4px; opacity: .8; font-size: 12px; }

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

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

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

/* Product page: photos stacked on the left (a swipeable slider on phones), details on the right */
.product { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .product__info { position: sticky; top: calc(var(--em-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(--em-radius-sm); background: var(--em-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(--em-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(--em-badge); color: #fff; font-size: 13px; font-weight: 500; }
.product__summary { margin-bottom: 16px; color: var(--em-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(--em-muted); font-size: 13.5px; }
.variant-picker__hint.is-error { color: var(--em-sale); font-weight: 600; }
.variant-pill input, .swatch input { position: absolute; opacity: 0; pointer-events: none; }
.variant-pill span { display: inline-block; min-width: 58px; padding: 7px 18px; border: 1px solid var(--em-border); border-radius: 999px; background: var(--em-bg); font-size: 13px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.variant-pill span:hover { border-color: var(--em-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(--em-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(--em-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(--em-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(--em-card); color: var(--em-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(--em-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(--em-border); }
.accordion details, .accordion__link { border-bottom: 1px solid var(--em-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(--em-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(--em-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(--em-border); border-radius: 50%; background: var(--em-bg); color: var(--em-text); }
.share-buttons a:hover, .share-buttons button:hover, .share-buttons .is-copied { border-color: var(--em-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(--em-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(--em-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: em-lightbox-in .3s ease; }
@keyframes em-lightbox-in { from { opacity: 0; } }
.lightbox__stage { position: absolute; inset: 64px 0 40px; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; }
.lightbox.is-zoomed .lightbox__stage { cursor: grab; }
.lightbox__stage.is-dragging { cursor: grabbing; }
.lightbox__image { max-width: min(100%, 1400px); max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; will-change: transform; }
.lightbox.is-zoomed .lightbox__image { cursor: inherit; }
.lightbox__bar { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding-inline: 16px; }
.lightbox__counter { font-size: 14px; font-weight: 600; opacity: .85; }
.lightbox__tools { display: flex; gap: 6px; }
.lightbox__button, .lightbox__arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; transition: background .2s; }
.lightbox__button:hover, .lightbox__arrow:hover { background: rgb(255 255 255 / .22); }
.lightbox__arrow { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; }
.lightbox__arrow--prev { inset-inline-start: 16px; }
.lightbox__arrow--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .lightbox__arrow--prev .icon { transform: none; }
[dir="rtl"] .lightbox__arrow--next .icon { transform: scaleX(-1); }
.lightbox__arrow--next { inset-inline-end: 16px; }
.lightbox.is-zoomed .lightbox__arrow { opacity: 0; pointer-events: none; }
.lightbox__hint { position: absolute; inset: auto 0 12px; margin: 0; font-size: 12.5px; text-align: center; opacity: .6; pointer-events: none; }
@media (max-width: 767px) { .lightbox__arrow { display: none; } }

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

/* Footer */
.site-footer { margin-top: clamp(28px, 4vw, 54px); background: var(--em-footer); color: #fff; }
.site-footer__grid { display: grid; gap: 34px; padding-block: 60px 34px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer__title { margin: 0 0 18px; font-size: 15px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__title--follow { margin-top: 44px; }
/* On a light chip, so a dark logo still shows on the dark footer. */
.site-footer__logo { box-sizing: content-box; height: 40px; max-width: 170px; width: auto; padding: 10px 16px; border-radius: 10px; background: #fff; object-fit: contain; }
.site-footer__about { max-width: 42ch; margin: 16px 0 0; opacity: .8; font-size: 14.5px; line-height: 1.7; }
.footer-subscribe { position: relative; max-width: 400px; }
.footer-subscribe input { width: 100%; height: 48px; padding: 0 52px 0 18px; border: 0; border-radius: 999px; background: #fff; color: #111; outline: none; font-size: 16px; }
[dir="rtl"] .footer-subscribe input { padding: 0 18px 0 52px; }
.footer-subscribe input::placeholder { color: #555; }
.footer-subscribe input:focus { box-shadow: 0 0 0 3px rgb(255 255 255 / .35); }
.footer-subscribe button { position: absolute; top: 6px; inset-inline-end: 8px; display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid #333; border-radius: 50%; background: transparent; color: #111; }
.footer-subscribe button:hover { background: #111; color: #fff; }
.site-footer nav ul, .contact-list { display: grid; gap: 14px; margin: 0; padding: 0 0 22px; list-style: none; border-bottom: 1px solid rgb(255 255 255 / .2); font-size: 14px; }
.site-footer nav a:hover, .contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; }
.contact-list .icon { opacity: .85; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid rgb(255 255 255 / .2); font-size: 13.5px; }
.site-footer__rights { margin: 0; opacity: .9; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social-links a { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid rgb(255 255 255 / .85); border-radius: 50%; transition: background .2s, color .2s; }
.social-links a:hover { background: #fff; color: #111; }
.whatsapp-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 45; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgb(37 211 102 / .4); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); }
.template-product .whatsapp-float { bottom: 132px; }

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

/* Rich text & embeds */
.rich-text { overflow-wrap: anywhere; color: var(--em-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(--em-border); }
.rich-text a { color: var(--em-brand); text-decoration: underline; }
.video-embed { position: relative; margin-top: 20px; aspect-ratio: 16 / 9; }
.video-embed--tall { aspect-ratio: 3 / 4; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--em-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(--em-radius); background: var(--em-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(--em-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(--em-brand); }
.article-card p { color: var(--em-muted); font-size: 14.5px; }
.article-header { margin-bottom: 8px; }
.article-header__meta { color: var(--em-muted); }
.article-header__image { width: 100%; margin-block: 22px 30px; border-radius: var(--em-radius); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--em-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(--em-card) center / cover no-repeat; box-shadow: var(--em-shadow-lg); pointer-events: none; will-change: transform, opacity; }
.cart-link.is-bumped { animation: em-cart-bump .6s cubic-bezier(.3, 1.6, .5, 1); }
.cart-link.is-bumped .cart-link__count { animation: em-cart-count .6s ease-out; }
@keyframes em-cart-bump { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-8deg); } 65% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes em-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(--em-text); border-color: var(--em-text) var(--em-text) transparent transparent; border-radius: 50%; animation: em-spin .7s linear infinite; }
@keyframes em-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(--em-head); color: #fff; box-shadow: var(--em-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(--em-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(--em-brand); color: #fff; }
.template-product .cart-toast { bottom: 84px; }
@media (min-width: 768px) { .template-product .cart-toast { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .cart-toast { transition: none; } .is-loading::after { animation-duration: 1.6s; } }

/* Ember on the shop and product pages */
.shop-head h1 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: 0; text-transform: none; }
.shop-head { padding-inline: 10px; border-color: color-mix(in srgb, var(--em-text) 30%, transparent); }
.sort { height: 34px; padding: 0 12px; border: 1px solid var(--em-border); border-radius: 6px; background: color-mix(in srgb, var(--em-panel) 40%, transparent); }
.sort select { height: 32px; font-weight: 500; }
.filter-toggle { height: 34px; border-radius: 6px; }

.product__panel { padding: clamp(18px, 2vw, 22px); border-radius: var(--em-radius-sm); background: var(--em-panel); }
.product__title { margin: 0 0 10px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 400; }
.product__price .price { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.product__price .price__current { font-weight: 500; }
.product__price .price--sale .price__current { color: var(--em-sale); }
.product__price .price__compare { font-size: .7em; }
.variant-picker legend { font-size: 13px; font-weight: 500; }
.variant-pill span { min-width: 44px; padding: 9px 12px; border-color: var(--em-border); border-radius: 2px; background: var(--em-panel); font-size: 12.5px; font-weight: 600; }
.variant-pill input:checked + span { border-color: var(--em-ink); background: var(--em-ink); color: #fff; }
.swatch > span { width: 36px; height: 36px; border-radius: 4px; }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 3px var(--em-panel), 0 0 0 4.5px var(--em-ink); }
.quantity { height: 42px; border-color: var(--em-text); border-radius: 10px; }
.product__buy .button { min-height: 42px; }
.product__form > .button--dark { min-height: 50px; }
.product__ask { margin: 14px 4px; }
.product__info .accordion { margin: 16px 0; padding: 0 16px; border: 0; border-radius: var(--em-radius-sm); background: var(--em-panel); }
.product__info .accordion > :last-child { border-bottom: 0; }
.accordion summary, .accordion__link { font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.accordion summary .icon, .accordion__link > span .icon { display: none; }
.product__extras { display: grid; gap: 4px; padding-inline: 4px; }
.product__slide { border-radius: var(--em-radius-sm); }
.product__slide img { object-fit: cover; }
.sticky-buy { border-radius: 16px 16px 0 0; text-align: center; }
.sticky-buy__inner { flex-direction: column; gap: 8px; }
.sticky-buy__info { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; }
.sticky-buy__info strong { font-weight: 500; font-size: 15px; }
.sticky-buy .button { min-height: 50px; border-radius: 999px; }
.template-product .cart-toast { bottom: 140px; }
@media (min-width: 768px) { .template-product .cart-toast { bottom: 140px; } }
