/* ys storefront theme.
   Everything visual comes from the theme editor through CSS variables:
   :root → layout, typography, buttons; .color-scheme-N → --bg --text --btn --btn-text --accent --border. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip; background: var(--bg, #fff); color: var(--text, #121212);
  font-family: var(--font-body, system-ui); font-size: calc(16px * var(--body-scale, 1)); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[class*="color-scheme-"] { background: var(--bg); color: var(--text); }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-heading, system-ui); font-weight: var(--heading-weight, 700); letter-spacing: var(--heading-spacing, 0);
  line-height: 1.25; margin: 0 0 .5em;
}
.h1, h1 { font-size: calc(clamp(28px, 4vw, 40px) * var(--heading-scale, 1)); }
.h2, h2 { font-size: calc(clamp(22px, 3vw, 30px) * var(--heading-scale, 1)); }
.h3, h3 { font-size: calc(20px * var(--heading-scale, 1)); }
.h4, h4 { font-size: calc(17px * var(--heading-scale, 1)); }
.heading-upper :is(h1, h2, h3, .h1, .h2, .h3, .block-heading) { text-transform: uppercase; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.page-width, .container { width: 100%; max-width: var(--page-width, 1240px); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.section, .section-pad { padding-block: 40px; }
.muted { opacity: .7; }
.small { font-size: 13px; }
.upper { text-transform: uppercase; letter-spacing: .08em; }
.caption { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin: 0 0 .6em; }
.align-start { text-align: start; } .align-center { text-align: center; } .align-end { text-align: end; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0; }
.row-between.total { font-weight: 700; font-size: 18px; border-top: 1px solid var(--border, rgba(0,0,0,.1)); margin-top: 8px; padding-top: 12px; }
.link-center { display: block; text-align: center; margin-top: 12px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: 13px; opacity: .7; }
.link-underline { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.link-underline:hover { text-decoration-thickness: 2px; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 100; background: var(--bg); padding: 8px 14px; }
.skip-link:focus { inset-inline-start: 8px; }
.rte > :last-child { margin-bottom: 0; }
.rte img { border-radius: var(--media-radius); }
.rte a { text-underline-offset: 3px; }
.empty-state, .empty { padding: 48px 0; text-align: center; opacity: .75; }

/* ----------------------------------------------------------------- sections */
.sf-section { padding-top: var(--pt, 0); padding-bottom: var(--pb, 0); }
.sf-section + .sf-section { margin-top: var(--section-gap, 0); }
.sf-section:empty { display: none; }
.section-heading { margin-bottom: 24px; }
.section-heading > :last-child, .section-heading .h2 { margin-bottom: 0; }
.section-heading.has-link { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-heading.align-center.has-link { justify-content: center; position: relative; }
.section-heading.align-center.has-link .carousel-arrows { position: absolute; inset-inline-end: 0; bottom: 0; }
.section-heading.align-center { text-align: center; }
.section-heading.align-end { text-align: end; }
.section-footer { margin-top: 28px; }

/* ----------------------------------------------------------------- buttons & inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-height, 48px); padding: 0 26px;
  border-radius: var(--btn-radius, 4px); background: var(--btn); color: var(--btn-text); border: 1.5px solid var(--btn);
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .12s, opacity .15s, background .15s, color .15s; line-height: 1.2;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-secondary, .btn-outline { background: transparent; color: var(--btn); }
.btn-secondary:hover, .btn-outline:hover { background: var(--btn); color: var(--btn-text); opacity: 1; }
body.buttons-outline .btn:not(.btn-secondary) { background: transparent; color: var(--btn); }
body.buttons-outline .btn:not(.btn-secondary):hover { background: var(--btn); color: var(--btn-text); }
body.buttons-soft .btn:not(.btn-secondary) { background: color-mix(in srgb, var(--btn) 14%, var(--bg)); color: var(--btn); border-color: transparent; }
body.buttons-upper .btn { text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
body.buttons-shadow .btn { box-shadow: 0 6px 16px color-mix(in srgb, var(--btn) 30%, transparent); }
.btn-small, .btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: calc(var(--btn-height, 48px) + 6px); font-size: 16px; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  background: none; border: 0; cursor: pointer; color: inherit; text-decoration: none; position: relative; flex: 0 0 auto;
}
.icon-btn:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
input, select, textarea { font: inherit; color: inherit; }
.select, .field input, .field select, .field textarea, .inline-form input, .search-big input, .filters input[type=number],
.discount-form input, .discount-inline input, .drawer__search input {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent);
  border-radius: var(--input-radius, 4px); background: var(--bg); color: var(--text); font-size: 15px;
}
.field textarea { min-height: 120px; resize: vertical; }
.select { width: auto; padding-inline-end: 34px; cursor: pointer; }
:is(.field, .inline-form, .search-big, .filters) :is(input, select, textarea):focus { outline: 2px solid var(--text); outline-offset: -1px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; font-size: 14px; }
.field > span { opacity: .8; }
.field-error { color: #c0392b; font-size: 13px; margin-top: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-stack { display: grid; gap: 4px; }
.inline-form { display: flex; gap: 8px; max-width: 520px; }
.align-center .inline-form, .inline-form.is-centered { margin-inline: auto; }
.inline-form input { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--btn); }

/* quantity */
.qty { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: var(--input-radius, 4px); height: var(--btn-height, 48px); }
.qty button { width: 40px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 18px; }
.qty input, .qty span { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-line .qty { height: 36px; }
.cart-line .qty button { width: 32px; }

/* badges & price */
.badge { display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; line-height: 1.5; }
.badge--sale { background: var(--accent); color: #fff; }
.badge--muted { background: color-mix(in srgb, var(--text) 75%, transparent); color: var(--bg); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price__now { font-weight: 700; }
.price__now.is-sale { color: var(--accent); }
.price__was { opacity: .55; font-size: .9em; }
.price__from { font-size: .85em; opacity: .7; }
.price--large { font-size: 22px; margin-bottom: 14px; }
.price--large .badge { font-size: 13px; align-self: center; }
.stars { color: #f5a623; letter-spacing: 1px; }
.low-stock { color: var(--accent); font-size: 13px; font-weight: 600; margin: 4px 0 0; }

/* media */
.card-media { position: relative; display: block; overflow: hidden; border-radius: var(--media-radius, 8px); background: color-mix(in srgb, var(--text) 5%, var(--bg)); }
.card-media.ratio-square { aspect-ratio: 1; }
.card-media.ratio-portrait { aspect-ratio: 3 / 4; }
.card-media.ratio-landscape { aspect-ratio: 4 / 3; }
.card-media.ratio-wide { aspect-ratio: 16 / 9; }
.card-media:not(.ratio-adapt) img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media.ratio-adapt { min-height: 120px; }
.card-media.ratio-adapt img { width: 100%; }
.fit-contain img { object-fit: contain !important; padding: 6%; }
.placeholder-svg { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--text) 6%, transparent) 14px 15px); }
.ratio-adapt .placeholder-svg { position: static; display: block; aspect-ratio: 4 / 3; }
.placeholder-letter { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; font-weight: 700; opacity: .25; font-family: var(--font-heading); }

/* ----------------------------------------------------------------- announcement */
.sf-announcement { font-size: 14px; }
.announcement { display: grid; text-align: center; padding: 9px 20px; }
.announcement__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s; }
.announcement__item.is-active { opacity: 1; visibility: visible; }
.announcement a { text-decoration: none; }
.announcement a:hover { text-decoration: underline; }

/* ----------------------------------------------------------------- header */
.sf-header { position: sticky; top: 0; z-index: 40; transition: transform .3s, background .3s; }
.sf-header:has(.sticky-none) { position: relative; }
.sf-header.is-hidden { transform: translateY(-100%); }
.sf-header:has(.header--border) { border-bottom: 1px solid var(--border); }
.sf-header.is-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.page-home .sf-header:has(.header--transparent) { margin-bottom: calc(-1 * var(--header-h, 76px)); background: transparent; color: #fff; border-color: transparent; }
.page-home .sf-header:has(.header--transparent).is-scrolled { background: var(--bg); color: var(--text); }
.page-home .sf-header:has(.header--transparent):not(.is-scrolled) .header__search input { border-color: rgba(255,255,255,.6); }
.page-home .sf-header:has(.header--transparent):not(.is-scrolled) .header__logo img { filter: brightness(0) invert(1); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.header__logo { text-decoration: none; display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 0; max-width: 100%; }
/* The width set in the theme editor is a maximum: on a narrow screen the logo shrinks instead of covering the icons */
.header__logo img { max-width: 100%; height: auto; max-height: 72px; object-fit: contain; }
.header__logo-text { font-family: var(--font-heading); font-weight: var(--heading-weight, 700); font-size: 24px; white-space: nowrap; }
.header__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.header__nav { flex: 1; }
.header__nav > ul > li { position: relative; }
.header__nav a { text-decoration: none; font-weight: 500; display: block; padding: 8px 0; }
.header__nav > ul > li > a:hover { text-decoration: underline; text-underline-offset: 7px; }
.header__nav .has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-inline-start: 7px; vertical-align: 3px; }
.dropdown { position: absolute; top: 100%; inset-inline-start: -16px; min-width: 220px; padding: 10px 16px !important; display: block !important; background: var(--bg); color: var(--text); box-shadow: 0 14px 34px rgba(0,0,0,.12); border-radius: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 5; }
.has-children:hover > .dropdown, .has-children:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { padding: 6px 0; font-weight: 400; }
.dropdown a:hover { text-decoration: underline; }
.header__search { position: relative; flex: 0 1 280px; }
.header__search input { width: 100%; height: 42px; padding: 0 16px; padding-inline-start: 40px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 999px; background: transparent; color: inherit; font-size: 14px; }
.header__search-icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); display: flex; opacity: .6; }
.header__icons { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.header__icons .lang-btn { font-size: 13px; font-weight: 700; width: auto; padding: 0 10px; border-radius: 999px; }
.cart-count { position: absolute; top: 3px; inset-inline-end: 1px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; line-height: 1; }
.header__burger { display: none; }
.header__burger.is-always { display: inline-flex; }
.header--logo-center .header__inner, .header--logo-center-menu-below .header__inner, .header--drawer .header__inner { display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; }
.header__inner > .header__logo { justify-self: center; }
.header__side { display: flex; align-items: center; gap: 16px; min-width: 0; }
.header__side--end { justify-content: flex-end; }
.header__side--end .header__icons { margin-inline-start: 0; }
.header__below { padding-bottom: 10px; }
.header__nav--center ul { justify-content: center; }
.search-modal { position: absolute; top: 100%; inset-inline: 0; background: var(--bg); color: var(--text); box-shadow: 0 14px 30px rgba(0,0,0,.1); padding: 14px 0; }
.search-modal__form { display: flex; align-items: center; gap: 10px; }
.search-modal__form input { flex: 1; border: 0; border-bottom: 1.5px solid var(--text); background: none; height: 48px; font-size: 18px; outline: 0; }

/* drawers */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; opacity: 0; visibility: hidden; transition: .25s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); z-index: 70; display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(0,0,0,.18); visibility: hidden; transition: transform .28s ease, visibility .28s; }
.drawer--cart { inset-inline-end: 0; transform: translateX(100%); }
.drawer--menu { inset-inline-start: 0; transform: translateX(-100%); width: min(360px, 88vw); }
[dir="rtl"] .drawer--cart { transform: translateX(-100%); }
[dir="rtl"] .drawer--menu { transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer > [data-drawer-body] { display: flex; flex-direction: column; height: 100%; }
.drawer-head, .drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.drawer-head strong { font-size: 18px; }
.drawer-lines { flex: 1; overflow-y: auto; padding: 0 20px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--border); }
.drawer-empty { padding: 48px 20px; text-align: center; }
.drawer .free-ship { margin: 12px 20px 0; }
.drawer__search { padding: 14px 20px 0; }
.drawer__menu { list-style: none; margin: 0; padding: 8px 20px; flex: 1; overflow-y: auto; }
.drawer__menu > li { border-bottom: 1px solid var(--border); }
.drawer__menu a, .drawer__menu summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; text-decoration: none; font-size: 17px; cursor: pointer; list-style: none; }
.drawer__menu summary::-webkit-details-marker { display: none; }
.drawer__menu details[open] summary .icon { transform: rotate(90deg); }
[dir="rtl"] .drawer__menu summary .icon { transform: rotate(180deg); }
[dir="rtl"] .drawer__menu details[open] summary .icon { transform: rotate(90deg); }
.drawer__menu ul { list-style: none; padding: 0 14px 8px; margin: 0; }
.drawer__menu ul a { font-size: 15px; padding: 8px 0; opacity: .85; }
.drawer__foot { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 18px; border-top: 1px solid var(--border); }
.drawer__foot a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

/* flash & toast */
.flash { padding: 12px 0; font-weight: 500; }
.flash-success { background: #e7f8ee; color: #0c5132; }
.flash-error { background: #fdecea; color: #8e0b21; }
.alert { background: #fdecea; color: #8e0b21; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; padding: 12px 22px; border-radius: 999px; z-index: 90; font-size: 14px; animation: toast-in .25s; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ----------------------------------------------------------------- banner & slideshow */
.banner { position: relative; display: flex; overflow: hidden; }
.banner--small { min-height: 360px; } .banner--medium { min-height: 480px; } .banner--large { min-height: 620px; } .banner--full { min-height: calc(100svh - var(--header-h, 0px)); }
.page-home .sf-header:has(.header--transparent) ~ main .sf-section:first-child .banner--full { min-height: 100svh; }
.banner--adapt { min-height: 0; }
.banner--adapt .banner__media { position: relative; }
.banner--adapt .banner__content { position: absolute; inset: 0; }
.banner.page-width.banner--boxed, .slideshow.page-width.banner--boxed { padding-inline: 0; width: calc(100% - 40px); border-radius: var(--media-radius); }
.banner__media { position: absolute; inset: 0; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner--adapt .banner__media img { height: auto; }
.banner__overlay { position: absolute; inset: 0; background: #000; pointer-events: none; }
.banner__content { position: relative; z-index: 1; display: flex; width: 100%; padding-block: 48px; }
.banner:not(.banner--no-image) .banner__box:not(.is-boxed) { color: #fff; }
.banner:not(.banner--no-image) .banner__box:not(.is-boxed) .btn-secondary { color: #fff; border-color: #fff; }
.banner:not(.banner--no-image) .banner__box:not(.is-boxed) .btn:not(.btn-secondary) { background: #fff; color: #111; border-color: #fff; }
.banner--no-image { background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.pos-v-top .banner__content { align-items: flex-start; } .pos-v-middle .banner__content { align-items: center; } .pos-v-bottom .banner__content { align-items: flex-end; }
.pos-h-start .banner__content { justify-content: flex-start; } .pos-h-center .banner__content { justify-content: center; } .pos-h-end .banner__content { justify-content: flex-end; }
.banner__box { max-width: 640px; }
.banner__box.is-boxed { padding: 36px 40px; border-radius: var(--media-radius); }
.banner__box.align-center .block-buttons { justify-content: center; }
.banner__box.align-end .block-buttons { justify-content: flex-end; }
.block-heading { margin-bottom: .35em; }
.block-heading.size-small { font-size: calc(22px * var(--heading-scale, 1)); }
.block-heading.size-medium { font-size: calc(clamp(26px, 3.4vw, 34px) * var(--heading-scale, 1)); }
.block-heading.size-large { font-size: calc(clamp(30px, 4.5vw, 48px) * var(--heading-scale, 1)); }
.block-heading.size-xlarge { font-size: calc(clamp(36px, 6vw, 68px) * var(--heading-scale, 1)); line-height: 1.1; }
.block-text { font-size: 1.06em; margin-bottom: 1.2em; }
.block-text p { margin-bottom: .6em; }
.block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.align-center .block-buttons { justify-content: center; }
.align-end .block-buttons { justify-content: flex-end; }

.slideshow { position: relative; overflow: hidden; display: grid; }
.slideshow .slide { grid-area: 1 / 1; min-height: inherit; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slideshow .slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slideshow.banner--small .slide { min-height: 360px; } .slideshow.banner--medium .slide { min-height: 480px; } .slideshow.banner--large .slide { min-height: 620px; } .slideshow.banner--full .slide { min-height: calc(100svh - var(--header-h, 0px)); }
.slide-arrow { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #111; display: grid; place-items: center; cursor: pointer; transform: translateY(-50%); }
.slide-arrow--prev { inset-inline-start: 16px; } .slide-arrow--next { inset-inline-end: 16px; }
.slide-arrow--prev .icon, [dir="rtl"] .slide-arrow--next .icon { transform: rotate(180deg); }
[dir="rtl"] .slide-arrow--prev .icon { transform: none; }
.slide-dots { position: absolute; bottom: 18px; inset-inline: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.slide-dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: width .25s; }
.slide-dots button.is-active { background: #fff; width: 26px; }

/* countdown */
.countdown-banner { border-radius: var(--media-radius); padding: 56px 32px; text-align: center; background: color-mix(in srgb, var(--text) 5%, var(--bg)) center / cover no-repeat; position: relative; overflow: hidden; }
.countdown-banner.has-image { color: #fff; }
.countdown-banner.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.countdown-banner__content { position: relative; max-width: 720px; margin-inline: auto; }
.countdown-banner .block-buttons { justify-content: center; }
.timer { display: flex; justify-content: center; gap: 12px; margin: 20px 0 26px; }
.timer__unit { min-width: 82px; padding: 14px 8px; border-radius: var(--media-radius); background: color-mix(in srgb, currentColor 10%, transparent); display: flex; flex-direction: column; align-items: center; }
.timer__unit b { font-size: clamp(28px, 5vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; font-family: var(--font-heading); }
.timer__unit span { font-size: 12px; opacity: .8; margin-top: 6px; }

/* ----------------------------------------------------------------- product grid & cards */
.product-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: calc(var(--grid-gap, 16px) * 1.6) var(--grid-gap, 16px); }
.product-grid.is-carousel, .testimonials.is-carousel { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - (var(--cols, 4) - 1) * var(--grid-gap, 16px)) / var(--cols, 4)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.is-carousel::-webkit-scrollbar { display: none; }
.is-carousel > * { scroll-snap-align: start; }
.carousel-arrows { display: flex; gap: 6px; }
.carousel-arrows .icon-btn { border: 1px solid var(--border); }
[dir="ltr"] .carousel-arrows [data-carousel-prev] .icon, [dir="rtl"] .carousel-arrows [data-carousel-next] .icon { transform: rotate(180deg); }

.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.product-card__media { margin-bottom: 12px; }
.product-card__media > a { position: absolute; inset: 0; }
.product-card__media img { transition: opacity .4s, transform .6s; }
.product-card__media .hover-img { opacity: 0; }
.product-card:hover .product-card__media .hover-img { opacity: 1; }
.product-card:hover .product-card__media img:only-child { transform: scale(1.04); }
.product-card__info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card__vendor { margin: 0; font-size: 12px; }
.product-card__title { text-decoration: none; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-card .price { font-size: 15px; }
.product-card .card-quick { position: relative; z-index: 2; margin-top: auto; padding-top: 8px; }
.product-card .btn-block { position: relative; z-index: 2; margin-top: 8px; }
.product-card__info > .card-quick:last-child, .product-card__info > .btn:last-child { margin-top: auto; }
.badges { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge-end .badges { inset-inline-start: auto; inset-inline-end: 10px; align-items: flex-end; }
.card-icon-btn { position: absolute; z-index: 3; bottom: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--text); border: 0; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.15); cursor: pointer; transition: transform .15s; }
.card-icon-btn:hover { transform: scale(1.08); }
.product-card__media .card-quick { position: static; padding: 0; }
.product-card--placeholder p { margin-top: 10px; }

.card-align-center .product-card__info { align-items: center; text-align: center; }
.card-align-center .product-card .price { justify-content: center; }
.card-align-end .product-card__info { align-items: flex-end; text-align: end; }
.card-card .product-card { background: var(--bg); border-radius: calc(var(--media-radius) + 4px); box-shadow: 0 6px 22px rgba(0,0,0,.07); padding: 10px 10px 14px; }
.card-card .product-card__info { padding-inline: 4px; }
.card-bordered .product-card { border: 1px solid var(--border); border-radius: calc(var(--media-radius) + 2px); padding: 10px 10px 14px; }
.card-minimal .product-card__media { border-radius: 0; margin-bottom: 8px; }
.card-minimal .product-card__title { font-size: 14px; }
.card-minimal .product-card .price { font-size: 14px; font-weight: 400; }
.card-overlay .product-card__media { margin-bottom: 0; }
.card-overlay .product-card__info { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 40px 14px 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.68)); border-radius: 0 0 var(--media-radius) var(--media-radius); pointer-events: none; }
.card-overlay .product-card__info :is(a, form, .btn) { pointer-events: auto; }
.card-overlay .product-card .btn-secondary { color: #fff; border-color: #fff; }
.card-overlay .price__now.is-sale { color: #fff; }
.card-overlay .card-icon-btn { bottom: auto; top: 10px; }

/* ----------------------------------------------------------------- collection list */
.collection-list { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--grid-gap, 16px); }
.collection-tile { text-decoration: none; display: flex; flex-direction: column; gap: 10px; position: relative; }
.collection-tile__media img { transition: transform .6s; }
.collection-tile:hover .collection-tile__media img { transform: scale(1.05); }
.collection-tile__title { font-weight: 600; font-size: 17px; }
.collection-tile__title::after { content: " →"; opacity: 0; transition: opacity .2s; }
[dir="rtl"] .collection-tile__title::after { content: " ←"; }
.collection-tile:hover .collection-tile__title::after { opacity: 1; }
.collection-list--circles .collection-tile { align-items: center; text-align: center; }
.collection-list--circles .collection-tile__media { border-radius: 50%; width: 100%; }
.collection-list--overlay .collection-tile__title { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); border-radius: 0 0 var(--media-radius) var(--media-radius); font-size: 20px; }
.collection-list--overlay .collection-tile { gap: 0; }
/* legacy collections page */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.collection-tile__img { display: block; aspect-ratio: 4/3; border-radius: var(--media-radius); background: color-mix(in srgb, var(--text) 6%, var(--bg)) center/cover; }

/* ----------------------------------------------------------------- image with text */
.image-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.image-text.width-third { grid-template-columns: 1fr 2fr; }
.image-text.width-two-thirds { grid-template-columns: 2fr 1fr; }
.image-text--end .image-text__media { order: 2; }
.image-text.width-third.image-text--end { grid-template-columns: 2fr 1fr; }
.image-text.width-two-thirds.image-text--end { grid-template-columns: 1fr 2fr; }
.image-text__content { display: flex; }
.valign-top .image-text__content { align-items: flex-start; } .valign-middle .image-text__content { align-items: center; } .valign-bottom .image-text__content { align-items: flex-end; }
.image-text__box { width: 100%; }
.image-text.is-overlap { gap: 0; }
.image-text.is-overlap .image-text__box { background: var(--bg); padding: clamp(24px, 4vw, 48px); margin-inline-start: -80px; position: relative; z-index: 1; border-radius: var(--media-radius); box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.image-text.is-overlap.image-text--end .image-text__box { margin-inline: 0 -80px; }

/* rich text */
.rich-text { margin-inline: auto; }
.rich-text--narrow { max-width: 760px; }
.rich-text--wide { max-width: 1040px; }

/* multicolumn */
.multicolumn { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: calc(var(--grid-gap, 16px) * 1.5); }
.multicolumn__item { display: flex; flex-direction: column; gap: 12px; }
.multicolumn.align-center .multicolumn__item { align-items: center; }
.multicolumn.align-end .multicolumn__item { align-items: flex-end; }
.multicolumn__media { width: 100%; }
.multicolumn__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--btn) 10%, transparent); color: var(--btn); }
.multicolumn__text .h4 { margin-bottom: 6px; }
.multicolumn__text .rte { font-size: .95em; }
.multicolumn--card .multicolumn__item { background: color-mix(in srgb, var(--text) 4%, var(--bg)); padding: 28px 22px; border-radius: calc(var(--media-radius) + 4px); }
.multicolumn--icon-inline .multicolumn__item { flex-direction: row; align-items: flex-start !important; text-align: start; gap: 14px; }
.multicolumn--icon-inline .multicolumn__icon { width: 48px; height: 48px; flex: 0 0 auto; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--grid-gap, 16px); }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--media-radius); aspect-ratio: 1; text-decoration: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.gallery__item:hover img { transform: scale(1.05); }
.gallery__caption { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); font-weight: 600; }
.gallery--collage .gallery__item:nth-child(5n+1) { grid-row: span 2; grid-column: span 2; aspect-ratio: auto; }
.gallery--masonry { display: block; columns: var(--cols, 3); column-gap: var(--grid-gap, 16px); }
.gallery--masonry .gallery__item { aspect-ratio: auto; margin-bottom: var(--grid-gap, 16px); break-inside: avoid; }
.gallery--masonry .gallery__item img { height: auto; }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--media-radius); overflow: hidden; background: #111 center / cover no-repeat; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111; display: grid; place-items: center; cursor: pointer; transition: transform .2s; padding-inline-start: 6px; }
.video__play:hover { transform: scale(1.08); }
.sf-video .page-width > .section-heading + .video, .sf-video > div:not(.page-width) .video { border-radius: 0; }

/* marquee */
.marquee { display: flex; overflow: hidden; white-space: nowrap; user-select: none; direction: ltr; }
.marquee__track { display: flex; flex-shrink: 0; align-items: center; animation: marquee var(--duration, 30s) linear infinite; }
.marquee.is-reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { padding-inline: 22px; font-family: var(--font-heading); font-weight: var(--heading-weight, 700); }
.marquee__item a { text-decoration: none; }
.marquee__sep { opacity: .5; }
.marquee--small { font-size: 15px; padding-block: 10px; } .marquee--medium { font-size: 22px; padding-block: 14px; } .marquee--large { font-size: clamp(32px, 5vw, 52px); padding-block: 18px; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--grid-gap, 16px); }
.testimonial { margin: 0; padding: 28px; border-radius: calc(var(--media-radius) + 4px); background: color-mix(in srgb, var(--text) 4%, var(--bg)); display: flex; flex-direction: column; gap: 14px; }
.testimonial blockquote { margin: 0; font-size: 1.05em; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption span { display: flex; flex-direction: column; }

/* logo list */
.logo-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; }
.logo-list__item img { height: var(--logo-h, 48px); width: auto; object-fit: contain; }
.logo-list.is-grayscale img { filter: grayscale(1); opacity: .7; transition: .25s; }
.logo-list.is-grayscale .logo-list__item:hover img { filter: none; opacity: 1; }

/* newsletter */
.newsletter { max-width: 760px; }
.newsletter.align-center { text-align: center; }
.newsletter--split { max-width: var(--page-width); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter__content .inline-form { margin-top: 18px; }
.newsletter.align-end .inline-form { margin-inline-start: auto; }

/* FAQ & accordion */
.faq { max-width: 860px; }
.faq--split { max-width: var(--page-width); display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq:not(.faq--split) .faq__intro { text-align: center; margin-bottom: 24px; }
.accordion { border-bottom: 1px solid var(--border); }
.accordion:first-child { border-top: 1px solid var(--border); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 18px 0; font-weight: 600; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion__icon { margin-inline-start: auto; display: flex; transition: transform .25s; }
.accordion[open] .accordion__icon { transform: rotate(45deg); }
.accordion__content { padding-bottom: 18px; opacity: .85; }

/* contact & custom */
.contact-form { max-width: 720px; }
.contact-form form { margin-top: 20px; }
.custom-html { overflow-x: auto; }
.spacer { display: flex; align-items: center; }
.spacer hr { border: 0; border-top: 1px solid var(--border); margin-block: 0; }

/* ----------------------------------------------------------------- product page */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.product--small { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.product--large { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.product.media-end .product__media { order: 2; }
.product__media { position: sticky; top: calc(var(--header-h, 76px) + 16px); min-width: 0; }
.gallery-stacked, .gallery-grid { position: static; }
.product__slides { display: grid; gap: 10px; }
.gallery-thumbnails .product__slide:not(.is-active), .gallery-thumbnails-side .product__slide:not(.is-active) { display: none; }
.gallery-thumbnails .product__slide:first-child:not(.is-active):only-child { display: block; }
.gallery-grid .product__slides { grid-template-columns: 1fr 1fr; }
.gallery-grid .product__slide:first-child { grid-column: span 2; }
.gallery-carousel .product__slides { grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-carousel .product__slide { scroll-snap-align: start; }
.product__slide img[data-zoom] { cursor: zoom-in; }
.product__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; }
.product__thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: calc(var(--media-radius) / 1.5); overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.product__thumbs button.is-active { border-color: var(--text); opacity: 1; }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnails-side { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
.gallery-thumbnails-side .product__thumbs { order: -1; flex-direction: column; margin: 0; max-height: 640px; }
.gallery-thumbnails-side .product__thumbs button { flex-basis: 72px; }
.product__info { min-width: 0; }
.product__info.is-sticky { position: sticky; top: calc(var(--header-h, 76px) + 16px); }
.product__info .buy-form > * + * { margin-top: 14px; }
.product__vendor { margin-bottom: 4px !important; }
.product__title { margin-bottom: 6px; }
.product__rating { display: inline-flex; gap: 6px; text-decoration: none; font-size: 14px; }
.product__stock { font-size: 14px; font-weight: 600; margin: 0; }
.product__stock.is-low { color: var(--accent); }
.product__stock.is-in::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2e9e5b; margin-inline-end: 8px; }
.product__sold { font-size: 14px; margin: 0; }
.product__countdown { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: var(--media-radius); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); font-weight: 600; }
.product__countdown b { font-variant-numeric: tabular-nums; direction: ltr; color: var(--accent); font-size: 18px; }
.product__qty { display: flex; flex-direction: column; gap: 6px; }
.product__qty .label, .option legend { font-size: 14px; opacity: .85; }
.product__buttons { display: grid; gap: 10px; }
.product__description { opacity: .9; }
.option { border: 0; padding: 0; margin: 0; min-width: 0; }
.option legend { padding: 0; margin-bottom: 8px; }
.option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .swatch { position: relative; cursor: pointer; }
.pill input, .swatch input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: var(--btn-radius, 4px); font-size: 14px; transition: .15s; }
.pill input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill input:focus-visible + span, .swatch input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.swatch input:checked + span { outline-color: var(--text); }
.is-unavailable { opacity: .45; text-decoration: line-through; }
.swatch .is-unavailable { position: relative; }
.option .select { width: 100%; }
.buy-form__row { display: flex; gap: 10px; }
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.icon-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.icon-list .icon { flex: 0 0 auto; opacity: .85; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-icons span { border: 1px solid var(--border); border-radius: 4px; padding: 2px 9px; font-size: 12px; font-weight: 600; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 14px; }
.share a { text-decoration: none; opacity: .8; }
.share a:hover { opacity: 1; text-decoration: underline; }
.product__info .accordion:first-of-type { margin-top: 18px; }
.sticky-atc { position: fixed; bottom: 0; inset-inline: 0; z-index: 35; padding: 10px 0; box-shadow: 0 -4px 20px rgba(0,0,0,.1); }
.sticky-atc__inner { display: flex; align-items: center; gap: 12px; }
.sticky-atc img { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; }
.sticky-atc__title { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.sticky-atc__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 92vh; width: auto; }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; color: #fff; }
.featured-product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.featured-product.media-end .featured-product__media { order: 2; }
.featured-product__info .buy-form > * + * { margin-top: 14px; }
.featured-product__info > .link-underline { display: inline-block; margin-top: 16px; }

/* reviews */
.reviews { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.reviews__score { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.reviews__score b { font-size: 46px; line-height: 1; font-family: var(--font-heading); }
.reviews__score .stars { font-size: 20px; }
.review-form summary { list-style: none; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form form { margin-top: 16px; }
.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; font-size: 28px; margin-bottom: 8px; }
[dir="rtl"] .rating-input { flex-direction: row-reverse; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; color: #ccc; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f5a623; }
.reviews__list { display: grid; gap: 0; }
.review { padding: 18px 0; border-bottom: 1px solid var(--border); }
.review:first-child { padding-top: 0; }
.review strong { display: block; margin: 4px 0; }
.review p { margin: 4px 0 8px; }

/* ----------------------------------------------------------------- collection page */
.collection-banner { display: flex; flex-direction: column; gap: 8px; }
.collection-banner.align-center { align-items: center; text-align: center; }
.collection-banner.has-image { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.collection-banner .rte { max-width: 720px; }
.collection { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.collection--filters-top, .collection--filters-none { grid-template-columns: minmax(0, 1fr); }
.collection__sidebar { position: sticky; top: calc(var(--header-h, 76px) + 16px); }
.collection__toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.collection__sort { margin-inline-start: auto; }
.collection__sort label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.collection__filter-toggle { display: none; }
.collection--filters-top .collection__filter-toggle { display: none; }
.filters--top { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-start; padding: 14px 18px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: var(--media-radius); }
.filters--top .filter { border: 0; min-width: 160px; }
.filters--top .filter summary { padding: 4px 0; }
.filter { border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 10px; }
.filter summary { cursor: pointer; font-weight: 600; padding: 8px 0; list-style: none; display: flex; justify-content: space-between; }
.filter summary::-webkit-details-marker { display: none; }
.filter summary::after { content: "+"; opacity: .6; }
.filter[open] summary::after { content: "−"; }
.filter__price { display: flex; align-items: center; gap: 8px; }
.filter__price input { min-height: 40px !important; }
.filters__actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.filters--top .filters__actions { align-self: center; margin: 0; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--btn-radius); text-decoration: none; border: 1px solid transparent; }
.pagination a:hover { border-color: var(--border); }
.pagination a.is-active { background: var(--text); color: var(--bg); }
.search-big { display: flex; gap: 8px; max-width: 640px; margin: 10px 0 14px; }
.search-big input { flex: 1; min-height: var(--btn-height, 48px); }

/* ----------------------------------------------------------------- cart */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.cart-line__img { width: 84px; height: 84px; border-radius: calc(var(--media-radius) / 1.5); overflow: hidden; background: color-mix(in srgb, var(--text) 5%, var(--bg)); flex: 0 0 auto; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-line__title { font-weight: 600; text-decoration: none; }
.cart-line__price { font-weight: 600; white-space: nowrap; }
.cart-summary { background: color-mix(in srgb, var(--text) 4%, var(--bg)); padding: 22px; border-radius: calc(var(--media-radius) + 4px); position: sticky; top: calc(var(--header-h, 76px) + 16px); }
.discount-form, .discount-inline { display: flex; gap: 8px; margin-bottom: 12px; }
.discount-form input, .discount-inline input { flex: 1; min-width: 0; }
.free-ship { background: color-mix(in srgb, var(--text) 5%, var(--bg)); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.free-ship__bar { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--text) 12%, transparent); margin-top: 8px; overflow: hidden; }
.free-ship__bar span { display: block; height: 100%; background: var(--accent); transition: width .4s; }

/* ----------------------------------------------------------------- checkout, account, misc pages */
.checkout-page { background: #fff; color: #121212; }
.checkout-header { border-bottom: 1px solid rgba(0,0,0,.08); }
.checkout-header .container { display: flex; justify-content: space-between; align-items: center; min-height: 70px; }
.checkout-header .logo { font-family: var(--font-heading); font-weight: 700; font-size: 22px; text-decoration: none; }
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 0; padding: 0 20px; max-width: 1180px; }
.checkout-main { padding-block: 32px 48px; padding-inline: 0 40px; }
.checkout-summary { background: #f7f7f7; padding: 32px; border-inline-start: 1px solid rgba(0,0,0,.08); min-height: calc(100vh - 70px); }
.checkout-block { margin-bottom: 28px; }
.checkout-block h2 { font-size: 20px; }
.checkout-page .btn { background: var(--btn, #111); color: var(--btn-text, #fff); }
.choice-list { border: 1px solid rgba(0,0,0,.15); border-radius: 8px; overflow: hidden; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.choice + .choice { border-top: 1px solid rgba(0,0,0,.1); }
.choice:has(input:checked) { background: rgba(0,0,0,.03); }
.choice__body { flex: 1; display: flex; flex-direction: column; }
.choice__body small { margin-top: 2px; }
.delivery-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-toggle__opt { position: relative; cursor: pointer; }
.delivery-toggle__opt input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-toggle__opt span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 10px 8px; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.delivery-toggle__opt input:checked + span { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; background: rgba(0,0,0,.03); }
.delivery-toggle__opt input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }
.summary-line { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.summary-line__img { position: relative; width: 60px; height: 60px; border-radius: 8px; border: 1px solid rgba(0,0,0,.1); background: #fff; flex: 0 0 auto; }
.summary-line__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.summary-line__img b { position: absolute; top: -8px; inset-inline-end: -8px; background: #666; color: #fff; font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; }
.summary-line__title { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.thank-you { text-align: center; }
.thank-you .card { text-align: start; }
.thank-you__check { width: 64px; height: 64px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 30px; margin: 0 auto 12px; }
.card { border: 1px solid var(--border, rgba(0,0,0,.1)); border-radius: 12px; padding: 20px; margin: 16px 0; display: block; text-decoration: none; }
.note { background: #fff8e6; color: #5c4400; border-radius: 8px; padding: 12px; margin-top: 8px; }
.order-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; counter-reset: step; }
@media (max-width: 560px) { .order-steps__step { font-size: 12px; } }
.order-steps__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; opacity: .55; }
.order-steps__step::before { content: ""; position: absolute; top: 13px; inset-inline-end: 50%; width: 100%; height: 2px; background: rgba(0,0,0,.12); z-index: 0; }
.order-steps__step:first-child::before { display: none; }
.order-steps__step.is-done, .order-steps__step.is-current { opacity: 1; }
.order-steps__step.is-done::before, .order-steps__step.is-current::before { background: var(--accent, #111); }
.order-steps__dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(0,0,0,.2); background: var(--bg, #fff); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.order-steps__step.is-done .order-steps__dot { background: var(--accent, #111); border-color: var(--accent, #111); color: var(--accent-text, #fff); }
.order-steps__step.is-current .order-steps__dot { border-color: var(--accent, #111); box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.order-steps__step.is-current .order-steps__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent, #111); }
.order-steps__label { display: flex; flex-direction: column; font-weight: 600; }
.order-steps__label small { font-weight: 400; }
.order-shipment { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border, rgba(0,0,0,.1)); font-size: 14px; }
@media (max-width: 520px) { .order-steps__step { font-size: 12px; } }
.track-order h1 { margin-bottom: 6px; }
.order-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; }
.account-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; }
.auth-box { max-width: 460px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.password-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.password-box { background: var(--bg, #fff); padding: 40px; border-radius: 16px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.08); }

/* ----------------------------------------------------------------- footer */
.site-footer { font-size: 15px; padding-top: 8px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 40px 32px; }
.footer__grid--1 { grid-template-columns: 1fr; } .footer__grid--2 { grid-template-columns: 1fr 1fr; } .footer__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer__heading { font-size: 16px; margin-bottom: 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a, .footer__social a { text-decoration: none; opacity: .8; }
.footer__links a:hover, .footer__social a:hover { opacity: 1; text-decoration: underline; }
.footer__block .rte { opacity: .85; }
.footer__block--newsletter .inline-form { max-width: 380px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 20px; border-top: 1px solid var(--border); font-size: 13px; }
.footer__bottom .payment-icons span { border-color: currentColor; opacity: .7; }
.powered { opacity: .6; }

/* ----------------------------------------------------------------- floating widgets */
.whatsapp-float { position: fixed; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-end { inset-inline-end: 20px; } .whatsapp-start { inset-inline-start: 20px; }
.popup { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.5) !important; }
.popup-box { background: var(--bg); color: var(--text); border-radius: 16px; max-width: 720px; width: 100%; position: relative; display: flex; overflow: hidden; animation: pop-in .3s; }
@keyframes pop-in { from { opacity: 0; transform: scale(.95); } }
.popup-media { flex: 0 0 44%; background: center / cover no-repeat; min-height: 320px; }
.popup-content { padding: 40px 32px; flex: 1; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.popup-box:not(:has(.popup-media)) { max-width: 460px; }
.popup-close { position: absolute; top: 10px; inset-inline-end: 10px; background: var(--bg); border: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; z-index: 1; }
.popup-content .inline-form { margin-top: 12px; }
.popup-code { margin-top: 14px; font-size: 18px; padding: 10px; border: 1.5px dashed currentColor; border-radius: 8px; }
.social-proof { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 44; display: flex; align-items: center; gap: 12px; max-width: 340px; padding: 10px 14px 10px 10px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.16); font-size: 13px; line-height: 1.4; animation: slide-up .4s; text-decoration: none; }
.social-proof img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.social-proof b { display: block; font-size: 14px; }
@keyframes slide-up { from { opacity: 0; transform: translateY(16px); } }

/* ----------------------------------------------------------------- niche features */
/* dialogs (size guide) */
.modal { border: 0; padding: 0; border-radius: calc(var(--media-radius) + 6px); width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.modal::backdrop { background: rgba(0,0,0,.5); }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); }
.modal__head .h3 { margin: 0; }
.modal__body { padding: 20px; display: grid; gap: 14px; }
.size-guide__open { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.size-guide__img { border-radius: var(--media-radius); max-height: 320px; width: auto; margin-inline: auto; }
.table-scroll { overflow-x: auto; }
.size-table, .specs-table, .hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: center; white-space: nowrap; }
.size-table thead th { background: color-mix(in srgb, var(--text) 6%, var(--bg)); font-weight: 700; }
.size-table tbody th { text-align: start; font-weight: 700; }
.size-table tbody tr:hover { background: color-mix(in srgb, var(--btn) 6%, var(--bg)); }
.specs .h4 { margin-bottom: 8px; }
.specs-table th, .specs-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.specs-table th { width: 42%; font-weight: 600; color: color-mix(in srgb, var(--text) 75%, transparent); background: color-mix(in srgb, var(--text) 3%, var(--bg)); }
.btn-whatsapp { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
.btn-whatsapp:hover { background: #1fb957 !important; }
.delivery-estimate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 12px 14px; border-radius: var(--media-radius); background: color-mix(in srgb, var(--btn) 7%, var(--bg)); font-size: 14px; }
.delivery-estimate b { font-weight: 700; }
.delivery-estimate small { flex-basis: 100%; padding-inline-start: 32px; color: var(--accent); font-weight: 600; }
.delivery-estimate small:empty { display: none; }

/* product cards: colour dots, menu list */
.card-swatches { display: flex; gap: 5px; margin-top: 2px; }
.card-swatches i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.card-align-center .card-swatches { justify-content: center; }
.product-card__excerpt { margin: 0; font-size: 13px; color: color-mix(in srgb, var(--text) 65%, transparent); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-menu .product-grid:not(.is-carousel) { grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr)); gap: 0 calc(var(--grid-gap) * 2); }
.card-menu .product-card { flex-direction: row; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.card-menu .product-card__media { flex: 0 0 104px; margin: 0; aspect-ratio: 1; height: auto; }
.card-menu .product-card__info { gap: 3px; }
.card-menu .product-card__info .price { font-size: 16px; }
.card-menu .product-card .btn-block { width: auto; align-self: flex-start; }
.card-menu .badges { top: 6px; inset-inline-start: 6px; }
.card-menu .badge { font-size: 10px; padding: 2px 6px; }

/* option filters */
.filter__values { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.filter-chip input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 34px; padding: 0 10px; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: var(--btn-radius); font-size: 13px; cursor: pointer; }
.filter-chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-chip--color span { width: 30px; min-width: 30px; height: 30px; padding: 0; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); border: 0; }
.filter-chip--color input:checked + span { outline: 2px solid var(--text); outline-offset: 2px; background: var(--swatch); }

/* collection tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs.align-center { justify-content: center; }
.tabs.align-end { justify-content: flex-end; }
.tabs__btn { border: 1px solid var(--border); background: none; color: inherit; font: inherit; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: .15s; }
.tabs__btn.is-active { background: var(--btn); color: var(--btn-text); border-color: var(--btn); }
.tabs--underline { gap: 22px; border-bottom: 1px solid var(--border); }
.tabs--underline .tabs__btn { border: 0; border-radius: 0; padding: 10px 2px; border-bottom: 2px solid transparent; margin-bottom: -1px; opacity: .65; }
.tabs--underline .tabs__btn.is-active { background: none; color: inherit; border-bottom-color: currentColor; opacity: 1; }
.tabs__panel { animation: fade-in .3s; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } }

/* shop the look */
.look { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.look--end .look__media { order: 2; }
.look__media { position: relative; border-radius: var(--media-radius); overflow: hidden; }
.look__media img { width: 100%; height: auto; }
.look__media .placeholder-svg { position: static; display: block; aspect-ratio: 4 / 5; }
.look__dot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: #111; font-weight: 700; font-size: 13px; cursor: pointer; box-shadow: 0 0 0 6px rgba(255,255,255,.35); animation: dot-pulse 2s infinite; }
.look__dot.is-active { background: var(--btn); color: var(--btn-text); }
@keyframes dot-pulse { 50% { box-shadow: 0 0 0 11px rgba(255,255,255,.12); } }
.look__items { display: grid; gap: 10px; margin-top: 18px; }
.look__item { display: grid; grid-template-columns: 26px 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: var(--media-radius); border: 1px solid var(--border); transition: .2s; }
.look__item.is-active { border-color: var(--text); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.look__num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 8%, var(--bg)); font-size: 12px; font-weight: 700; }
.look__title { text-decoration: none; font-weight: 600; display: block; }
.look__add { border: 1px solid var(--border); }

/* shop by size / colour */
.option-finder__values { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.option-finder__value { display: inline-flex; align-items: center; gap: 8px; min-width: 56px; justify-content: center; padding: 12px 18px; border: 1.5px solid var(--border); border-radius: var(--btn-radius); text-decoration: none; font-weight: 700; font-size: 16px; transition: .15s; }
.option-finder__value:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.option-finder--squares .option-finder__value { width: 76px; height: 76px; padding: 0; border-radius: var(--media-radius); font-size: 20px; }
.option-finder__value i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }

/* before / after */
.before-after--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.before-after--stacked .before-after__text { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.compare { position: relative; overflow: hidden; border-radius: var(--media-radius); aspect-ratio: 4 / 3; user-select: none; background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
[dir="rtl"] .compare__before { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
[dir="rtl"] .compare__handle { left: auto; right: var(--pos); transform: translateX(1px); }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.compare__handle .icon:first-child { transform: rotate(180deg); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__label { position: absolute; top: 14px; z-index: 1; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.compare__label--before { inset-inline-start: 14px; }
.compare__label--after { inset-inline-end: 14px; }

/* store location & hours */
.store-info.has-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: stretch; }
.store-info__list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.store-info__list li { display: flex; gap: 12px; align-items: flex-start; }
.store-info__list a { text-decoration: none; font-weight: 600; }
.store-info .h4 { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.hours-table { margin-bottom: 18px; }
.hours-table th, .hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--border); text-align: start; }
.hours-table td { text-align: end; font-variant-numeric: tabular-nums; }
.store-info__map { min-height: 340px; border-radius: var(--media-radius); overflow: hidden; }
.store-info__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* numbered steps */
.multicolumn__step { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: var(--btn-text); font-size: 22px; font-weight: 800; font-family: var(--font-heading); }
.multicolumn--numbered .multicolumn__item { position: relative; }
.multicolumn--numbered .multicolumn__icon { display: none; }

@media (max-width: 989px) {
  .look, .before-after--split, .store-info.has-map { grid-template-columns: minmax(0, 1fr); }
  .look--end .look__media { order: 0; }
}
@media (max-width: 749px) {
  .card-menu .product-grid:not(.is-carousel) { grid-template-columns: minmax(0, 1fr); }
  .card-menu .product-card__media { flex-basis: 84px; }
  .look__item { grid-template-columns: 22px 52px minmax(0, 1fr) auto; gap: 8px; }
}

/* ----------------------------------------------------------------- theme editor preview */
.is-editor [data-section-id] { position: relative; }
.is-editor [data-section-id].is-editor-hover { outline: 2px dashed #2c6ecb; outline-offset: -2px; }
.is-editor [data-section-id].is-editor-selected { outline: 2px solid #2c6ecb; outline-offset: -2px; }
.is-editor [data-block-id].is-editor-selected { outline: 1.5px solid #2c6ecb; outline-offset: 3px; }
.is-editor .sf-empty { min-height: 60px; background: repeating-linear-gradient(135deg, #f6f6f7 0 10px, #eee 10px 11px); }

/* ----------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .product-grid:not(.is-carousel) { grid-template-columns: repeat(min(var(--cols, 4), 3), minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 989px) {
  .header__nav, .header__inner > .header__search, .header__side > .header__search { display: none; }
  .header__burger { display: inline-flex; }
  .header--logo-start .header__inner { display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; }
  .header--logo-start .header__logo { justify-self: center; }
  .header--logo-start .header__inner > .header__burger { justify-self: start; }
  .header__inner { min-height: 64px; gap: 8px; }
  .header__logo-text { font-size: 20px; overflow: hidden; text-overflow: ellipsis; }
  .header__logo img { max-height: 52px; }
  .header__below { display: none; }
  .product, .product--small, .product--large, .featured-product, .image-text, .image-text.width-third, .image-text.width-two-thirds,
  .newsletter--split, .faq--split, .reviews, .collection-banner.has-image, .cart-layout, .checkout, .account-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .product__media, .product__info.is-sticky, .collection__sidebar { position: static; }
  .product.media-end .product__media, .featured-product.media-end .featured-product__media, .image-text--end .image-text__media { order: 0; }
  .gallery-thumbnails-side { grid-template-columns: 1fr; }
  .gallery-thumbnails-side .product__thumbs { order: 0; flex-direction: row; }
  .image-text.is-overlap .image-text__box { margin: -40px 16px 0 !important; }
  .collection__sidebar { display: none; }
  .collection__filter-toggle { display: inline-flex; }
  .collection__mobile-filters { border: 1px solid var(--border); border-radius: var(--media-radius); padding: 14px 16px; margin-bottom: 18px; }
  .multicolumn:not(.mobile-scroll) { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
  .testimonials:not(.is-carousel), .collection-list:not(.mobile-scroll) { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
  .gallery:not(.gallery--masonry) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--masonry { columns: 2; }
  .checkout-main { padding: 24px 0; }
  .checkout-summary { min-height: 0; border: 0; order: -1; border-radius: 12px; margin-top: 16px; }
  .product-grid.is-carousel, .testimonials.is-carousel { grid-auto-columns: 42%; }
}
@media (max-width: 749px) {
  .page-width, .container { padding-inline: 16px; }
  .sf-section { padding-top: calc(var(--pt, 0px) * .75); padding-bottom: calc(var(--pb, 0px) * .75); }
  .product-grid:not(.is-carousel) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .product-grid.mobile-cols-1:not(.is-carousel) { grid-template-columns: minmax(0, 1fr); }
  .product-grid.is-carousel, .testimonials.is-carousel { grid-auto-columns: 72%; }
  .mobile-scroll { display: grid; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .mobile-scroll.multicolumn { grid-auto-columns: 78%; }
  .mobile-scroll > * { scroll-snap-align: start; }
  .multicolumn:not(.mobile-scroll), .testimonials:not(.is-carousel) { grid-template-columns: minmax(0, 1fr); }
  .collection-list:not(.mobile-scroll) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--collage .gallery__item:nth-child(5n+1) { grid-column: span 2; grid-row: auto; aspect-ratio: 1; }
  .banner--small { min-height: 280px; } .banner--medium { min-height: 380px; } .banner--large { min-height: 480px; }
  .slideshow.banner--small .slide { min-height: 280px; } .slideshow.banner--medium .slide { min-height: 380px; } .slideshow.banner--large .slide { min-height: 480px; }
  .banner.page-width.banner--boxed, .slideshow.page-width.banner--boxed { width: calc(100% - 32px); }
  .banner__box.is-boxed { padding: 24px; }
  .slide-arrow { display: none; }
  .timer__unit { min-width: 66px; }
  .footer__grid, .footer__grid--2, .footer__grid--3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .order-row { grid-template-columns: 1fr 1fr; }
  .popup-media { display: none; }
  .whatsapp-float { bottom: 84px; }
  .social-proof { inset-inline: 12px; bottom: 12px; max-width: none; }
  .collection__toolbar { gap: 10px; }
  .collection__sort .muted { display: none; }
  .reviews { gap: 24px; }
}
@media (min-width: 990px) { [data-sticky-atc] { display: none !important; } }
/* before/after demo with one photo: the "before" side is shown dull */
.compare__before.is-demo img { filter: saturate(.25) brightness(.9) contrast(.9) blur(.4px); }

.powered { display: inline-flex; align-items: center; gap: .35em; }
.powered .ys-logo { height: 1.1em; width: auto; aspect-ratio: 310 / 158; display: inline-block; }

/* ----------------------------------------------------------------- menu: one line + "More", mega menu, category bar */
.header__nav { min-width: 0; }
.header__nav > ul { flex-wrap: nowrap; }
.header__nav > ul > li { flex: none; white-space: nowrap; }
.header__nav > ul > li.is-overflow, .header__nav .nav-more[hidden] { display: none; }
.nav-more > .dropdown { inset-inline-start: auto; inset-inline-end: -16px; max-height: min(70vh, 520px); overflow-y: auto; }
.nav-more .is-sub a { padding-inline-start: 14px; font-size: .92em; opacity: .75; }
.dropdown--cols { columns: var(--cols); column-gap: 32px; min-width: calc(var(--cols) * 190px); max-height: min(70vh, 560px); overflow-y: auto; }
.dropdown--cols li { break-inside: avoid; }
.header__nav > ul > li.has-mega { position: static; }
.mega { position: absolute; inset-inline: 0; top: 100%; z-index: 5; background: var(--bg); color: var(--text); border-top: 1px solid var(--border); box-shadow: 0 18px 40px rgba(0,0,0,.12);
  max-height: calc(100vh - var(--header-h, 76px) - 24px); overflow-y: auto; white-space: normal;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s linear .25s; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { padding-block: 22px 26px; }
.mega__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mega__title { font-family: var(--font-heading); font-weight: var(--heading-weight, 700); font-size: 18px; }
.header__nav .mega__link, .header__nav .mega__all { display: inline-flex; align-items: center; gap: 4px; padding: 0; font-weight: 600; }
.header__nav .mega__all { margin-top: 18px; }
[dir="rtl"] .mega__link .icon, [dir="rtl"] .mega__all .icon { transform: scaleX(-1); }
.header__nav .mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 28px; }
.header__nav .mega__grid a { padding: 8px 0; font-weight: 400; }
.header__nav .mega__grid a:hover .mega__name { text-decoration: underline; text-underline-offset: 4px; }
.header__nav .mega__grid--images { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px; }
.header__nav .mega__grid--images a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0; }
.mega__img { width: 100%; aspect-ratio: 1; border-radius: var(--card-radius, 12px); overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mega__grid--images a:hover img { transform: scale(1.05); }
.mega__img > span, .cat-chip__img > span, .drawer__cat-img > span { font-weight: 700; opacity: .55; }
.mega__img > span { font-size: 30px; }
.mega__name { line-height: 1.35; overflow-wrap: anywhere; }
.cat-bar { border-top: 1px solid var(--border); }
.cat-bar__inner { position: relative; display: flex; align-items: center; }
.cat-bar__list { list-style: none; margin: 0; padding: 10px 2px; display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.cat-bar__list::-webkit-scrollbar { display: none; }
.cat-bar__list > li { flex: none; scroll-snap-align: start; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 7px 15px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s; }
.cat-chip:hover { border-color: currentColor; }
.cat-chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.cat-chip--all { font-weight: 600; }
.cat-bar--images .cat-chip:has(.cat-chip__img) { padding-inline-start: 5px; }
.cat-chip__img { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; font-size: 12px; background: color-mix(in srgb, var(--text) 8%, var(--bg)); }
.cat-chip__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-bar__arrow { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); box-shadow: 0 2px 10px rgba(0,0,0,.12); display: grid; place-items: center; cursor: pointer; }
.cat-bar__arrow[hidden] { display: none; }
.cat-bar__arrow--prev { inset-inline-start: 0; }
.cat-bar__arrow--next { inset-inline-end: 0; }
.cat-bar__arrow--prev .icon, [dir="rtl"] .cat-bar__arrow--next .icon { transform: scaleX(-1); }
[dir="rtl"] .cat-bar__arrow--prev .icon { transform: none; }
.drawer__menu .drawer__cats a { justify-content: flex-start; gap: 12px; }
.drawer__cat-img { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex: none; display: grid; place-items: center; font-size: 14px; background: color-mix(in srgb, var(--text) 7%, var(--bg)); }
.drawer__cat-img img { width: 100%; height: 100%; object-fit: cover; }
.drawer__menu .drawer__cats-all { font-weight: 600; opacity: 1; }
@media (hover: none) { .cat-bar__arrow { display: none !important; } }
@media (max-width: 749px) { .cat-chip { padding: 6px 12px; font-size: 13px; } .cat-bar__list { padding-block: 8px; } }
.cat-page__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.cat-page__head h1 { margin: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 18px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; }
.cat-card__img { width: 100%; aspect-ratio: 1; border-radius: var(--card-radius, 12px); overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__img > span { font-size: 42px; font-weight: 700; opacity: .5; }
.cat-card__img--all { background: var(--text); color: var(--bg); }
.cat-card__title { font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.cat-card:hover .cat-card__title { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 749px) { .cat-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px 12px; } .cat-card__img > span { font-size: 32px; } }

/* ----------------------------------------------------------------- predictive search */
.has-predictive { position: relative; }
.predictive { position: absolute; top: calc(100% + 6px); inset-inline: 0; z-index: 80; min-width: min(360px, 92vw); max-height: min(70vh, 520px); overflow-y: auto; background: var(--bg, #fff); color: var(--text, #111); border: 1px solid var(--border, rgba(0,0,0,.1)); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 6px; text-align: start; }
.predictive__head { font-size: 12px; font-weight: 600; opacity: .6; padding: 8px 10px 4px; }
.predictive a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 14px; }
.predictive a:hover, .predictive a:focus { background: rgba(0,0,0,.05); outline: none; }
.predictive__item img, .predictive__noimg { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; background: rgba(0,0,0,.05); }
.predictive__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.predictive__price { white-space: nowrap; font-weight: 600; }
.predictive__price s { font-weight: 400; opacity: .55; }
.predictive__all { justify-content: center; font-weight: 600; border-top: 1px solid var(--border, rgba(0,0,0,.1)); margin-top: 4px; border-radius: 0 0 8px 8px !important; }
.search-tips { margin: 12px 0 0; padding-inline-start: 20px; display: grid; gap: 4px; }

/* ----------------------------------------------------------------- wishlist & back in stock */
.wish-btn { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .15s; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn svg, .wish-toggle svg, .wish-link svg { fill: none; transition: fill .15s; }
.wish-btn.is-on svg, .wish-toggle.is-on svg, .wish-link:has([data-wish-count]:not([hidden])) svg { fill: #e0245e; stroke: #e0245e; }
.wish-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.wish-link { position: relative; }
.wishlist-empty { text-align: center; padding: 48px 0; display: grid; justify-items: center; gap: 12px; opacity: .85; }
.notify-me { margin-top: 12px; padding: 14px; border: 1px dashed var(--border, rgba(0,0,0,.2)); border-radius: 10px; }
.notify-me__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; }
.notify-me .inline-form input { flex: 1; min-width: 0; }
.badge-end .wish-btn { inset-inline-end: auto; inset-inline-start: 10px; }
.card-overlay .wish-btn { top: 58px; }

/* Phones: account and language live in the side menu, so the header keeps room for the logo */
@media (max-width: 749px) {
  .header__icons .lang-btn, .header__icons .account-btn { display: none; }
  .header__icons .icon-btn { width: 38px; }
}
