/* ============================================
   MAISON LIVRE — Fashion Storefront
   Professional editorial design system
   ============================================ */

:root {
  /* ─── Palette (محترف ومختلف عن الكليشيه) ─── */
  --bg:          #faf8f5;   /* warm off-white (ecru) */
  --bg-soft:     #f1ede5;   /* mist surface */
  --bg-card:     #ffffff;   /* raised card */
  --ink:         #1c1917;   /* warm true black */
  --ink-soft:    #44403c;   /* secondary text */
  --ink-mute:    #78716c;   /* muted text */
  --ink-faint:   #a8a29e;   /* faintest */
  --line:        #e7e3da;   /* subtle border */
  --line-strong: #d6cfc2;   /* hover border */

  --accent:        #6b2c39;   /* deep mulberry — unique */
  --accent-soft:   #efe1e2;   /* mulberry tint surface */
  --accent-deep:   #4a1d27;   /* mulberry darker */
  --ochre:         #c4954a;   /* warm ocher (sparingly) */
  --olive:         #6b6f3f;   /* muted sage */
  --rose:          #b27566;   /* dusty rose */

  --sale:        #a83232;     /* sale red */

  /* ─── Type scale ─── */
  --ff-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --ff-sans:    'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --ff-ar:      'Vazirmatn', 'Tajawal', system-ui, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, monospace;

  --t-eyebrow:  0.6875rem;     /* 11px tracked */
  --t-xs:       0.75rem;
  --t-sm:       0.875rem;
  --t-base:     1rem;
  --t-md:       1.125rem;
  --t-lg:       1.375rem;
  --t-xl:       1.75rem;
  --t-2xl:      2.25rem;
  --t-3xl:      3rem;
  --t-4xl:      4.25rem;
  --t-5xl:      clamp(3rem, 8vw, 6.5rem);
  --t-hero:     clamp(3.5rem, 12vw, 10rem);

  /* ─── Spacing (8pt grid) ─── */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem;
  --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem; --s-32: 8rem;

  /* ─── Misc ─── */
  --r:           2px;          /* radii minimal */
  --r-md:        4px;
  --header-h:    68px;
  --max-w:       1480px;
  --gutter:      1.25rem;
  --gutter-lg:   2rem;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --safe-top:    env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-ar);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}
html[lang="en"] body { font-family: var(--ff-sans); }
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; background: transparent; border: none; outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); }

/* ─── Typography utilities ─── */
.shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { .shell { padding-inline: var(--gutter-lg); } }
@media (min-width: 1280px) { .shell { padding-inline: 2.5rem; } }

.eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-block;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--light { color: rgba(255,255,255,0.75); }

.display {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; font-weight: 500; }

.serif { font-family: var(--ff-display); font-weight: 400; }
.mono  { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-mute); }

/* ─── Announcement bar ─── */
.announce {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px var(--gutter);
  padding-top: calc(10px + var(--safe-top));
  overflow: hidden;
  position: relative;
}
.announce__track {
  display: inline-flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
}
.announce__sep::before { content: '•'; color: var(--ochre); margin-inline: 1rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
[dir="rtl"] .announce__track { animation-direction: reverse; }

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.header__row {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-6);
}
.brand {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}
.brand em { font-style: italic; color: var(--accent); }
.nav {
  display: none;
  justify-content: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: var(--s-2) 0;
  position: relative;
  color: var(--ink);
  transition: color 200ms var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline: 50% 50%;
  height: 1px;
  background: var(--ink);
  transition: inset 300ms var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { inset-inline: 0; }
.nav a.is-sale { color: var(--accent); }
.nav a.is-sale::after { background: var(--accent); }
.header__actions { display: flex; align-items: center; gap: var(--s-2); justify-self: end; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  transition: color 200ms var(--ease);
}
.icon-btn:hover { color: var(--accent); }
.icon-btn__count {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  line-height: 1;
}
.burger { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .burger { display: none; } }

/* ─── Buttons ─── */
.btn {
  --bg: var(--ink);
  --fg: var(--bg);
  --bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0 var(--s-6);
  min-height: 48px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 100ms;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { --bg: var(--accent); --bd: var(--accent); }
.btn:active { transform: scale(0.98); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--bg); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: var(--accent); --fg: #fff; --bd: var(--accent); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: transparent; padding-inline: var(--s-3); }
.btn--ghost:hover { --bd: var(--ink); --bg: transparent; }
.btn--sm { min-height: 40px; padding-inline: var(--s-4); font-size: 0.625rem; }

/* link with underline */
.linkline {
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.linkline:hover { color: var(--accent); }
[dir="rtl"] .linkline svg { transform: scaleX(-1); }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: clamp(640px, 92vh, 920px);
  overflow: hidden;
  background: var(--bg-soft);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.78) saturate(1.05);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  color: #fff;
  z-index: 2;
}
.hero__eyebrow { color: rgba(255,255,255,0.85); margin-bottom: var(--s-4); }
.hero__title {
  font-family: var(--ff-display);
  font-size: var(--t-hero);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: var(--s-6);
  max-width: 14ch;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: #e8d8c4; }
.hero__sub {
  font-family: var(--ff-sans);
  font-size: var(--t-md);
  line-height: 1.5;
  max-width: 42ch;
  margin-bottom: var(--s-8);
  color: rgba(255,255,255,0.85);
}
.hero__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__chip {
  position: absolute;
  top: var(--s-8);
  inset-inline-end: var(--s-8);
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  z-index: 2;
}
.hero__pagination {
  position: absolute;
  bottom: var(--s-6);
  inset-inline-end: var(--s-8);
  display: flex;
  gap: var(--s-2);
  z-index: 3;
}
.hero__dot {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 200ms;
}
.hero__dot.is-active { background: #fff; }

/* ─── Trust mini strip beneath hero ─── */
.trust {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
  padding-block: var(--s-4);
}
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  text-align: center;
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.trust__item + .trust__item { border-top: 1px solid var(--line); }
@media (min-width: 640px) {
  .trust__item + .trust__item { border-top: none; border-inline-start: 1px solid var(--line); }
  .trust__item:nth-child(3) { border-top: 1px solid var(--line); border-inline-start: none; }
}
@media (min-width: 1024px) {
  .trust__item:nth-child(3) { border-top: none; border-inline-start: 1px solid var(--line); }
}
.trust__item svg { color: var(--accent); flex-shrink: 0; }

/* ─── Category marquee (text scrolling) ─── */
.cat-marquee {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s-6);
  overflow: hidden;
}
.cat-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 65s linear infinite;
  width: max-content;
}
[dir="rtl"] .cat-marquee__track { animation-direction: reverse; }
.cat-marquee a {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  transition: color 200ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.cat-marquee a:hover { color: var(--accent); }
.cat-marquee__star {
  color: var(--ochre);
  font-family: var(--ff-display);
  font-style: normal;
  font-size: 1.5rem;
  vertical-align: middle;
}

/* ─── Section heading ─── */
.s-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-8);
  flex-wrap: wrap;
}
.s-head__title { display: flex; flex-direction: column; gap: var(--s-3); }
.s-head__title h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.s-head__title h2 em { font-style: italic; color: var(--accent); }

/* ─── Collections (3-up bento) ─── */
.collections {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
  margin-block: var(--s-16);
}
@media (min-width: 768px) {
  .collections {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--s-4);
    aspect-ratio: 16 / 9;
  }
}
.coll {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  aspect-ratio: 3 / 4;
}
@media (min-width: 768px) {
  .coll { aspect-ratio: auto; }
  .coll--lg { grid-row: span 2; }
}
.coll img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 800ms var(--ease-out);
}
.coll:hover img { transform: scale(1.04); }
.coll::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.65) 0%, rgba(0,0,0,0) 55%);
  z-index: 1;
}
.coll__body {
  position: relative;
  z-index: 2;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.coll__body h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: var(--s-2);
}
.coll__body h3 em { font-style: italic; }
.coll__meta {
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ─── Product grid ─── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) var(--s-3);
}
@media (min-width: 640px) { .prod-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-8) var(--s-5); } }
@media (min-width: 1024px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }

.prod {
  position: relative;
  display: flex;
  flex-direction: column;
}
.prod__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  overflow: hidden;
}
.prod__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 400ms var(--ease), transform 700ms var(--ease-out);
}
.prod__img--hover {
  opacity: 0;
  z-index: 1;
}
.prod:hover .prod__img--hover { opacity: 1; }
.prod:hover .prod__img--primary { transform: scale(1.02); }

.prod__tags {
  position: absolute;
  top: var(--s-3);
  inset-inline-start: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
}
.tag--ink { background: var(--ink); color: var(--bg); }
.tag--sale { background: var(--sale); color: #fff; }
.tag--soft { background: var(--accent-soft); color: var(--accent-deep); }

.prod__wish {
  position: absolute;
  top: var(--s-3);
  inset-inline-end: var(--s-3);
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 3;
  border-radius: var(--r);
  transition: color 200ms, transform 200ms;
}
.prod__wish:hover { color: var(--accent); transform: scale(1.06); }
.prod__wish.is-active { color: var(--accent); }

.prod__quick {
  position: absolute;
  inset-inline: var(--s-3);
  bottom: var(--s-3);
  z-index: 3;
  background: rgba(28,25,23,0.94);
  color: #fff;
  text-align: center;
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
.prod:hover .prod__quick { opacity: 1; transform: translateY(0); }
.prod__quick:hover { background: var(--accent); }
@media (hover: none) {
  .prod__quick { opacity: 1; transform: none; background: rgba(28,25,23,0.86); }
}

.prod__body {
  padding-top: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prod__brand {
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.prod__name {
  font-family: var(--ff-display);
  font-size: var(--t-md);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.25;
}
.prod__price-row {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-top: 2px;
  font-family: var(--ff-mono);
  font-size: var(--t-sm);
}
.prod__price       { color: var(--ink); font-weight: 500; }
.prod__price--was  { color: var(--ink-faint); text-decoration: line-through; font-size: var(--t-xs); }
.prod__price--sale { color: var(--sale); font-weight: 500; }
.prod__swatches {
  display: flex;
  gap: 4px;
  margin-top: var(--s-2);
  align-items: center;
}
.sw {
  width: 14px; height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
  cursor: pointer;
}
.sw.is-active { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 0 0 1px var(--ink); }
.sw-more { font-family: var(--ff-mono); font-size: 0.6875rem; color: var(--ink-mute); margin-inline-start: 2px; }

/* ─── Editorial split block ─── */
.edit-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
  margin-block: var(--s-24);
}
@media (min-width: 1024px) {
  .edit-split { grid-template-columns: 1fr 1fr; gap: var(--s-16); }
  .edit-split--rev .edit-split__img { order: 2; }
}
.edit-split__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
}
.edit-split__img img { width: 100%; height: 100%; object-fit: cover; }
.edit-split__body { display: flex; flex-direction: column; gap: var(--s-5); max-width: 460px; }
.edit-split__body h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.edit-split__body h2 em { font-style: italic; color: var(--accent); }
.edit-split__body p {
  color: var(--ink-soft);
  font-size: var(--t-md);
  line-height: 1.65;
}
.edit-split__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.edit-split__stat .n {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.edit-split__stat .l {
  display: block;
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: var(--s-2);
}

/* ─── Lookbook 2x2 ─── */
.lookbook {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 768px) {
  .lookbook { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}
.look {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: end;
  cursor: pointer;
}
.look img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.look:hover img { transform: scale(1.05); }
.look::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.55) 0%, transparent 50%);
}
.look__body {
  position: relative;
  z-index: 2;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.look__num {
  font-family: var(--ff-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
}
.look__title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
}
.look__title em { font-style: italic; }

/* ─── Designer cards ─── */
.designers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px) { .designers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .designers { grid-template-columns: repeat(4, 1fr); } }
.designer {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  text-align: center;
  padding: var(--s-5);
  border: 1px solid var(--line);
  transition: border-color 200ms;
}
.designer:hover { border-color: var(--ink); }
.designer__name {
  font-family: var(--ff-display);
  font-size: var(--t-xl);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
}
.designer__loc {
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.designer__count {
  font-family: var(--ff-mono);
  font-size: var(--t-xs);
  color: var(--ink-soft);
}

/* ─── Newsletter ─── */
.news {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
  text-align: center;
  margin-top: var(--s-24);
  position: relative;
  overflow: hidden;
}
.news::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(196,149,74,0.12), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(107,44,57,0.16), transparent 50%);
  pointer-events: none;
}
.news__inner { max-width: 580px; margin-inline: auto; position: relative; }
.news h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: var(--s-4);
}
.news h2 em { font-style: italic; color: var(--ochre); }
.news p {
  color: rgba(250,248,245,0.7);
  font-size: var(--t-md);
  margin-bottom: var(--s-8);
}
.news__form {
  display: flex;
  border-bottom: 1px solid rgba(250,248,245,0.4);
  gap: 0;
}
.news__form input {
  flex: 1;
  padding: var(--s-4) 0;
  color: var(--bg);
  font-size: var(--t-md);
  font-family: var(--ff-ar);
}
.news__form input::placeholder { color: rgba(250,248,245,0.4); }
.news__form button {
  padding: var(--s-4) var(--s-4);
  color: var(--bg);
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 200ms;
}
.news__form button:hover { color: var(--ochre); }
[dir="rtl"] .news__form button svg { transform: scaleX(-1); }

/* ─── Footer ─── */
.foot {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding-block: var(--s-16) var(--s-6);
}
.foot__wordmark {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 16vw, 13rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: var(--s-12);
}
.foot__wordmark em { font-style: italic; color: var(--accent); }
.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-10);
}
@media (min-width: 768px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot__col h4 {
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
}
.foot__col ul { display: flex; flex-direction: column; gap: var(--s-2); }
.foot__col a {
  font-family: var(--ff-sans);
  font-size: var(--t-sm);
  color: var(--ink-soft);
  transition: color 200ms;
}
.foot__col a:hover { color: var(--accent); }
.foot__col p {
  font-family: var(--ff-sans);
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 36ch;
}
.foot__social {
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.foot__social a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  transition: all 200ms;
}
.foot__social a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.foot__bottom {
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-family: var(--ff-sans);
  font-size: var(--t-xs);
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.pay {
  display: flex;
  gap: var(--s-2);
}
.pay span {
  background: #fff;
  color: var(--ink);
  padding: 4px 10px;
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* أوقف الـ marquees تماماً بدل ما تلفّ بسرعة جنونية */
  .announce__track,
  .cat-marquee__track { animation: none !important; transform: none !important; }
}

/* TK-DARK-INJECTED */
[data-theme="dark"] {
  --bg:          #15110f;
  --bg-soft:     #1e1814;
  --bg-card:     #1e1814;
  --ink:         #f4ece0;
  --ink-soft:    #d8cdbf;
  --ink-mute:    #9c9082;
  --ink-faint:   #6e6356;
  --line:        #2e261f;
  --line-strong: #443a2f;
  --accent:      #c08a96;
  --accent-soft: #2e1a1e;
  --accent-deep: #b27581;
  --ochre:       #d9a85a;
  --olive:       #909a5a;
  --rose:        #d6a294;
  --sale:        #e0566c;
}
html { color-scheme: dark; }
[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
[data-theme="dark"] img:not([alt=""]) { filter: brightness(0.92); }
