/* Nile - brand colours and fonts come from the store's settings through the platform's CSS variables. */
:root {
  --nile-brand: var(--color-brand, #037e40);
  --nile-brand-dark: var(--color-brand-dark, var(--nile-brand));
  --nile-bg: var(--color-background, #fff);
  /* The --dm-* variables exist only when the store turns on dark mode. */
  --nile-text: var(--dm-text, #1b1d21);
  --nile-muted: var(--dm-text-muted, #646a73);
  --nile-surface: var(--dm-surface, #f5f5f3);
  --nile-surface-2: var(--dm-surface-raised, #fff);
  --nile-border: var(--dm-border, #e7e7e3);
  --nile-brand-soft: color-mix(in srgb, var(--nile-brand) 10%, var(--nile-bg));
  --nile-sale: #d93a3a;
  --nile-success: #1f8a4c;
  --nile-radius: 16px;
  --nile-radius-sm: 10px;
  --nile-shadow: 0 1px 2px rgb(16 24 40 / .04), 0 8px 24px rgb(16 24 40 / .06);
  --nile-shadow-lg: 0 20px 50px rgb(16 24 40 / .14);
  --nile-container: 1280px;
  --nile-header-h: 76px;
}

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

.container { width: min(100% - 32px, var(--nile-container)); margin-inline: auto; }
.container--narrow { max-width: 780px; }
.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(--nile-text); color: var(--nile-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: 50px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px;
  background: var(--color-primary-btn, var(--nile-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, transform .15s, box-shadow .2s;
}
.button:hover { background: var(--color-primary-btn-hover, var(--nile-brand-dark)); color: var(--color-primary-btn-hover-font, #fff); transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--nile-brand) 25%, transparent); }
.button--secondary { background: transparent; color: var(--nile-text); border-color: var(--nile-border); }
.button--secondary:hover { background: var(--nile-text); color: var(--nile-bg); border-color: var(--nile-text); box-shadow: none; }
.button--dark { background: var(--nile-text); color: var(--nile-bg); }
.button--dark:hover { background: var(--nile-brand); color: #fff; }
.button--light { background: #fff; color: #111; }
.button--light:hover { background: #fff; color: var(--nile-brand); }
.button--outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.button--outline-light:hover { background: rgb(255 255 255 / .12); color: #fff; box-shadow: none; }
.button--block { width: 100%; }
.button[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Announcement bar (dashboard: top bar ad) and contact bar (dashboard: top bar) */
.announcement { background: var(--nile-text); color: var(--nile-bg); font-size: 13.5px; text-align: center; }
.announcement__link { display: block; color: inherit; }
.announcement__link:hover { color: inherit; opacity: .9; }
.announcement__text { width: 100%; margin: 0; padding-block: 9px; font-weight: 600; }
.announcement__image { width: 100%; height: auto; max-height: 90px; object-fit: cover; }
.contact-bar { border-bottom: 1px solid var(--nile-border); background: var(--nile-surface); font-size: 13px; }
.contact-bar__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-block: 0; padding-block: 8px; list-style: none; }
.contact-bar__list a, .contact-bar__list span { display: inline-flex; align-items: center; gap: 6px; color: var(--nile-muted); }
.contact-bar__list a:hover { color: var(--nile-brand); }
@media (max-width: 767px) { .contact-bar__list { justify-content: center; } .contact-bar__address { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--nile-border); transition: box-shadow .2s; }
/* The frosted background sits on a layer behind the content: a backdrop-filter on the header itself would
   make it the frame of the fixed mobile drawer, clipping the drawer to the header's height. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--nile-bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); pointer-events: none; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(16 24 40 / .08); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--nile-header-h); }
.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: 60px; max-width: 180px; object-fit: contain; object-position: center; }
@media (max-width: 767px) {
  .site-logo img { height: 44px; max-width: 120px; }
  .site-header__inner { gap: 4px; min-height: 64px; }
  .site-header__actions .language-link { display: none; }
  .section__header { margin-bottom: 18px; }
}
.site-nav { display: none; align-items: center; gap: 4px; }
.site-nav__item { position: relative; }
.site-nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.site-nav__link:hover { background: var(--nile-surface); color: var(--nile-text); }
.site-header__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; list-style: none; }
.icon-button::-webkit-details-marker { display: none; }
.icon-button:hover { background: var(--nile-surface); color: inherit; }
.cart-link__count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--nile-brand); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--nile-bg); }
.language-link { padding: 7px 12px; border: 1px solid var(--nile-border); border-radius: 999px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
@media (min-width: 1100px) { .site-nav { display: flex; } .drawer { display: none; } }

/* Mega menu */
.mega { position: absolute; top: 100%; inset-inline-start: 0; width: min(640px, 90vw); padding: 18px; background: var(--nile-surface-2); border: 1px solid var(--nile-border); border-radius: var(--nile-radius); box-shadow: var(--nile-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.site-nav__item--mega:hover .mega, .site-nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mega__item { display: grid; gap: 8px; justify-items: center; padding: 10px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center; }
.mega__item:hover { background: var(--nile-surface); color: var(--nile-text); }
.mega__image { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: 50%; background: var(--nile-surface); }
.mega__image img { width: 100%; height: 100%; object-fit: cover; }
.mega__all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--nile-border); color: var(--nile-brand); font-weight: 700; }

/* Header search */
.header-search { position: static; }
.header-search summary { list-style: none; }
.header-search__panel { position: absolute; inset-inline: 0; top: 100%; display: flex; gap: 10px; padding: 16px max(16px, calc((100% - var(--nile-container)) / 2)); background: var(--nile-surface-2); border-bottom: 1px solid var(--nile-border); box-shadow: var(--nile-shadow); }
.header-search__panel input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 1.5px solid var(--nile-border); border-radius: 999px; background: var(--nile-bg); }
.header-search__panel input:focus { border-color: var(--nile-brand); outline: none; }

/* Drawer (mobile menu) */
.drawer summary { list-style: none; }
.drawer[open] summary::before { content: ""; position: fixed; inset: 0; z-index: 90; background: rgb(0 0 0 / .45); cursor: default; }
.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(--nile-bg); box-shadow: var(--nile-shadow-lg); animation: drawer-in .25s ease; }
[dir="rtl"] .drawer__panel { animation-name: drawer-in-rtl; }
@keyframes drawer-in { from { transform: translateX(-100%); } }
@keyframes drawer-in-rtl { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--nile-border); }
.drawer__logo { height: 44px; max-width: 140px; width: auto; object-fit: contain; }
.drawer__search { display: flex; align-items: center; gap: 8px; margin: 14px 16px; padding: 0 14px; border: 1px solid var(--nile-border); border-radius: 999px; background: var(--nile-surface); color: var(--nile-muted); }
.drawer__search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; outline: none; color: var(--nile-text); }
.drawer__nav { display: grid; padding: 4px 8px; }
.drawer__nav > a, .drawer__group summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; border-radius: 10px; font-weight: 600; list-style: none; cursor: pointer; }
.drawer__nav > a:hover, .drawer__group summary:hover { background: var(--nile-surface); }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .icon { transform: rotate(180deg); }
.drawer__group a { display: block; padding: 10px 24px; color: var(--nile-muted); font-size: 15px; }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding: 16px; border-top: 1px solid var(--nile-border); }
.drawer__foot a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--nile-border); border-radius: 999px; font-size: 14px; font-weight: 600; }

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

/* Hero */
.hero { position: relative; background: var(--nile-surface); }
.hero__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; scroll-snap-align: start; }
.hero__media { width: 100%; height: clamp(280px, 48vw, 640px); object-fit: cover; }
.hero__content { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-block: clamp(28px, 6vw, 80px); color: #fff; background: linear-gradient(to top, rgb(0 0 0 / .6), rgb(0 0 0 / .1) 55%, transparent); }
.hero__title { max-width: 14ch; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.8rem); text-shadow: 0 2px 20px rgb(0 0 0 / .25); }
.hero__content p { max-width: 46ch; font-size: 1.1rem; opacity: .95; }
.hero__link { position: absolute; inset: 0; }
.hero__arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .85); color: #111; box-shadow: var(--nile-shadow); opacity: 0; transition: opacity .2s; }
.hero:hover .hero__arrow { opacity: 1; }
.hero__arrow--prev { inset-inline-start: 20px; }
.hero__arrow--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .hero__arrow--prev .icon { transform: none; }
.hero__arrow--next { inset-inline-end: 20px; }
@media (max-width: 767px) { .hero__arrow { display: none; } }
.hero__dots { position: absolute; inset-inline: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .6); box-shadow: 0 0 0 1px rgb(0 0 0 / .08); transition: width .25s, background .25s; }
.hero__dots button[aria-current="true"] { width: 28px; background: #fff; }

/* Trust bar + home blocks */
.trust-bar { padding-block: 26px; background: var(--nile-surface); border-block: 1px solid var(--nile-border); }
.trust-bar__inner { display: grid; gap: 20px; }
.trust-bar__head { text-align: center; }
.trust-bar__title { margin: 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.55rem); }
.trust-bar__grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: grid; justify-items: center; gap: 12px; padding: 18px 14px; background: color-mix(in oklab, var(--nile-bg) 96%, var(--nile-brand) 4%); border: 1px solid var(--nile-border); border-radius: var(--nile-radius-sm); text-align: center; transition: transform .2s ease, border-color .2s ease; }
.trust-item:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--nile-brand) 35%, var(--nile-border)); }
.trust-item__icon-wrap { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in oklab, var(--nile-brand) 10%, var(--nile-bg)); color: var(--nile-brand); }
.trust-item__icon-wrap img { width: 28px; height: 28px; object-fit: contain; }
.trust-item__title { margin: 0; font-size: 15px; line-height: 1.6; }

.section__header.section__header--centered { justify-content: center; text-align: center; }
.section-banner__media--mobile { display: none; }
@media (max-width: 767px) {
  .section-banner__media--mobile { display: block; }
  .section-banner__media--desktop { display: none; }
}
.section-cards__grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-card { position: relative; display: grid; justify-items: center; align-content: start; gap: 12px; background: var(--nile-surface-2); border: 1px solid var(--nile-border); border-radius: var(--nile-radius-sm); padding: 20px 14px 18px; text-align: center; }
.section-card__step { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding-inline: 8px; border-radius: 999px; background: color-mix(in oklab, var(--nile-brand) 15%, var(--nile-bg)); color: var(--nile-brand); font-size: 13px; font-weight: 800; line-height: 1; }
.section-card img { width: 72px; height: 72px; object-fit: contain; }
.section-card h3 { margin: 0; font-size: 15px; line-height: 1.65; }

.section-banners__stack { display: grid; gap: 16px; }
.section-banners__stack--2,
.section-banners__stack--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-banner { position: relative; overflow: hidden; border-radius: var(--nile-radius); border: 1px solid var(--nile-border); background: var(--nile-surface); }
.section-banner__link { position: relative; display: block; }
.section-banner__media { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .35s ease; }
.section-banner:hover .section-banner__media { transform: scale(1.02); }
.section-banner__caption { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 24px 18px 16px; color: #fff; background: linear-gradient(to top, rgb(0 0 0 / .58), rgb(0 0 0 / .08)); pointer-events: none; }
.section-banner__caption h3 { margin: 0; font-size: clamp(1rem, .95rem + .25vw, 1.2rem); line-height: 1.4; text-shadow: 0 2px 14px rgb(0 0 0 / .32); }

@media (max-width: 1023px) {
  .trust-bar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .trust-bar { padding-block: 20px; }
  .trust-bar__grid,
  .section-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-item, .section-card { gap: 8px; padding: 14px 10px; }
  .trust-item__icon-wrap { width: 44px; height: 44px; }
  .trust-item__title, .section-card h3 { font-size: 13.5px; line-height: 1.5; }
  .section-banners__stack--2,
  .section-banners__stack--4 { grid-template-columns: 1fr; }
  .section-card img { width: 52px; height: 52px; }
}

/* Sections */
.section { padding-block: clamp(32px, 7vw, 88px); }
.section--compact { padding-block: 24px clamp(40px, 6vw, 72px); }
.section--tinted { background: var(--nile-surface); }
.section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__header h2 { margin: 0; }
.section__eyebrow { display: inline-block; margin-bottom: 8px; color: var(--nile-brand); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section__link { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 4px; font-weight: 700; white-space: nowrap; }
.page-header { padding-block: clamp(28px, 5vw, 56px) 20px; }
.page-header--tinted { background: var(--nile-surface); padding-bottom: clamp(24px, 4vw, 40px); }
.page-header h1 { margin-bottom: 6px; }
.page-header__meta, .page-header p { color: var(--nile-muted); max-width: 70ch; }
.page-header__meta[hidden] { display: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 14px; color: var(--nile-muted); }
.breadcrumbs .icon { opacity: .6; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 64px 16px; text-align: center; color: var(--nile-muted); }

/* Category rail */
.category-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
@media (min-width: 1100px) { .category-rail { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; } }
.category-card { display: grid; gap: 12px; scroll-snap-align: start; text-align: center; }
.category-card__image { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--nile-radius); background: var(--nile-surface); }
.category-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.category-card:hover .category-card__image img { transform: scale(1.06); }
.category-card__initial { color: var(--nile-brand); font-size: 2.6rem; font-weight: 800; }
.category-card__name { font-weight: 700; }
.category-card:hover .category-card__name { color: var(--nile-brand); }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px) clamp(12px, 2vw, 24px); }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.product-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--nile-radius); background: var(--nile-surface); }
.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__badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; line-height: 1.3; }
.badge--sale { background: var(--nile-sale); color: #fff; }
.badge--muted { background: rgb(255 255 255 / .92); color: #333; }
.product-card.is-sold-out .product-card__image { filter: grayscale(.4); opacity: .75; }
.product-card__visual { position: relative; }
.product-card__quick { position: absolute; inset-inline: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.product-card:hover .product-card__quick, .product-card__quick:focus-within { opacity: 1; transform: none; }
@media (hover: none) { .product-card__quick { opacity: 1; transform: none; inset-inline: auto 10px; bottom: 10px; } .product-card__quick span { display: none; } .product-card__quick button { width: 42px; height: 42px; } }
.product-card__quick button { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .95); color: #111; font-size: 14px; font-weight: 700; box-shadow: var(--nile-shadow); transition: background .2s, color .2s; }
.product-card__quick button:hover { background: var(--nile-brand); color: #fff; }
.product-card__body { display: grid; gap: 4px; }
.product-card__title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price__current { font-weight: 800; }
.price__compare { color: var(--nile-muted); font-size: .88em; }
.price__soon { color: var(--nile-sale); font-weight: 700; }

/* Shop */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 7px 16px; border: 1px solid var(--nile-border); border-radius: 999px; background: var(--nile-surface-2); font-size: 14px; font-weight: 600; }
a.chip:hover { border-color: var(--nile-brand); color: var(--nile-brand); }
.shop-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .shop-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.filters { border: 1px solid var(--nile-border); border-radius: var(--nile-radius); background: var(--nile-surface-2); }
@media (min-width: 1000px) { .filters { position: sticky; top: calc(var(--nile-header-h) + 20px); } .filters__toggle { pointer-events: none; } .filters__toggle .icon { display: none; } }
.filters__toggle { display: flex; align-items: center; gap: 8px; padding: 16px 18px; font-weight: 800; list-style: none; cursor: pointer; }
.filters__toggle::-webkit-details-marker { display: none; }
.filters__body { display: grid; gap: 22px; padding: 0 18px 20px; }
.filters__title { margin-bottom: 10px; color: var(--nile-muted); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.filters__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; max-height: 280px; overflow-y: auto; }
.filters__list a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; }
.filters__list a:hover { background: var(--nile-surface); color: var(--nile-text); }
.filters__list a[aria-current] { background: var(--nile-brand-soft); color: var(--nile-brand); font-weight: 700; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.price-range label { display: grid; gap: 4px; font-size: 12.5px; color: var(--nile-muted); }
.price-range input { width: 100%; height: 42px; padding: 0 10px; border: 1px solid var(--nile-border); border-radius: 10px; background: var(--nile-bg); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.search-inline { display: flex; flex: 1 1 260px; align-items: center; gap: 8px; max-width: 420px; padding: 0 16px; border: 1px solid var(--nile-border); border-radius: 999px; background: var(--nile-surface-2); color: var(--nile-muted); }
.search-inline input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; outline: none; color: var(--nile-text); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--nile-muted); }
.sort select { height: 46px; padding: 0 14px; border: 1px solid var(--nile-border); border-radius: 999px; background: var(--nile-surface-2); color: var(--nile-text); font-weight: 600; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 44px; padding: 10px 16px; border: 1px solid var(--nile-border); border-radius: 999px; text-align: center; font-weight: 600; }
.pagination a:hover { border-color: var(--nile-brand); color: var(--nile-brand); }
.pagination [aria-current] { background: var(--nile-text); color: var(--nile-bg); border-color: var(--nile-text); }

/* Product page */
.product { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } .product__info { position: sticky; top: calc(var(--nile-header-h) + 20px); } }
.product__gallery { display: grid; gap: 12px; }
@media (min-width: 960px) { .product__gallery--thumbs { grid-template-columns: 84px minmax(0, 1fr); } .product__thumbs { order: -1; flex-direction: column; max-height: 640px; } }
.product__main-image { position: relative; overflow: hidden; border-radius: var(--nile-radius); background: var(--nile-surface); }
.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: 4 / 5; object-fit: cover; }
.product__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(--nile-shadow); opacity: 0; transition: opacity .2s; }
.product__main-image:hover .product__arrow, .product__arrow:focus-visible { opacity: 1; }
.product__arrow--prev { inset-inline-start: 14px; }
.product__arrow--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .product__arrow--prev .icon { transform: none; }
.product__arrow--next { inset-inline-end: 14px; }
.product__counter { position: absolute; bottom: 14px; inset-inline-end: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: 13px; font-weight: 700; }
@media (hover: none) { .product__arrow { display: none; } }
.product__main-image .badge { position: absolute; top: 14px; inset-inline-start: 14px; }
.product__thumbs { display: flex; gap: 10px; overflow: auto; scrollbar-width: none; }
.product__thumb { flex: 0 0 76px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--nile-surface); opacity: .7; transition: opacity .2s, border-color .2s; }
.product__thumb:hover { opacity: 1; }
.product__thumb.is-active { border-color: var(--nile-text); opacity: 1; }
.product__thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product__brand { color: var(--nile-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.product__title { margin: 6px 0 14px; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
.product__price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 1.5rem; }
.product__saving { padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--nile-sale) 12%, var(--nile-bg)); color: var(--nile-sale); font-size: 13.5px; font-weight: 700; }
.product__signals { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.stock--in { color: var(--nile-success); }
.stock--out { color: var(--nile-sale); }
.product__summary { color: var(--nile-muted); font-size: 15.5px; line-height: 1.8; }
.product__form { display: grid; gap: 14px; margin-block: 22px; padding-block: 22px; border-block: 1px solid var(--nile-border); }
.variant-picker { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; }
.variant-picker fieldset, fieldset.variant-picker { margin: 0; padding: 0; border: 0; }
.variant-picker legend { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.variant-picker__selected { color: var(--nile-muted); font-weight: 500; }
.variant-picker__values { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-picker__hint { margin: 0; color: var(--nile-muted); font-size: 13.5px; }
.variant-picker__hint.is-error { color: var(--nile-sale); font-weight: 700; }
.variant-pill input, .swatch input { position: absolute; opacity: 0; pointer-events: none; }
.variant-pill span { display: inline-block; min-width: 52px; padding: 10px 16px; border: 1.5px solid var(--nile-border); border-radius: 12px; background: var(--nile-surface-2); font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.variant-pill span:hover { border-color: var(--nile-text); }
.variant-pill input:checked + span { border-color: var(--nile-text); background: var(--nile-text); color: var(--nile-bg); }
.variant-pill input:focus-visible + span, .swatch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--nile-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: 38px; height: 38px; 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(--nile-bg), 0 0 0 5px var(--nile-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(--nile-text); transform: rotate(-45deg); }

/* Views and sold last month */
.product-stats { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-bottom: 18px; }
.product-stats__views { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--nile-surface); color: var(--nile-muted); font-size: 14px; font-weight: 600; }
.product-stats__sold { --demand: #f59e0b; display: grid; gap: 6px; min-width: 220px; padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--demand) 12%, var(--nile-bg)); font-size: 14px; font-weight: 700; }
.product-stats__sold--medium { --demand: #f97316; }
.product-stats__sold--high { --demand: #dc2626; }
.product-stats__sold-text { display: flex; justify-content: space-between; gap: 10px; }
.product-stats__bar { height: 6px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--demand) 20%, transparent); }
.product-stats__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--demand) 60%, #fff), var(--demand)); }
[dir="rtl"] .product-stats__bar span { background: linear-gradient(-90deg, color-mix(in srgb, var(--demand) 60%, #fff), var(--demand)); }

/* Payment options */
.payment-options { display: grid; gap: 10px; margin-bottom: 18px; }
.payment-options__label { font-size: 14px; 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: 56px; height: 40px; padding: 6px 10px; border: 1px solid var(--nile-border); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; color: #111; }
.payment-options img { width: auto; height: 26px; max-width: 80px; object-fit: contain; }
.product__buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.quantity { display: inline-flex; align-items: center; height: 50px; border: 1.5px solid var(--nile-border); border-radius: 999px; }
.quantity button { display: grid; place-items: center; width: 42px; height: 100%; border: 0; background: transparent; }
.quantity input { width: 44px; 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__ask { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14.5px; }
.product__ask .icon { color: var(--nile-brand); }
.product__ask a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.share-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--nile-muted); font-size: 14px; }
.share-buttons > span { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 4px; }
.share-buttons a, .share-buttons button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--nile-border); border-radius: 50%; background: transparent; color: var(--nile-text); }
.share-buttons a:hover, .share-buttons button:hover, .share-buttons .is-copied { border-color: var(--nile-brand); color: var(--nile-brand); }
.accordion { border-top: 1px solid var(--nile-border); }
.accordion details { border-bottom: 1px solid var(--nile-border); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; 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(180deg); }
.accordion details > :not(summary) { margin-bottom: 18px; color: var(--nile-muted); }
.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; color: var(--nile-text); }
.product__details dd { margin: 0; }
.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: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--nile-surface-2); border-top: 1px solid var(--nile-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(--nile-brand); font-weight: 800; }
.sticky-buy .button { min-height: 46px; padding: 0 20px; }
@media (min-width: 960px) { .sticky-buy { display: none !important; } }

/* Cart */
.cart-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.cart-lines { display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; border: 1px solid var(--nile-border); border-radius: var(--nile-radius); background: var(--nile-surface-2); }
@media (min-width: 700px) { .cart-line { grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; } }
.cart-line__image { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--nile-surface); }
.cart-line__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.cart-line__variant { margin: 0 0 4px; color: var(--nile-muted); font-size: 14px; }
.cart-line__price { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.cart-line__price s { color: var(--nile-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.1rem; }
.cart-line__remove { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; border: 0; background: none; color: var(--nile-muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: var(--nile-sale); }
.cart-line[aria-busy] { pointer-events: none; }
.quantity--small { height: 42px; }
.quantity--small button { width: 36px; }
.quantity--small input { width: 40px; }
.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: 22px; border: 1px solid var(--nile-border); border-radius: var(--nile-radius); background: var(--nile-surface-2); box-shadow: var(--nile-shadow); }
@media (min-width: 960px) { .cart-summary { position: sticky; top: calc(var(--nile-header-h) + 20px); } }
.cart-summary h2 { margin: 0; font-size: 1.2rem; }
.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(--nile-success); }
.cart-summary__total { padding-top: 12px; border-top: 1px solid var(--nile-border); font-size: 1.15rem; }
.cart-summary__note { margin: 0; color: var(--nile-muted); font-size: 13.5px; }
.cart-summary .payment-options { margin: 0; }
.cart-empty h2 { margin: 6px 0 0; color: var(--nile-text); }

/* Rich text & embeds */
.rich-text { overflow-wrap: anywhere; color: var(--nile-text); }
/* 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(--nile-border); }
.rich-text a { color: var(--nile-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(--nile-radius); }

/* Newsletter */
.newsletter { padding-block: clamp(40px, 6vw, 72px); background: var(--nile-surface); }
.newsletter__inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .newsletter__inner { grid-template-columns: 1fr 1fr; } }
.newsletter h2 { margin-bottom: 6px; }
.newsletter p { margin: 0; color: var(--nile-muted); }
.newsletter__form { display: flex; gap: 10px; padding: 6px; border: 1px solid var(--nile-border); border-radius: 999px; background: var(--nile-surface-2); }
.newsletter__form input { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: transparent; outline: none; }
.newsletter__form .button { min-height: 46px; }

/* Blog */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 28px; }
.article-featured { margin-bottom: 36px; }
.article-featured .article-card { display: grid; gap: 24px; }
@media (min-width: 900px) { .article-featured .article-card { grid-template-columns: 1.3fr 1fr; align-items: center; } .article-featured h3 { font-size: 1.8rem; } }
.article-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--nile-radius); background: var(--nile-surface); }
.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: 14px; }
.article-card time { color: var(--nile-brand); font-size: 13px; font-weight: 700; }
.article-card h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.article-card p { color: var(--nile-muted); font-size: 15px; }
.article-header { margin-bottom: 8px; }
.article-header__meta { color: var(--nile-muted); }
.article-header__image { width: 100%; margin-block: 24px 32px; border-radius: var(--nile-radius); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--nile-border); font-weight: 600; }

/* Footer */
.site-footer { background: var(--color-footer-background, var(--nile-surface)); color: var(--color-footer-text, var(--nile-text)); }
.site-footer__grid { display: grid; gap: 36px; padding-block: 64px 48px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer__brand p { max-width: 36ch; margin: 16px 0; opacity: .8; font-size: 15px; }
.site-footer__logo { height: 60px; max-width: 170px; width: auto; object-fit: contain; object-position: left; }
[dir="rtl"] .site-footer__logo { object-position: right; }
.site-footer__title { margin-bottom: 16px; font-size: .95rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.site-footer a { opacity: .85; }
.site-footer a:hover { opacity: 1; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.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; }
.social-links a:hover { background: var(--nile-brand); border-color: var(--nile-brand); color: #fff; text-decoration: none; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__bottom { background: var(--color-footer-copyright-background, #111); color: var(--color-footer-copyright-text, #fff); font-size: 13.5px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 16px; }
.whatsapp-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgb(37 211 102 / .4); transition: transform .2s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
.template-product .whatsapp-float { bottom: 96px; }
@media (min-width: 960px) { .template-product .whatsapp-float { bottom: 22px; } }

@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: 18px; background: var(--nile-surface) center / cover no-repeat; box-shadow: var(--nile-shadow-lg); pointer-events: none; will-change: transform, opacity; }
.cart-link.is-bumped { animation: nile-cart-bump .6s cubic-bezier(.3, 1.6, .5, 1); }
.cart-link.is-bumped .cart-link__count { animation: nile-cart-count .6s ease-out; }
@keyframes nile-cart-bump { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-8deg); } 65% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes nile-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 currentColor; border-color: var(--color-primary-btn-font, #fff) var(--color-primary-btn-font, #fff) transparent transparent; border-radius: 50%; animation: nile-spin .7s linear infinite; }
.product-card__quick .is-loading::after { border-color: var(--nile-text) var(--nile-text) transparent transparent; }
@keyframes nile-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: 12px 14px 12px 12px; border-radius: 999px; background: var(--nile-text); color: var(--nile-bg); box-shadow: var(--nile-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(--nile-success); color: #fff; flex: none; }
.cart-toast__link { padding: 6px 12px; border-radius: 999px; background: var(--nile-bg); color: var(--nile-text); font-size: 14px; white-space: nowrap; text-decoration: none; }
.cart-toast__link:hover { background: var(--nile-brand); color: #fff; }
.template-product .cart-toast { bottom: 88px; }
@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; } }
