/* ============================================================
   La Rose de Guelma — lux.css
   اتجاه: Atelier / Runway — ذهبي على عاجي وأسود.
   قواعد صارمة: لا طبقات تتجاوز الشاشة، لا شريط لا نهائي، لا خطوط سائبة.
   ============================================================ */

.lx *,
.lx *::before,
.lx *::after { box-sizing: border-box; }

html, body { overflow-x: clip; max-width: 100%; }

.lx {
  --ink: #14110E;
  --ink-2: #2A241E;
  --ivory: #F7F3EB;
  --paper: #FCFAF5;
  --gold: #B3894E;
  --gold-2: #D9B478;
  --gold-3: #8C6A38;
  --line: #E4DBCB;
  --line-d: rgba(255, 255, 255, .16);
  --muted: #6D6255;
  --shell: 1200px;
  --r: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Cairo', system-ui, 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lx img { display: block; max-width: 100%; height: auto; }
.lx a { color: inherit; text-decoration: none; }
.lx p { margin: 0; }
.lx h1, .lx h2, .lx h3 { margin: 0; font-weight: 700; line-height: 1.15; }
.lx button { font: inherit; }

.lx-skip {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 99;
  transition: top .2s;
}
.lx-skip:focus { top: 12px; }

.lx-wrap { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }

/* ---------- شريط الإعلان ---------- */
.lx-strip {
  background: var(--ink);
  color: #EFE3CE;
  text-align: center;
  padding: 9px 16px;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.lx-strip p { margin: 0; }

/* ---------- الرأس ---------- */
.lx-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 245, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.lx-head.is-stuck { box-shadow: 0 10px 30px -22px rgba(20, 17, 14, .5); background: rgba(252, 250, 245, .98); }

.lx-head__in {
  display: flex; align-items: center; gap: 24px;
  min-height: 74px;
}

.lx-brand { display: flex; flex-direction: column; line-height: 1; }
.lx-brand__mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink);
}
.lx-brand__sub {
  font-size: 10.5px; letter-spacing: .34em; color: var(--gold-3);
  margin-top: 5px; padding-inline-start: 1px;
}

.lx-nav { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; }
.lx-nav a {
  position: relative; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding-block: 6px; white-space: nowrap;
}
.lx-nav a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.lx-nav a:hover::after, .lx-nav a.is-on::after { transform: scaleX(1); }
.lx-nav__all { color: var(--gold-3) !important; }

.lx-head__act { display: flex; align-items: center; gap: 10px; }

/* ---------- أزرار ---------- */
.lx-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 14px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

/* الأقسام تحت الرأس اللاصق */
#products, #cats { scroll-margin-top: 96px; }
.lx-btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.lx-btn--gold { background: var(--gold); color: #fff; }
.lx-btn--gold:hover { background: var(--gold-3); }
.lx-btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.lx-btn--ghost:hover { border-color: var(--gold); color: var(--gold-3); }
.lx-btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.lx-btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.lx-btn--line-light { border-color: var(--line); color: var(--ink); }
.lx-btn--line-light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.lx-btn:active { transform: translateY(1px); }

/* ---------- زر القائمة (موبايل) ---------- */
.lx-burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: var(--r); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.lx-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .25s; }
.lx-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.lx-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.lx-mobile { border-top: 1px solid var(--line); background: var(--paper); padding: 8px 24px 18px; }
.lx-mobile a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 600;
}
.lx-mobile a:last-child { border-bottom: 0; }
.lx-mobile b { color: var(--gold-3); font-size: 12px; font-weight: 600; }

/* ---------- الواجهة ---------- */
.lx-hero {
  position: relative; isolation: isolate;
  min-height: clamp(560px, 78vh, 860px);
  display: flex; align-items: flex-end;
  overflow: clip;
  background: var(--ink);
}
.lx-hero__media { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.lx-hero__media img {
  width: 100%; height: 112%; object-fit: cover; object-position: 50% 28%;
  transform: translate3d(0, 0, 0) scale(1.02);
  will-change: transform;
}
.lx-hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 10, 8, .88) 0%, rgba(12, 10, 8, .55) 38%, rgba(12, 10, 8, .18) 64%, rgba(12, 10, 8, .32) 100%),
    linear-gradient(to left, rgba(12, 10, 8, .72) 0%, rgba(12, 10, 8, 0) 62%);
}
.lx-hero__in { padding-block: clamp(38px, 6vw, 76px); color: #fff; }
.lx-hero__in > * { max-width: 640px; }

.lx-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold-3); margin-bottom: 18px;
}
.lx-eyebrow span { width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.lx-eyebrow--gold { color: var(--gold-2); }

.lx-hero .lx-eyebrow { color: var(--gold-2); }
.lx-hero__h1 {
  font-family: 'Amiri', 'Times New Roman', serif;
  font-size: clamp(44px, 7.4vw, 96px);
  font-weight: 700; line-height: 1.02; letter-spacing: -.01em;
  margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.lx-hero__h1 i { font-style: normal; color: var(--gold-2); padding-inline: 6px; }
.lx-hero__lead {
  font-size: clamp(15px, 1.35vw, 18px); line-height: 1.9; color: rgba(255, 255, 255, .86);
  max-width: 520px; margin-bottom: 30px;
}
.lx-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lx-hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 34px 0 0; padding: 0; list-style: none;
  font-size: 12.5px; color: rgba(255, 255, 255, .72);
}
.lx-hero__meta li { position: relative; padding-inline-start: 16px; }
.lx-hero__meta li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 50%;
  width: 5px; height: 5px; margin-top: -2.5px; background: var(--gold); transform: rotate(45deg);
}

/* ---------- شريط الثقة ---------- */
.lx-trust { background: var(--ink-2); color: #EDE3D2; }
.lx-trust__in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; padding-block: 0;
}
.lx-trust__in > div {
  padding: 26px 22px; border-inline-start: 1px solid var(--line-d);
}
.lx-trust__in > div:first-child { border-inline-start: 0; }
.lx-trust b { display: block; font-size: 14px; color: #fff; margin-bottom: 3px; }
.lx-trust span { font-size: 12.5px; color: rgba(237, 227, 210, .68); }

/* ---------- مسار التصفّح ---------- */
.lx-crumb { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 42px 38px; }
.lx-crumb nav { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.lx-crumb nav span { color: var(--line); }
.lx-crumb nav b { color: var(--ink); font-weight: 600; }
.lx-crumb__h1 { font-family: 'Amiri', serif; font-size: clamp(32px, 4.4vw, 54px); }
.lx-crumb__sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ---------- الأقسام ---------- */
.lx-sec { padding-block: clamp(58px, 8vw, 104px); }
.lx-sec--paper { background: var(--paper); border-block: 1px solid var(--line); }

.lx-sec__head {
  position: relative; margin-bottom: clamp(28px, 3.6vw, 46px);
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.lx-sec__head .lx-eyebrow { margin-bottom: 12px; }
.lx-sec__h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(28px, 3.9vw, 46px); line-height: 1.18;
}
.lx-more {
  position: absolute; inset-inline-end: 0; bottom: 26px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-3); padding-bottom: 4px; border-bottom: 1px solid var(--gold);
}

/* ---------- المجموعات ---------- */
.lx-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.lx-cat {
  position: relative; display: block; overflow: clip;
  aspect-ratio: 3 / 4; border-radius: var(--r);
  background: #E8E1D4;
}
.lx-cat--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.lx-cat img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.lx-cat:hover img { transform: scale(1.05); }
.lx-cat__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 8, .82) 0%, rgba(12, 10, 8, .3) 42%, rgba(12, 10, 8, 0) 72%);
}
.lx-cat__txt {
  position: absolute; inset-inline: 18px; bottom: 16px; color: #fff;
  display: flex; flex-direction: column; gap: 2px;
}
.lx-cat__txt b { font-family: 'Amiri', serif; font-size: 21px; font-weight: 700; }
.lx-cat--wide .lx-cat__txt b { font-size: 28px; }
.lx-cat__txt i { font-style: normal; font-size: 11.5px; letter-spacing: .16em; color: var(--gold-2); }

/* ---------- شبكة المنتجات ---------- */
.lx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 26px);
}
.lx-card { display: flex; flex-direction: column; }
.lx-card__media {
  position: relative; display: block; overflow: clip;
  aspect-ratio: 4 / 5; border-radius: var(--r); background: #EAE3D6;
}
.lx-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease), filter .9s var(--ease);
}
.lx-card:hover .lx-card__media img { transform: scale(1.045); }
.lx-card__buy {
  position: absolute; inset-inline: 10px; bottom: 10px;
  background: rgba(252, 250, 245, .96); color: var(--ink);
  text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  padding: 10px; border-radius: var(--r);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s, color .25s;
}
.lx-card:hover .lx-card__buy { opacity: 1; transform: translateY(0); }
.lx-card__buy:hover { background: var(--gold); color: #fff; }
.lx-card__body { padding-top: 13px; display: flex; flex-direction: column; gap: 4px; text-align: start; }
.lx-card__name { font-size: 15px; font-weight: 600; line-height: 1.45; }
.lx-card__name a:hover { color: var(--gold-3); }
.lx-card__price { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lx-card__price bdi { direction: ltr; unicode-bidi: isolate; }

.lx-empty { color: var(--muted); padding-block: 40px; text-align: center; }

/* ---------- الحكاية ---------- */
.lx-story { background: var(--ivory); }
.lx-story__in {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 76px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.lx-story__media { position: relative; overflow: clip; border-radius: var(--r); aspect-ratio: 5 / 6; background: #E8E1D4; }
.lx-story__media img { width: 100%; height: 100%; object-fit: cover; }
.lx-story__media::after {
  content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .34);
  pointer-events: none;
}
.lx-story__txt p { color: var(--muted); font-size: 15.5px; line-height: 1.95; margin-bottom: 28px; max-width: 46ch; }
.lx-stats { display: flex; flex-wrap: wrap; gap: 34px; margin: 0; padding-top: 26px; border-top: 1px solid var(--line); }
.lx-stats div { display: flex; flex-direction: column; }
.lx-stats dt { font-family: 'Amiri', serif; font-size: 34px; color: var(--gold-3); line-height: 1; }
.lx-stats dd { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- الوكبوك ---------- */
.lx-looks { background: var(--paper); }
.lx-looks__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.lx-look {
  position: relative; display: block; overflow: clip; border-radius: var(--r);
  aspect-ratio: 1 / 1.15; background: #EAE3D6;
}
.lx-look--tall { grid-row: span 2; aspect-ratio: auto; }
.lx-look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lx-look:hover img { transform: scale(1.04); }
.lx-look span {
  position: absolute; inset-inline: 14px; bottom: 12px;
  color: #fff; font-size: 12.5px; font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .65);
}

/* ---------- شريط الطلب ---------- */
.lx-cta { background: var(--ink); color: #fff; padding-block: clamp(52px, 7vw, 92px); }
.lx-cta__in { max-width: 620px; }
.lx-cta h2 { font-family: 'Amiri', serif; font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.lx-cta p { color: rgba(255, 255, 255, .74); font-size: 15px; margin-bottom: 28px; }

/* ---------- الفوتر ---------- */
.lx-foot { background: var(--paper); border-top: 1px solid var(--line); padding-top: clamp(44px, 5vw, 68px); }
.lx-foot__in {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 44px;
}
.lx-foot__brand p { color: var(--muted); font-size: 13.5px; margin-top: 12px; max-width: 30ch; }
.lx-foot__col h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 14px;
}
.lx-foot__col a { display: block; font-size: 13.5px; color: var(--ink-2); padding-block: 5px; }
.lx-foot__col a:hover { color: var(--gold-3); }
.lx-foot__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-block: 20px 22px;
  font-size: 12px; color: var(--muted);
}
.lx-foot__latin { font-family: 'Cormorant Garamond', serif; letter-spacing: .16em; text-transform: uppercase; }

.lx-foot__bar p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lx-foot__sep { color: var(--line); }
.lx-foot__credit { color: var(--gold-3); font-weight: 600; direction: ltr; unicode-bidi: isolate; }
a.lx-foot__credit { border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
a.lx-foot__credit:hover { border-bottom-color: var(--gold); }

/* ---------- حركة الظهور ---------- */
.lx-rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.lx-rv.is-in { opacity: 1; transform: none; }

/* ============================================================
   الاستجابة
   ============================================================ */
@media (max-width: 1080px) {
  .lx-nav { display: none; }
  .lx-burger { display: flex; }
  .lx-head__act { margin-inline-start: auto; }
  .lx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-cat--wide { grid-column: span 1; grid-row: span 1; aspect-ratio: 3 / 4; }
  .lx-cat--wide .lx-cat__txt b { font-size: 21px; }
  .lx-story__in { grid-template-columns: 1fr; }
  .lx-story__media { aspect-ratio: 16 / 10; max-height: 460px; }
  .lx-trust__in { grid-template-columns: repeat(2, 1fr); }
  .lx-trust__in > div:nth-child(3) { border-inline-start: 0; }
  .lx-foot__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .lx-wrap { padding-inline: 18px; }
  .lx-head__in { min-height: 64px; gap: 12px; }
  .lx-brand__mark { font-size: 17px; }
  .lx-brand__sub { font-size: 9px; letter-spacing: .28em; }
  .lx-btn--ghost { display: none; }
  .lx-hero { min-height: 78vh; }
  .lx-hero__media img { height: 108%; object-position: 50% 22%; }
  .lx-hero__meta { gap: 8px 18px; font-size: 11.5px; }
  .lx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lx-looks__grid { grid-template-columns: 1fr 1fr; }
  .lx-look--tall { grid-row: span 1; aspect-ratio: 1 / 1.15; }
  .lx-stats { gap: 22px; }
  .lx-stats dt { font-size: 27px; }
  .lx-more { position: static; display: inline-block; margin-top: 14px; }
  .lx-foot__in { grid-template-columns: 1fr; gap: 26px; }
  .lx-foot__bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lx-cat__txt b { font-size: 17px; }
  .lx-cat__txt i { font-size: 10.5px; letter-spacing: .1em; }
  .lx-card__buy { opacity: 1; transform: none; font-size: 11.5px; padding: 8px; }
  .lx-sec { padding-block: 48px; }
}

@media (max-width: 420px) {
  .lx-hero__h1 { font-size: 38px; }
  .lx-head__act .lx-btn--gold { padding: 0 13px; font-size: 12px; min-height: 38px; }
  .lx-hero__cta .lx-btn { flex: 1 1 100%; }
  .lx-grid { gap: 10px; }
  .lx-card__name { font-size: 13.5px; }
  .lx-card__price { font-size: 12.5px; }
  .lx-strip { font-size: 11px; }
  .lx-stats { gap: 18px; }
}

/* ---------- تفضيل تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  .lx *, .lx *::before, .lx *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .lx-rv { opacity: 1; transform: none; }
}

/* ---------- إتاحة ---------- */
.lx a:focus-visible, .lx button:focus-visible {
  outline: 2px solid var(--gold-3); outline-offset: 3px;
}

/* ============================================================
   الوضع الشتوي — طبقة تعلو الأنماط الأساسية (بارد + ثلج + صقيع)
   ============================================================ */
.lx {
  --ink: #0E1A26;
  --ink-2: #16293B;
  --ivory: #EFF4FA;
  --paper: #FAFCFE;
  --line: #D8E3F0;
  --muted: #5E6F80;
  --gold: #B98F4F;
  --gold-2: #E2C48F;
  --gold-3: #8A6733;
  --frost: #DCE9F5;
  --ice: #A7C6DF;
  background:
    radial-gradient(1200px 460px at 50% -180px, #DCEAF7 0%, rgba(220, 234, 247, 0) 70%),
    linear-gradient(180deg, #E9F1F8 0%, #EFF4FA 26%, #EDF3F9 100%);
}

.lx-strip { background: linear-gradient(90deg, #0B1621 0%, #14283A 50%, #0B1621 100%); color: #E8DCC4; }

.lx-head { background: rgba(250, 252, 254, .93); border-bottom-color: #DCE7F2; }
.lx-head.is-stuck { background: rgba(250, 252, 254, .985); box-shadow: 0 12px 34px -26px rgba(10, 26, 42, .6); }

/* صقيع أسفل الواجهة + حجاب بارد */
.lx-hero { background: #0B1621; }
.lx-hero__veil {
  background:
    linear-gradient(to top, rgba(8, 18, 28, .9) 0%, rgba(10, 26, 40, .6) 38%, rgba(14, 34, 52, .22) 66%, rgba(12, 26, 40, .38) 100%),
    linear-gradient(to left, rgba(10, 24, 38, .74) 0%, rgba(10, 24, 38, 0) 62%);
}
.lx-hero::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 130px;
  background:
    radial-gradient(60% 100% at 22% 100%, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(70% 100% at 78% 100%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(to top, rgba(244, 248, 252, .88), rgba(244, 248, 252, 0));
  pointer-events: none; z-index: 1;
}

.lx-trust { background: linear-gradient(180deg, #14273B 0%, #0E1B28 100%); }
.lx-trust__in > div { border-inline-start-color: rgba(214, 232, 246, .16); }

.lx-sec--paper { background: linear-gradient(180deg, #F7FBFE 0%, #F2F7FC 100%); border-block-color: #DCE7F2; }
.lx-crumb { background: linear-gradient(180deg, #F4F9FD, #FAFCFE); }

.lx-cat, .lx-card__media, .lx-look, .lx-story__media { background: #E4EDF6; }
.lx-card__media { border: 1px solid rgba(180, 205, 226, .45); }
.lx-card__buy { background: rgba(250, 252, 254, .97); }

.lx-story { background: linear-gradient(180deg, #EFF4FA 0%, #E9F1F8 100%); }
.lx-looks { background: linear-gradient(180deg, #F7FBFE 0%, #EFF5FB 100%); }

.lx-cta { position: relative; overflow: clip; background: linear-gradient(180deg, #122334 0%, #0A141D 100%); }
.lx-cta::after {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 90px;
  background: radial-gradient(70% 100% at 50% 0%, rgba(214, 234, 250, .16) 0%, rgba(214, 234, 250, 0) 72%);
  pointer-events: none;
}
.lx-cta__in { position: relative; z-index: 1; }

.lx-foot { background: linear-gradient(180deg, #F7FBFE 0%, #EDF3F9 100%); border-top-color: #DCE7F2; }
.lx-foot__bar { border-top-color: #D8E4EF; }

/* إحساس الصقيع على الحواف */
.lx-sec, .lx-story { position: relative; }
.lx-sec::before, .lx-story::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.85), rgba(255,255,255,0));
  pointer-events: none;
}

/* ============================================================
   بطاقة إشعار «آخر عمليات الطلب»
   ============================================================ */
.lx-note {
  position: fixed; z-index: 60;
  inset-block-end: 20px; inset-inline-start: 20px;
  width: min(336px, calc(100vw - 32px));
  pointer-events: none;
}
.lx-note__card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: rgba(252, 254, 255, .985);
  border: 1px solid #D8E3F0;
  border-inline-start: 2px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 22px 48px -26px rgba(9, 24, 38, .65), 0 2px 6px -3px rgba(9, 24, 38, .18);
  transform: translateY(28px) scale(.98);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
  text-decoration: none; color: var(--ink);
}
.lx-note.is-on .lx-note__card { transform: none; opacity: 1; pointer-events: auto; }
.lx-note__card:hover { border-inline-start-color: var(--gold-3); }

.lx-note__img {
  flex: 0 0 auto; width: 46px; height: 58px; object-fit: cover;
  border-radius: 3px; background: #E4EDF6;
}
.lx-note__img--none {
  display: block;
  background: linear-gradient(135deg, #E4EDF6, #D3E2F0);
  position: relative;
}
.lx-note__img--none::after {
  content: '❄'; position: absolute; inset: 0; display: grid; place-items: center;
  color: #A7C6DF; font-size: 18px;
}

.lx-note__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lx-note__who { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.lx-note__who b { font-weight: 700; }
.lx-note__who em { font-style: normal; color: var(--gold-3); font-weight: 600; }
.lx-note__what {
  font-size: 12.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lx-note__meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: #7C8B99; letter-spacing: .02em;
}
.lx-note__meta i {
  width: 6px; height: 6px; border-radius: 50%; background: #3FA76B;
  box-shadow: 0 0 0 3px rgba(63, 167, 107, .16);
}

.lx-note__x {
  position: absolute; top: -9px; inset-inline-end: -9px;
  width: 26px; height: 26px; display: grid; place-items: center;
  background: #FAFCFE; color: #6D7C8A;
  border: 1px solid #D8E3F0; border-radius: 50%;
  cursor: pointer; pointer-events: auto;
  transition: background .2s, color .2s;
}
.lx-note__x:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.lx-note--static .lx-note__card { transition: none; transform: none; opacity: 1; }

@media (max-width: 780px) {
  .lx-note { inset-block-end: 12px; inset-inline-start: 12px; inset-inline-end: 12px; width: auto; }
  .lx-note__img { width: 42px; height: 53px; }
}

@media (prefers-reduced-motion: reduce) {
  .lx-note__card { transition: none; }
}
/* ---------- مفتاح تشغيل/إيقاف مؤثّرات الثلج (في الفوتر) ---------- */
.lx-foot__latin { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lx-fx-toggle {
  background: none; border: 0; padding: 0;
  font-size: 11.5px; color: var(--muted); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s var(--ease);
}
.lx-fx-toggle:hover { color: var(--gold-3); }
.lx-fx-toggle[aria-pressed="true"] { color: var(--gold-3); }
/* ============================================================
   فيديو الخلفية في الواجهة (uploads/video/hero-bg.mp4)
   ============================================================ */
.lx-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  filter: saturate(.88) brightness(.88) contrast(1.05);
  transform: translateZ(0);
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.lx-hero__video.is-off { opacity: 0; }
.lx-hero__still { position: absolute; inset: 0; }

/* تبريد الفيديو ليتماشى مع النمط الشتوي */
.lx-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 36, 56, .26) 0%, rgba(16, 36, 56, .08) 40%, rgba(9, 20, 31, .46) 100%), linear-gradient(to left, rgba(8, 18, 28, .55) 0%, rgba(8, 18, 28, 0) 58%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (max-width: 780px) {
  .lx-hero__video { object-position: 50% 24%; }
}

@media (prefers-reduced-motion: reduce) {
  .lx-hero__video { transition: none; }
}