/* شارع — الأنماط العامة والصفحة الرئيسية (اتجاه RTL، خصائص منطقية) */
:root {
  --bg: #0d0d0d;
  --bg-2: #151515;
  --bg-3: #1e1e1e;
  --ink: #f2efe9;
  --ink-soft: #d3cec5;
  --muted: #a29d93;
  --line: #2b2b2b;
  --grey: #3a3a3a;
  --accent: #c6ff00;
  --accent-ink: #0d0d0d;
  --paper: #e9e6e0;
  --font-display: "Lalezar", "Cairo", system-ui, sans-serif;
  --font-body: "Cairo", system-ui, sans-serif;
  --font-mark: "Anton", "Lalezar", Impact, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* حبيبات خفيفة فوق كل شيء */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price { unicode-bidi: isolate; white-space: nowrap; font-weight: 800; }

/* ---------- الستارة (انتقال الصفحات) ---------- */
.curtain { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; }
.curtain__panel { position: absolute; inset: 0; background: var(--bg); }
.curtain__panel--accent { background: var(--accent); }
.curtain__logo { position: absolute; inset: 0; display: grid; place-items: center; }
.curtain__logo .logo { width: min(62vw, 360px); transform-origin: 50% 0; }
html[data-curtain] .curtain { visibility: visible; pointer-events: auto; }

/* ---------- نص مقسوم إلى كلمات ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .1em .18em; margin-block: -.1em -.18em; }
.w__i { display: inline-block; transform-origin: 100% 100%; }

/* ---------- أزرار وروابط ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 54px;
  padding: 0 30px;
  border: 1.5px solid transparent;
  font: 800 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(-5px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--ink); }
.btn--ghost { border-color: rgba(242, 239, 233, .45); color: var(--ink); background: rgba(13, 13, 13, .2); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--block { width: 100%; }
.link-arrow { color: var(--ink); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 4px; transition: color .25s; }
.link-arrow:hover { color: var(--accent); }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .02em; }

/* ---------- الهيدر ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), background .35s, border-color .35s;
}
.site-header.is-solid { background: rgba(13, 13, 13, .88); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
/* الشعار: لافتة شارع قاهرية بألوان العلامة */
.logo { display: block; height: auto; }
.logo .logo__plate { fill: var(--accent); }
.logo .logo__ink { fill: var(--accent-ink); }
.logo .logo__line { stroke: var(--accent-ink); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand .logo--mark { width: 92px; transform-origin: 50% 0; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover .logo--mark, .brand:focus-visible .logo--mark { transform: rotate(-5deg); }
.brand__en { font-family: var(--font-mark); font-size: 13px; letter-spacing: .22em; color: var(--ink); }
@media (max-width: 480px) { .brand__en { display: none; } .brand .logo--mark { width: 80px; } }
.main-nav { display: flex; gap: 30px; }
.main-nav a { position: relative; text-decoration: none; font-weight: 700; font-size: 15px; }
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.bag { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 4px; }
.bag svg { width: 22px; height: 22px; }
.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.menu-toggle span { width: 26px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .7s var(--ease), visibility 0s .7s;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .7s var(--ease); }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(44px, 12vw, 72px); line-height: 1.25; text-decoration: none; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu p { margin-top: 32px; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .menu-open .site-header { background: var(--bg); transform: none; }
}

/* ---------- الشعار اللاتيني الكبير ---------- */
.mark {
  display: flex;
  justify-content: space-between;
  padding-inline: var(--gutter);
  font-family: var(--font-mark);
  font-size: 30.5vw;
  line-height: .8;
  letter-spacing: -.005em;
  color: var(--ink);
  white-space: nowrap;
  user-select: none;
  overflow: hidden;
}
.mark__half { position: relative; display: block; --streak: 0; }
.mark__half::before, .mark__half::after {
  content: attr(data-glyph);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  pointer-events: none;
  opacity: calc(var(--streak) * .8);
  transform: translateX(calc(var(--streak) * var(--trail) * 14%));
}
.mark__half::after { opacity: calc(var(--streak) * .35); transform: translateX(calc(var(--streak) * var(--trail) * 30%)); }
.mark__half:first-child { --trail: 1; }
.mark__half:last-child { --trail: -1; }

/* ---------- البطل ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(270deg, rgba(13, 13, 13, .82) 0%, rgba(13, 13, 13, .35) 55%, rgba(13, 13, 13, .1) 100%),
    linear-gradient(180deg, rgba(13, 13, 13, .5) 0%, transparent 30%, rgba(13, 13, 13, .55) 72%, var(--bg) 100%);
}
.hero__content { padding: clamp(20px, 5vh, 72px) var(--gutter) 24px; max-width: 1100px; }
.hero__title { font-family: var(--font-display); font-size: clamp(58px, 9vw, 150px); line-height: 1.08; margin: 4px 0 16px; }
.hero__title .accent { color: var(--accent); }
.hero__lead { max-width: 470px; margin: 0; color: var(--ink-soft); font-size: clamp(16px, 1.35vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 14px var(--gutter);
  border-top: 1px solid rgba(242, 239, 233, .18);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.mark--hero { margin-bottom: -2.2vw; }

/* ---------- شريط العروض ---------- */
.ticker {
  position: relative;
  z-index: 2;
  width: 104%;
  margin-inline: -2%;
  margin-top: -1px;
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 0 8px;
  transform: rotate(-1.4deg);
}
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 42px); line-height: 1.35; white-space: nowrap; }
.ticker__group i { font-style: normal; font-size: .55em; }

/* ---------- أقسام عامة ---------- */
.section { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.section-head { margin-bottom: clamp(36px, 5vw, 68px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-title { font-family: var(--font-display); font-size: clamp(46px, 7.4vw, 112px); line-height: 1.08; }

/* ---------- الأقسام ---------- */
.cats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.5vw, 20px); }
.cat-card { position: relative; display: block; aspect-ratio: 3 / 4.3; overflow: hidden; background: var(--bg-3); text-decoration: none; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); transition: transform 1s var(--ease), filter .6s; }
.cat-card:hover img { transform: scale(1.07); filter: none; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .8)); }
.cat-card__name { position: absolute; z-index: 1; inset-inline-start: 20px; bottom: 14px; font-family: var(--font-display); font-size: clamp(30px, 3.3vw, 50px); line-height: 1.2; }
.cat-card__count { position: absolute; z-index: 1; inset-inline-end: 14px; top: 14px; background: var(--bg); padding: 2px 10px; font-size: 12px; font-weight: 800; }
.cat-card__go { position: absolute; z-index: 1; inset-inline-end: 18px; bottom: 22px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; transform: scale(0); transition: transform .45s var(--ease); }
.cat-card:hover .cat-card__go, .cat-card:focus-visible .cat-card__go { transform: scale(1); }

/* ---------- بطاقة المنتج ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 4vw, 56px) clamp(14px, 2vw, 28px); }
.p-card { position: relative; }
.p-card__media { position: relative; display: block; aspect-ratio: 4 / 5; text-decoration: none; }
.p-card__plate { position: relative; z-index: 2; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--paper); }
.p-card__plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-card:hover .p-card__plate img { transform: scale(1.08); }
.p-card__echo { position: absolute; inset: 0; z-index: 1; background: var(--accent); pointer-events: none; }
.p-card__echo--2 { z-index: 0; background: var(--grey); }
.p-card__tag { position: absolute; z-index: 3; top: 12px; inset-inline-start: 12px; background: var(--accent); color: var(--accent-ink); padding: 2px 10px; font-size: 12px; font-weight: 900; }
.p-card__quick {
  position: absolute;
  z-index: 3;
  inset-inline: 12px;
  bottom: 12px;
  padding: 10px;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s, transform .45s var(--ease);
}
.p-card:hover .p-card__quick, .p-card__media:focus-visible .p-card__quick { opacity: 1; transform: none; }
.p-card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.p-card__info h3 { font-family: var(--font-body); font-size: 17px; font-weight: 800; line-height: 1.4; }
.p-card__info h3 a { text-decoration: none; }
.p-card__info h3 a:hover { color: var(--accent); }
.p-card__meta { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }

/* ---------- القصة ---------- */
.story { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 110px); align-items: center; overflow-x: clip; }
.story__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__lines { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 30px; font-family: var(--font-display); font-size: clamp(40px, 5.2vw, 82px); line-height: 1.2; }
.story__line { display: block; }
.story__line--accent { color: var(--accent); }
.story__copy > p:not(.eyebrow) { max-width: 540px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.story__facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.story__facts li { padding: 20px 0 0; padding-inline-end: 14px; }
.story__facts strong { display: block; font-family: var(--font-mark); font-weight: 400; font-size: clamp(34px, 3.6vw, 56px); line-height: 1.05; }
.story__facts span { color: var(--muted); font-size: 14px; font-weight: 700; }

/* ---------- اللوك بوك ---------- */
.look { position: relative; background: var(--bg-2); overflow: hidden; }
.look__inner { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); padding-block: calc(var(--header-h) + 16px) clamp(32px, 5vh, 64px); }
.look__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-inline: var(--gutter); }
.look__head p:not(.eyebrow) { margin: 0; color: var(--muted); font-weight: 700; }
.look__track { display: flex; gap: clamp(14px, 2vw, 28px); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.look__track::-webkit-scrollbar { display: none; }
.look.is-pinned .look__track { overflow: visible; width: max-content; scroll-snap-type: none; }
.look__frame { flex: 0 0 auto; width: min(26vw, 44vh, 400px); min-width: 220px; margin: 0; scroll-snap-align: start; }
.look__frame:nth-child(even) { margin-top: clamp(16px, 5vh, 64px); }
.look__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-3); }
.look__img img { width: 100%; height: 100%; object-fit: cover; }
.look__frame figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; font-weight: 800; }
.look__frame figcaption span { font-family: var(--font-mark); color: var(--accent); }
.look__progress { margin-inline: var(--gutter); height: 2px; background: var(--line); }
.look__progress span { display: block; height: 100%; background: var(--accent); transform-origin: right; }
.look:not(.is-pinned) .look__progress { display: none; }

/* ---------- القائمة البريدية ---------- */
.join { text-align: center; }
.join__inner { max-width: 780px; margin: 0 auto; }
.join__title { font-family: var(--font-display); font-size: clamp(52px, 8.5vw, 128px); line-height: 1.1; margin: 0 0 14px; }
.join__inner > p:not(.eyebrow) { margin: 0 auto; max-width: 480px; color: var(--ink-soft); font-size: 17px; }
.join__form { display: flex; max-width: 540px; margin: 34px auto 0; border: 1.5px solid var(--ink); }
.join__form input { flex: 1; min-width: 0; height: 58px; padding: 0 18px; background: transparent; border: 0; color: var(--ink); font-size: 16px; text-align: left; }
.join__form input:focus { outline: none; }
.join__form:focus-within { border-color: var(--accent); }
.join__msg { min-height: 1.75em; margin: 14px 0 0; color: var(--accent); font-weight: 700; }

/* ---------- الفوتر ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 100px) 0 24px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding-inline: var(--gutter); }
.footer__logo { display: inline-block; margin-bottom: 22px; }
.footer__logo .logo { width: 190px; transform-origin: 50% 0; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.footer__logo:hover .logo { transform: rotate(-4deg); }
.footer__tag { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.2; }
.footer__tag + p { margin: 10px 0 0; color: var(--muted); max-width: 320px; font-size: 14px; }
.footer__col h3 { margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 800; font-family: var(--font-body); }
.footer__col a, .footer__col span { display: block; padding: 3px 0; text-decoration: none; font-weight: 700; }
.footer__col a:hover { color: var(--accent); }
.footer__col span { color: var(--ink-soft); }
.mark--footer { margin-top: clamp(48px, 8vw, 110px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 18px var(--gutter) 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer__bottom a { text-decoration: none; font-weight: 700; color: var(--ink); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- إشعار الإضافة للسلة ---------- */
.toast {
  position: fixed;
  z-index: 80;
  bottom: 22px;
  inset-inline-start: 22px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  width: min(390px, calc(100vw - 32px));
  padding: 10px;
  padding-inline-end: 18px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  transform: translateX(calc(100% + 60px));
  transition: transform .6s var(--ease);
}
.toast.is-shown { transform: none; }
.toast img { width: 52px; height: 64px; object-fit: cover; }
.toast strong { display: block; font-size: 15px; }
.toast span { font-size: 13px; color: #555; }
.toast a { font-weight: 900; font-size: 14px; text-decoration: none; border-bottom: 2px solid var(--bg); }

/* ---------- متجاوب ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story__media { aspect-ratio: 4 / 3.6; }
}
@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .p-card__info { flex-direction: column; gap: 0; }
  .p-card__info h3 { font-size: 15px; }
  .hero__meta span:first-child { display: none; }
  .hero__meta { justify-content: flex-end; }
  .story__facts { grid-template-columns: 1fr 1fr 1fr; }
  .story__facts strong { font-size: 30px; }
  .story__facts span { font-size: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .look__frame { width: 72vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
