/* =========================================================
   ELEVEN WEAR — storefront styles
   ========================================================= */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --fog: #f2f3f5;
  --fog-2: #e7e8eb;
  --steel: #666b73;
  --line: #e2e4e7;
  --line-strong: #c9ccd1;
  --sale: #c8231b;
  --ok: #1d7a45;
  --wa: #25d366;

  --font: "Archivo", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --stretch-display: 125%;
  --stretch-ui: 108%;
  --slant: italic;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1520px;
  --header-h: 64px;
  --cut: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html[dir="rtl"] {
  --font: "Cairo", "Archivo", system-ui, sans-serif;
  --stretch-display: 100%;
  --stretch-ui: 100%;
  --slant: normal;
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--fill { fill: currentColor; stroke: none; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- type ---------- */
.display {
  font-stretch: var(--stretch-display);
  font-style: var(--slant);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: .95;
}
html[dir="rtl"] .display { text-transform: none; letter-spacing: 0; line-height: 1.2; }
.h2 { font-size: clamp(28px, 3.4vw, 46px); }
.muted { color: var(--steel); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: 15px; font-stretch: var(--stretch-ui);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background-color .2s, color .2s, opacity .2s;
  white-space: nowrap;
}
html[dir="rtl"] .btn { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.btn:hover { background: #2b2c2f; }
.btn:focus-visible { outline: 2px solid var(--paper); outline-offset: -6px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--fog-2); }
.btn--light:focus-visible { outline-color: var(--ink); }
.btn--ghost {
  background: transparent; color: inherit; clip-path: none;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; --cut: 9px; }
.link {
  font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.link:hover { text-decoration-thickness: 2.5px; }

/* ---------- preloader ---------- */
.preloader {
  --p: 0;
  --w: clamp(0, (var(--p) - .4) / .6, 1);
  position: fixed; inset: 0; z-index: 200; color: var(--paper); background: var(--ink);
  display: grid; place-items: center; pointer-events: none;
  animation: preloader-failsafe 0s 8s forwards;
}
.preloader.is-split { background: transparent; }
.preloader__half { position: absolute; inset: 0; background: var(--ink); will-change: transform; }
.preloader__half--a { clip-path: polygon(0 0, 100% 0, 100% 38.3%, 0 62.3%); }
.preloader__half--b { clip-path: polygon(0 61.7%, 100% 37.7%, 100% 100%, 0 100%); }
.preloader__streak {
  position: absolute; height: 1px; width: 70vmax; opacity: .55;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85) 50%, transparent);
  transform: rotate(-40deg);
}
.preloader__streak--1 { top: 18%; left: -22vmax; }
.preloader__streak--2 { bottom: 20%; right: -24vmax; }
.preloader__streak::after {
  content: ""; position: absolute; top: -1px; height: 3px; width: 18%; left: 0;
  background: radial-gradient(closest-side, #fff, transparent); filter: blur(1px);
  animation: streak-run 2.2s cubic-bezier(.5, 0, .3, 1) infinite;
}
.preloader__streak--2::after { animation-delay: .7s; }
@keyframes streak-run { from { left: -20%; } to { left: 100%; } }

.preloader__stage { position: relative; display: grid; justify-items: center; gap: clamp(18px, 3vmin, 28px); transition: opacity .3s, transform .45s var(--ease); }
.preloader__mark { position: relative; height: clamp(96px, 17vmin, 168px); aspect-ratio: 304 / 247; }
.preloader__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.preloader__ghost { opacity: .13; }
.preloader__fill {
  clip-path: polygon(0 calc(140% - var(--p) * 140%), 100% calc(100% - var(--p) * 140%), 100% 100%, 0 100%);
}
.preloader__word {
  width: clamp(170px, 30vmin, 300px); height: auto;
  clip-path: inset(0 calc((1 - var(--w)) * 50%));
}
.preloader__count {
  position: absolute; bottom: clamp(20px, 5vmin, 48px); inset-inline-end: clamp(20px, 5vmin, 56px);
  font-family: "Archivo", sans-serif; font-stretch: 125%; font-style: italic; font-weight: 800;
  font-size: clamp(48px, 8vmin, 96px); line-height: 1; font-variant-numeric: tabular-nums;
  transition: opacity .3s;
}
.preloader__cut {
  position: absolute; inset: 0; width: 100%; height: 100%;
  clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 6px rgba(255,255,255,.9));
}
.preloader__cut line { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }

.preloader.is-leaving .preloader__stage { opacity: 0; transform: scale(.94); }
.preloader.is-leaving .preloader__count,
.preloader.is-leaving .preloader__streak { opacity: 0; transition: opacity .25s; }
.preloader.is-leaving .preloader__cut { clip-path: inset(0); transition: clip-path .42s cubic-bezier(.7, 0, .3, 1); }
.preloader.is-split .preloader__cut { opacity: 0; transition: opacity .3s .15s; }
.preloader.is-split .preloader__half { transition: transform .95s cubic-bezier(.75, 0, .2, 1); }
.preloader.is-split .preloader__half--a { transform: translate(-4%, -112%); }
.preloader.is-split .preloader__half--b { transform: translate(4%, 112%); }

/* short version on repeat page views */
.preloader.is-quick .preloader__streak { display: none; }
.preloader.is-quick.is-leaving .preloader__cut { transition-duration: .2s; }
.preloader.is-quick.is-split .preloader__half { transition-duration: .7s; }

@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- announcement ---------- */
.announce {
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 500; text-align: center;
  height: 38px; position: relative; overflow: hidden;
}
.announce p {
  position: absolute; inset: 0; display: grid; place-items: center; padding-inline: 16px;
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease);
}
.announce p.is-active { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s, color .3s, border-color .3s;
}
.header__inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.header__start, .header__end { display: flex; align-items: center; gap: 4px; }
.header__end { justify-content: flex-end; }
.logo img { height: 40px; width: auto; transition: filter .3s; }
@media (min-width: 900px) { .logo img { height: 50px; } }

.nav { display: none; gap: 28px; font-size: 14px; font-weight: 600; font-stretch: var(--stretch-ui); }
.nav a { position: relative; padding-block: 8px; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .3s var(--ease);
}
html[dir="rtl"] .nav a::after { --origin: right; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
}
.icon-btn .count {
  position: absolute; top: 5px; inset-inline-end: 3px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  font-family: "Archivo", sans-serif;
}
.icon-btn .count:empty { display: none; }
.lang-btn {
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; padding: 0 10px; height: 44px;
  font-family: "Cairo", "Archivo", sans-serif;
}
html[dir="rtl"] .lang-btn { font-family: "Archivo", sans-serif; }
.hide-sm { display: none; }

@media (min-width: 1000px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .hide-sm { display: grid; }
}

/* header sitting on top of the home hero */
.has-hero .site-header:not(.is-solid) {
  background: transparent; color: var(--paper); border-color: transparent;
}
.has-hero .site-header:not(.is-solid) .logo img { filter: invert(1); }
.has-hero .site-header:not(.is-solid) .icon-btn .count { background: var(--paper); color: var(--ink); }

/* ---------- overlay / drawers / modals ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.overlay.is-on { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 100;
  width: min(440px, 100%);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s .4s;
}
html[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer--start { inset-inline-end: auto; inset-inline-start: 0; transform: translateX(-100%); }
html[dir="rtl"] .drawer--start { transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding-inline: 20px 10px; border-bottom: 1px solid var(--line);
}
.drawer__title { font-size: 18px; font-weight: 800; font-stretch: var(--stretch-ui); }
.drawer__title small { font-weight: 500; color: var(--steel); font-size: 14px; margin-inline-start: 6px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 20px 20px; display: grid; gap: 12px; }

.menu-nav { display: grid; }
.menu-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 22px;
}
.menu-extra { display: grid; gap: 14px; margin-top: 28px; font-weight: 600; }
.menu-extra button, .menu-extra a { display: flex; align-items: center; gap: 12px; text-align: start; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; opacity: .85; }
.socials a:hover { opacity: 1; background: currentColor; }
.socials a:hover .icon { stroke: var(--ink); }
.site-footer .socials a:hover .icon { stroke: var(--ink); }
.menu-extra .socials a:hover .icon { stroke: var(--paper); }

/* cart */
.ship-bar { display: grid; gap: 8px; font-size: 14px; }
.ship-bar__track { height: 4px; background: var(--fog-2); overflow: hidden; }
.ship-bar__fill { height: 100%; background: var(--ink); transform-origin: left; transition: transform .5s var(--ease); }
html[dir="rtl"] .ship-bar__fill { transform-origin: right; }
.ship-bar.is-done { color: var(--ok); font-weight: 600; }
.ship-bar.is-done .ship-bar__fill { background: var(--ok); }

.line-items { display: grid; gap: 20px; margin-top: 20px; }
.line {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start;
}
.line__img { aspect-ratio: 4/5; background: var(--fog); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__name { font-size: 15px; font-weight: 700; }
.line__meta { font-size: 13px; color: var(--steel); margin-top: 2px; }
.line__price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.line__actions { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.line__remove { font-size: 13px; color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--ink); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 38px; }
.qty button { width: 36px; height: 100%; display: grid; place-items: center; }
.qty button:hover { background: var(--fog); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty output, .qty input {
  width: 36px; text-align: center; font-weight: 600; font-size: 14px; border: 0; background: none;
  font-family: "Archivo", sans-serif;
}
.qty--lg { height: 52px; }
.qty--lg button { width: 44px; }

.sum-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 17px; }
.note { font-size: 13px; color: var(--steel); }

.empty { text-align: center; padding: 48px 12px; display: grid; justify-items: center; gap: 10px; }
.empty .icon { width: 44px; height: 44px; stroke-width: 1.2; margin-bottom: 6px; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--steel); max-width: 30ch; }
.empty .btn { margin-top: 12px; }

/* search */
.search {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  background: var(--paper);
  transform: translateY(-100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s .4s;
  max-height: 90vh; overflow-y: auto;
}
.search.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.search__bar {
  display: flex; align-items: center; gap: 12px; height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.search__bar input {
  flex: 1; border: 0; outline: 0; background: none; font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; height: 100%; min-width: 0;
}
.search__body { padding-block: 24px 36px; }
.search__label { font-size: 14px; color: var(--steel); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-strong); padding: 8px 14px; font-size: 14px; font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover, .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search__results { display: grid; gap: 4px; }
@media (min-width: 700px) { .search__results { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.s-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.s-item img { width: 56px; aspect-ratio: 4/5; object-fit: cover; background: var(--fog); }
.s-item__name { font-weight: 700; font-size: 15px; }
.s-item__cat { font-size: 13px; color: var(--steel); }
.s-item__price { font-weight: 600; font-size: 14px; }
.s-item:hover .s-item__name { text-decoration: underline; }
.search__all { margin-top: 20px; }

/* modal */
.modal {
  position: fixed; inset: 0; z-index: 110;
  display: grid; place-items: center; padding: 16px;
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s;
}
.modal.is-open { visibility: visible; opacity: 1; transition: opacity .25s, visibility 0s; }
.modal__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.modal__box {
  position: relative; background: var(--paper);
  width: min(960px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto;
  transform: translateY(16px); transition: transform .35s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; background: var(--paper); }
.modal--sm .modal__box { width: min(620px, 100%); padding: 28px 24px; }

.qv { display: grid; }
.qv__media { background: var(--fog); aspect-ratio: 4/5; position: relative; }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__thumbs { position: absolute; bottom: 12px; inset-inline-start: 12px; display: flex; gap: 8px; }
.qv__thumbs button { width: 52px; aspect-ratio: 4/5; border: 2px solid transparent; background: var(--paper); overflow: hidden; }
.qv__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: 28px 24px; display: grid; gap: 18px; align-content: start; }
.qv__name { font-size: 26px; font-stretch: var(--stretch-ui); }
@media (min-width: 760px) {
  .qv { grid-template-columns: 1fr 1fr; }
  .qv__info { padding: 44px 36px; }
}

.size-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 18px; }
.size-table th, .size-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: start; }
.size-table th { font-weight: 700; background: var(--fog); }
.size-table td:first-child { font-weight: 700; }

/* toast */
.toasts {
  position: fixed; z-index: 130; bottom: 20px; inset-inline: 16px;
  display: grid; justify-items: center; gap: 8px; pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--ink); color: var(--paper);
  padding: 13px 18px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 14px; max-width: 460px;
  animation: toast-in .35s var(--ease);
}
.toast button { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* whatsapp */
.wa-float {
  position: fixed; z-index: 80; bottom: 20px; inset-inline-end: 20px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--fog { background: var(--fog); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head p { color: var(--steel); margin-top: 10px; max-width: 52ch; }

/* ---------- hero ---------- */
.hero {
  position: relative; margin-top: calc(var(--header-h) * -1);
  height: min(100svh, 940px); min-height: 600px;
  background: var(--ink); color: var(--paper); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(28px, 4vw, 64px)), 0 100%);
}
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 0s 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s, visibility 0s; }
.hero__slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("../assets/img/hero-2.jpg") 76% center / cover no-repeat;
}
html[dir="rtl"] .hero__bg { background-image: url("../assets/img/hero-2-rtl.jpg"); background-position: 24% center; }
.hero__slide--studio::after {
  background:
    linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 45%),
    linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,0) 72%),
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, transparent 22%);
}
html[dir="rtl"] .hero__slide--studio::after {
  background:
    linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 45%),
    linear-gradient(270deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,0) 72%),
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, transparent 22%);
}
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 48%, rgba(0,0,0,.25) 75%, rgba(0,0,0,.55) 100%);
}
.hero__content {
  position: absolute; z-index: 2; inset-inline: 0; bottom: clamp(84px, 13vh, 150px);
}
.hero__title { font-size: clamp(46px, 8.6vw, 138px); max-width: 11ch; }
html[dir="rtl"] .hero__title { font-size: clamp(42px, 7vw, 104px); }
.hero__slide--studio .hero__title { font-size: clamp(32px, 4.8vw, 80px); }
html[dir="rtl"] .hero__slide--studio .hero__title { font-size: clamp(34px, 5vw, 76px); }
.hero__text { font-size: clamp(16px, 1.3vw, 19px); max-width: 44ch; color: rgba(255,255,255,.86); margin: 20px 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.is-loaded .hero__slide.is-active .hero__title { animation: title-in 1s var(--ease) backwards; }
.is-loaded .hero__slide.is-active .hero__text,
.is-loaded .hero__slide.is-active .hero__ctas { animation: fade-up .8s .25s var(--ease) both; }
@keyframes title-in {
  from { clip-path: inset(0 0 100% 0); transform: translateY(40px); }
  to { clip-path: inset(0); transform: none; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* light streak sweeping across once, borrowed from the logo artwork */
.hero__streak {
  position: absolute; z-index: 3; top: -30%; bottom: -30%; left: 0; width: 2px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.95) 50%, transparent);
  box-shadow: 0 0 28px 6px rgba(255,255,255,.35);
  transform: translateX(-20vw) rotate(38deg);
}
.is-loaded .hero__streak { animation: streak 1.8s .35s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes streak { to { transform: translateX(120vw) rotate(38deg); } }

.hero__dots {
  position: absolute; z-index: 3; bottom: clamp(70px, 10vh, 110px); inset-inline-end: var(--gutter);
  display: flex; gap: 6px;
}
.hero__dot { width: 48px; height: 28px; display: grid; align-items: center; }
.hero__dot span { display: block; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__dot span::after {
  content: ""; position: absolute; inset: 0; background: var(--paper);
  transform: scaleX(0); transform-origin: left;
}
html[dir="rtl"] .hero__dot span::after { transform-origin: right; }
.is-loaded .hero__dot[aria-current="true"] span::after { animation: dot-fill var(--hero-delay, 6s) linear forwards; }
.hero:hover .hero__dot span::after,
.hero:has(:focus-visible) .hero__dot span::after { animation-play-state: paused; }
.hero.is-paused .hero__dot[aria-current="true"] span::after { animation: none; transform: scaleX(1); }
@keyframes dot-fill { to { transform: scaleX(1); } }
@media (max-width: 699px) {
  .hero__dots { inset-inline-end: auto; inset-inline-start: var(--gutter); bottom: 52px; }
  .hero__content { bottom: 100px; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: 22px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
/* in RTL the track overflows to the left, so it travels right */
html[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-inline-end: 36px; }
.marquee__group span { font-size: clamp(26px, 3.4vw, 46px); white-space: nowrap; }
.marquee__group img { height: clamp(22px, 2.6vw, 34px); width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- categories ---------- */
.cats {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 800px) {
  .cats { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 16px; }
}
.cat {
  position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; color: var(--paper);
  scroll-snap-align: start; background: var(--ink);
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .92; }
.cat:hover img { transform: scale(1.04); opacity: 1; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 55%); }
.cat__label { position: absolute; z-index: 1; inset-inline: 22px; bottom: 22px; }
.cat__label h3 { font-size: clamp(24px, 2.7vw, 46px); overflow-wrap: anywhere; }
.cat__label p { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 6px; }
.cat__go {
  position: absolute; z-index: 1; top: 18px; inset-inline-end: 18px;
  width: 48px; height: 48px; display: grid; place-items: center; background: var(--paper); color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform .3s var(--ease);
}
.cat:hover .cat__go { transform: translate(4px, -4px); }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: clamp(18px, 3vw, 36px); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font-size: clamp(20px, 2.4vw, 32px); font-weight: 800; font-stretch: var(--stretch-display); font-style: var(--slant);
  text-transform: uppercase; color: #a3a7ad; white-space: nowrap; padding-bottom: 6px;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
html[dir="rtl"] .tab { text-transform: none; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }

/* ---------- product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 48px 20px; } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .grid--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4/5; background: var(--fog); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .9s var(--ease); }
.card__media img.alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img.alt { opacity: 1; }
  .card:hover .card__media img:only-of-type { transform: scale(1.04); }
}
.card__badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.badge {
  font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 5px 8px; line-height: 1;
  background: var(--paper); color: var(--ink); font-family: "Archivo", "Cairo", sans-serif;
}
.badge--sale { background: var(--sale); color: var(--paper); }
.badge--dark { background: var(--ink); color: var(--paper); }
.card__wish {
  position: absolute; top: 6px; inset-inline-end: 6px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
}
.card__wish .icon { width: 21px; height: 21px; }
[data-wish][aria-pressed="true"] .icon { fill: var(--ink); }
.card__quick {
  position: absolute; z-index: 2; inset-inline: 10px; bottom: 10px;
  background: rgba(255,255,255,.96); padding: 12px;
  display: none;
}
.card__quick p { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.card__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.card__sizes button {
  flex: 1 0 auto; min-width: 38px; height: 34px; font-size: 12px; font-weight: 700;
  border: 1px solid var(--line-strong); background: var(--paper); font-family: "Archivo", sans-serif;
}
.card__sizes button:hover:not([disabled]) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card__sizes button[disabled] { color: #b4b7bc; text-decoration: line-through; cursor: not-allowed; }
.card__plus {
  position: absolute; z-index: 2; bottom: 8px; inset-inline-end: 8px;
  width: 38px; height: 38px; display: grid; place-items: center; background: var(--paper);
}
@media (hover: hover) and (min-width: 900px) {
  .card__quick { display: block; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease); }
  .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
  .card__plus { display: none; }
}
.card__info { padding-top: 12px; display: grid; gap: 3px; }
.card__name { font-size: 15px; font-weight: 700; line-height: 1.3; font-stretch: var(--stretch-ui); }
.card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { font-size: 13px; color: var(--steel); display: flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.price { font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.price--sale { color: var(--sale); }
.price s { color: var(--steel); font-weight: 400; font-size: .9em; }
.card.is-soldout .card__media { opacity: .72; }

/* ---------- spotlight (featured product) ---------- */
.spot { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .spot { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.spot__media {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.spot__media::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .spot__media { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; } }
.spot__media figure { scroll-snap-align: start; background: var(--paper); position: relative; }
.spot__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.spot__media figcaption {
  position: absolute; top: 12px; inset-inline-start: 12px; font-size: 12px; font-weight: 700;
  background: var(--ink); color: var(--paper); padding: 5px 9px;
}
.spot__info { display: grid; gap: 20px; }
/* product names can be one long word (E-Compression), so size it to fit the column */
.spot__title { font-size: clamp(30px, 6vw, 60px); }
@media (min-width: 1000px) { .spot__title { font-size: clamp(30px, 3.2vw, 56px); } }
.spot__price { font-size: 22px; }
.points { display: grid; gap: 10px; }
.points li { display: flex; gap: 12px; align-items: flex-start; }
.points .icon { margin-top: 1px; }
.rating { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .icon { width: 16px; height: 16px; }

/* ---------- sizes ---------- */
.opt-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 10px; }
.opt-head strong { font-weight: 700; }
.opt-head span { color: var(--steel); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 54px; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--paper);
  font-weight: 700; font-size: 14px; font-family: "Archivo", "Cairo", sans-serif;
  transition: border-color .15s, background-color .15s, color .15s;
}
.size-btn:hover:not([disabled]) { border-color: var(--ink); }
.size-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-btn[disabled] {
  color: #a9adb3; cursor: not-allowed;
  background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px));
}
.sizes.is-error .size-btn:not([disabled]) { border-color: var(--sale); }
.field-error { color: var(--sale); font-size: 13px; font-weight: 600; margin-top: 8px; }
.field-error:empty { display: none; }

/* ---------- banner ---------- */
.banner {
  position: relative; color: var(--paper); background: var(--ink); overflow: hidden;
  min-height: clamp(460px, 70vh, 720px); display: grid; align-items: center;
  clip-path: polygon(0 clamp(28px, 4vw, 64px), 100% 0, 100% calc(100% - clamp(28px, 4vw, 64px)), 0 100%);
}
.banner__streak {
  position: absolute; height: 1px; width: 80vmax; opacity: .7; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9) 50%, transparent);
  box-shadow: 0 0 14px 1px rgba(255,255,255,.25);
  transform: rotate(-38deg);
}
.banner__streak--1 { top: 34%; left: -30vmax; }
.banner__streak--2 { bottom: 30%; right: -30vmax; }
.banner__mark {
  position: absolute; top: 50%; inset-inline-end: -3vw; height: 118%; width: auto;
  transform: translateY(-50%); opacity: .07; pointer-events: none;
}
.banner__content { position: relative; z-index: 1; padding-block: 96px; }
.banner__title { font-size: clamp(38px, 6.2vw, 96px); max-width: 14ch; }
.banner__text { max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.86); margin: 22px 0 32px; }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review { background: var(--paper); padding: 28px; display: grid; gap: 18px; align-content: space-between; border: 1px solid var(--line); }
.review blockquote { font-size: 17px; line-height: 1.6; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__who img { width: 48px; aspect-ratio: 4/5; object-fit: cover; background: var(--fog); }
.review__who strong { display: block; font-size: 15px; }
.review__who span { font-size: 13px; color: var(--steel); }
.review__who a:hover { text-decoration: underline; }

/* ---------- perks ---------- */
.perks { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
@media (min-width: 900px) { .perks { grid-template-columns: repeat(4, 1fr); } }
.perk { display: flex; gap: 14px; padding: 26px 18px; align-items: flex-start; }
.perk + .perk { border-inline-start: 1px solid var(--line); }
@media (max-width: 899px) {
  .perk:nth-child(3) { border-inline-start: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.perk .icon { width: 28px; height: 28px; stroke-width: 1.4; }
.perk h3 { font-size: 15px; font-weight: 800; font-stretch: var(--stretch-ui); }
.perk p { font-size: 13px; color: var(--steel); margin-top: 2px; }

/* ---------- instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
@media (min-width: 900px) { .insta { grid-template-columns: repeat(6, 1fr); } }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink); }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .6s var(--ease); }
.insta a::after {
  content: ""; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center / 32px no-repeat;
  opacity: 0; transition: opacity .3s;
}
.insta a:hover::after, .insta a:focus-visible::after { opacity: 1; }
.insta a:hover img { transform: scale(1.05); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); margin-top: auto; }
.news { display: grid; gap: 22px; padding-block: 56px; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.news h2 { font-size: clamp(28px, 3.4vw, 46px); }
.news p { color: rgba(255,255,255,.72); margin-top: 10px; max-width: 46ch; }
.news form { display: grid; gap: 10px; }
.news__row { display: flex; gap: 0; border-bottom: 1.5px solid var(--paper); }
.news__row input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--paper);
  font-size: 17px; padding: 14px 0;
}
.news__row input::placeholder { color: rgba(255,255,255,.55); }
.news__row button { font-weight: 800; padding-inline: 8px; font-stretch: var(--stretch-ui); }
.news__msg { font-size: 14px; min-height: 1.4em; }
.news__msg.is-ok { color: #7fe0a5; }
.news__msg.is-err { color: #ff8f86; }

.foot { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.foot__brand img { height: 64px; width: auto; filter: invert(1); margin-bottom: 18px; }
.foot__brand p { color: rgba(255,255,255,.7); max-width: 34ch; font-size: 15px; margin-bottom: 22px; }
.foot h3 { font-size: 15px; font-weight: 800; margin-bottom: 16px; font-stretch: var(--stretch-ui); }
.foot ul { display: grid; gap: 10px; font-size: 15px; color: rgba(255,255,255,.72); }
.foot ul a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.foot__bottom {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.6);
}
.pay { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pay span:not(.pay__label) {
  border: 1px solid rgba(255,255,255,.3); padding: 4px 9px; font-size: 12px; font-weight: 700; color: var(--paper);
  font-family: "Archivo", sans-serif;
}
.pay__label { margin-inline-end: 6px; }

/* ---------- page head / breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--steel); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line-strong); }
.page-head { padding-block: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: clamp(36px, 5.6vw, 84px); margin-top: 14px; }

/* ---------- shop ---------- */
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20; background: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 12px; border-block: 1px solid var(--line); margin-bottom: 28px;
}
.toolbar__count { font-size: 14px; color: var(--steel); }
.toolbar__start { display: flex; align-items: center; gap: 16px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); }
.select { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.select label { color: var(--steel); }
.select select {
  appearance: none; border: 1px solid var(--line-strong); background: var(--paper);
  height: 40px; padding-inline: 12px 34px; font-weight: 600; cursor: pointer;
}
.select .icon { position: absolute; inset-inline-end: 10px; pointer-events: none; width: 16px; height: 16px; }
@media (max-width: 560px) { .select label { display: none; } }

.shop { display: grid; gap: 40px; padding-bottom: 96px; }
.filters__inner { display: grid; gap: 28px; }
.fgroup { border: 0; padding: 0; display: grid; gap: 12px; }
.fgroup legend { font-weight: 800; font-size: 15px; margin-bottom: 12px; font-stretch: var(--stretch-ui); }
.fopts { display: grid; gap: 4px; }
.fopt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 15px; }
.fopt input { accent-color: var(--ink); width: 18px; height: 18px; }
.fopt span:first-of-type { flex: 1; }
.fopt small { color: var(--steel); }
.fsizes { display: flex; flex-wrap: wrap; gap: 6px; }
.fsizes label { cursor: pointer; }
.fsizes input { position: absolute; opacity: 0; pointer-events: none; }
.fsizes span {
  display: grid; place-items: center; min-width: 48px; height: 40px; padding: 0 10px;
  border: 1px solid var(--line-strong); font-weight: 700; font-size: 13px; font-family: "Archivo", "Cairo", sans-serif;
}
.fsizes input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fsizes input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.range { display: grid; gap: 8px; }
.range input { accent-color: var(--ink); width: 100%; }
.range output { font-weight: 700; font-size: 14px; }
.filters__foot { display: none; }

@media (max-width: 999px) {
  .filters {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 100; width: min(380px, 92%);
    background: var(--paper); display: flex; flex-direction: column;
    transform: translateX(-100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s;
  }
  html[dir="rtl"] .filters { transform: translateX(100%); }
  .filters.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  .filters__inner { flex: 1; overflow-y: auto; padding: 20px; }
  .filters__foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 14px 20px 20px; border-top: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .shop { grid-template-columns: 248px minmax(0, 1fr); gap: 48px; }
  .filters .drawer__head { display: none; }
  .filters__inner { position: sticky; top: calc(var(--header-h) + 90px); }
  .filter-btn { display: none; }
}

/* ---------- product page ---------- */
.pdp { display: grid; gap: 28px; padding-block: 18px 72px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding-top: 24px; } }
.gallery { position: relative; min-width: 0; }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--fog);
  margin-inline: calc(var(--gutter) * -1);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track figure { scroll-snap-align: start; aspect-ratio: 4/5; }
.gallery__track img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery__dots span { width: 22px; height: 2px; background: var(--line-strong); }
.gallery__dots span.is-active { background: var(--ink); }
.gallery__thumbs { display: none; }
@media (min-width: 960px) {
  .gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; }
  .gallery__track { margin-inline: 0; grid-column: 2; grid-row: 1; }
  .gallery__thumbs { display: grid; gap: 10px; grid-column: 1; grid-row: 1; }
  .gallery__thumbs button { aspect-ratio: 4/5; overflow: hidden; background: var(--fog); border: 2px solid transparent; }
  .gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
  .gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gallery__dots { display: none; }
  .gallery--single { grid-template-columns: minmax(0, 1fr); }
  .gallery--single .gallery__track { grid-column: 1; }
}
.pinfo { display: grid; gap: 22px; align-content: start; }
.pinfo__name { font-size: clamp(28px, 3vw, 42px); font-stretch: var(--stretch-ui); line-height: 1.08; margin-top: 10px; }
.pinfo__price { font-size: 22px; }
.pinfo__price .badge { align-self: center; }
.color-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.color-row .swatch { width: 28px; height: 28px; outline: 1.5px solid var(--ink); outline-offset: 3px; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.delivery {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--fog); font-size: 14px;
}
.mini-perks { display: grid; gap: 10px; font-size: 14px; }
.mini-perks li { display: flex; gap: 10px; align-items: center; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-weight: 800; font-stretch: var(--stretch-ui);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { transition: transform .3s var(--ease); }
.acc details[open] summary .icon { transform: rotate(45deg); }
.acc__body { padding-bottom: 20px; color: #33363b; font-size: 15px; }
.acc__body ul { display: grid; gap: 6px; list-style: disc; padding-inline-start: 20px; }

.sticky-atc {
  position: fixed; z-index: 70; inset-inline: 0; bottom: 0;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-atc.is-on { transform: none; }
.sticky-atc img { width: 44px; aspect-ratio: 4/5; object-fit: cover; background: var(--fog); }
.sticky-atc__text { flex: 1; min-width: 0; font-size: 14px; }
.sticky-atc__text strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 960px) { .sticky-atc { display: none; } }
body.has-sticky .wa-float { bottom: 88px; }

.not-found { padding-block: 96px; text-align: center; display: grid; gap: 18px; justify-items: center; }

/* ---------- checkout ---------- */
.co-header { border-bottom: 1px solid var(--line); }
.co-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.co-header .logo img { height: 46px; }
.co-header a.back { font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.co { display: grid; padding-bottom: 72px; }
@media (min-width: 1000px) {
  .co { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 0; min-height: calc(100vh - 72px); }
  .co__main { padding: 40px 56px 40px 0; border-inline-end: 1px solid var(--line); }
  html[dir="rtl"] .co__main { padding: 40px 0 40px 56px; }
  .co__side { padding: 40px 0 40px 48px; }
  html[dir="rtl"] .co__side { padding: 40px 48px 40px 0; }
  .co__sticky { position: sticky; top: 40px; }
  .co__toggle { display: none !important; }
}
.co__toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 16px var(--gutter); margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2);
  background: var(--fog); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px;
}
.co__toggle span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 999px) {
  .co__side { order: -1; }
  .co__side .co__sticky { display: none; padding: 20px 0; }
  .co__side.is-open .co__sticky { display: block; }
  .co__main { padding-top: 28px; }
}
.co h2 { font-size: 20px; font-stretch: var(--stretch-ui); margin-bottom: 16px; }
.co section + section { margin-top: 36px; }
.fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--paper);
  border-radius: 0; outline: 0; transition: border-color .15s, box-shadow .15s; font-size: 16px;
}
.field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-inline-end: 40px; }
html[dir="rtl"] .field select { background-position: left 12px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--sale); box-shadow: inset 0 0 0 1px var(--sale); }
.field input[type="tel"] { direction: ltr; text-align: start; }
html[dir="rtl"] .field input[type="tel"] { text-align: right; }

.pays { display: grid; border: 1px solid var(--line-strong); }
.pay-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; cursor: pointer; }
.pay-opt + .pay-opt { border-top: 1px solid var(--line-strong); }
.pay-opt input { accent-color: var(--ink); width: 18px; height: 18px; }
.pay-opt strong { display: block; font-size: 15px; }
.pay-opt small { color: var(--steel); font-size: 13px; }
.pay-opt:has(input:checked) { background: var(--fog); }
.pay-opt.is-disabled { cursor: not-allowed; opacity: .55; }
.co__note { font-size: 13px; color: var(--steel); display: flex; gap: 8px; align-items: center; margin-top: 14px; }

.sum-items { display: grid; gap: 16px; }
.sum-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.sum-item__img { position: relative; aspect-ratio: 4/5; background: var(--fog); }
.sum-item__img img { width: 100%; height: 100%; object-fit: cover; }
.sum-item__img span {
  position: absolute; top: -8px; inset-inline-end: -8px; min-width: 22px; height: 22px; border-radius: 11px;
  background: var(--steel); color: var(--paper); font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 6px;
  font-family: "Archivo", sans-serif;
}
.sum-item strong { font-size: 14px; display: block; }
.sum-item small { color: var(--steel); font-size: 13px; }
.sum-item__price { font-size: 14px; font-weight: 600; }
.promo { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-block: 22px 6px; }
.promo input { height: 48px; border: 1px solid var(--line-strong); padding: 0 14px; outline: 0; min-width: 0; text-transform: uppercase; }
.promo input:focus { border-color: var(--ink); }
.promo .btn { min-height: 48px; }
.promo-msg { font-size: 13px; font-weight: 600; min-height: 1.3em; }
.promo-msg.is-ok { color: var(--ok); }
.promo-msg.is-err { color: var(--sale); }
.totals { display: grid; gap: 10px; margin-top: 16px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .is-total { font-size: 20px; font-weight: 800; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.totals .is-discount { color: var(--ok); }

.done { max-width: 620px; margin: 0 auto; padding-block: 72px 96px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.done__mark { width: 72px; height: 72px; display: grid; place-items: center; background: var(--ink); color: var(--paper); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.done__mark .icon { width: 36px; height: 36px; stroke-width: 2.2; }
.done h1 { font-size: clamp(34px, 5vw, 56px); }
.done p { color: #33363b; font-size: 17px; }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.done__box { width: 100%; text-align: start; border: 1px solid var(--line); padding: 20px; margin-top: 8px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__streak, .preloader__streak { display: none; }
  .marquee__track { animation: none; }
  .preloader.is-split .preloader__half { transform: none; opacity: 0; transition: opacity .3s; }
}
