/* ALOVERA — Luxe v1. واجهة فخمة. يُحمّل بعد styles.css و responsive.css و icons-v2.css */
@import url("https://fonts.googleapis.com/css2?family=El+Messiri:wght@500;600;700&display=swap");

:root{
  --lx-ink:#0e2140;          /* كحلي أعمق */
  --lx-navy:#142b4b;
  --lx-gold:#c6a46f;
  --lx-gold-soft:#e9dcc3;
  --lx-aloe:#197448;
  --lx-porcelain:#f3f6f4;    /* أبيض بلمسة ألوفيرا */
  --lx-line:#e4e9e6;
  --lx-display:"El Messiri","Mada",Tahoma,sans-serif;
  --lx-ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- 1) الهيدر ---------- */
.header{background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid transparent;transition:border-color .3s ease,box-shadow .3s ease}
.header.lx-scrolled{border-bottom-color:var(--lx-line);box-shadow:0 8px 30px -18px rgba(14,33,64,.35)}
.cart-trigger{background:transparent;border:1px solid var(--lx-line)}
.cart-trigger:hover{border-color:var(--lx-gold)}

/* ---------- 2) الواجهة (Hero) ---------- */
.hero{background:radial-gradient(120% 90% at 22% 55%,#21406b 0%,var(--lx-ink) 58%,#0a1830 100%);
  border-radius:32px;position:relative;overflow:hidden;isolation:isolate}
.hero .hero-visual{background:none}
.hero::before{content:"";position:absolute;inset:14px;border:1px solid rgba(198,164,111,.28);border-radius:22px;pointer-events:none;z-index:2}
.hero::after{content:"";position:absolute;width:520px;height:520px;inset-inline-end:-80px;top:50%;translate:0 -50%;
  background:radial-gradient(circle,rgba(198,164,111,.28) 0%,rgba(198,164,111,0) 62%);z-index:-1;pointer-events:none}
.hero .eyebrow{color:var(--lx-gold);letter-spacing:.02em;font-size:15px;display:inline-flex;align-items:center;gap:10px}
.hero .eyebrow::before{content:"";width:28px;height:1px;background:var(--lx-gold)}
.hero h1{font-weight:700;font-size:clamp(40px,5.4vw,68px);line-height:1.15;letter-spacing:0}
.hero h1 em{color:var(--lx-gold-soft);font-style:normal}
.hero p{color:rgba(255,255,255,.78);font-size:17px}
.hero .button.light{background:var(--lx-gold);color:var(--lx-ink);border-radius:999px;padding-inline:28px;box-shadow:0 12px 30px -12px rgba(198,164,111,.7);
  transition:transform .2s var(--lx-ease),box-shadow .2s ease}
.hero .button.light:hover{transform:translateY(-2px);box-shadow:0 18px 36px -14px rgba(198,164,111,.85)}
.hero .hero-foot span{color:rgba(255,255,255,.7)}
.hero .orbit{border-color:rgba(198,164,111,.18)}
.hero-products{filter:drop-shadow(0 40px 50px rgba(0,0,0,.45))}

/* حركة دخول وحدة مدروسة، فقط عند فتح الصفحة */
@media (prefers-reduced-motion:no-preference){
  .hero .hero-copy>*{animation:lx-rise .9s var(--lx-ease) both}
  .hero .hero-copy>*:nth-child(2){animation-delay:.08s}
  .hero .hero-copy>*:nth-child(3){animation-delay:.16s}
  .hero .hero-copy>*:nth-child(4){animation-delay:.24s}
  .hero .hero-copy>*:nth-child(5){animation-delay:.32s}
  .hero-products{animation:lx-float-in 1.4s var(--lx-ease) .15s both,lx-float 7s ease-in-out 1.6s infinite}
}
@keyframes lx-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
/* translate/scale منفصلة حتى ما تلغي transform الأصلي للصورة */
@keyframes lx-float-in{from{opacity:0;translate:0 40px;scale:.94}to{opacity:1;translate:0 0;scale:1}}
@keyframes lx-float{0%,100%{translate:0 0}50%{translate:0 -8px}}

/* ---------- 3) الطباعة ---------- */
.section-title h2,.companies-section h2,.catalog h2,.ai-banner h2{font-family:var(--lx-display);font-weight:700;letter-spacing:0}
body:has(#product-grid) :is(.hero h1, .hero h1 em, .section-title h2, .companies-section h2, .catalog h2, .ai-banner h2, .desktop-nav > a, .desktop-nav > button, .mobile-nav > :is(a, button) > span:not([data-icon])) {
  font-family: 'Dima Thuluth 2', var(--lx-display) !important;
  font-weight: 400;
  line-height: 1.3;
}
.desktop-nav > :is(a, button) {
  font-size: clamp(19px, 1.7vw, 24px);
}
.mobile-nav > :is(a, button) > span:not([data-icon]) {
  font-size: 13px;
}
body:has(#product-grid) :is(.detail-copy > p:first-of-type, .detail-copy > .pp-points > li, .verified-product-facts > p) {
  font-family: 'Noto Naskh Arabic', 'Mada', Tahoma, Arial, sans-serif !important;
  font-size: 21px;
  line-height: 1.6;
  font-weight: 400;
}
.section-title h2,.catalog h2{font-size:clamp(28px,3.2vw,38px)}
.eyebrow.dark{color:#9a7b45;font-weight:600}

/* ---------- 4) الشركات ---------- */
.company-list .company{background:#fff;border:1px solid var(--lx-line);border-radius:24px;
  transition:border-color .25s ease,background-color .25s ease,transform .25s var(--lx-ease)}
.company-list .company img{filter:grayscale(1) contrast(1.05);opacity:.78;transition:filter .3s ease,opacity .3s ease}
.company-list .company:hover,.company-list .company:focus-visible{background:#fff;border-color:var(--lx-gold);transform:translateY(-3px)}
.company-list .company:hover img,.company-list .company:focus-visible img{filter:none;opacity:1}
@media (hover:none){.company-list .company img{filter:none;opacity:1}}

/* ---------- 5) كروت المنتجات ---------- */
.product-grid{row-gap:44px}
.product-card .product-picture{background:#fff;border:1px solid var(--lx-line);border-radius:24px;overflow:hidden;transition:border-color .3s ease}
.product-card:hover .product-picture{border-color:var(--lx-gold-soft)}
.product-card .product-picture img{transition:transform .5s var(--lx-ease)}
.product-card:hover .product-picture img{transform:scale(1.045)}
.product-card .product-brand{font-size:11px;letter-spacing:.14em;color:#8a97a8;font-weight:600}
.product-card .product-name{font-weight:700;color:var(--lx-ink)}
.product-card .price{color:var(--lx-ink);font-variant-numeric:tabular-nums}
.product-card .add-button{box-shadow:0 10px 22px -12px rgba(14,33,64,.6)}

/* عرض المزيد بدل صفحة طولها 18,000 بكسل */
.product-grid .product-card.lx-over{display:none}
.lx-more{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:40px}
.lx-more button{font:inherit;font-weight:700;color:var(--lx-ink);background:#fff;border:1px solid var(--lx-ink);border-radius:999px;padding:13px 34px;min-height:48px;cursor:pointer;
  transition:background-color .2s ease,color .2s ease}
.lx-more button:hover{background:var(--lx-ink);color:#fff}
.lx-more small{color:#617084}
.lx-more[hidden]{display:none}

/* ---------- 7) الفوتر ---------- */
.footer{background:var(--lx-ink);color:rgba(255,255,255,.78);position:relative}
.footer::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,var(--lx-gold),transparent)}
.footer .brand-logo{filter:brightness(0) invert(1);opacity:.92}
.footer a,.footer .text-button{color:var(--lx-gold-soft)}
.footer .footer-bottom{border-top-color:rgba(255,255,255,.12)}
.footer p,.footer small{color:rgba(255,255,255,.74)}

@media (prefers-reduced-motion:reduce){
  .company-list .company,.product-card .product-picture img,.hero .button.light{transition:none}
  .company-list .company:hover,.product-card:hover .product-picture img{transform:none}
}

/* ---------- المرحلة 2: الثقة ---------- */
.lx-trust{list-style:none;margin:18px 0 0;padding:14px 16px;border:1px solid var(--lx-line);border-radius:16px;background:#fbfcfb;display:flex;flex-direction:column;gap:10px}
.lx-trust li{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6;color:#33465f}
.lx-trust li svg{width:20px;height:20px;flex-shrink:0;color:var(--lx-aloe);margin-top:1px}
.lx-trust .lx-policy-link{background:none;border:0;padding:0;font:inherit;font-size:13px;color:#617084;text-decoration:underline;cursor:pointer;align-self:flex-start}
.lx-policy{margin-top:18px;padding-top:16px;border-top:1px solid var(--lx-line);text-align:start}
.lx-policy h3{font-family:var(--lx-display);font-size:19px;margin:0 0 8px}
.lx-policy ul{margin:0;padding-inline-start:20px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.7}
