:root {
  --blush: #F4E2DE;
  --blush-2: #FBF1EE;
  --plum: #4A1525;
  --plum-2: #6B2A3C;
  --gold: #D4AF37;
  --gold-soft: #EBD9A0;
  --ivory: #FAFAFA;
  --paper: #FFFFFF;
  --ink: #2B1419;
  --muted: #86707A;
  --line: #EEE3E0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(74, 21, 37, .04), 0 8px 24px rgba(74, 21, 37, .06);
  --shadow-lg: 0 24px 60px rgba(74, 21, 37, .14);
  --head: 'El Messiri', 'IBM Plex Sans Arabic', serif;
  --body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --latin: 'Cormorant Garamond', serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--ivory);
  line-height: 1.7; font-size: 15px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--plum); line-height: 1.35; margin: 0 0 .4em; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--blush); color: var(--plum); }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } body { font-size: 16px; } }
.only-desktop { display: none !important; }
@media (min-width: 1024px) { .only-mobile { display: none !important; } .only-desktop { display: inline-flex !important; } }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ——— أزرار ——— */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 50px; padding: 0 28px; border-radius: 999px; font-weight: 500; letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, translate .35s var(--ease-out); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--plum); color: var(--ivory); }
.btn--primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(212, 175, 55, .45) 50%, transparent 70%); transform: translateX(100%); transition: transform .8s var(--ease); }
.btn--primary:hover::before { transform: translateX(-100%); }
.btn--primary:hover { background: var(--plum-2); box-shadow: 0 10px 24px rgba(74, 21, 37, .25); }
.btn--ghost { border: 1px solid var(--plum); color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--ivory); }
.btn--block { width: 100%; }
.btn--sm { height: 38px; padding: 0 16px; font-size: .9em; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--plum); transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.icon-btn:hover { background: var(--blush); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.icon-btn:hover svg { transform: scale(1.08); }
.count {
  position: absolute; top: -2px; inset-inline-end: -2px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--gold); color: var(--plum); font-size: 11px; font-weight: 700; line-height: 1; border-radius: 10px; display: grid; place-items: center;
  border: 2px solid var(--ivory); animation: pop .4s var(--ease-out);
}
/* مجموعة أيقونات الهيدر */
.header__actions { align-items: center; }
@media (min-width: 1024px) {
  .header__actions { gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(74, 21, 37, .05); }
  .header__actions .icon-btn { width: 42px; height: 42px; }
}
.icon-btn--cart { background: var(--plum); color: var(--ivory); box-shadow: 0 6px 16px rgba(74, 21, 37, .22); }
.icon-btn--cart:hover { background: var(--plum-2); color: var(--ivory); }
.icon-btn--cart svg { width: 20px; height: 20px; }
.icon-btn--wish:hover { color: #B0485A; }
.icon-btn--wish:hover svg { fill: rgba(176, 72, 90, .15); }
@media (max-width: 1023px) { .icon-btn--wish { display: none; } .icon-btn--cart { width: 40px; height: 40px; } }

/* ——— الصفحة الترحيبية ——— */
.welcome { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--blush-2); overflow: hidden; transition: clip-path 1s var(--ease-out); clip-path: inset(0 0 0 0); }
.no-welcome .welcome { display: none; }
.welcome.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.welcome__bg { position: absolute; inset: 0; }
.welcome__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; transform: scale(1.15); transition: transform 6s var(--ease-out); filter: saturate(.8); }
.welcome.is-in .welcome__bg img { transform: scale(1); }
.welcome__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(251, 241, 238, .92) 0%, rgba(251, 241, 238, .75) 45%, rgba(244, 226, 222, .55) 100%); }
.welcome__inner { position: relative; z-index: 1; text-align: center; padding: 24px; max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.welcome__mark { width: 150px; height: auto; opacity: 0; transform: scale(.6) rotate(-12deg); filter: blur(8px); transition: opacity 1.2s var(--ease-out) .15s, transform 1.2s var(--ease-out) .15s, filter 1.2s var(--ease-out) .15s; }
.welcome__word { width: 280px; height: auto; margin-top: 10px; clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--ease-out) .7s; }
.welcome__tag { width: 200px; height: auto; margin-top: 10px; opacity: 0; transform: translateY(8px); transition: opacity .8s 1.3s, transform .8s var(--ease-out) 1.3s; }
.welcome__hello { font-family: var(--head); font-size: clamp(24px, 5vw, 32px); color: var(--plum); margin: 30px 0 6px; }
.welcome__text { color: var(--muted); max-width: 380px; }
.welcome__hello, .welcome__text, .welcome__cta, .welcome__gift { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.welcome__hello { transition-delay: 1.5s; } .welcome__text { transition-delay: 1.65s; } .welcome__cta { transition-delay: 1.8s; } .welcome__gift { transition-delay: 1.95s; }
.welcome.is-in .welcome__mark { opacity: 1; transform: none; filter: none; }
.welcome.is-in .welcome__word { clip-path: inset(0 0 0 0); }
.welcome.is-in :is(.welcome__tag, .welcome__hello, .welcome__text, .welcome__cta, .welcome__gift) { opacity: 1; transform: none; }
.welcome__cta { margin-top: 8px; min-width: 220px; height: 54px; font-size: 16px; }
.welcome__gift { margin-top: 22px; font-size: 13px; background: rgba(255, 255, 255, .8); border: 1px dashed var(--gold); color: var(--plum); padding: 8px 16px; border-radius: 999px; }
.welcome__gift b { letter-spacing: .08em; }
.welcome__skip { position: absolute; z-index: 2; top: calc(18px + env(safe-area-inset-top)); left: 20px; font-size: 13px; color: var(--muted); padding: 8px 12px; }
.welcome__skip:hover { color: var(--plum); }
.welcome::before, .welcome::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .35); width: 520px; height: 520px; animation: pulse 6s ease-in-out infinite; pointer-events: none; }
.welcome::after { width: 760px; height: 760px; animation-delay: -3s; border-color: rgba(212, 175, 55, .18); }
@keyframes pulse { 0%, 100% { transform: scale(.94); opacity: .6; } 50% { transform: scale(1.04); opacity: 1; } }

/* ——— الشريط العلوي والهيدر ——— */
.announce { background: var(--plum); color: var(--blush); font-size: 13px; height: 36px; overflow: hidden; display: flex; align-items: center; }
.announce__track { display: flex; gap: 64px; white-space: nowrap; animation: marquee 40s linear infinite; padding-inline-start: 64px; }
.announce b { color: var(--gold); letter-spacing: .06em; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(250, 250, 250, .97); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(74, 21, 37, .05); }
.header__row { display: flex; align-items: center; gap: 12px; height: 68px; transition: height .3s var(--ease); }
@media (min-width: 1024px) { .header__row { height: 88px; } .header.is-scrolled .header__row { height: 72px; } }
.brand { display: flex; align-items: center; gap: 8px; }
.brand__mark { width: 50px; height: auto; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; direction: ltr; }
.brand__word { height: 30px; width: auto; }
.brand__tag { font-family: var(--latin); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 30px; margin-inline: auto; }
  .nav a { position: relative; font-size: 15px; color: var(--ink); padding: 6px 0; transition: color .2s; }
  .nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
  .nav a:hover { color: var(--plum); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .nav a.is-active { color: var(--plum); font-weight: 500; }
}
.header__actions { display: flex; gap: 4px; margin-inline-start: auto; }
@media (min-width: 1024px) { .header__actions { margin-inline-start: 0; } }
@media (max-width: 1023px) { .brand { position: absolute; left: 50%; transform: translateX(-50%); } .brand__tag { display: none; } .brand__mark { width: 40px; } .brand__word { height: 24px; } }

.search { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 0; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.search input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 999px; padding: 0 22px; background: var(--ivory); outline: none; }
.search input:focus { border-color: var(--gold); }
.search__results { display: grid; gap: 6px; margin-top: 10px; max-height: 60vh; overflow: auto; }
.search__item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: var(--radius-sm); }
.search__item:hover { background: var(--blush-2); }
.thumb { overflow: hidden; background: var(--blush-2); flex: none; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.search__item .thumb { width: 52px; height: 52px; border-radius: 12px; }

/* ——— الأدراج ——— */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(43, 20, 25, .4); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--paper); z-index: 1;
  display: flex; flex-direction: column; transition: transform .5s var(--ease-out); box-shadow: var(--shadow-lg);
}
.drawer--cart .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer--menu .drawer__panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-size: 20px; }
.mobile-nav { display: flex; flex-direction: column; padding: 10px 20px; overflow: auto; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; display: flex; align-items: center; gap: 14px; min-height: 64px; opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms + 150ms); }
.drawer.is-open .mobile-nav a { opacity: 1; transform: none; }
.mobile-nav__img { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex: none; }
.mobile-nav__img img { width: 100%; height: 100%; object-fit: cover; }
.mobile-nav__t { flex: 1; }
.mobile-nav small { color: var(--muted); font-family: var(--latin); font-size: 15px; }

.cart { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart__items { flex: 1; overflow: auto; padding: 8px 20px; }
.cart__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; animation: fadeUp .5s var(--ease) both; }
.cart__item .thumb { width: 76px; height: 76px; border-radius: 14px; }
.cart__item h5 { margin: 0 0 4px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.cart__remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart__foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ivory); }
.cart__row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; }
.cart__row--total { font-size: 17px; font-weight: 600; color: var(--plum); margin: 10px 0 14px; }
.cart__empty { text-align: center; padding: 60px 24px; }
.empty__mark { width: 110px; height: auto; margin: 0 auto 18px; animation: float 6s ease-in-out infinite; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 6px 0 14px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #E9CF7A, var(--gold)); background-size: 200% 100%; border-radius: 3px; transition: width .6s var(--ease); animation: shimmer 2.5s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.free-note { font-size: 13px; color: var(--plum); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 36px; }
.qty button { width: 34px; height: 100%; font-size: 18px; color: var(--plum); }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }
.qty--lg { height: 52px; } .qty--lg button { width: 44px; }

/* ——— الأقسام العامة ——— */
.section { padding: 64px 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 110px 0; } }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.section__head h2 { font-size: clamp(28px, 4vw, 42px); margin: 0; }
.eyebrow { font-family: var(--latin); font-style: italic; color: var(--gold); font-size: 19px; letter-spacing: .04em; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 6px; direction: ltr; }
.eyebrow svg { width: 14px; height: 14px; fill: var(--gold); animation: spin 8s linear infinite; }
.link { color: var(--plum); font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 2px; white-space: nowrap; transition: color .2s, padding .3s; }
.link:hover { color: var(--gold); padding-inline-start: 6px; }

/* ——— الحركات العامة ——— */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round 24px); transition: clip-path 1.3s var(--ease-out); overflow: hidden; }
.reveal-img img { transform: scale(1.25); transition: transform 1.6s var(--ease-out); }
.reveal-img.is-in { clip-path: inset(0 0 0 0 round 24px); }
.reveal-img.is-in img { transform: scale(1); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero__title .w > * { display: inline-block; transform: translateY(105%); animation: wordUp 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms + .15s); animation-play-state: paused; }
.is-ready .hero__title .w > * { animation-play-state: running; }
@keyframes wordUp { to { transform: none; } }
.hero__in, .pdp__in { opacity: 0; transform: translateY(18px); animation: fadeIn .9s var(--ease-out) forwards; animation-delay: var(--d, .2s); animation-play-state: paused; }
.is-ready :is(.hero__in, .pdp__in) { animation-play-state: running; }
@keyframes fadeIn { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .hero__in, .pdp__in { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
}

/* ——— Hero ——— */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blush-2) 0%, #FDF7F5 60%, var(--ivory) 100%); }
.hero__glow { position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; top: -20%; left: -10%; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .16), transparent 65%); animation: float 12s ease-in-out infinite; pointer-events: none; }
.hero__watermark { position: absolute; bottom: -4vw; right: -2vw; font-family: var(--latin); font-weight: 600; font-size: 22vw; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(74, 21, 37, .06); pointer-events: none; user-select: none; direction: ltr; }
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; padding-block: 36px 72px; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1fr 1.05fr; padding-block: 56px 110px; gap: 56px; min-height: min(86vh, 820px); } }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.22; margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #B8912E, var(--gold) 40%, #F1D98A 55%, var(--gold) 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldShine 5s ease-in-out infinite; }
@keyframes goldShine { 50% { background-position: 100% 0; } }
.hero p { font-size: 17px; color: var(--muted); max-width: 470px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 28px; margin-top: 40px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero__trust > div { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
.hero__trust > div:first-child { border: 0; padding: 0; }
.hero__trust b { display: block; font-family: var(--latin); font-size: 32px; font-weight: 600; color: var(--plum); line-height: 1; margin-bottom: 4px; direction: ltr; text-align: right; }

.hero__visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 4 / 4.6; }
.hero__visual [data-depth] { transition: translate .9s var(--ease-out); }
.hero__frame { position: absolute; inset: 0 10% 0 6%; }
.hero__frame-in { position: absolute; inset: 0; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); transition: clip-path 1.6s var(--ease-out) .2s; background: var(--blush); }
.is-ready .hero__frame-in { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.hero__arch-line { position: absolute; inset: -14px 4% 28px 0; border: 1px solid rgba(212, 175, 55, .6); border-radius: 999px 999px 28px 28px; pointer-events: none; opacity: 0; transition: opacity 1s 1.2s, translate .9s var(--ease-out); }
.is-ready .hero__arch-line { opacity: 1; }
.ring { position: absolute; width: 30%; aspect-ratio: 1; top: 4%; right: -2%; background: rgba(255, 255, 255, .92); border-radius: 50%; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .8s 1s, transform 1s var(--ease-out) 1s, translate .9s var(--ease-out); }
.is-ready .ring { opacity: 1; transform: none; }
.ring__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.ring__text text { font-family: var(--latin); font-size: 14px; letter-spacing: 2px; fill: var(--plum); font-weight: 600; }
.ring__mark { width: 52%; height: auto; }
.float-card { position: absolute; bottom: 10%; left: -4%; display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .96); padding: 10px 16px 10px 10px; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 270px; opacity: 0; transform: translateY(30px); transition: opacity .9s 1.3s, transform 1s var(--ease-out) 1.3s, translate .9s var(--ease-out), box-shadow .3s; }
.is-ready .float-card { opacity: 1; transform: none; }
.float-card:hover { box-shadow: 0 30px 60px rgba(74, 21, 37, .2); }
.float-card img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.float-card small { display: block; color: var(--gold); font-size: 11px; font-weight: 600; }
.float-card b { display: block; font-size: 13px; line-height: 1.4; color: var(--ink); font-weight: 500; }
.float-card .stars { font-size: 11px; }
.float-card .price { display: inline-flex; }
.float-card .price b { color: var(--plum); font-weight: 600; }
.float-chip { position: absolute; top: 44%; left: -6%; display: flex; gap: 10px; align-items: center; background: var(--plum); color: var(--blush); font-size: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateX(-20px); transition: opacity .9s 1.5s, transform 1s var(--ease-out) 1.5s, translate .9s var(--ease-out); }
.is-ready .float-chip { opacity: 1; transform: none; }
.float-chip b { color: var(--gold); }
.float-chip__faces { display: flex; direction: ltr; }
.float-chip__faces img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--plum); margin-left: -8px; }
.float-chip__faces img:first-child { margin-left: 0; }
.sparkle { position: absolute; width: 22px; animation: twinkle 3s ease-in-out infinite; pointer-events: none; }
.sparkle svg { fill: var(--gold); }
.sparkle--1 { top: 2%; left: 18%; }
.sparkle--2 { bottom: 34%; right: 0; width: 14px; animation-delay: -1.5s; }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(90deg); } }
.hero__scroll { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(74, 21, 37, .35); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--plum); animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 960px) { .hero__scroll { display: block; } }
@media (max-width: 959px) {
  .hero__visual { max-width: 440px; }
  .float-card { left: -2%; max-width: 230px; padding: 8px 12px 8px 8px; }
  .float-card img { width: 52px; height: 52px; }
  .float-chip { left: -2%; top: 50%; }
  .ring { width: 28%; right: 0; }
}

.marquee { background: var(--blush); overflow: hidden; border-block: 1px solid rgba(74, 21, 37, .06); }
.marquee__track { display: flex; gap: 56px; padding: 18px 0; white-space: nowrap; animation: marquee 50s linear infinite; font-family: var(--head); font-size: 18px; color: var(--plum); width: max-content; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ——— الأقسام المميزة ——— */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 3 / 4; isolation: isolate; box-shadow: var(--shadow); }
.cat__art { position: absolute; inset: 0; z-index: -1; }
.cat__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat:hover .cat__art img { transform: scale(1.08); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(43, 20, 25, .72) 100%); }
.cat__body { position: absolute; inset-inline: 0; bottom: 0; padding: 16px; color: var(--ivory); }
.cat__body h3 { font-size: 16px; margin: 0 0 2px; color: var(--ivory); }
.cat__body span { font-size: 12.5px; color: rgba(250, 250, 250, .8); }
.cat__go { position: absolute; bottom: 20px; left: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: all .45s var(--ease-out); }
.cat__go svg { width: 16px; height: 16px; fill: none; stroke: var(--plum); stroke-width: 1.8; }
.cat:hover .cat__go { transform: none; opacity: 1; }
@media (min-width: 900px) { .cat__body { padding: 22px; } .cat__body h3 { font-size: 19px; } }
@media (max-width: 899px) { .cat__go { display: none; } }

/* ——— بطاقة المنتج ——— */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1200px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; container-type: inline-size; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--blush-2); overflow: hidden; display: block; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), opacity .6s var(--ease); }
.card__img--alt { opacity: 0; transform: scale(1.1); }
@media (hover: hover) {
  .card:hover .card__img:not(.card__img--alt) { transform: scale(1.06); opacity: 0; }
  .card:hover .card__img--alt { opacity: 1; transform: scale(1); }
}
.badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; font-size: 11px; font-weight: 500; background: var(--paper); color: var(--plum); padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow); }
.badge--sale { background: var(--plum); color: var(--blush); }
.wish { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; transition: transform .3s var(--ease); }
.wish:hover { transform: scale(1.1); }
.wish svg, .wish-lg svg { width: 18px; height: 18px; fill: none; stroke: var(--plum); stroke-width: 1.6; transition: fill .3s; }
.wish.is-on svg, .wish-lg.is-on svg { fill: var(--plum); }
.quick {
  position: absolute; inset-inline: 10px; top: calc(125cqw - 52px); z-index: 2; height: 42px; border-radius: 999px; background: var(--plum); color: var(--ivory);
  font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform .45s var(--ease-out), opacity .35s, background .2s;
}
.quick:hover { background: var(--plum-2); }
.quick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (hover: hover) and (min-width: 768px) { .quick { opacity: 0; transform: translateY(14px); } .card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; } }
@media (max-width: 767px) { .quick { inset-inline: auto; inset-inline-end: 8px; top: calc(125cqw - 46px); width: 38px; height: 38px; } .quick span { display: none; } }
.card__body { padding: 12px 2px 0; }
.card__meta { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-bottom: 2px; flex-wrap: wrap; }
.card__cat { margin-inline-start: auto; font-size: 11px; }
@media (max-width: 767px) { .card__cat { display: none; } }
.card__title { font-family: var(--body); font-size: 14.5px; font-weight: 500; color: var(--ink); margin: 0 0 6px; line-height: 1.5; }
.card__title a { background: linear-gradient(var(--gold), var(--gold)) no-repeat 100% 100% / 0 1px; transition: background-size .4s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
@media (min-width: 768px) { .card__title { font-size: 15.5px; } }
.price { display: flex; gap: 8px; align-items: baseline; }
.price b { color: var(--plum); font-weight: 600; }
.price s { color: var(--muted); font-size: .88em; }
.stars { color: var(--gold); letter-spacing: 1px; }

/* ——— الكاروسيل ——— */
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (min-width: 768px) { .carousel__track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; } }
@media (min-width: 1200px) { .carousel__track { grid-auto-columns: calc((100% - 60px) / 4); } }
.carousel__nav { display: flex; gap: 8px; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--paper); transition: all .25s; flex: none; }
.round:hover { border-color: var(--plum); background: var(--plum); }
.round svg { width: 18px; height: 18px; fill: none; stroke: var(--plum); stroke-width: 1.8; transition: stroke .25s; }
.round:not(.wish-lg):hover svg { stroke: var(--ivory); }
.wish-lg:hover { background: var(--blush-2); }

/* ——— ميزة الروتين ——— */
.split-feature { display: grid; background: var(--paper); }
@media (min-width: 900px) { .split-feature { grid-template-columns: 1fr 1fr; min-height: 620px; } }
.split-feature__media { min-height: 380px; position: relative; clip-path: inset(8% 8% 8% 8%); }
.split-feature__media.is-in { clip-path: inset(0 0 0 0); }
.split-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-feature__copy { padding: 56px 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (min-width: 900px) { .split-feature__copy { padding: 64px clamp(40px, 7vw, 110px); } }
.split-feature h2 { font-size: clamp(28px, 3.6vw, 42px); }
.steps { list-style: none; padding: 0; margin: 12px 0 32px; counter-reset: s; width: 100%; max-width: 440px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: '0' counter(s); font-family: var(--latin); font-size: 26px; color: var(--gold); font-weight: 600; width: 36px; }
.steps b { color: var(--plum); font-family: var(--head); font-size: 18px; min-width: 64px; }
.steps span { color: var(--muted); font-size: 14px; }

/* ——— القيم ——— */
.values {
  color: var(--blush); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(212, 175, 55, .16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(233, 184, 168, .14), transparent 60%),
    linear-gradient(160deg, #561A2C 0%, var(--plum) 55%, #3A0F1D 100%);
}
.values__bg { position: absolute; inset: -20% 0; z-index: -1; opacity: .06; mix-blend-mode: luminosity; }
.values__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.values::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(212, 175, 55, .18) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.values h2 { color: var(--ivory); margin: 0; font-size: clamp(28px, 4vw, 44px); }
.values__head { display: grid; gap: 14px; margin-bottom: 44px; }
.values__head p { margin: 0; max-width: 380px; color: rgba(244, 226, 222, .7); font-size: 15px; }
@media (min-width: 900px) { .values__head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 56px; } }
.values__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .values__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.value {
  position: relative; overflow: hidden; padding: 24px 18px 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(212, 175, 55, .18);
  transition: opacity .9s var(--ease-out), transform .6s var(--ease-out), border-color .4s, background .4s, box-shadow .4s;
}
@media (min-width: 900px) { .value { padding: 34px 28px 30px; } }
.value::after { content: ''; position: absolute; inset-inline: 28px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform .6s var(--ease-out); }
.value.is-in:hover { transform: translateY(-6px); }
.value:hover { border-color: rgba(212, 175, 55, .5); background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03)); box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.value:hover::after { transform: scaleX(1); }
.value__num { position: absolute; top: 16px; left: 20px; font-family: var(--latin); font-size: 38px; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 55, .35); direction: ltr; transition: -webkit-text-stroke-color .4s; }
.value:hover .value__num { -webkit-text-stroke-color: rgba(212, 175, 55, .8); }
.value__icon {
  position: relative; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(212, 175, 55, .22), rgba(212, 175, 55, .05));
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .45), 0 10px 24px rgba(0, 0, 0, .18);
  transition: transform .6s var(--ease-out), background .4s;
}
@media (min-width: 900px) { .value__icon { width: 68px; height: 68px; } }
.value__icon::before { content: ''; position: absolute; inset: -6px; border-radius: 22px; border: 1px dashed rgba(212, 175, 55, .3); opacity: 0; transform: scale(.85); transition: opacity .4s, transform .6s var(--ease-out); }
.value:hover .value__icon { transform: rotate(-6deg); background: linear-gradient(145deg, var(--gold), #B8912E); }
.value:hover .value__icon::before { opacity: 1; transform: scale(1); }
.line-ico { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.value:hover .line-ico { stroke: var(--plum); }
.value.is-in .line-ico path, .value.is-in .line-ico circle { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1.4s var(--ease-out) forwards; animation-delay: calc(var(--i) * 120ms + .3s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.value h3 { color: var(--ivory); font-size: 17px; margin-bottom: 8px; }
@media (min-width: 900px) { .value h3 { font-size: 19px; } }
.value p { font-size: 13.5px; line-height: 1.75; color: rgba(244, 226, 222, .72); margin: 0 0 18px; }
.value__tag { display: inline-block; font-family: var(--latin); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--gold); padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .35); direction: ltr; }
@media (max-width: 599px) { .value p { font-size: 12.5px; } .value__num { font-size: 30px; top: 14px; left: 14px; } }

/* ——— الآراء ——— */
.reviews { display: grid; gap: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .4s, transform .9s var(--ease-out), opacity .9s var(--ease-out); }
.review:hover { box-shadow: var(--shadow-lg); }
.review__photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.review__photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.review__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.review:hover .review__photo img { transform: scale(1.06); }
.review__photo span { position: absolute; bottom: 8px; inset-inline-start: 8px; background: rgba(255, 255, 255, .94); font-size: 11px; padding: 2px 8px; border-radius: 999px; color: var(--plum); }
.review__text { font-size: 15px; margin: 0; }
.review__who { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--plum); display: grid; place-items: center; font-weight: 600; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.verified { color: #3E7C5A; font-size: 12px; }
.review__product { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.review__product img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.review__product b { color: var(--plum); font-weight: 500; }
.rating-summary { display: flex; align-items: center; gap: 14px; }
.rating-summary b { font-family: var(--latin); font-size: 46px; color: var(--plum); line-height: 1; }

/* ——— بانر ——— */
.banner { border-radius: 28px; background: linear-gradient(120deg, var(--blush) 0%, #F8ECE8 60%, #F3E3C4 100%); display: grid; align-items: stretch; overflow: hidden; position: relative; }
@media (min-width: 900px) { .banner { grid-template-columns: 1fr 1fr; } }
.banner__copy { padding: 40px 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (min-width: 900px) { .banner__copy { padding: 64px; } }
.banner h2 { font-size: clamp(28px, 4vw, 44px); }
.banner__media { position: relative; min-height: 300px; overflow: hidden; }
.banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.banner:hover .banner__media img { transform: scale(1.05); }
.banner__badge { position: absolute; top: 24px; right: 24px; width: 96px; height: 96px; border-radius: 50%; background: var(--gold); color: var(--plum); display: grid; place-content: center; text-align: center; line-height: 1.1; box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite; }
.banner__badge b { font-family: var(--latin); font-size: 30px; direction: ltr; }
.banner__badge span { font-size: 11px; }
.banner--sm { margin-top: 40px; padding: 28px; display: block; }

/* ——— صفحة المتجر ——— */
.page-head { position: relative; background: linear-gradient(180deg, var(--blush-2), var(--ivory)); padding: 36px 0 28px; overflow: hidden; }
@media (min-width: 1024px) { .page-head { padding: 64px 0 44px; } }
.page-head h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 4px; }
.page-head--img { padding: 90px 0 40px; background: var(--plum); }
@media (min-width: 1024px) { .page-head--img { padding: 170px 0 60px; } }
.page-head__img { position: absolute; inset: -15% 0; }
.page-head__img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.15); } }
.page-head--img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(43, 20, 25, .78), rgba(43, 20, 25, .15)); }
.page-head__in { position: relative; z-index: 1; }
.page-head--img h1, .page-head--img .crumbs, .page-head--img .crumbs a { color: var(--ivory); }
.page-head__blurb { margin: 0; color: rgba(250, 250, 250, .85); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); }
.shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 80px; }
@media (min-width: 1024px) { .shop { grid-template-columns: 250px minmax(0, 1fr); gap: 44px; } }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar__count { font-size: 14px; color: var(--muted); }
.select { height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: var(--paper); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { height: 32px; padding: 0 12px; border-radius: 999px; background: var(--blush); color: var(--plum); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; animation: fadeUp .35s var(--ease); }
.chip--clear { background: none; text-decoration: underline; }
/* لوحة الفلاتر: كارت بحواف دائرية على الكمبيوتر، ولوحة سفلية على الموبايل */
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.filters__head { display: flex; align-items: center; gap: 10px; padding: 18px 20px; background: linear-gradient(180deg, var(--blush-2), var(--paper)); border-bottom: 1px solid var(--line); }
.filters__head h4 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--head); font-size: 18px; color: var(--plum); flex: 1; }
.filters__head h4 svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--plum); fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.filters__reset { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.filters__reset:hover { color: var(--plum); }
.filters__body { padding: 4px 20px 8px; }
.filters__group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filters__group:last-child { border-bottom: 0; }
.filters__group h4 { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--plum); margin: 0 0 12px; display: flex; justify-content: space-between; gap: 8px; }
.filters__group h4 span { color: var(--gold); font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; line-height: 1.5; transition: all .25s var(--ease); background: var(--paper); text-align: start; }
.pill:hover { border-color: var(--plum); color: var(--plum); }
.pill.is-on { background: var(--plum); color: var(--ivory); border-color: var(--plum); box-shadow: 0 6px 14px rgba(74, 21, 37, .2); }
.range { --p: 100%; width: 100%; height: 22px; margin: 4px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to left, var(--plum) var(--p), var(--line) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--plum); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--plum); box-shadow: 0 2px 8px rgba(74, 21, 37, .25); transition: transform .2s; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--plum); box-shadow: 0 2px 8px rgba(74, 21, 37, .25); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range__ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.filter-toggle { display: inline-flex; }
@media (min-width: 1024px) {
  .filter-toggle { display: none; }
  .filters { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 116px); display: flex; flex-direction: column; }
  .filters__body { overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
}
@media (max-width: 1023px) {
  .filters { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; max-height: 86vh; display: flex; flex-direction: column; border: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -20px 50px rgba(43, 20, 25, .2); transform: translateY(105%); transition: transform .5s var(--ease-out), visibility 0s .5s; visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
  .filters__head { position: relative; padding: 26px 20px 16px; border-radius: 28px 28px 0 0; }
  .filters__head::before { content: ''; position: absolute; top: 10px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: rgba(74, 21, 37, .18); }
  .filters__body { flex: 1; overflow-y: auto; padding-bottom: 16px; }
  .filters__apply { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .filters-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(43, 20, 25, .4); animation: fade .3s; }
}
@keyframes fade { from { opacity: 0; } }
@media (min-width: 1024px) { .filters__apply, .filters__x, .filters-scrim { display: none !important; } }
.empty { text-align: center; padding: 60px 20px; background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line); }

/* ——— صفحة المنتج ——— */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 20px 0 64px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 40px 0 100px; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 900px) { .gallery { position: sticky; top: 100px; align-self: start; } }
.gallery__main { aspect-ratio: 4 / 5; border-radius: 22px; background: var(--blush-2); overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform .4s var(--ease-out); }
.gallery__main img.is-in { opacity: 1; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__thumbs button { aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; transition: border-color .25s, opacity .25s; opacity: .7; }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.is-on { border-color: var(--plum); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 6px; }
.pdp__en { font-family: var(--latin); font-size: 19px; color: var(--muted); direction: ltr; text-align: right; margin-bottom: 12px; }
.pdp__rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.pdp__price { font-size: 26px; margin-bottom: 20px; }
.pdp__desc { color: #5a4850; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag { font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--blush-2); color: var(--plum); }
.tag--gold { background: #F7EFD6; }
.pdp__buy { display: flex; gap: 10px; margin: 24px 0 18px; }
.pdp__buy .btn { flex: 1; height: 52px; padding: 0 16px; }
.wish-lg { width: 52px; height: 52px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 28px; }
.perks div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; font-size: 12px; color: var(--muted); }
.perks .line-ico { display: block; width: 24px; height: 24px; margin: 0 auto 6px; stroke: #B8912E; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { padding: 18px 0; cursor: pointer; font-weight: 500; color: var(--plum); list-style: none; display: flex; justify-content: space-between; }
.acc summary::after { content: '+'; font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details[open] .acc__body { animation: fadeUp .4s var(--ease); }
.acc summary::-webkit-details-marker { display: none; }
.acc .acc__body { padding-bottom: 18px; color: #5a4850; font-size: 15px; }
.acc ul { margin: 0; padding-inline-start: 18px; }

/* شريط الشراء الثابت على الموبايل */
.sticky-buy {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50; background: var(--paper); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center;
  box-shadow: 0 -8px 24px rgba(74, 21, 37, .08); transform: translateY(110%); transition: transform .45s var(--ease-out);
}
.sticky-buy.is-shown { transform: none; }
.sticky-buy .thumb { width: 46px; height: 46px; border-radius: 10px; }
.sticky-buy__info { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; }
.sticky-buy__info div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { height: 46px; padding: 0 20px; }
@media (min-width: 900px) { .sticky-buy { display: none; } }
body.has-sticky .footer { padding-bottom: 80px; }
@media (min-width: 900px) { body.has-sticky .footer { padding-bottom: 0; } }

/* ——— المدونة ——— */
.posts { display: grid; gap: 26px; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(4, 1fr); } }
.post__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; background: var(--blush-2); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post:hover .post__media img { transform: scale(1.07); }
.post__meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; margin-bottom: 6px; }
.post__meta b { color: var(--gold); font-weight: 500; }
.post h3 { font-size: 19px; transition: color .25s; }
.post:hover h3 { color: var(--plum-2); }
.article { max-width: 760px; margin-inline: auto; padding: 24px 0 80px; font-size: 17px; }
.article__media { aspect-ratio: 16 / 9; margin: 8px 0 30px; border-radius: 24px; }
.article p { color: #4a3a41; }

/* ——— الدفع ——— */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 80px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--plum); font-weight: 500; }
.field input, .field select { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; background: var(--paper); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, .12); }
.radio { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; transition: all .2s; }
.radio:has(input:checked) { border-color: var(--plum); background: var(--blush-2); }
.radio input { accent-color: var(--plum); }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; align-self: start; }
@media (min-width: 900px) { .summary { position: sticky; top: 100px; } }
.summary .cart__item { grid-template-columns: 60px 1fr auto; }
.summary .thumb { width: 60px; height: 60px; border-radius: 12px; }
.coupon { display: flex; gap: 8px; margin: 14px 0; }
.coupon input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; outline: none; }
.success { text-align: center; max-width: 520px; margin: 0 auto; padding: 80px 16px; }
.success__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; margin: 0 auto 20px; font-size: 38px; color: var(--plum); animation: pop .7s var(--ease-out); }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.15); } }
.confetti { position: fixed; top: 0; z-index: 95; width: 8px; height: 14px; border-radius: 2px; pointer-events: none; }

/* ——— الفوتر ——— */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.footer__logo img { width: 170px; height: auto; margin-bottom: 14px; }
.footer h4 { font-family: var(--body); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer__grid > div > a:not(.footer__logo) { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; transition: color .2s, transform .3s var(--ease); }
.footer__grid > div > a:not(.footer__logo):hover { color: var(--plum); transform: translateX(-4px); }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; outline: none; background: var(--ivory); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: var(--muted); }
.credit a { text-decoration: underline; }

/* ——— تنبيه ——— */
.toast {
  position: fixed; z-index: 80; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--plum); color: var(--ivory); padding: 12px 20px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow-lg);
  transition: opacity .3s, transform .4s var(--ease-out); display: flex; gap: 10px; align-items: center; white-space: nowrap; max-width: calc(100vw - 32px);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
body.has-sticky .toast { bottom: 92px; }
@media (min-width: 900px) { body.has-sticky .toast { bottom: 24px; } }
@media (max-width: 480px) { .toast { white-space: normal; font-size: 13px; border-radius: 16px; } }
