/* =========================================================
   UNIVERS JEUX — storefront styles
   ========================================================= */
:root {
  --red: #d10a0a;
  --red-700: #a30000;
  --red-50: #fff1f1;
  --ink: #0e0e0e;
  --ink-2: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e9e9e9;
  --paper: #ffffff;
  --soft: #f6f6f6;
  --wa: #25d366;
  --wa-dark: #128c4a;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --nav-h: 76px;
}
html[lang="ar"] { --f-display: "Cairo", system-ui, sans-serif; --f-body: "Cairo", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; }
.wrap { width: min(1260px, 92vw); margin-inline: auto; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* =========================================================
   INTRO — logo, then curtains open & logo flies to the nav
   ========================================================= */
html.intro-on, html.intro-on body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 3000; pointer-events: none; }
html.intro-on .intro { pointer-events: auto; }
.curtain {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 34px, rgba(0,0,0,.028) 46px, rgba(0,0,0,0) 58px),
    linear-gradient(#fff, #fafafa);
  transition: transform 1s var(--ease-io);
  will-change: transform;
}
.curtain-l { left: 0; transform-origin: left center; box-shadow: inset -18px 0 30px -24px rgba(0,0,0,.35); }
.curtain-r { right: 0; transform-origin: right center; box-shadow: inset 18px 0 30px -24px rgba(0,0,0,.35); }
.curtain::after { content: ""; position: absolute; top: 0; bottom: 0; width: 5px; background: var(--red); }
.curtain-l::after { right: 0; }
.curtain-r::after { left: 0; }
.seam { position: absolute; left: 50%; top: 50%; width: 2px; height: 0; background: var(--red); transform: translate(-50%, -50%); transition: height .5s var(--ease) .45s; }
.intro.is-in .seam { height: 100%; }
.intro.is-open .seam { opacity: 0; transition: opacity .15s; }
.intro.is-open .curtain-l { transform: translateX(-101%) scaleX(.55); }
.intro.is-open .curtain-r { transform: translateX(101%) scaleX(.55); }

.intro-logo {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: min(68vw, 580px); height: auto;
  transform: translate(-50%, -50%) scale(1.12); opacity: 0; filter: blur(8px);
  transition: opacity .55s ease, transform .7s var(--ease), filter .55s ease;
  transform-origin: center;
}
.intro.is-in .intro-logo { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
.intro.is-open .intro-logo { transition: transform .9s var(--ease-io); }
html.intro-on #navLogo { opacity: 0; }

/* hero entrance after the curtains open */
.hero-copy > *, .hero-visual { opacity: 0; transform: translateY(26px); }
html.ready .hero-copy > *, html.ready .hero-visual { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s var(--ease); }
html.ready .hero-copy > :nth-child(2) { transition-delay: .08s; }
html.ready .hero-copy > :nth-child(3) { transition-delay: .16s; }
html.ready .hero-copy > :nth-child(4) { transition-delay: .24s; }
html.ready .hero-copy > :nth-child(5) { transition-delay: .32s; }
html.ready .hero-visual { transition-delay: .1s; }

/* =========================================================
   TOP BAR + NAV
   ========================================================= */
.topbar { background: var(--ink); color: #d9d9d9; font-size: .8rem; }
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 38px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; transition: color .2s; }
.tb-item i { font-size: 1rem; color: var(--red); transition: transform .3s var(--ease); }
.tb-item:hover { color: #fff; }
.tb-item:hover i { transform: translateY(-2px); }
.tb-wa i { color: var(--wa); }
.lang { margin-inline-start: auto; display: flex; align-items: center; gap: 2px; }
.lang > i { font-size: 1rem; margin-inline-end: 6px; opacity: .6; }
.lang button { padding: 4px 9px; font-weight: 600; font-size: .76rem; letter-spacing: .04em; border-radius: 3px; color: #bdbdbd; transition: color .2s, background .2s; }
.lang button:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang button.on { background: var(--red); color: #fff; }
.lang button[lang="ar"] { font-family: Cairo, sans-serif; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 3px solid var(--red); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.nav .wrap { display: flex; align-items: center; gap: 30px; height: var(--nav-h); }
.brand { display: block; flex: none; }
#navLogo { height: 36px; width: auto; transition: transform .35s var(--ease), opacity .2s; }
.brand:hover #navLogo { transform: scale(1.035); }
.links { display: flex; gap: 30px; margin-inline-start: auto; }
.links a { position: relative; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 0; transition: color .2s; }
.links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
[dir="rtl"] .links a::after { transform-origin: left; }
.links a:hover, .links a.active { color: var(--red); }
.links a:hover::after, .links a.active::after { transform: scaleX(1); transform-origin: left; }
[dir="rtl"] .links a:hover::after, [dir="rtl"] .links a.active::after { transform-origin: right; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.3rem; border-radius: 50%; transition: background .2s, color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--red-50); color: var(--red); }
.icon-btn:active { transform: scale(.92); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .25s, transform .25s var(--ease);
}
.cart-btn i { font-size: 1.2rem; }
.cart-btn:hover { background: var(--red); transform: translateY(-2px); }
.cart-btn b { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 11px; background: var(--red); font-size: .72rem; transition: background .25s, color .25s; }
.cart-btn:hover b { background: #fff; color: var(--red); }
[data-count].bump { animation: bump .45s var(--ease); }
@keyframes bump { 35% { transform: scale(1.5); } }
.burger { display: none; }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
.mmenu-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; }
.mmenu-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(360px, 86vw); background: #fff; padding: 80px 28px 30px; display: flex; flex-direction: column; gap: 4px; transform: translateX(105%); transition: transform .45s var(--ease); }
[dir="rtl"] .mmenu-panel { transform: translateX(-105%); }
.mmenu.open { pointer-events: auto; }
.mmenu.open .mmenu-scrim { opacity: 1; }
.mmenu.open .mmenu-panel { transform: none; }
.mmenu-x { position: absolute; top: 18px; inset-inline-end: 18px; }
.mmenu-panel > a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font: 800 1.6rem var(--f-display); text-transform: uppercase; transition: color .2s, padding .3s var(--ease); }
.mmenu-panel > a:hover { color: var(--red); padding-inline-start: 12px; }
.lang-lg { margin: 26px 0 0; gap: 6px; flex-wrap: wrap; }
.lang-lg button { padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 0; color: var(--ink); font-size: .85rem; }
.lang-lg button:hover { background: var(--ink); color: #fff; }
.lang-lg button.on { border-color: var(--red); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px;
  background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
  font: 800 .88rem var(--f-display); text-transform: uppercase; letter-spacing: .05em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .25s;
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: .95rem; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateX(-101%); transition: transform .4s var(--ease-io); }
[dir="rtl"] .btn::before { transform: translateX(101%); }
.btn i { font-size: 1.05rem; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--ink); }
[dir="rtl"] .btn:hover { box-shadow: -6px 6px 0 var(--ink); }
.btn:hover::before { transform: none; }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
[dir="rtl"] .btn .ph-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ph-arrow-right { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: translateY(0); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--red); }
[dir="rtl"] .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink), -6px 6px 0 var(--red); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: #fff; box-shadow: 6px 6px 0 rgba(0,0,0,.4); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: 70px 0 120px; }
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: -12%; width: 50%; background: var(--red); transform: skewX(-11deg); transform-origin: top; }
[dir="rtl"] .hero::before { right: auto; left: -12%; transform: skewX(11deg); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font: 700 .74rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; padding: 8px 13px; }
.tag::before { content: ""; width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: .2; } }
html[lang="ar"] .tag { letter-spacing: 0; font-size: .85rem; }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5.9rem); line-height: .9; font-weight: 900; text-transform: uppercase; letter-spacing: -.025em; margin: 22px 0 22px; }
html[lang="ar"] .hero h1 { line-height: 1.15; letter-spacing: 0; font-size: clamp(2.5rem, 5.6vw, 4.8rem); }
.hero h1 em { font-style: normal; color: var(--red); position: relative; }
.hero p { font-size: 1.12rem; color: #474747; max-width: 470px; margin: 0; }
.cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-feats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 10px 26px; flex-wrap: wrap; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.hero-feats li { display: flex; align-items: center; gap: 8px; }
.hero-feats i { font-size: 1.15rem; color: var(--red); }

.hero-visual { position: relative; height: 520px; }
.hero-photo { position: absolute; inset: 20px 0 20px 30px; overflow: hidden; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
[dir="rtl"] .hero-photo { clip-path: polygon(0 0, 86% 0, 100% 100%, 14% 100%); inset: 20px 30px 20px 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.hero-visual:hover .hero-photo img { transform: scale(1.14) rotate(-1deg); }
.shape { position: absolute; width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); animation: drift 7s ease-in-out infinite; }
.s-tri { top: -6px; left: 30%; }
.s-cir { top: 12%; right: -14px; animation-delay: -2s; }
.s-x { bottom: 4%; right: 18%; animation-delay: -4s; }
.s-sq { bottom: 16%; left: -4px; stroke: var(--red); animation-delay: -1s; }
@keyframes drift { 50% { transform: translateY(-14px) rotate(14deg); } }
.hero-chip {
  position: absolute; left: -10px; bottom: 50px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  background: #fff; text-align: start; box-shadow: 0 20px 40px -15px rgba(0,0,0,.4); max-width: 290px;
  transition: transform .35s var(--ease), box-shadow .35s; animation: chipIn .8s var(--ease) 2.4s both;
}
[dir="rtl"] .hero-chip { left: auto; right: -10px; padding: 10px 10px 10px 18px; }
.hero-chip:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -15px rgba(209,10,10,.55); }
.hero-chip img { width: 58px; height: 58px; object-fit: cover; }
.hero-chip small { display: block; font-size: .68rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .12em; }
.hero-chip span { display: block; font-weight: 700; font-size: .86rem; line-height: 1.3; }
.hero-chip b { font: 900 1rem var(--f-display); }
@keyframes chipIn { from { opacity: 0; transform: translateY(20px); } }

/* ticker */
.ticker { position: relative; z-index: 2; margin: -44px -20px 0; background: var(--ink); color: #fff; padding: 16px 0; transform: rotate(-1.3deg); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
[dir="rtl"] .ticker-track { animation-name: tickR; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { display: inline-flex; align-items: center; gap: 12px; padding: 0 30px; text-decoration: none; font: 900 1.35rem var(--f-display); text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.ticker-track a i { color: var(--red); font-size: 1.3rem; transition: transform .4s var(--ease); }
.ticker-track a:hover { color: var(--red); }
.ticker-track a:hover i { transform: rotate(-20deg) scale(1.2); }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes tickR { to { transform: translateX(50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.sec { padding: 100px 0 0; }
.sec-head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 36px; }
.sec-num { font: 900 .9rem var(--f-display); color: #fff; background: var(--red); padding: 6px 9px 5px; line-height: 1; margin-bottom: 7px; font-family: "Archivo", sans-serif; }
.sec-head small { display: block; font-size: .76rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 4px; }
html[lang="ar"] .sec-head small { letter-spacing: 0; font-size: .9rem; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: .95; font-weight: 900; text-transform: uppercase; letter-spacing: -.015em; }
html[lang="ar"] .sec-head h2 { line-height: 1.2; letter-spacing: 0; }
.sec-link { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid var(--ink); transition: color .2s, border-color .2s, gap .3s var(--ease); }
.sec-link:hover { color: var(--red); border-color: var(--red); gap: 14px; }
[dir="rtl"] .sec-link i { transform: scaleX(-1); }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
[data-reveal].seen { opacity: 1; transform: none; }

/* =========================================================
   CATEGORIES
   ========================================================= */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  position: relative; overflow: hidden; isolation: isolate; height: 210px; padding: 20px; color: #fff; text-align: start;
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink);
}
.cat:nth-child(1) { grid-column: span 2; grid-row: span 2; height: auto; min-height: 434px; }
.cat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform .9s var(--ease), opacity .4s; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85)); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); mix-blend-mode: multiply; clip-path: circle(0% at 100% 100%); transition: clip-path .6s var(--ease-io); }
[dir="rtl"] .cat::after { clip-path: circle(0% at 0 100%); }
.cat:hover::after { clip-path: circle(150% at 100% 100%); }
[dir="rtl"] .cat:hover::after { clip-path: circle(150% at 0 100%); }
.cat:hover img { transform: scale(1.1); opacity: .9; }
.cat-ic { position: absolute; top: 16px; inset-inline-start: 16px; width: 42px; height: 42px; display: grid; place-items: center; background: #fff; color: var(--red); font-size: 1.35rem; transition: transform .45s var(--ease), background .3s, color .3s; }
.cat:hover .cat-ic { transform: rotate(-12deg) scale(1.08); background: var(--ink); color: #fff; }
.cat b { font: 900 1.45rem var(--f-display); text-transform: uppercase; line-height: 1; }
.cat:nth-child(1) b { font-size: 2.4rem; }
.cat-n { font-size: .82rem; opacity: .8; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.cat-n i { transition: transform .3s var(--ease); }
.cat:hover .cat-n i { transform: translate(4px, -4px); }
[dir="rtl"] .cat-n i { transform: scaleX(-1); }
[dir="rtl"] .cat:hover .cat-n i { transform: scaleX(-1) translate(4px, -4px); }

/* =========================================================
   PRODUCT CARD
   ========================================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-8px); border-color: var(--red); box-shadow: 0 26px 46px -24px rgba(209,10,10,.55); }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.card:hover .card-media::after { transform: translateX(120%); transition: transform .9s ease; }
.badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; z-index: 2; }
.badge { background: var(--red); color: #fff; font: 800 .7rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; }
.badge.b-new { background: var(--ink); }
.badge.b-out { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
html[lang="ar"] .badge { letter-spacing: 0; font-size: .78rem; }
.quick {
  position: absolute; inset-inline: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; background: rgba(255,255,255,.95); font-weight: 700; font-size: .85rem;
  transform: translateY(calc(100% + 14px)); transition: transform .4s var(--ease), background .2s, color .2s;
}
.card:hover .quick, .quick:focus-visible { transform: none; }
.quick:hover { background: var(--ink); color: #fff; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
html[lang="ar"] .card-cat { letter-spacing: 0; font-size: .8rem; }
.card-cat i { color: var(--red); font-size: .95rem; }
.card h3 { font: 700 1rem/1.35 var(--f-body); margin: 7px 0 12px; cursor: pointer; transition: color .2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card h3:hover { color: var(--red); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.price b { font: 900 1.35rem var(--f-display); color: var(--red); font-family: "Archivo", "Cairo", sans-serif; }
.price s { color: #a5a5a5; font-size: .88rem; }
.price .save { font-size: .72rem; font-weight: 700; color: var(--red); background: var(--red-50); padding: 2px 7px; }
.card-acts { display: grid; grid-template-columns: 1fr 46px; gap: 8px; margin-top: 14px; }
.add { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; background: var(--ink); color: #fff; font-weight: 700; font-size: .86rem; overflow: hidden; position: relative; transition: background .25s; }
.add i { font-size: 1.05rem; transition: transform .35s var(--ease); }
.add:hover { background: var(--red); }
.add:hover i { transform: rotate(90deg); }
.add.added { background: #148a3e; }
.add.added i { transform: none; }
.add:disabled { background: #d8d8d8; color: #777; cursor: not-allowed; }
.wa-sq { display: grid; place-items: center; height: 46px; font-size: 1.35rem; color: var(--wa-dark); box-shadow: inset 0 0 0 1.5px var(--wa); text-decoration: none; transition: background .25s, color .25s, transform .3s var(--ease); }
.wa-sq:hover { background: var(--wa); color: #fff; transform: rotate(-8deg); }
.card.is-out .card-media img { filter: grayscale(1); opacity: .65; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); border: 1.5px dashed var(--line); }
.empty-state i { font-size: 2.4rem; color: var(--red); display: block; margin-bottom: 8px; }

/* skeleton while loading */
.skel { aspect-ratio: .72; background: linear-gradient(90deg, #f3f3f3 25%, #ebebeb 50%, #f3f3f3 75%) 0 0 / 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* =========================================================
   PROMO BANNER
   ========================================================= */
.promo { position: relative; margin-top: 110px; overflow: hidden; color: #fff; background: var(--red); }
.promo-bg { position: absolute; inset: 0; }
.promo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: luminosity; transform: scale(1.1); transition: transform 2s var(--ease); }
.promo:hover .promo-bg img { transform: scale(1.16); }
.promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--red) 25%, rgba(209,10,10,.55)); }
[dir="rtl"] .promo::before { background: linear-gradient(-90deg, var(--red) 25%, rgba(209,10,10,.55)); }
.promo-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px 40px; padding: 70px 0; flex-wrap: wrap; }
.promo-kicker { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; }
html[lang="ar"] .promo-kicker { letter-spacing: 0; font-size: .9rem; }
.promo h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: .95; text-transform: uppercase; font-weight: 900; margin-top: 8px; max-width: 520px; }
html[lang="ar"] .promo h2 { line-height: 1.25; }
.promo-ends { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 10px; opacity: .85; }
.count { display: flex; gap: 10px; }
.count div { min-width: 78px; padding: 12px 10px 10px; text-align: center; background: #fff; color: var(--ink); transition: transform .3s var(--ease); }
.count div:hover { transform: translateY(-5px) rotate(-2deg); }
.count b { display: block; font: 900 2rem/1 "Archivo", sans-serif; color: var(--red); font-variant-numeric: tabular-nums; }
.count small { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.count-over { font-weight: 700; background: rgba(0,0,0,.25); padding: 12px 16px; }

/* =========================================================
   SHOP TOOLBAR
   ========================================================= */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1.5px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; font-weight: 600; font-size: .85rem; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s, color .2s, transform .25s var(--ease); }
.chip i { font-size: 1rem; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.chip.on { background: var(--red); color: #fff; box-shadow: none; }
.tools { display: flex; gap: 10px; }
.search, .sort { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.search:focus-within, .sort:focus-within { box-shadow: inset 0 0 0 2px var(--red); }
.search i, .sort i { color: var(--muted); font-size: 1.1rem; }
.search input { border: 0; outline: 0; background: none; width: 200px; }
.sort select { border: 0; outline: 0; background: none; cursor: pointer; font-weight: 600; font-size: .88rem; }
.result-count { margin: 16px 0 22px; font-size: .88rem; color: var(--muted); }
.result-count b { color: var(--ink); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: stretch; }
.contact-copy p { font-size: 1.05rem; color: #474747; max-width: 460px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-weight: 600; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list i { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-size: 1.2rem; }
.map { min-height: 380px; border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--red); position: relative; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
[dir="rtl"] .map { box-shadow: -10px 10px 0 var(--red); }
.map:hover { transform: translate(-3px, -3px); box-shadow: 14px 14px 0 var(--red); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) contrast(1.05); transition: filter .4s; }
.map:hover iframe { filter: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { margin-top: 120px; background: var(--ink); color: #b9b9b9; padding: 64px 0 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.foot-logo { height: 40px; width: auto; background: #fff; padding: 5px; margin-bottom: 18px; }
.footer p { max-width: 340px; margin: 0; }
.footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.foot-grid > div > a { display: block; width: fit-content; padding: 5px 0; text-decoration: none; transition: color .2s, transform .3s var(--ease); }
.foot-grid > div > a:hover { color: #fff; transform: translateX(6px); }
[dir="rtl"] .foot-grid > div > a:hover { transform: translateX(-6px); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; box-shadow: inset 0 0 0 1.5px #3a3a3a; transition: background .25s, box-shadow .25s, transform .3s var(--ease); }
.socials a:hover { background: var(--red); box-shadow: none; transform: translateY(-4px); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 0; border-top: 1px solid #262626; font-size: .8rem; }
.foot-admin { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #777; transition: color .2s; }
.foot-admin:hover { color: #fff; }

/* =========================================================
   CART DRAWER
   ========================================================= */
.scrim { position: fixed; inset: 0; z-index: 900; background: rgba(10,10,10,.5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 901; width: min(440px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .5s var(--ease); box-shadow: -30px 0 60px -20px rgba(0,0,0,.3); }
[dir="rtl"] .drawer { transform: translateX(-105%); }
html.cart-open .scrim { opacity: 1; pointer-events: auto; }
html.cart-open .drawer { transform: none; }
html.cart-open, html.modal-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 24px; border-bottom: 3px solid var(--red); }
.drawer-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; text-transform: uppercase; }
.drawer-head h3 i { color: var(--red); }
.drawer-head h3 b { font-size: .75rem; background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 20px; }
.drawer-lines { flex: 1; overflow-y: auto; padding: 6px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: lineIn .4s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateX(24px); } }
.line img { width: 76px; height: 76px; object-fit: cover; background: var(--soft); }
.line-info b { display: block; font-size: .9rem; line-height: 1.3; }
.line-info span { color: var(--red); font-weight: 800; font-size: .92rem; }
.stepper { display: inline-flex; align-items: center; margin-top: 8px; box-shadow: inset 0 0 0 1.5px var(--line); }
.stepper button { width: 30px; height: 30px; display: grid; place-items: center; transition: background .2s, color .2s; }
.stepper button:hover { background: var(--ink); color: #fff; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-size: .9rem; }
.line-rm { width: 34px; height: 34px; display: grid; place-items: center; color: #aaa; font-size: 1.1rem; transition: color .2s, transform .3s var(--ease); }
.line-rm:hover { color: var(--red); transform: rotate(-12deg) scale(1.15); }
.cart-empty { text-align: center; padding: 70px 10px; }
.cart-empty i { font-size: 3.4rem; color: var(--red); }
.cart-empty b { display: block; font: 800 1.2rem var(--f-display); margin-top: 10px; }
.cart-empty p { color: var(--muted); margin: 6px 0 22px; }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-foot[hidden] { display: none; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.total b { font: 900 1.6rem "Archivo", "Cairo", sans-serif; color: var(--red); }
.wa-btn { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 800; font-size: 1rem; transition: transform .25s var(--ease), box-shadow .25s; }
.wa-btn i { font-size: 1.5rem; }
.wa-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(37,211,102,.7); }
.wa-btn:hover::after { transform: translateX(100%); transition: transform .8s; }
.drawer-note { margin: 0; font-size: .78rem; color: var(--muted); text-align: center; }
.link-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); transition: color .2s; }
.link-btn:hover { color: var(--red); }

/* =========================================================
   QUICK VIEW MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(10,10,10,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.modal-box { position: relative; width: min(940px, 100%); max-height: 92vh; overflow: auto; background: #fff; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .35s, transform .45s var(--ease); }
.modal.open { pointer-events: auto; }
.modal.open .modal-scrim { opacity: 1; }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; background: #fff; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { position: relative; background: var(--soft); min-height: 420px; overflow: hidden; }
.qv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.qv-media:hover img { transform: scale(1.06); }
.qv-info { padding: 40px 34px 34px; display: flex; flex-direction: column; gap: 14px; }
.qv-info h2 { font-size: 1.8rem; line-height: 1.1; text-transform: uppercase; font-weight: 900; }
html[lang="ar"] .qv-info h2 { line-height: 1.35; }
.qv-info p { margin: 0; color: #4a4a4a; }
.qv-info .price b { font-size: 2rem; }
.qv-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.qv-row .stepper { margin: 0; height: 52px; }
.qv-row .stepper button { width: 42px; height: 52px; }
.qv-row .add { flex: 1; height: 52px; padding: 0 18px; min-width: 180px; }
.qv .wa-btn { height: 52px; }

/* =========================================================
   FAB + TOAST
   ========================================================= */
.fab { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 2rem; box-shadow: 0 12px 30px -6px rgba(37,211,102,.6); animation: pulse 2.6s infinite; transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.1) rotate(-10deg); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 990; display: flex; align-items: center; gap: 10px; max-width: 90vw; padding: 12px 20px 12px 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; transform: translate(-50%, 40px); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .3s; border-inline-start: 4px solid var(--red); }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.toast i { color: #3ddc84; font-size: 1.2rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat:nth-child(1) { grid-column: span 2; grid-row: span 2; min-height: 434px; }
}
@media (max-width: 880px) {
  :root { --nav-h: 66px; }
  .links, .cart-btn span { display: none; }
  .burger { display: grid; }
  .cart-btn { padding: 0 16px; }
  #navLogo { height: 30px; }
  .hero { padding: 40px 0 100px; }
  .hero::before { width: 120%; height: 46%; top: auto; bottom: 0; right: -10%; transform: skewY(-6deg); transform-origin: right; }
  [dir="rtl"] .hero::before { left: -10%; transform: skewY(6deg); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .qv { grid-template-columns: 1fr; }
  .qv-media { min-height: 300px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .tools { flex-wrap: wrap; }
  .search { flex: 1; }
  .search input { width: 100%; }
}
@media (max-width: 600px) {
  .topbar .tb-item:first-child { display: none; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat { height: 160px; }
  .cat:nth-child(1) { grid-column: span 2; min-height: 220px; }
  .cat:nth-child(1) b { font-size: 1.8rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: .9rem; }
  .price b { font-size: 1.1rem; }
  .card-acts { grid-template-columns: 1fr 40px; }
  .add { height: 40px; font-size: .78rem; }
  .add span { display: none; }
  .wa-sq { height: 40px; }
  .quick { display: none; }
  .sec { padding-top: 76px; }
  .sec-link span { display: none; }
  .count div { min-width: 64px; }
  .count b { font-size: 1.5rem; }
  .hero-chip { left: 0; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal], .hero-copy > *, .hero-visual { opacity: 1; transform: none; }
}

/* keep "-13%" readable in Arabic */
.badge, .price .save, .hero-chip small { direction: ltr; unicode-bidi: isolate; }
.tb-item { white-space: nowrap; }
@media (max-width: 400px) { .topbar .wrap { gap: 10px; } .lang > i { display: none; } }
@media (max-width: 600px) {
  .nav .wrap { gap: 8px; }
  #navLogo { height: 26px; }
  .nav-actions { margin-inline-start: auto; gap: 2px; }
  .nav-actions .icon-btn { width: 40px; height: 40px; }
  .cart-btn { height: 42px; padding: 0 14px; }
}
@media (max-width: 420px) { .tb-wa span { display: none; } .tb-wa i { font-size: 1.15rem; } }
main { overflow-x: clip; }
