/* ==========================================================================
   سوق بلدي — طبقة التصميم المميّزة (Premium)
   --------------------------------------------------------------------------
   كتتحمّل من بعد styles.css، وكتعاود تصوغ المظهر بلا ما تبدّل البنية.
   الألوان كتبقى من themes.css، وهاد الملف كيزيد تدرّجات، عمق، حركة وتفاصيل.
   ========================================================================== */

:root {
  --radius: 20px;
  --radius-lg: 30px;
  --header-h: 76px;
  --grad-warm: linear-gradient(135deg, var(--terracotta) 0%, #cf7a33 52%, var(--saffron) 100%);
  --grad-sun: linear-gradient(135deg, #f6cf7d 0%, #eaa64f 55%, #d97b3e 100%);
  --grad-olive: linear-gradient(140deg, #3d4a2a 0%, #59663b 60%, #7a8a4e 100%);
  --grad-deep: radial-gradient(90% 80% at 88% 0%, rgba(216, 154, 43, .30), transparent 58%),
               radial-gradient(75% 70% at 4% 95%, rgba(184, 81, 46, .38), transparent 62%),
               linear-gradient(158deg, #18100b 0%, #24150d 46%, #331c10 100%);
  --glow-warm: 0 22px 60px -24px rgba(var(--terracotta-rgb), .55);
  --glow-soft: 0 26px 70px -36px rgba(var(--shade-rgb), .55);
  --font-body: "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-quote: "Amiri", "Reem Kufi", serif;
}

/* ---------- أساسيات ---------- */
html { scrollbar-color: var(--line-2) transparent; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    radial-gradient(70% 46% at 100% 0%, rgba(var(--saffron-rgb, 216, 154, 43), .10), transparent 62%),
    radial-gradient(52% 40% at 0% 26%, rgba(var(--terracotta-rgb), .07), transparent 60%);
  background-attachment: fixed;
  line-height: 1.72;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: .022;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
::selection { background: var(--saffron); color: #241407; }

h1, h2, h3, h4 { letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(var(--max), 100% - 44px); }

/* ---------- شريط التقدّم + الرجوع لفوق ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 300;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .08s linear;
  pointer-events: none;
}
html[dir="ltr"] #scroll-progress { transform-origin: left; }

.back-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 20px;
  z-index: 120;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(var(--line-rgb), .9);
  background: var(--glass-strong);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: .25s ease;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--ink); color: var(--on-ink); }
@media (max-width: 640px) { .back-top { bottom: 88px; inset-inline-end: 12px; width: 40px; height: 40px; border-radius: 14px; } }

/* ---------- الهيدر العائم ---------- */
#site-header { position: sticky; top: 0; z-index: 95; }
.site-header {
  position: relative;
  top: auto;
  margin-top: 10px;
  width: min(1260px, calc(100% - 24px));
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid rgba(var(--line-rgb), .85);
  background: var(--glass-strong);
  box-shadow: 0 18px 44px -30px rgba(var(--shade-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.header-inner { min-height: 66px; padding-inline: 10px; }
.brand-mark { filter: drop-shadow(0 8px 14px rgba(var(--terracotta-rgb), .32)); }
.brand-text strong { font-size: 1.26rem; letter-spacing: -.01em; }
.brand-text small { font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; }
.main-nav { gap: 2px; margin-inline-start: 14px; }
.nav-link { padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.nav-link.active { background: var(--terracotta-soft); color: var(--terracotta); }
.nav-link.active::after { display: none; }
.header-search {
  height: 42px;
  padding: 3px 16px;
  background: rgba(var(--line-rgb), .22);
  border-color: transparent;
  max-width: 330px;
}
.header-search:focus-within { background: var(--surface); border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(var(--terracotta-rgb), .1); }
.header-search input { font-weight: 500; }
.header-actions { gap: 4px; }
.icon-btn { border-radius: 14px; }
.icon-btn:hover { background: var(--bg-2); border-color: transparent; }
.cart-count { top: 0; inset-inline-start: 0; background: var(--saffron-soft); }
.cart-count.has { background: var(--terracotta); }
.announce { background: linear-gradient(90deg, #3f4b2c, #55633a 55%, #3f4b2c); color: #f4efdd; font-size: .74rem; letter-spacing: .02em; }
.announce-inner { min-height: 34px; }

/* ---------- اقتراحات البحث ---------- */
.header-search { position: relative; }
.search-sug {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline: 0;
  min-width: 320px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 70px -34px rgba(var(--shade-rgb), .55);
  padding: 8px;
  z-index: 140;
  display: none;
  color: var(--ink);
}
.search-sug.show { display: block; animation: sugIn .18s ease both; }
@keyframes sugIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sug-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  transition: background-color .14s;
}
.sug-item:hover, .sug-item.active { background: var(--surface-tint); }
.sug-item img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; flex: none; }
.sug-main { flex: 1; min-width: 0; }
.sug-main strong { display: block; font-size: .84rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-main small { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.sug-price { font-size: .8rem; font-weight: 800; color: var(--terracotta); white-space: nowrap; }
.sug-empty { padding: 18px 12px; font-size: .82rem; color: var(--muted); text-align: center; }
.sug-fix { display: block; margin: 0 10px 8px; padding: 8px 10px; border-radius: 10px; background: var(--saffron-soft, #fbf1d8); color: var(--ink); font-size: .78rem; font-weight: 700; text-align: center; }
.sug-fix:hover { background: var(--saffron-soft, #f7e7bd); }
.sug-fix b { color: var(--terracotta); }
.sug-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 8px; font-size: .68rem; font-weight: 700; color: var(--muted-2); letter-spacing: .04em; }
.sug-all { display: block; text-align: center; padding: 9px; margin-top: 4px; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--terracotta); border-radius: 0 0 12px 12px; }
.sug-all:hover { background: var(--surface-tint); }
@media (max-width: 900px) { .search-sug { display: none !important; } }

/* ---------- الأزرار ---------- */
.btn { border-radius: 14px; font-weight: 700; letter-spacing: .005em; }
.btn-primary {
  background: var(--grad-warm);
  background-size: 160% 160%;
  box-shadow: 0 14px 30px -14px rgba(var(--terracotta-rgb), .62);
  border: 0;
}
.btn-primary:hover { background-position: 100% 50%; background: var(--grad-warm); filter: brightness(1.05); }
.btn-olive { background: var(--grad-olive); border: 0; box-shadow: 0 12px 26px -16px rgba(70, 84, 44, .6); }
.btn-ghost { border-width: 1.5px; }
.btn-lg { border-radius: 16px; }

/* ---------- الهيرو السينمائي ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 4.6vw, 58px) 0 52px;
  margin-top: -4px;
  border-radius: 0 0 46px 46px;
  background: var(--grad-deep);
  color: #fff6e9;
}
.hero::before { display: none; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23f7d9a5' stroke-opacity='.05'%3E%3Cpath d='M70 16l15 35 35 15-35 15-15 35-15-35-35-15 35-15z'/%3E%3Ccircle cx='70' cy='66' r='9'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 80%, transparent);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  opacity: .55;
}
.hero-glow.g1 { width: 420px; height: 420px; top: -140px; inset-inline-start: -100px; background: rgba(184, 81, 46, .55); animation: drift 16s ease-in-out infinite alternate; }
.hero-glow.g2 { width: 340px; height: 340px; bottom: -120px; inset-inline-end: 18%; background: rgba(216, 154, 43, .38); animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 24px, 0) scale(1.12); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 5vw, 68px); align-items: center; z-index: 1; }
.hero-copy { padding-block: 24px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247, 210, 160, .28);
  background: rgba(255, 246, 233, .07);
  color: #f7d9a5;
  font-size: .76rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-kicker .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #f2b95e; box-shadow: 0 0 0 0 rgba(242, 185, 94, .6); animation: pulseDot 2.4s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(242, 185, 94, .55); } 70% { box-shadow: 0 0 0 9px rgba(242, 185, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 185, 94, 0); } }
.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  line-height: 1.13;
  margin: 20px 0 20px;
  color: #fff9ef;
  font-weight: 600;
  letter-spacing: -.025em;
}
.hero-title .grad-text {
  background: linear-gradient(100deg, #f9dd9e 0%, #f0b25c 46%, #e6814b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-title .line { display: block; }
.hero-lead { color: rgba(255, 246, 233, .74); font-size: 1.04rem; max-width: 520px; line-height: 1.95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn-primary { background: var(--grad-sun); color: #2a1708; box-shadow: 0 18px 40px -18px rgba(240, 178, 92, .7); }
.hero .btn-primary:hover { filter: brightness(1.06); }
.hero .btn-ghost { border-color: rgba(255, 246, 233, .3); color: #fff6e9; background: rgba(255, 246, 233, .05); }
.hero .btn-ghost:hover { background: rgba(255, 246, 233, .12); border-color: rgba(255, 246, 233, .55); }
.hero .btn-quiz { border-color: rgba(247, 217, 165, .38); color: #f7d9a5; background: transparent; }
.hero .btn-quiz:hover { background: rgba(247, 217, 165, .1); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; color: rgba(255, 246, 233, .8); font-size: .82rem; font-weight: 500; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: #eab764; }
.hero-note { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: .8rem; color: rgba(255, 246, 233, .62); }
.hero-note-avatars { display: flex; }
.hero-note-avatars span {
  width: 30px; height: 30px; border-radius: 50%;
  background: #3a2415; border: 2px solid #24150d;
  margin-inline-start: -9px; display: grid; place-items: center;
  color: #f2c982; font-size: .7rem; font-weight: 800;
}
.hero-note-avatars span:first-child { margin-inline-start: 0; }
.hero-note strong { color: #f7d9a5; }

/* كولاج الصور */
.hero-media { position: relative; }
.hero-collage { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; grid-template-rows: repeat(2, 1fr); gap: 13px; aspect-ratio: 1 / 1.04; }
.hc-main {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  border-radius: 220px 220px 26px 26px;
  border: 1px solid rgba(255, 246, 233, .18);
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .8);
}
.hc-small {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 246, 233, .14);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .7);
}
.hc-main img, .hc-small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.hero-collage:hover img { transform: scale(1.045); }
.hc-main::after, .hc-small::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(24, 14, 8, .4)); }
.hc-label {
  position: absolute;
  z-index: 2;
  inset-inline-start: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 600;
  color: #fff6e9;
  background: rgba(24, 14, 8, .35);
  border: 1px solid rgba(255, 246, 233, .18);
  backdrop-filter: blur(8px);
  padding: 4px 9px;
  border-radius: 999px;
}
.hc-label .ic { color: #f2c982; }
.hero-sticker {
  position: absolute;
  top: -12px;
  inset-inline-end: -14px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--grad-sun);
  color: #2a1708;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 18px 46px -16px rgba(0, 0, 0, .6);
  transform: rotate(-7deg);
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}
.hero-sticker strong { font-family: var(--font-display); font-size: 1.6rem; }
.hero-sticker span { font-size: .62rem; font-weight: 700; max-width: 78px; }
.hero-float {
  position: absolute;
  bottom: -18px;
  inset-inline-start: auto;
  inset-inline-end: -18px;
  z-index: 3;
  background: rgba(24, 14, 8, .55);
  border: 1px solid rgba(255, 246, 233, .16);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  animation: floaty 7s ease-in-out .6s infinite;
}
.hero-float .ic { color: #e9b95b; }
.hero-float strong { display: block; font-size: .78rem; color: #fff6e9; }
.hero-float small { font-size: .66rem; color: rgba(255, 246, 233, .6); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-7deg); } 50% { transform: translateY(-9px) rotate(-5deg); } }
.hero-float { animation-name: floatyFlat; }
@keyframes floatyFlat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* الشريط المتحرك */
.hero-marquee {
  position: relative;
  margin-top: clamp(30px, 4.5vw, 52px);
  border-top: 1px solid rgba(255, 246, 233, .13);
  padding-block: 12px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; direction: ltr; animation: marquee 34s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding-inline: 27px; white-space: nowrap; font-size: .78rem; font-weight: 600; color: rgba(255, 246, 233, .63); letter-spacing: .01em; }
.marquee-item .dot { width: 5px; height: 5px; border-radius: 50%; background: #e9b95b; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* الأرقام العائمة فوق الهيرو */
.trust-strip { background: transparent; border: 0; margin-top: -36px; position: relative; z-index: 5; }
.trust-grid {
  background: var(--glass-strong);
  border: 1px solid rgba(var(--line-rgb), .85);
  border-radius: 22px;
  box-shadow: 0 30px 70px -40px rgba(var(--shade-rgb), .6);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.trust-item { padding: 18px 20px; border-inline-start: 1px solid rgba(var(--line-rgb), .7); }
.trust-item:first-child { border-inline-start: 0; }
.trust-item .t-ic { width: 42px; height: 42px; border-radius: 13px; background: var(--terracotta-soft); color: var(--terracotta); }
.trust-item:nth-child(2) .t-ic { background: var(--saffron-soft); color: var(--saffron-ink); }
.trust-item:nth-child(3) .t-ic { background: var(--olive-soft); color: var(--olive); }
.trust-item:nth-child(4) .t-ic { background: var(--violet-bg); color: var(--violet-ink); }
.trust-item strong { font-size: .85rem; }
.trust-item small { font-size: .73rem; }

/* ---------- العناوين والأقسام ---------- */
.section { padding-block: 88px; }
.section-tight { padding-block: 54px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--terracotta-soft);
  color: var(--terracotta);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.eyebrow::before { display: none; }
.section-head { margin-bottom: 36px; align-items: flex-end; }
.section-head h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.22; margin-top: 10px; }
.section-head p { font-size: .93rem; margin-top: 9px; color: var(--muted); }
.text-link { font-size: .85rem; font-weight: 800; border-bottom-width: 2px; }
.text-link:hover { gap: 10px; }

/* ---------- الفئات ---------- */
.cat-scroller { gap: 14px; }
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 22px 14px 18px;
  border: 1px solid rgba(var(--line-rgb), .85);
  background: var(--surface);
  box-shadow: 0 10px 28px -24px rgba(var(--shade-rgb), .45);
}
.cat-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  inset-inline-end: -52px;
  bottom: -62px;
  background: var(--terracotta-soft);
  transition: transform .45s ease;
}
.cat-card:nth-child(2n)::after { background: var(--saffron-soft); }
.cat-card:nth-child(3n)::after { background: var(--olive-soft); }
.cat-card:nth-child(4n)::after { background: var(--violet-bg); }
.cat-card:hover::after { transform: scale(1.5); }
.cat-card:hover { transform: translateY(-4px); border-color: rgba(var(--terracotta-rgb), .35); box-shadow: var(--glow-soft); }
.cat-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 20px -12px rgba(var(--shade-rgb), .45); position: relative; z-index: 1; }
.cat-card:nth-child(2n) .cat-ic { background: var(--surface); }
.cat-card:nth-child(3n) .cat-ic { background: var(--surface); }
.cat-card:nth-child(4n) .cat-ic { background: var(--surface); }
.cat-card strong { position: relative; z-index: 1; font-size: .86rem; }
.cat-card small { position: relative; z-index: 1; }
.cat-card:hover .cat-ic { transform: rotate(-8deg) scale(1.06); }

/* ---------- كروت المنتجات ---------- */
.product-grid { gap: 18px; }
.product-card {
  border-radius: 22px;
  border: 1px solid rgba(var(--line-rgb), .9);
  background: var(--surface);
  box-shadow: 0 12px 30px -28px rgba(var(--shade-rgb), .5);
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s, border-color .28s;
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 34px 60px -34px rgba(var(--shade-rgb), .55); border-color: rgba(var(--terracotta-rgb), .3); }
.p-media { aspect-ratio: 1 / 1.07; }
.p-media img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .p-media img { transform: scale(1.065); }
.p-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(20, 12, 6, .34));
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.product-card:hover .p-media::after { opacity: 1; }
.p-badges { top: 12px; inset-inline-start: 12px; gap: 6px; }
.chip { padding: 5px 10px; font-size: .68rem; border-radius: 999px; background: rgba(var(--tint-rgb), .92); box-shadow: 0 4px 12px -8px rgba(0, 0, 0, .5); }
.chip-solid { background: var(--ink); color: var(--on-ink); }
.discount {
  top: 12px;
  inset-inline-end: 12px;
  background: var(--grad-warm);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .68rem;
  box-shadow: 0 8px 18px -10px rgba(var(--terracotta-rgb), .8);
}
.fav-btn { top: auto; bottom: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border: 0; background: rgba(var(--tint-rgb), .9); backdrop-filter: blur(8px); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.quick-add { bottom: 12px; inset-inline-start: 12px; width: 40px; height: 40px; border: 0; background: rgba(var(--tint-rgb), .9); backdrop-filter: blur(8px); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.quick-add:hover { background: var(--grad-warm); transform: scale(1.08) rotate(90deg); }
.p-body { padding: 15px 16px 17px; gap: 5px; }
.p-coop { font-size: .69rem; letter-spacing: .01em; }
.p-title { font-size: .96rem; font-weight: 700; line-height: 1.52; }
.p-price strong { font-family: var(--font-display); font-size: 1.12rem; }
.p-price s { font-size: .72rem; }

/* ---------- عروض اليوم ---------- */
.deal-band {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(26px, 4vw, 46px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(var(--saffron-rgb, 216, 154, 43), .22), transparent 60%),
    linear-gradient(140deg, var(--terracotta-soft), var(--saffron-soft));
  border: 1px solid rgba(var(--line-rgb), .7);
}
.deal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.deal-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.deal-head p { color: var(--ink-2); opacity: .8; font-size: .9rem; margin-top: 6px; }
.deal-timer { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: var(--on-ink); border-radius: 14px; padding: 10px 14px; font-size: .76rem; font-weight: 600; }
.deal-timer .clock-ic { color: var(--saffron); }
.deal-timer b { font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .95rem; letter-spacing: .06em; direction: ltr; }
.deal-band .product-card { background: rgba(var(--tint-rgb), .96); }
/* عروض اليوم غالباً 3 منتجات — auto-fit كيعمّر العرض بلا ما يخلّي بلاصة خاوية. */
.deal-band .product-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ---------- شفتيها مؤخراً ---------- */
.recent-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(196px, 22vw, 240px); gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.recent-rail::-webkit-scrollbar { display: none; }
.mini-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .22s; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--glow-soft); border-color: rgba(var(--terracotta-rgb), .3); }
.mini-card img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; display: block; }
.mini-body { padding: 11px 13px 13px; }
.mini-body strong { display: block; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-body small { font-size: .72rem; color: var(--muted); }
.mini-price { margin-top: 5px; font-weight: 800; font-size: .86rem; color: var(--terracotta); }

/* ---------- الأثر ---------- */
.impact {
  border-radius: 36px;
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(216, 154, 43, .28), transparent 58%),
    linear-gradient(140deg, #26301b, #3d4a2a 52%, #26301b);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .8);
}
.impact-inner { padding: clamp(28px, 5vw, 64px); gap: 34px; }
.impact-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.24; }
.impact-copy p { font-size: .94rem; }
.impact-stats { gap: 24px 30px; margin-top: 32px; }
.impact-stat strong { font-size: clamp(2rem, 3vw, 2.7rem); background: linear-gradient(120deg, #f7d288, #e9a44f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.impact-media { border-radius: 26px; transform: rotate(-1.6deg); }
.impact-media img { aspect-ratio: 4 / 3.2; }
.impact-quote { border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7); }

/* ---------- التعاونيات ---------- */
.coop-grid { gap: 20px; }
.coop-card { min-height: 390px; border-radius: 28px; box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .65); }
.coop-card::after { background: linear-gradient(180deg, rgba(20, 12, 6, .04) 18%, rgba(20, 12, 6, .9) 100%); }
.coop-body { padding: 24px; }
.coop-body h3 { font-size: 1.22rem; }
.coop-arrow { top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; background: rgba(255, 248, 238, .16); color: #fff8ee; border: 1px solid rgba(255, 248, 238, .25); backdrop-filter: blur(8px); }
.coop-card:hover .coop-arrow { transform: rotate(-45deg); background: var(--saffron); color: #241407; border-color: transparent; }
.coop-tag { background: rgba(255, 248, 238, .14); }

/* ---------- الخطوات ---------- */
.steps { position: relative; gap: 20px; }
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  inset-inline: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 7px, transparent 7px 15px);
  z-index: 0;
}
.step { position: relative; z-index: 1; border-radius: 24px; padding: 26px 24px; border: 1px solid rgba(var(--line-rgb), .85); box-shadow: 0 16px 40px -34px rgba(var(--shade-rgb), .5); }
.step-num { width: 58px; height: 58px; border-radius: 19px; background: var(--grad-warm); color: #fff9f1; font-size: 1.2rem; box-shadow: 0 14px 30px -14px rgba(var(--terracotta-rgb), .6); }
.step:nth-child(2) .step-num { background: var(--grad-sun); color: #2a1708; }
.step:nth-child(3) .step-num { background: var(--grad-olive); color: #f7f7ec; }
.step h3 { font-size: 1.12rem; margin-top: 2px; }
.step p { font-size: .89rem; }
.step-arrow { display: none; }

/* ---------- الاقتباس ---------- */
.quote-band { position: relative; overflow: hidden; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); padding: 38px 44px; box-shadow: 0 26px 60px -46px rgba(var(--shade-rgb), .6); }
.quote-band::before { content: "”"; position: absolute; top: -34px; inset-inline-start: 24px; font-family: var(--font-quote); font-size: 10rem; line-height: 1; color: var(--saffron); opacity: .18; pointer-events: none; }
.quote-band blockquote { font-family: var(--font-quote); font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.9; color: var(--ink-2); }
.quote-band cite { font-family: var(--font-body); font-size: .8rem; }
.quote-band .q-ic { display: none; }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: 34px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(216, 154, 43, .35), transparent 60%),
    linear-gradient(140deg, #23150d, #3a2113 70%);
  color: #fff6e9;
  box-shadow: 0 34px 80px -46px rgba(0, 0, 0, .75);
}
.cta-band h2 { color: #fff8ee; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta-band p { color: rgba(255, 246, 233, .68); }
.cta-band .btn { background: var(--grad-sun); color: #2a1708; border: 0; }
.cta-band .btn:hover { filter: brightness(1.06); }
.cta-band::after { background: rgba(216, 154, 43, .12); }

/* ---------- المفضلة/السلة/الحساب بلمسة موحّدة ---------- */
.summary, .form-card, .auth-layout, .account-side, .dash-side, .panel, .filter-box, .security-card {
  border-radius: 22px;
  box-shadow: 0 18px 44px -38px rgba(var(--shade-rgb), .5);
}
.auth-layout { border-radius: 32px; }
.page-hero { padding-top: 46px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.02em; }
.page-hero p { font-size: .96rem; max-width: 620px; }

/* ---------- صفحة المنتج ---------- */
.pdp { gap: clamp(28px, 4.5vw, 62px); padding-top: 4px; }
.pdp-img { border-radius: 32px; box-shadow: 0 34px 80px -52px rgba(var(--shade-rgb), .7); }
.pdp-img img { transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.pdp-img:hover img { transform: scale(1.07); }
.pdp-media .pdp-trust { margin-top: 16px; }
.trust-mini { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 13px 8px; }
.pdp-info h1 { letter-spacing: -.02em; }
.pdp-price-row { border-color: var(--line); padding-block: 18px; }
.pdp-price { font-size: 2.3rem; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pdp-desc { font-size: .95rem; }
.pdp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.stock-alert-box {
  margin-top: 16px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px dashed color-mix(in srgb, var(--saffron) 55%, var(--line));
  background: color-mix(in srgb, var(--saffron) 10%, var(--surface));
}
.stock-alert-head { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.stock-alert-head svg { color: var(--terracotta); flex: none; margin-top: 2px; }
.stock-alert-head strong { display: block; font-size: .92rem; }
.stock-alert-head small { display: block; margin-top: 3px; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.stock-alert-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.stock-alert-form .input { flex: 1; min-width: 190px; background: var(--surface); }
.stock-alert-form .btn { white-space: nowrap; }
.stock-alert-msg { margin: 9px 0 0; font-size: .76rem; min-height: 1em; }
.stock-alert-msg.ok { color: var(--olive-dark); font-weight: 700; }
.stock-alert-msg.err { color: #b23a2a; font-weight: 700; }

/* ---------- شريط تثبيت التطبيق ---------- */
.install-bar {
  position: fixed;
  inset-inline: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin-inline: auto;
  padding: 13px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(135deg, #3f4b2c, #55633a 60%, #3f4b2c);
  color: #f6f1df;
  box-shadow: 0 22px 50px -24px rgba(15, 20, 8, .8);
  transform: translateY(24px);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .28s;
}
.install-bar.show { transform: none; opacity: 1; }
.install-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  color: var(--saffron, #e8b23f);
}
.install-copy { flex: 1; min-width: 0; }
.install-copy strong { display: block; font-size: .86rem; }
.install-copy small { display: block; margin-top: 2px; font-size: .7rem; color: rgba(246, 241, 223, .72); line-height: 1.55; }
.install-go { flex: none; }
.install-close {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .1);
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.install-close:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 560px) {
  .install-bar { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); gap: 9px; padding: 11px 12px; }
  .install-copy small { display: none; }
}
.pdp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 700;
  transition: .18s;
}
.pdp-share-btn:hover { border-color: var(--terracotta); color: var(--terracotta); transform: translateY(-1px); }
.pdp-share-btn.wa:hover { border-color: #25d366; color: #128c4a; background: rgba(37, 211, 102, .08); }
.pdp-women {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--olive-soft);
  color: var(--olive-dark);
  font-size: .72rem;
  font-weight: 700;
}
.review-card { border-radius: 20px; }
.review-form { border-radius: 20px; }
.review-score { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* شريط الشراء الثابت فالهاتف */
.buy-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 88;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--glass-strong);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 -18px 40px -30px rgba(var(--shade-rgb), .6);
}
.buy-bar .bb-price { flex: none; line-height: 1.15; }
.buy-bar .bb-price small { display: block; font-size: .64rem; color: var(--muted); font-weight: 600; }
.buy-bar .bb-price strong { font-family: var(--font-display); font-size: 1.14rem; color: var(--terracotta); }
.buy-bar .btn { flex: 1; min-height: 46px; }
body.has-buy-bar { padding-bottom: 86px; }
@media (max-width: 900px) {
  /* باش شريط الشراء ما يغطّيش آخر المحتوى (فوتر ولا تقييمات). */
  body:has(#buy-bar) { padding-bottom: 84px; }
}

/* ---------- الفوتر ---------- */
.site-footer { margin-top: 60px; border-radius: 42px 42px 0 0; background: linear-gradient(180deg, #1c120b, #120c07); }
.footer-grid { padding-block: 66px 40px; }
.footer-brand p { color: rgba(244, 235, 221, .55); }
.footer-col h4 { color: #f7d9a5; letter-spacing: .03em; }
.footer-col a { color: rgba(244, 235, 221, .6); }
.footer-col a:hover { color: #f2b95e; }
.footer-bottom { color: rgba(244, 235, 221, .42); padding-bottom: 24px; }

/* ---------- الشريط السفلي ---------- */
@media (max-width: 640px) {
  body { padding-bottom: 92px; }
  #bottom-nav {
    inset-inline: 12px;
    bottom: 12px;
    border-radius: 22px;
    border: 1px solid rgba(var(--line-rgb), .85);
    box-shadow: 0 20px 46px -24px rgba(var(--shade-rgb), .6);
    background: var(--glass-strong);
  }
  .bottom-inner { padding: 3px; }
  .bottom-link { padding: 9px 4px 8px; border-radius: 18px; }
  .bottom-link.active { background: var(--terracotta-soft); }
}

/* ---------- البحث في السوق ---------- */
.shop-search { height: 48px; border-radius: 16px; border-color: transparent; background: var(--surface); box-shadow: 0 12px 30px -28px rgba(var(--shade-rgb), .55); }
.toolbar-select { border-radius: 16px; height: 48px; min-height: 48px; }
.filter-box { border-radius: 20px; }
.filter-link { border-radius: 11px; padding: 8px 10px; }
.mobile-filters a { border-radius: 999px; }

/* ---------- المودال ---------- */
.modal { border-radius: 26px; }
.modal-overlay { backdrop-filter: blur(10px); background: rgba(20, 13, 8, .55); }

/* ---------- Souk Match ---------- */
.quiz-modal { width: min(760px, 100%); }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; padding-inline-end: 44px; }
.quiz-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--saffron-soft); color: var(--saffron-ink); font-size: .68rem; font-weight: 800; }
.quiz-progress { height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; margin: 14px 0 22px; }
.quiz-progress span { display: block; height: 100%; border-radius: 999px; background: var(--grad-warm); transition: width .35s ease; }
.quiz-step h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; }
.quiz-step p { color: var(--muted); font-size: .86rem; margin-top: 6px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.quiz-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-align: start;
  transition: .18s;
}
.quiz-opt:hover { border-color: var(--terracotta); background: var(--surface-tint); transform: translateY(-2px); }
.quiz-opt .qo-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--terracotta-soft); color: var(--terracotta); flex: none; }
.quiz-opt:nth-child(2n) .qo-ic { background: var(--saffron-soft); color: var(--saffron-ink); }
.quiz-opt:nth-child(3n) .qo-ic { background: var(--olive-soft); color: var(--olive); }
.quiz-opt strong { display: block; font-size: .9rem; }
.quiz-opt small { display: block; color: var(--muted); font-size: .74rem; line-height: 1.5; margin-top: 2px; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.quiz-back { border: 0; background: none; color: var(--muted); font-size: .82rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.quiz-back:hover { color: var(--terracotta); }
.quiz-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.quiz-results .product-card { border-radius: 18px; }
.quiz-results .p-title { font-size: .84rem; min-height: 2.8em; }
.quiz-results .p-body { padding: 11px 12px 13px; }
.quiz-results .p-price strong { font-size: .94rem; }
.quiz-again { margin-top: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) {
  .quiz-options, .quiz-results { grid-template-columns: 1fr 1fr; }
  .quiz-results { grid-template-columns: 1fr; }
  .quiz-results .product-card { display: flex; flex-direction: row; }
  .quiz-results .p-media { width: 38%; aspect-ratio: auto; align-self: stretch; flex: none; }
  .quiz-results .p-media > a { height: 100%; }
  .quiz-results .p-body { flex: 1; min-width: 0; }
}

/* ---------- حركات الظهور ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(36px); }
.reveal-right { transform: translateX(-36px); }
.reveal-left.in, .reveal-right.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
  .hero-glow, .hero-sticker, .hero-float, .marquee-track { animation: none !important; }
}

/* ---------- استجابة ---------- */
@media (max-width: 1100px) {
  .hero-inner { gap: 34px; }
  .hero-sticker { width: 100px; height: 100px; inset-inline-end: -6px; }
  .hero-sticker strong { font-size: 1.4rem; }
  .hero-sticker span { font-size: .56rem; max-width: 70px; }
}
@media (max-width: 900px) {
  .site-header { margin-top: 8px; width: calc(100% - 16px); border-radius: 16px; }
  .header-inner { min-height: 60px; }
  .hero { padding-top: 22px; padding-bottom: 42px; border-radius: 0 0 32px 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { text-align: center; padding-block: 10px 0; }
  .hero-kicker { margin-inline: auto; }
  .hero-title { font-size: clamp(2.1rem, 8.4vw, 3.2rem); }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .hero-points, .hero-note { justify-content: center; }
  .hero-media { max-width: 470px; margin-inline: auto; width: 100%; }
  .hero-collage { aspect-ratio: 1 / .92; }
  .hero-sticker { inset-inline-end: 0; top: -8px; }
  .hero-float { inset-inline-start: auto; inset-inline-end: -4px; bottom: -12px; }
  .hero-marquee { margin-top: 30px; }
  .trust-strip { margin-top: -24px; }
  .trust-grid { border-radius: 18px; }
  .section { padding-block: 60px; }
  .section-tight { padding-block: 40px; }
  .deal-band { border-radius: 24px; }
  .impact { border-radius: 26px; }
  .quote-band { padding: 28px 24px; }
  .coop-card { min-height: 300px; }
  .steps::before { display: none; }
  .product-grid { gap: 13px; }
  .product-card { border-radius: 18px; }
  .p-body { padding: 12px 13px 14px; }
  .p-title { font-size: .9rem; }
  .p-price strong { font-size: 1rem; }
  .pdp-img { border-radius: 24px; }
  .buy-bar { display: flex; }
  .site-footer { border-radius: 28px 28px 0 0; margin-top: 40px; }
  .footer-grid { padding-block: 44px 30px; }
}
@media (max-width: 640px) {
  .container { width: min(var(--max), 100% - 28px); }
  .site-header { width: calc(100% - 12px); }
  .header-inner { gap: 4px; padding-inline: 9px; }
  .brand { gap: 7px; min-width: 0; }
  .brand-mark svg, .brand-mark .brand-img { width: 34px; height: 34px; }
  .brand-text strong { font-size: 1rem; white-space: nowrap; }
  .brand-text small { display: none; }
  .header-actions { gap: 0; margin-inline-start: auto; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .account-link { display: none; }
  .announce-inner { gap: 10px; font-size: .68rem; }
  .announce-item:nth-child(2) { display: none; }
  .hero { padding-bottom: 34px; }
  .hero-title { font-size: clamp(1.95rem, 9.4vw, 2.7rem); }
  .hero-lead { font-size: .93rem; }
  .hero-points span { flex: none; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { flex: 1; }
  .hero .btn-quiz { flex-basis: 100%; }
  .hero-note { font-size: .73rem; }
  .hero-sticker { width: 88px; height: 88px; }
  .hero-sticker strong { font-size: 1.2rem; }
  .hero-sticker span { font-size: .5rem; max-width: 60px; }
  .hero-float { padding: 8px 11px; }
  .hero-float strong { font-size: .72rem; }
  .hero-float small { font-size: .6rem; }
  .trust-item { padding: 13px 12px; }
  .trust-item small { display: none; }
  .deal-band { padding: 20px 16px; }
  .deal-band .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .deal-head { gap: 12px; }
  .deal-timer { width: 100%; justify-content: center; }
  .cat-card { border-radius: 18px; }
  .section-head { margin-bottom: 24px; }
  .quote-band blockquote { font-size: 1.02rem; }
  .cta-band { border-radius: 24px; }
  .footer-bottom { padding-bottom: 20px; }
}

/* ========== جولة الفيديو التوضيحي ========== */
.tour-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(16px, 2vw, 24px);
  border-radius: 32px;
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(217, 106, 54, .24), transparent 60%),
    linear-gradient(145deg, #2b160d 0%, #180d07 58%, #241009 100%);
  border: 1px solid rgba(240, 201, 135, .20);
  box-shadow: 0 46px 100px -58px rgba(0, 0, 0, .8);
  color: #fbf4e3;
  overflow: hidden;
}
.tour-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23F0C987' stroke-width='1' opacity='.5'%3E%3Cpath d='M110 18 143 51 176 51 176 84 209 110 176 136 176 169 143 169 110 202 77 169 44 169 44 136 11 110 44 84 44 51 77 51Z'/%3E%3Ccircle cx='110' cy='110' r='46'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: .05;
  pointer-events: none;
}
.tour-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #0d0704;
  border: 1px solid rgba(240, 201, 135, .18);
  box-shadow: 0 28px 70px -34px #000;
  isolation: isolate;
}
.tour-media img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tour-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 5, 3, .08), rgba(10, 5, 3, .42)); z-index: 1; }
.tour-band:hover .tour-media img { transform: scale(1.05); }
.tour-chip {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(14, 7, 4, .72); border: 1px solid rgba(240, 201, 135, .26);
  color: #f0c987; font-size: .7rem; font-weight: 700; letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.tour-dot { width: 6px; height: 6px; border-radius: 50%; background: #e0503a; box-shadow: 0 0 9px #e0503a; }
.tour-play {
  position: absolute; inset: 0; margin: auto; z-index: 3;
  width: 84px; height: 84px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  color: #2a130b; background: linear-gradient(140deg, #f8d68c 0%, #eaa651 58%, #df8f3c 100%);
  box-shadow: 0 20px 56px -12px rgba(244, 182, 83, .65), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .25s, box-shadow .25s;
}
.tour-play:hover { transform: scale(1.06); box-shadow: 0 24px 64px -10px rgba(244, 182, 83, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.tour-play svg { margin-inline-start: 3px; }
.tour-play::before {
  content: ""; position: absolute; inset: -11px; border-radius: 50%;
  border: 1px solid rgba(244, 182, 83, .55);
  animation: tourPulse 2.8s ease-out infinite;
}
.tour-play::after {
  content: ""; position: absolute; inset: -11px; border-radius: 50%;
  border: 1px solid rgba(244, 182, 83, .35);
  animation: tourPulse 2.8s ease-out 1.4s infinite;
}
@keyframes tourPulse {
  0% { transform: scale(.94); opacity: .85; }
  70% { transform: scale(1.42); opacity: 0; }
  100% { transform: scale(1.42); opacity: 0; }
}
.tour-copy { position: relative; z-index: 2; padding-inline-end: clamp(4px, 1vw, 12px); }
.tour-copy .eyebrow { background: rgba(244, 182, 83, .13); color: #f4b653; border-color: rgba(244, 182, 83, .25); }
.tour-copy h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.32; margin: 12px 0 10px; color: #fbf4e3; }
.tour-copy p { font-size: .88rem; line-height: 1.85; color: rgba(251, 244, 227, .70); margin: 0; }
.tour-points { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; }
.tour-points li { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: rgba(251, 244, 227, .84); }
.tour-points li span {
  flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(244, 182, 83, .12); border: 1px solid rgba(244, 182, 83, .28);
  color: #f4b653; font-size: .64rem; font-weight: 800; letter-spacing: .04em;
}
.tour-btn { background: var(--grad-sun); color: #2a1708; box-shadow: 0 18px 42px -18px rgba(240, 178, 92, .7); }
.tour-btn:hover { filter: brightness(1.06); }

/* مودال الفيديو */
.modal.video-modal {
  width: min(1040px, 100%);
  padding: 0;
  background: #100804;
  border: 1px solid rgba(240, 201, 135, .24);
  overflow: hidden;
  box-shadow: 0 50px 130px -30px #000;
}
.video-modal .modal-close {
  background: rgba(10, 5, 3, .62); color: #fbf4e3;
  border: 1px solid rgba(251, 244, 227, .18); border-radius: 50%;
  backdrop-filter: blur(8px);
}
.video-modal .modal-close:hover { background: rgba(10, 5, 3, .9); }
.tour-video-head { padding: 18px 66px 16px 24px; border-bottom: 1px solid rgba(240, 201, 135, .12); }
.tour-video-head h2 { font-size: 1.08rem; margin: 0; color: #fbf4e3; }
.tour-video-head .modal-sub { margin: 3px 0 0; font-size: .78rem; color: rgba(251, 244, 227, .58); }
.tour-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }

@media (max-width: 900px) {
  .tour-band { grid-template-columns: 1fr; border-radius: 26px; gap: 18px; }
  .tour-copy { padding: 0 6px 10px; }
  .tour-play { width: 68px; height: 68px; }
  .tour-points { margin: 14px 0 18px; }
  .tour-copy h2 { min-height: 0; }
}
@media (max-width: 640px) {
  .tour-band { padding: 12px; }
  .tour-media { border-radius: 16px; }
  .tour-chip { top: 10px; inset-inline-start: 10px; font-size: .62rem; padding: 5px 9px; }
  .tour-copy { padding: 2px 6px 8px; }
  .tour-copy p { font-size: .82rem; }
  .tour-points li { font-size: .76rem; }
  .tour-play { width: 60px; height: 60px; }
  .tour-video-head { padding: 14px 56px 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-play::before, .tour-play::after { animation: none; opacity: .45; }
  .tour-media img { transition: none; }
}
