/* Bazaar - brand colours and fonts come from the store's settings through the platform's CSS variables. */
:root {
  --bazaar-brand: var(--color-brand, #f08804);
  --bazaar-brand-dark: var(--color-brand-dark, var(--bazaar-brand));
  /* The dark masthead takes a hint of the store's colour. */
  --bazaar-head: color-mix(in srgb, var(--bazaar-brand-dark) 10%, #131921);
  --bazaar-head-2: color-mix(in srgb, var(--bazaar-brand-dark) 12%, #232f3e);
  --bazaar-head-text: #fff;
  /* The --dm-* variables exist only when the store turns on dark mode. */
  --bazaar-bg: var(--dm-bg, color-mix(in srgb, var(--color-background, #fff) 97%, #6b6b6b));
  --bazaar-card: var(--dm-surface, #fff);
  --bazaar-card-2: var(--dm-surface-raised, #fff);
  --bazaar-text: var(--dm-text, #111418);
  --bazaar-muted: var(--dm-text-muted, #6b7280);
  --bazaar-border: var(--dm-border, #ebebeb);
  --bazaar-photo: var(--dm-surface-raised, #fff);
  --bazaar-sale: #e10600;
  --bazaar-success: #1f8a4c;
  --bazaar-radius: 10px;
  --bazaar-radius-sm: 6px;
  --bazaar-shadow: 0 1px 3px rgb(16 24 40 / .06);
  --bazaar-shadow-lg: 0 18px 44px rgb(16 24 40 / .16);
  --bazaar-wrap: 1340px;
}

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

.wrap { width: min(100% - 32px, var(--bazaar-wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }
.wrap--product { max-width: 1200px; }
.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(--bazaar-text); color: var(--bazaar-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 { 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 24px; border: 1.5px solid transparent; border-radius: 8px;
  background: var(--color-primary-btn, var(--bazaar-brand)); color: var(--color-primary-btn-font, #fff);
  font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--color-primary-btn-hover, var(--bazaar-brand-dark)); color: var(--color-primary-btn-hover-font, #fff); }
.button--outline { background: transparent; color: var(--bazaar-text); border-color: var(--color-primary-btn, var(--bazaar-brand)); }
.button--outline:hover { background: var(--color-primary-btn, var(--bazaar-brand)); color: var(--color-primary-btn-font, #fff); }
.button--dark { background: var(--bazaar-head); color: #fff; }
.button--dark:hover { background: color-mix(in srgb, var(--bazaar-head) 80%, #fff); color: #fff; }
.button--block { width: 100%; }
.button[disabled] { opacity: .5; cursor: not-allowed; }

/* Header: top bar */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--bazaar-head-text); transition: box-shadow .25s; }
.topbar { background: var(--bazaar-head-2); color: var(--bazaar-head-text); font-size: 13px; }
/* Scrolled down: one slim bar - the category row folds away and the burger menu opens it instead. */
.site-header.is-compact { box-shadow: 0 8px 24px rgb(0 0 0 / .18); }
.site-header.is-compact .navbar { display: none; }
.site-header.is-compact .drawer { display: block; margin-inline-start: -10px; }
.site-header.is-compact .masthead__inner { padding-block: 6px; }
.site-header.is-compact .site-logo img { height: 44px; }
@media (min-width: 1000px) { .site-header.is-compact .masthead { animation: bazaar-header-in .3s ease; } }
@keyframes bazaar-header-in { from { transform: translateY(-100%); } }
.topbar__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 36px; }
.topbar__social { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; opacity: .9; }
.topbar__social a:hover { opacity: 1; background: rgb(255 255 255 / .1); }
.announcement { margin: 0; padding-block: 7px; font-weight: 600; text-align: center; }
.announcement a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announcement--image img { width: 100%; height: auto; max-height: 90px; object-fit: cover; }
.topbar__end { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.topbar__links { display: flex; gap: 14px; }
.topbar__links a, .contact-bar a { opacity: .92; white-space: nowrap; }
.topbar__links a:hover, .contact-bar a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.contact-bar { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-bar a { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 999px) {
  .topbar__inner { grid-template-columns: 1fr; }
  .topbar__start, .topbar__end { display: none; }
  .topbar--bare { display: none; }
}

/* Header: logo, search and actions */
.masthead { background: var(--bazaar-head); }
.masthead__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-block: 10px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
/* A fixed height (not auto) so SVG logos without their own size still render; the width follows the logo's shape. */
.site-logo img { width: auto; height: 56px; max-width: 190px; object-fit: contain; object-position: left center; }
[dir="rtl"] .site-logo img { object-position: right center; }
.search-bar { display: flex; flex: 1 1 320px; align-items: center; max-width: 560px; height: 44px; padding-inline: 18px 6px; border-radius: 999px; background: rgb(255 255 255 / .09); transition: background .2s, box-shadow .2s; }
.search-bar:focus-within { background: rgb(255 255 255 / .14); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bazaar-brand) 70%, transparent); }
.search-bar input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: #fff; font-size: 14px; outline: none; }
.search-bar input::placeholder { color: rgb(255 255 255 / .75); }
.search-bar input::-webkit-search-cancel-button { filter: invert(1); }
.search-bar button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.search-bar button:hover { background: rgb(255 255 255 / .12); }
.masthead__actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; list-style: none; }
.icon-button::-webkit-details-marker { display: none; }
.icon-button:hover { background: rgb(255 255 255 / .1); }
.cart-link__count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--bazaar-brand); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--bazaar-head); }
.language-link { padding: 6px 12px; border: 1px solid rgb(255 255 255 / .3); border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.language-link:hover { background: rgb(255 255 255 / .1); }
.drawer { display: none; }
@media (max-width: 999px) {
  .masthead__inner { gap: 8px; padding-block: 8px 12px; }
  .drawer { display: block; margin-inline-start: -10px; }
  .site-logo img { height: 46px; max-width: 150px; }
  .search-bar { order: 5; flex-basis: 100%; max-width: none; height: 46px; }
  .masthead__actions .language-link { display: none; }
}

/* Header: category bar */
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 10px; }
.navbar__links { display: flex; align-items: center; gap: 4px 24px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.navbar__links > a, .navbar__more summary { display: inline-flex; align-items: center; gap: 4px; padding-block: 6px; white-space: nowrap; }
.navbar__links > a:hover, .navbar__more summary:hover { color: color-mix(in srgb, var(--bazaar-brand) 55%, #fff); }
.navbar__more { position: relative; }
.navbar__more summary { list-style: none; cursor: pointer; }
.navbar__more summary::-webkit-details-marker { display: none; }
.navbar__more[open] summary .icon { transform: rotate(180deg); }
.navbar__menu { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; z-index: 60; display: grid; min-width: 220px; max-height: 60vh; overflow-y: auto; padding: 8px; border-radius: var(--bazaar-radius); background: var(--bazaar-card-2); color: var(--bazaar-text); box-shadow: var(--bazaar-shadow-lg); }
.navbar__menu a { padding: 9px 12px; border-radius: 6px; font-weight: 500; }
.navbar__menu a:hover { background: var(--bazaar-bg); }
.navbar__offers { flex-shrink: 0; padding: 8px 20px; border-radius: 6px; background: var(--bazaar-sale); color: #fff; font-size: 14px; font-weight: 700; }
.navbar__offers:hover { background: color-mix(in srgb, var(--bazaar-sale) 85%, #000); }
@media (max-width: 999px) { .navbar { display: none; } }

/* 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(--bazaar-card-2); color: var(--bazaar-text); box-shadow: var(--bazaar-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; background: var(--bazaar-head); color: #fff; }
.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(--bazaar-bg); }
.drawer__nav > .drawer__offers { color: var(--bazaar-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(--bazaar-muted); font-size: 15px; }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding: 16px; border-top: 1px solid var(--bazaar-border); }
.drawer__foot a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--bazaar-border); border-radius: 999px; font-size: 14px; font-weight: 600; }

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

/* Sections */
.section { padding-block: clamp(22px, 3.5vw, 40px); }
.section--compact { padding-block: 20px clamp(32px, 5vw, 56px); }
.section--tinted { background: var(--bazaar-card); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title h2 { margin: 0; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.55rem); }
.section-title--centered { justify-content: center; text-align: center; }
.section-title--stacked { display: block; }
.section-title--stacked p { margin: 4px 0 0; color: var(--bazaar-muted); font-size: 13.5px; }
.section-title__link { padding-bottom: 2px; border-bottom: 1.5px solid currentColor; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.section-title__link:hover { color: var(--bazaar-brand); }
.section__more { display: flex; justify-content: center; margin-top: 22px; }
.pill-link { padding: 8px 18px; border-radius: 999px; background: var(--bazaar-card-2); box-shadow: var(--bazaar-shadow); font-size: 14px; font-weight: 600; }
.pill-link:hover { background: var(--bazaar-head); color: #fff; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 64px 16px; text-align: center; color: var(--bazaar-muted); }
.page-header { padding-block: clamp(24px, 4vw, 44px) 8px; }
.page-header h1 { margin-bottom: 6px; }
.page-header p, .page-header__meta { color: var(--bazaar-muted); max-width: 70ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-bottom: 22px; font-size: 13.5px; }
.breadcrumbs > * + *::before { content: ""; display: inline-block; width: 1px; height: 14px; margin-inline: 12px; vertical-align: -2px; background: var(--bazaar-border); }
.breadcrumbs a:hover { color: var(--bazaar-brand); }
.breadcrumbs [aria-current] { color: var(--bazaar-muted); }

/* Category icons */
.category-icons { padding-block: 22px 8px; }
.category-icons__list { display: flex; gap: 8px; margin: 0; padding: 0 0 6px; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scrollbar-width: none; }
.category-icons__list::-webkit-scrollbar { display: none; }
.category-icons__list li { flex: 1 0 104px; scroll-snap-align: start; }
.category-icon { display: grid; justify-items: center; gap: 10px; padding: 4px; text-align: center; }
.category-icon__image { display: grid; place-items: center; width: 72px; height: 72px; overflow: hidden; border-radius: 50%; background: var(--bazaar-card-2); box-shadow: 0 2px 10px rgb(16 24 40 / .1); transition: transform .25s, box-shadow .25s; }
.category-icon__image img { width: 100%; height: 100%; object-fit: cover; }
.category-icon:hover .category-icon__image { transform: translateY(-3px); box-shadow: 0 8px 18px rgb(16 24 40 / .14); }
.category-icon__initial { color: var(--bazaar-brand); font-size: 1.6rem; font-weight: 800; }
.category-icon__name { font-size: 14px; font-weight: 700; line-height: 1.3; }
@media (max-width: 767px) {
  .category-icons__list li { flex: 0 0 96px; }
  .category-icon__image { width: 64px; height: 64px; }
  .category-icon__name { font-size: 13.5px; }
}

/* Hero and sliders */
.hero { padding-top: clamp(12px, 2.5vw, 30px); }
.hero__frame, .banners--slider { position: relative; overflow: hidden; border-radius: var(--bazaar-radius); background: var(--bazaar-card); }
.hero__track, .banners__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar, .banners__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; scroll-snap-align: start; }
.hero__media { width: 100%; aspect-ratio: 2.1 / 1; object-fit: cover; }
@media (max-width: 640px) { .hero__media { aspect-ratio: 16 / 10; } }
.hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: clamp(20px, 6vw, 72px); color: var(--bazaar-text); background: linear-gradient(to right, rgb(255 255 255 / .92), rgb(255 255 255 / .55) 45%, transparent 70%); }
[dir="rtl"] .hero__content { background: linear-gradient(to left, rgb(255 255 255 / .92), rgb(255 255 255 / .55) 45%, transparent 70%); }
.hero__title { max-width: 14ch; font-size: clamp(1.6rem, 1rem + 3vw, 3.4rem); line-height: 1.1; }
.hero__title::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 16px; background: var(--bazaar-brand); }
.hero__content p { max-width: 36ch; font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); }
.hero__link { position: absolute; inset: 0; }
.slider-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: #111; box-shadow: var(--bazaar-shadow-lg); opacity: 0; transition: opacity .2s; }
.hero__frame:hover .slider-arrow, .banners--slider:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.slider-arrow--prev { inset-inline-start: 16px; }
.slider-arrow--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .slider-arrow--prev .icon { transform: none; }
.slider-arrow--next { inset-inline-end: 16px; }
@media (hover: none) { .slider-arrow { display: none; } }
.slider-dots { position: absolute; inset-inline: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.slider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgb(0 0 0 / .25); transition: width .25s, background .25s; }
.slider-dots button[aria-current="true"] { width: 22px; background: #111; }

/* Ad banners */
.section--banners { padding-block: clamp(14px, 2.5vw, 28px); }
.banners { display: grid; gap: 16px; }
.banner { position: relative; overflow: hidden; border-radius: var(--bazaar-radius); background: var(--bazaar-card); scroll-snap-align: start; }
.banner__link { position: relative; display: block; }
.banner__media { width: 100%; height: auto; object-fit: cover; }
.banner__media--mobile { display: none; }
@media (max-width: 767px) { .banner__media--mobile { display: block; } .banner__media--desktop { display: none; } }
.banner__caption { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 20px 16px; color: #fff; background: linear-gradient(to top, rgb(0 0 0 / .55), transparent); pointer-events: none; }
.banner__caption h3 { margin: 0; font-size: clamp(1rem, .9rem + .4vw, 1.3rem); }
.banners--slider .banner { border-radius: 0; }

/* Why shop: a scrolling strip */
.marquee { overflow: hidden; margin-block: clamp(10px, 2vw, 20px); padding-block: 14px; border-bottom: 1px solid var(--bazaar-border); background-size: cover; background-position: center; }
.marquee__track { display: flex; width: max-content; animation: bazaar-marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
[dir="rtl"] .marquee__track { animation-name: bazaar-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(--bazaar-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 bazaar-marquee { to { transform: translateX(-50%); } }
@keyframes bazaar-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(--bazaar-border); border-radius: var(--bazaar-radius); background: var(--bazaar-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(--bazaar-border); }
.step__icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border: 1.5px solid color-mix(in srgb, var(--bazaar-brand) 55%, transparent); border-radius: 50%; color: var(--bazaar-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; }
}

/* Tabs */
.tabs { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__tab { flex-shrink: 0; padding: 8px 8px 7px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--bazaar-muted); font-size: 15px; font-weight: 500; white-space: nowrap; }
.tabs__tab:hover { color: var(--bazaar-text); }
.tabs__tab[aria-selected="true"] { border-color: var(--bazaar-text); color: var(--bazaar-text); font-weight: 700; }
.tabs__panel { animation: bazaar-fade .3s ease; }
@keyframes bazaar-fade { from { opacity: 0; transform: translateY(6px); } }

/* Rails: rows that scroll sideways */
.rail { position: relative; }
.rail__track { display: flex; gap: 10px; padding: 2px 2px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: 0 0 clamp(160px, 14.4vw, 205px); scroll-snap-align: start; }
.rail__arrow { position: absolute; top: 38%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--bazaar-border); border-radius: 50%; background: var(--bazaar-card-2); color: var(--bazaar-text); box-shadow: var(--bazaar-shadow-lg); }
.rail__arrow:hover { background: var(--bazaar-head); border-color: var(--bazaar-head); color: #fff; }
.rail__arrow--prev { inset-inline-start: -14px; }
.rail__arrow--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .rail__arrow--prev .icon { transform: none; }
.rail__arrow--next { inset-inline-end: -14px; }
@media (hover: none), (max-width: 767px) { .rail__arrow { display: none !important; } .rail__track > * { flex-basis: 44vw; } }
.rail-cover { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--bazaar-border); border-radius: var(--bazaar-radius-sm); background: var(--bazaar-card); box-shadow: var(--bazaar-shadow); text-align: center; }
.rail-cover__media { display: grid; place-items: center; flex: 1; min-height: 220px; overflow: hidden; background: var(--bazaar-bg); }
.rail-cover__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rail-cover:hover .rail-cover__media img { transform: scale(1.04); }
.rail-cover__initial { color: var(--bazaar-brand); font-size: 3rem; font-weight: 800; }
.rail-cover__title { padding: 14px 10px 8px; font-weight: 700; }
.rail-cover__button { align-self: center; margin-bottom: 14px; padding: 7px 16px; border-radius: 6px; background: var(--bazaar-head); color: #fff; font-size: 13px; font-weight: 700; }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1150px) { .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--bazaar-border); border-radius: var(--bazaar-radius-sm); background: var(--bazaar-card); box-shadow: var(--bazaar-shadow); transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: 0 10px 26px rgb(16 24 40 / .1); transform: translateY(-2px); }
.product-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--bazaar-photo); }
.product-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .6s; }
.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: 8px; inset-inline-start: 8px; z-index: 1; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.5; }
.badge--sale { background: var(--bazaar-sale); color: #fff; }
.badge--muted { top: auto; bottom: 8px; background: rgb(17 20 24 / .8); color: #fff; }
.product-card__body { display: grid; align-content: start; gap: 8px; padding: 12px 10px 14px; }
.product-card__title { display: -webkit-box; min-height: 2.7em; margin: 0; overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card__title a:hover { color: var(--bazaar-brand); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 13.5px; }
.price__current { font-weight: 700; }
.price--sale .price__current { color: var(--bazaar-sale); }
.price__compare { color: var(--bazaar-muted); font-size: .92em; }
.price__soon { color: var(--bazaar-sale); font-weight: 700; }

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

/* Product page */
.product { position: relative; display: grid; gap: 28px; grid-template-areas: "gallery" "info" "details"; }
/* Hover zoom: the lens over the photo and the magnified view over the details column. */
.zoom-lens { position: absolute; z-index: 3; border: 1px solid rgb(0 0 0 / .25); background: rgb(255 255 255 / .35); box-shadow: 0 0 0 1px rgb(255 255 255 / .6) inset; pointer-events: none; }
.zoom-pane { position: absolute; z-index: 20; border: 1px solid var(--bazaar-border); border-radius: var(--bazaar-radius-sm); background-color: var(--bazaar-photo); background-repeat: no-repeat; box-shadow: var(--bazaar-shadow-lg); pointer-events: none; }
.product__main-image.is-zooming { cursor: crosshair; }
.product__main-image.is-zooming .product__arrow, .product__main-image.is-zooming .product__counter { opacity: 0; }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "gallery info" "details info"; gap: 32px 40px; align-items: start; }
  .product__info { position: sticky; top: 92px; }
}
.product__gallery { grid-area: gallery; display: grid; gap: 10px; }
.product__info { grid-area: info; }
.product__details-area { grid-area: details; }
@media (min-width: 960px) { .product__gallery--thumbs { grid-template-columns: 64px minmax(0, 1fr); } .product__thumbs { order: -1; flex-direction: column; max-height: 540px; } }
.product__main-image { position: relative; overflow: hidden; border: 1px solid var(--bazaar-border); border-radius: var(--bazaar-radius-sm); background: var(--bazaar-photo); }
.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%; scroll-snap-align: start; scroll-snap-stop: always; }
.product__slide img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #111; box-shadow: var(--bazaar-shadow-lg); opacity: 0; transition: opacity .2s; }
.product__main-image:hover .product__arrow, .product__arrow:focus-visible { opacity: 1; }
.product__arrow--prev { inset-inline-start: 12px; }
.product__arrow--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .product__arrow--prev .icon { transform: none; }
.product__arrow--next { inset-inline-end: 12px; }
.product__counter { position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 2; 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__counter { display: none; } }
@media (hover: none) { .product__arrow { display: none; } }
.product__thumbs { display: flex; gap: 8px; overflow: auto; scrollbar-width: none; }
.product__thumb { flex: 0 0 64px; padding: 0; border: 1px solid var(--bazaar-border); border-radius: var(--bazaar-radius-sm); overflow: hidden; background: var(--bazaar-photo); transition: border-color .2s; }
.product__thumb.is-active, .product__thumb:hover { border-color: var(--bazaar-text); }
.product__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product__off { display: inline-block; margin-bottom: 10px; padding: 1px 9px; border-radius: 999px; background: var(--bazaar-sale); color: #fff; font-size: 12px; font-weight: 700; }
.product__brand { display: block; color: var(--bazaar-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.product__title { margin: 2px 0 10px; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.product__price { margin-bottom: 14px; }
.product__price .price { font-size: 1.3rem; gap: 2px 12px; }
.product__price .price__current { font-weight: 800; }
.product__summary { margin-bottom: 14px; color: var(--bazaar-muted); font-size: 14.5px; line-height: 1.75; }
.product__form { display: grid; gap: 16px; margin-bottom: 18px; }
.variant-picker { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; }
.variant-picker fieldset, fieldset.variant-picker { margin: 0; padding: 0; border: 0; }
.variant-picker legend { margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.variant-picker__selected { font-weight: 500; }
.variant-picker__values { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-picker__hint { margin: 0; color: var(--bazaar-muted); font-size: 13.5px; }
.variant-picker__hint.is-error { color: var(--bazaar-sale); font-weight: 700; }
.variant-pill input, .swatch input { position: absolute; opacity: 0; pointer-events: none; }
.variant-pill span { display: inline-block; min-width: 46px; padding: 10px 14px; border: 1px solid var(--bazaar-border); border-radius: var(--bazaar-radius-sm); background: var(--bazaar-card); font-size: 13.5px; font-weight: 700; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.variant-pill span:hover { border-color: var(--bazaar-text); }
.variant-pill input:checked + span { border-color: var(--bazaar-head); background: var(--bazaar-head); color: #fff; }
.variant-pill input:focus-visible + span, .swatch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--bazaar-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: 36px; height: 36px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); cursor: pointer; transition: box-shadow .15s; }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 3px var(--bazaar-bg), 0 0 0 4.5px var(--bazaar-text); }
.swatch input:disabled + span { opacity: .35; cursor: not-allowed; }
.swatch input:disabled + span::after { content: ""; position: absolute; inset: 50% -2px auto; height: 2px; background: var(--bazaar-text); transform: rotate(-45deg); }
.product__signals { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; }
.stock { display: inline-flex; align-items: center; gap: 10px; }
.stock::before { content: ""; width: 7px; height: 7px; margin-inline: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.stock--in { color: var(--bazaar-success); }
.stock--out { color: var(--bazaar-sale); }
.product__views { display: inline-flex; align-items: center; gap: 8px; }
.sold { --demand: #f59e0b; display: grid; gap: 6px; padding: 10px 14px; border-radius: var(--bazaar-radius-sm); background: color-mix(in srgb, var(--demand) 11%, var(--bazaar-card)); font-size: 13.5px; font-weight: 700; }
.sold--medium { --demand: #f97316; }
.sold--high { --demand: #dc2626; }
.sold__bar { height: 6px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--demand) 20%, transparent); }
.sold__bar span { display: block; height: 100%; border-radius: inherit; background: var(--demand); }
.product__buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.quantity { display: inline-flex; align-items: center; height: 46px; border: 1.5px solid var(--color-primary-btn, var(--bazaar-brand)); border-radius: 8px; }
.quantity button { display: grid; place-items: center; width: 38px; height: 100%; border: 0; background: transparent; }
.quantity input { width: 40px; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product__more { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.product__more a { text-decoration: underline; text-underline-offset: 3px; }
.product__more a:hover { color: var(--bazaar-brand); }
.share-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.share-buttons > span { margin-inline-end: 4px; }
.share-buttons a, .share-buttons button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--bazaar-border); border-radius: 50%; background: var(--bazaar-card); color: var(--bazaar-text); }
.share-buttons a:hover, .share-buttons button:hover, .share-buttons .is-copied { border-color: var(--bazaar-text); }
.payment-options { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--bazaar-border); border-radius: var(--bazaar-radius); background: var(--bazaar-card); }
.payment-options__label { font-size: 13.5px; font-weight: 700; }
.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(--bazaar-border); border-radius: 6px; background: #fff; font-size: 12.5px; font-weight: 600; color: #111; }
.payment-options img { width: auto; height: 22px; max-width: 76px; object-fit: contain; }
.accordion details, .accordion__link { border-bottom: 1px solid var(--bazaar-border); }
.accordion summary, .accordion__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 700; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .2s; }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion details > :not(summary) { margin-bottom: 18px; }
.accordion__link:hover { color: var(--bazaar-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: 700; }
.product__details dd { margin: 0; color: var(--bazaar-muted); }
.product__details a { text-decoration: underline; text-underline-offset: 3px; }
.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bazaar-card-2); border-top: 1px solid var(--bazaar-border); box-shadow: 0 -10px 30px rgb(16 24 40 / .08); }
.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; }
.sticky-buy__info span { color: var(--bazaar-sale); font-weight: 800; }
.sticky-buy .button { min-height: 44px; padding: 0 18px; }
@media (min-width: 960px) { .sticky-buy { display: none !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(--bazaar-border); border-radius: var(--bazaar-radius); background: var(--bazaar-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(--bazaar-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(--bazaar-muted); font-size: 13.5px; }
.cart-line__price { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.cart-line__price s { color: var(--bazaar-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(--bazaar-muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: var(--bazaar-sale); }
.cart-line[aria-busy] { pointer-events: none; }
.quantity--small { height: 40px; border-color: var(--bazaar-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(--bazaar-border); border-radius: var(--bazaar-radius); background: var(--bazaar-card); box-shadow: var(--bazaar-shadow); }
@media (min-width: 960px) { .cart-summary { position: sticky; top: 92px; } }
.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(--bazaar-success); }
.cart-summary__total { padding-top: 12px; border-top: 1px solid var(--bazaar-border); font-size: 1.1rem; }
.cart-summary__note { margin: 0; color: var(--bazaar-muted); font-size: 13px; }
.cart-summary .payment-options { padding: 0; border: 0; }
.cart-empty h2 { margin: 6px 0 0; color: var(--bazaar-text); }

/* Rich text & embeds */
.rich-text { overflow-wrap: anywhere; color: var(--bazaar-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(--bazaar-border); }
.rich-text a { color: var(--bazaar-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(--bazaar-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(--bazaar-radius); background: var(--bazaar-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(--bazaar-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(--bazaar-brand); }
.article-card p { color: var(--bazaar-muted); font-size: 14.5px; }
.article-header { margin-bottom: 8px; }
.article-header__meta { color: var(--bazaar-muted); }
.article-header__image { width: 100%; margin-block: 22px 30px; border-radius: var(--bazaar-radius); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--bazaar-border); font-weight: 600; }

/* Footer */
.site-footer { margin-top: clamp(24px, 4vw, 48px); background: var(--color-footer-background, #232f3e); color: var(--color-footer-text, #fff); }
.site-footer__grid { display: grid; gap: 32px; padding-block: 52px 36px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.site-footer__heading { margin: 0 0 6px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.site-footer__lead p { margin: 0 0 18px; opacity: .85; font-size: 14.5px; }
.site-footer__logo { height: 56px; max-width: 170px; width: auto; margin-bottom: 14px; object-fit: contain; object-position: left; }
[dir="rtl"] .site-footer__logo { object-position: right; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; }
.newsletter-form input { flex: 1 1 220px; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; outline: none; }
.newsletter-form input::placeholder { color: inherit; opacity: .7; }
.newsletter-form input:focus { border-color: currentColor; }
.newsletter-form button { height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: #fff; color: #111; font-weight: 700; }
.newsletter-form button:hover { background: var(--bazaar-brand); color: #fff; }
.site-footer__title { margin-bottom: 14px; font-size: 1rem; font-weight: 700; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.site-footer nav a, .contact-list a, .contact-list span { opacity: .82; }
.site-footer nav a:hover, .contact-list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding-block: 22px 26px; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); font-size: 14px; }
.site-footer__rights { margin: 0; opacity: .85; }
.site-footer__end { display: grid; justify-items: end; gap: 12px; }
.social-links { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 50%; opacity: 1 !important; }
.social-links a:hover { background: #fff; color: #111; text-decoration: none !important; }
.site-footer__policies { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.site-footer__policies a { opacity: 1 !important; }
.site-footer__policies a + a::before { content: ""; display: inline-block; width: 1px; height: 12px; margin-inline: 10px; vertical-align: -1px; background: currentColor; opacity: .3; }
@media (max-width: 767px) { .site-footer__end { justify-items: start; } .site-footer__policies { justify-content: flex-start; } }
.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: 90px; }
@media (min-width: 960px) { .template-product .whatsapp-float { bottom: 20px; } }

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

/* 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(--bazaar-card) center / cover no-repeat; box-shadow: var(--bazaar-shadow-lg); pointer-events: none; will-change: transform, opacity; }
.cart-link.is-bumped { animation: bazaar-cart-bump .6s cubic-bezier(.3, 1.6, .5, 1); }
.cart-link.is-bumped .cart-link__count { animation: bazaar-cart-count .6s ease-out; }
@keyframes bazaar-cart-bump { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-8deg); } 65% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes bazaar-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(--bazaar-text); border-color: var(--bazaar-text) var(--bazaar-text) transparent transparent; border-radius: 50%; animation: bazaar-spin .7s linear infinite; }
@keyframes bazaar-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(--bazaar-head); color: #fff; box-shadow: var(--bazaar-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(--bazaar-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(--bazaar-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; } }
