/* =========================================================
   GIA  |  تصميم بأسلوب By Ghadi  |  ثيم رائد (سلة)
   الصق في: تصميم المتجر > تخصيص > CSS مخصص
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&family=Jost:wght@300;400;500&display=swap');

:root{
  --gia-main:   #c8b9cc;   /* لون الشعار: الموف */
  --gia-dark:   #686c6a;   /* لون الشعار: الرمادي (النصوص والأزرار) */
  --gia-soft:   #f6f1f6;   /* خلفيات خفيفة */
  --gia-line:   #e9dfe9;   /* الخطوط الفاصلة */
  --gia-text:   #8c908e;
  --gia-font:   'Tajawal', sans-serif;
  --gia-latin:  'Jost', 'Tajawal', sans-serif;
}

/* ---------- عام ---------- */
body, button, input, select, textarea, .btn, h1, h2, h3, h4, h5, h6{
  font-family: var(--gia-font) !important;
}
body{ background:#fff !important; color:var(--gia-dark); letter-spacing:.2px; }
a{ transition:color .25s, opacity .25s; }

/* ---------- الشريط العلوي (لغة + جوال) ---------- */
.top-navbar{
  background:var(--gia-dark) !important;
  color:#fff !important;
  font-size:12px; min-height:34px;
}
.top-navbar a, .top-navbar span, .top-navbar i{ color:#fff !important; }

/* ---------- الهيدر: نظيف، أبيض، خط رفيع ---------- */
.store-header, .main-nav-container, .main-nav-container .inner{
  background:#fff !important;
  box-shadow:none !important;
}
.main-nav-container{ border-bottom:1px solid var(--gia-line); }
.main-nav-container.fixed-pinned .inner{ border-bottom:1px solid var(--gia-line); }
.navbar-brand img{ max-height:46px !important; width:auto; }

/* روابط القائمة: صغيرة، متباعدة، بدون خلفيات */
.main-menu > li > a, #mainnav .main-menu > li > a{
  font-size:13.5px !important; font-weight:500 !important;
  color:var(--gia-dark) !important; padding-inline:16px !important;
  position:relative;
}
.main-menu > li > a::after{
  content:""; position:absolute; bottom:6px; inset-inline:16px;
  height:1px; background:var(--gia-dark);
  transform:scaleX(0); transition:transform .3s;
}
.main-menu > li > a:hover::after{ transform:scaleX(1); }
.main-menu .sub-menu{ border:1px solid var(--gia-line) !important; box-shadow:none !important; border-radius:0 !important; }

/* أيقونات الهيدر */
.header-btn, .header-btn__icon, salla-cart-summary .s-cart-summary-wrapper{ color:var(--gia-dark) !important; }
.s-cart-summary-count{ background:var(--gia-main) !important; color:var(--gia-dark) !important; }

/* ---------- الهيرو (فيديو) — يُضاف من ملف JS ---------- */
.gia-hero{
  position:relative; width:100%; height:88vh; min-height:520px;
  overflow:hidden; margin:0 0 70px; background:#000;
}
.gia-hero video, .gia-hero img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.gia-hero__content{
  position:absolute; inset:auto 0 9% 0; z-index:2;
  text-align:center; color:#fff; padding:0 20px;
}
.gia-hero__eyebrow{
  font-family:var(--gia-latin); font-size:12px; letter-spacing:4px;
  text-transform:uppercase; display:block; margin-bottom:12px;
  text-shadow:0 1px 12px rgba(0,0,0,.45);
}
.gia-hero__title{
  font-size:clamp(28px,4.2vw,52px); font-weight:300; margin:0 0 10px; color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.45);
}
.gia-hero__sub{
  font-size:15px; font-weight:300; margin:0 auto 26px; max-width:520px;
  text-shadow:0 1px 12px rgba(0,0,0,.45);
}
.gia-hero__btns{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.gia-btn{
  display:inline-block; padding:13px 34px; font-size:13px; font-weight:500;
  letter-spacing:1px; border:1px solid #fff; color:#fff; background:transparent;
  transition:all .3s;
}
.gia-btn:hover{ background:#fff; color:var(--gia-dark); }
.gia-btn--solid{ background:#fff; color:var(--gia-dark); }
.gia-btn--solid:hover{ background:transparent; color:#fff; }

/* ---------- عنوان الأقسام ---------- */
.s-block__title, .gia-section-title{
  text-align:center !important; justify-content:center !important; margin-bottom:34px !important;
}
.s-block__title h2, .gia-section-title h2{
  font-size:22px !important; font-weight:400 !important; color:var(--gia-dark) !important;
  letter-spacing:.5px; position:relative; padding-bottom:14px;
}
.s-block__title h2::after, .gia-section-title h2::after{
  content:""; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:36px; height:1px; background:var(--gia-main);
}
.s-block__title .s-block__display-all, .s-block__title a{ display:none !important; }

/* ---------- التصنيفات (3 بطاقات طولية) — تُضاف من JS ---------- */
.gia-cats{ max-width:1320px; margin:0 auto 80px; padding:0 20px; }
.gia-cats__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.gia-cat{ display:block; text-align:center; color:var(--gia-dark); }
.gia-cat__img{ aspect-ratio:3/4; overflow:hidden; background:var(--gia-soft); }
.gia-cat__img img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s ease; }
.gia-cat:hover .gia-cat__img img{ transform:scale(1.04); }
.gia-cat__name{ display:block; margin-top:14px; font-size:15px; font-weight:500; }
.gia-cat__link{
  display:inline-block; margin-top:4px; font-size:12px; color:var(--gia-text);
  border-bottom:1px solid currentColor; padding-bottom:2px;
}

/* ---------- بطاقة المنتج: صورة كاملة طولية، نص بسيط ---------- */
.s-product-card-entry{
  background:transparent !important; border:none !important;
  box-shadow:none !important; border-radius:0 !important; overflow:visible !important;
}
.s-product-card-image{
  aspect-ratio:3/4 !important; height:auto !important;
  border-radius:0 !important; background:var(--gia-soft) !important; overflow:hidden;
}
.s-product-card-image img, .s-product-card-image-cover{
  width:100% !important; height:100% !important; object-fit:cover !important;
  transition:transform 1.2s ease;
}
.s-product-card-entry:hover .s-product-card-image img{ transform:scale(1.04); }
.s-product-card-content{ padding:14px 2px 0 !important; text-align:center !important; }
.s-product-card-content-title, .s-product-card-content-title a{
  font-size:14px !important; font-weight:400 !important; color:var(--gia-dark) !important;
  line-height:1.6 !important;
}
.s-product-card-content-sub, .s-product-card-content-subtitle{ display:none !important; }
.s-product-card-price, .s-product-card-sale-price h4, .s-product-card-entry .price{
  font-size:13.5px !important; font-weight:500 !important; color:var(--gia-dark) !important;
  justify-content:center !important;
}
.s-product-card-sale-price span{ color:#a99aa6 !important; font-size:12px !important; }
.s-product-card-promotion-title{
  background:var(--gia-dark) !important; color:#fff !important; border-radius:0 !important;
  font-size:11px !important; padding:4px 10px !important;
}
.s-product-card-wishlist-btn{ background:#fff !important; border-radius:50% !important; box-shadow:none !important; }

/* زر الإضافة للسلة: يظهر بشكل رفيع */
.s-product-card-content-footer .s-button-element,
.s-product-card-entry salla-add-product-button button{
  background:transparent !important; color:var(--gia-dark) !important;
  border:1px solid var(--gia-dark) !important; border-radius:0 !important;
  font-size:12.5px !important; height:40px !important; box-shadow:none !important;
}
.s-product-card-content-footer .s-button-element:hover,
.s-product-card-entry salla-add-product-button button:hover{
  background:var(--gia-dark) !important; color:#fff !important;
}

/* شبكة المنتجات */
.s-products-list-wrapper, salla-products-list .s-products-list-wrapper{ gap:28px 18px !important; }

/* السلايدر: بدون أسهم ثقيلة */
.s-slider-block__title-nav button, .s-slider-nav-arrow{
  border:1px solid var(--gia-line) !important; background:#fff !important;
  border-radius:0 !important; box-shadow:none !important;
}

/* ---------- البنرات: بدون زوايا ولا ظلال ---------- */
.banner-entry, .s-block--fixed-banner img, .s-block--banners img, .square-photos img{
  border-radius:0 !important; box-shadow:none !important;
}

/* ---------- الأزرار العامة ---------- */
.btn--primary, .s-button-primary, .s-button-solid{
  background:var(--gia-dark) !important; border-color:var(--gia-dark) !important;
  color:#fff !important; border-radius:0 !important;
}
.btn--primary:hover, .s-button-primary:hover{ background:var(--gia-main) !important; border-color:var(--gia-main) !important; color:var(--gia-dark) !important; }

/* ---------- الفوتر ---------- */
.store-footer, .store-footer__inner{ background:var(--gia-soft) !important; color:var(--gia-dark) !important; }
.store-footer{ border-top:1px solid var(--gia-line); margin-top:80px; }
.store-footer h3{ font-size:14px !important; font-weight:500 !important; color:var(--gia-dark) !important; letter-spacing:.5px; }
.store-footer a, .store-footer p, .store-footer span{ color:var(--gia-text) !important; font-size:13px; }
.store-footer a:hover{ color:var(--gia-dark) !important; }
.copyright-text, .store-footer .copyright-text p{ font-size:12px !important; color:#9a8e98 !important; }

/* ---------- الهيدر الشفاف فوق الفيديو (الرئيسية فقط) ---------- */
body.gia-home .store-header{
  position:absolute !important; top:0; left:0; right:0; z-index:50;
  background:transparent !important;
}
body.gia-home .top-navbar{ background:transparent !important; border:none !important; }
body.gia-home .main-nav-container,
body.gia-home .main-nav-container .inner{
  background:transparent !important; border-bottom:1px solid rgba(255,255,255,.25) !important;
  transition:background .35s, border-color .35s;
}
body.gia-home:not(.gia-scrolled) .store-header a,
body.gia-home:not(.gia-scrolled) .store-header i,
body.gia-home:not(.gia-scrolled) .store-header span,
body.gia-home:not(.gia-scrolled) .store-header button,
body.gia-home:not(.gia-scrolled) .main-menu > li > a{ color:#fff !important; }
body.gia-home:not(.gia-scrolled) .main-menu > li > a::after{ background:#fff; }

/* بعد النزول: الهيدر يرجع أبيض */
body.gia-home.gia-scrolled .main-nav-container.fixed-pinned .inner,
body.gia-home.gia-scrolled .main-nav-container .inner{
  background:#fff !important; border-bottom:1px solid var(--gia-line) !important;
}

/* الفيديو يبدأ من أعلى الشاشة تحت الهيدر */
body.gia-home .gia-hero{ height:100vh; height:100svh; margin-top:0; }
body.gia-home main{ padding-top:0 !important; }

/* الشعار يصير أبيض تلقائي فوق الفيديو (ارفع الشعار الداكن المفرغ كشعار المتجر) */
body.gia-home:not(.gia-scrolled) .navbar-brand img,
body.gia-home:not(.gia-scrolled) .store-header .logo img{
  filter:brightness(0) invert(1); transition:filter .35s;
}

/* الشعار بدون أي مربع خلفه */
.navbar-brand, .navbar-brand img{ background:transparent !important; box-shadow:none !important; border-radius:0 !important; }

/* نص الزر الأبيض في الهيرو */
.gia-hero .gia-btn--solid{ color:var(--gia-dark) !important; }
.gia-hero .gia-btn--solid:hover{ color:#fff !important; }

/* ---------- الجوال ---------- */
@media (max-width:991px){
  .gia-hero{ height:78vh; min-height:440px; margin-bottom:50px; }
  .gia-cats__grid{ grid-template-columns:repeat(3, 72%); overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; padding-bottom:6px; }
  .gia-cat{ scroll-snap-align:start; }
  .s-products-list-wrapper{ gap:22px 10px !important; }
  .s-product-card-content-title, .s-product-card-content-title a{ font-size:13px !important; }
}

/* =========================================================
   الهيدر الشفاف (نسخة مضمونة، تعتمد على كلاسات يضيفها ملف JS)
   ========================================================= */
html body.gia-home .gia-header{
  position:absolute !important; top:0 !important; left:0 !important; right:0 !important;
  width:100% !important; z-index:60 !important;
  background:transparent !important; box-shadow:none !important; border:0 !important;
}
html body.gia-home .gia-header .gia-bg,
html body.gia-home .gia-header .gia-bg::before,
html body.gia-home .gia-header .gia-bg::after{
  background:transparent !important; background-color:transparent !important;
  box-shadow:none !important; border-color:rgba(255,255,255,.22) !important;
  transition:background-color .35s;
}
html body.gia-home:not(.gia-scrolled) .gia-header,
html body.gia-home:not(.gia-scrolled) .gia-header a,
html body.gia-home:not(.gia-scrolled) .gia-header i,
html body.gia-home:not(.gia-scrolled) .gia-header span,
html body.gia-home:not(.gia-scrolled) .gia-header button,
html body.gia-home:not(.gia-scrolled) .gia-header svg{ color:#fff !important; }
html body.gia-home:not(.gia-scrolled) .gia-header svg [stroke]:not([stroke="none"]){ stroke:#fff !important; }
html body.gia-home:not(.gia-scrolled) .gia-header svg [fill]:not([fill="none"]){ fill:#fff !important; }
html body.gia-home:not(.gia-scrolled) .gia-header .gia-logo{ filter:brightness(0) invert(1) !important; }
.gia-header .gia-logo{ background:transparent !important; transition:filter .35s; }

/* بعد النزول: يثبت فوق بخلفية بيضاء */
html body.gia-home.gia-scrolled .gia-header{ position:fixed !important; }
html body.gia-home.gia-scrolled .gia-header .gia-bg:first-child,
html body.gia-home.gia-scrolled .gia-header{
  background:#fff !important; border-bottom:1px solid var(--gia-line) !important;
}

/* الفيديو يبدأ من أعلى الصفحة */
html body.gia-home .gia-hero{ margin-top:0 !important; height:100vh; height:100svh; }

/* الفيديو تحت الهيدر، والهيدر فوقه */
html body.gia-home .gia-hero{ position:relative !important; z-index:1 !important; }
html body.gia-home .gia-header{ z-index:60 !important; }
html body.gia-home .gia-bg-up{ background:transparent !important; background-color:transparent !important; box-shadow:none !important; }

/* =========================================================
   هيدر ثيم متجر GIA (site-header) — شفاف فوق الفيديو
   ========================================================= */
html body.gia-home header:has(.site-header__bar),
html body.gia-home .gia-header{
  position:absolute !important; top:0 !important; left:0 !important; right:0 !important;
  width:100% !important; z-index:60 !important;
  background:transparent !important; box-shadow:none !important; border:0 !important;
}
html body.gia-home:not(.gia-scrolled) .site-header__topnav,
html body.gia-home:not(.gia-scrolled) .site-header__bar-outer,
html body.gia-home:not(.gia-scrolled) .site-header__bar,
html body.gia-home:not(.gia-scrolled) .site-header__bar-inner,
html body.gia-home:not(.gia-scrolled) .site-header__ad,
html body.gia-home:not(.gia-scrolled) .site-header__bullet,
html body.gia-home:not(.gia-scrolled) .site-header__topnav::before,
html body.gia-home:not(.gia-scrolled) .site-header__bar-outer::before,
html body.gia-home:not(.gia-scrolled) .site-header__bar::before,
html body.gia-home:not(.gia-scrolled) .site-header__bar::after{
  background:transparent !important; background-color:transparent !important;
  box-shadow:none !important; border-color:rgba(255,255,255,.22) !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  transition:background-color .35s;
}

/* فوق الفيديو: الشعار والأيقونات والقائمة بالأبيض */
html body.gia-home:not(.gia-scrolled) .site-header__brand img{ filter:brightness(0) invert(1) !important; }
html body.gia-home:not(.gia-scrolled) .site-header__nav-toggle,
html body.gia-home:not(.gia-scrolled) .site-header__nav-toggle *,
html body.gia-home:not(.gia-scrolled) .site-header__actions,
html body.gia-home:not(.gia-scrolled) .site-header__actions *,
html body.gia-home:not(.gia-scrolled) .site-header__mainmenu .main-menu > li > a,
html body.gia-home:not(.gia-scrolled) .site-header__topnav,
html body.gia-home:not(.gia-scrolled) .site-header__topnav *{ color:#fff !important; }
html body.gia-home:not(.gia-scrolled) .site-header__actions svg [stroke]:not([stroke="none"]),
html body.gia-home:not(.gia-scrolled) .site-header__nav-toggle svg [stroke]:not([stroke="none"]){ stroke:#fff !important; }
html body.gia-home:not(.gia-scrolled) .site-header__actions svg [fill]:not([fill="none"]),
html body.gia-home:not(.gia-scrolled) .site-header__nav-toggle svg [fill]:not([fill="none"]){ fill:#fff !important; }

/* بعد النزول: يثبت فوق بخلفية بيضاء والشعار داكن */
html body.gia-home.gia-scrolled header:has(.site-header__bar),
html body.gia-home.gia-scrolled .gia-header{
  position:fixed !important; background:#fff !important;
  border-bottom:1px solid var(--gia-line) !important;
}
html body.gia-home.gia-scrolled .site-header__topnav{ display:none !important; }

/* =========================================================
   ثيم رائد: هيدر شفاف فوق الفيديو (مبني على كود رائد الرسمي)
   header.store-header > .top-navbar + #mainnav > .inner
   ========================================================= */
html body.gia-home header.store-header{
  position:absolute !important; top:0 !important; left:0 !important; right:0 !important;
  width:100% !important; z-index:60 !important; background:transparent !important;
}
html body.gia-home:not(.gia-scrolled) .store-header .top-navbar,
html body.gia-home:not(.gia-scrolled) #mainnav,
html body.gia-home:not(.gia-scrolled) #mainnav .inner,
html body.gia-home:not(.gia-scrolled) .has-bg #mainnav{
  background:transparent !important; background-color:transparent !important;
  box-shadow:none !important; border:0 !important;
}
html body.gia-home:not(.gia-scrolled) .store-header .top-navbar{ border-bottom:1px solid rgba(255,255,255,.2) !important; }
html body.gia-home:not(.gia-scrolled) #mainnav{ height:auto !important; }

/* فوق الفيديو: كل شي أبيض */
html body.gia-home:not(.gia-scrolled) .store-header,
html body.gia-home:not(.gia-scrolled) .store-header a,
html body.gia-home:not(.gia-scrolled) .store-header i,
html body.gia-home:not(.gia-scrolled) .store-header span,
html body.gia-home:not(.gia-scrolled) .store-header button,
html body.gia-home:not(.gia-scrolled) #mainnav .sicon-menu,
html body.gia-home:not(.gia-scrolled) #mainnav .header-btn__icon,
html body.gia-home:not(.gia-scrolled) #mainnav .main-menu > li > a{ color:#fff !important; }
html body.gia-home:not(.gia-scrolled) #mainnav .navbar-brand img{ filter:brightness(0) invert(1) !important; }
html body.gia-home:not(.gia-scrolled) .store-header salla-search input{
  background:rgba(255,255,255,.15) !important; color:#fff !important; border-color:rgba(255,255,255,.35) !important;
}

/* بعد النزول: هيدر رائد الثابت يرجع أبيض */
html body.gia-home.gia-scrolled #mainnav.fixed-pinned .inner,
html body.gia-home.gia-scrolled #mainnav .inner{
  background:#fff !important; box-shadow:0 1px 0 var(--gia-line) !important;
}
html body.gia-home.gia-scrolled header.store-header .top-navbar{ visibility:hidden; }
html body.gia-home.gia-scrolled #mainnav.fixed-pinned .inner{ top:0 !important; transform:none !important; }
html body.gia-home.gia-scrolled header.store-header,
html body.gia-home.gia-scrolled header.store-header.gia-header{
  position:absolute !important; background:transparent !important; border:0 !important;
}

/* =========================================================
   ترتيب الهيدر مثل By Ghadi (رائد)
   قائمة يمين، الشعار في النص، الحساب والسلة يسار، بدون بحث
   ========================================================= */
.store-header .top-navbar{ display:none !important; }

#mainnav .container > .flex.justify-between{ position:relative; min-height:64px; }
#mainnav .navbar-brand{
  position:absolute !important; left:50% !important; top:50% !important;
  transform:translate(-50%,-50%) !important; margin:0 !important; z-index:2;
}
#mainnav .navbar-brand img{ max-height:44px !important; width:auto !important; }
#mainnav.fixed-pinned .navbar-brand img{ max-height:36px !important; }

/* الأيقونات: خطوط بسيطة بدون دوائر */
#mainnav salla-user-menu *,
#mainnav salla-cart-summary *{
  border:0 !important; background-color:transparent !important; box-shadow:none !important;
}
#mainnav salla-cart-summary [class*="total"],
#mainnav salla-cart-summary [class*="price"],
#mainnav salla-cart-summary .sicon-sar{ display:none !important; }
#mainnav salla-cart-summary [class*="count"]{
  background:var(--gia-main) !important; color:var(--gia-dark) !important;
  min-width:16px; height:16px; font-size:10px !important; border-radius:50% !important;
}
#mainnav .header-btn__icon, #mainnav .sicon-menu{ font-size:22px !important; }
html body.gia-home:not(.gia-scrolled) #mainnav salla-user-menu img{ filter:brightness(0) invert(1) !important; }

/* الكمبيوتر: القائمة تبقى جنب زر القائمة والشعار في النص */
@media (min-width:1024px){
  #mainnav .container > .flex.justify-between{ min-height:84px; }
  #mainnav .navbar-brand img{ max-height:52px !important; }
}

/* =========================================================
   هيدر By Ghadi: المقاسات والأيقونات (آخر نسخة، تغلب ما قبلها)
   ========================================================= */
/* الشعار بلونه الأصلي، بدون تحويل أبيض إلا إذا اخترت white */
html body.gia-home:not(.gia-logo-white) #mainnav .navbar-brand img,
html body.gia-home:not(.gia-logo-white) .gia-header .gia-logo,
html body:not(.gia-logo-white) #mainnav .navbar-brand img{ filter:none !important; }

#mainnav .container > .flex.justify-between{ min-height:70px !important; align-items:center !important; }
#mainnav .navbar-brand img{ height:46px !important; max-height:46px !important; width:auto !important; object-fit:contain; }
#mainnav.fixed-pinned .navbar-brand img{ height:38px !important; max-height:38px !important; }

/* الأيقونات: خط رفيع، نفس المقاس، مسافات متساوية */
#mainnav .container > .flex > div{ gap:14px; align-items:center !important; }
#mainnav .mburger{ margin:0 !important; }
.gia-ico{ display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; color:var(--gia-dark); }
#mainnav .sicon-menu{ font-size:26px !important; color:var(--gia-dark) !important; }
#mainnav salla-cart-summary{ margin:0 !important; }
#mainnav salla-cart-summary .header-btn__icon{ font-size:24px !important; }
#mainnav salla-cart-summary [class*="count"]{
  background:#fff !important; color:#111 !important; box-shadow:0 0 0 1px rgba(0,0,0,.08) !important;
  min-width:17px; height:17px; font-size:10px !important; line-height:17px !important;
}
html body.gia-home:not(.gia-scrolled) .gia-ico,
html body.gia-home:not(.gia-scrolled) #mainnav .sicon-menu{ color:#fff !important; }

@media (min-width:1024px){
  #mainnav .container > .flex.justify-between{ min-height:88px !important; }
  #mainnav .navbar-brand img{ height:56px !important; max-height:56px !important; }
}

/* =========================================================
   ترتيب نهائي للهيدر: ثلاث أعمدة متساوية مثل By Ghadi
   ========================================================= */
#mainnav .container{ padding-left:18px !important; padding-right:18px !important; max-width:100% !important; }
#mainnav .container > .flex.justify-between{
  display:grid !important; grid-template-columns:1fr auto 1fr; align-items:center !important;
}
#mainnav .container > .flex.justify-between > div:first-child{
  grid-column:1; justify-self:start; display:flex !important; align-items:center; gap:18px; margin:0 !important;
}
#mainnav .container > .flex.justify-between > div:last-child{
  grid-column:3; justify-self:end; display:flex !important; align-items:center; gap:18px; margin:0 !important;
}
#mainnav .container > .flex.justify-between > div:last-child > *{ margin:0 !important; }

/* الشعار: بدون أي خلفية خلفه */
#mainnav .navbar-brand,
#mainnav .navbar-brand img{ background:none !important; background-color:transparent !important; padding:0 !important; border:0 !important; box-shadow:none !important; }

/* الأيقونات بنفس الحجم */
.gia-ico svg{ width:25px; height:25px; }
#mainnav .sicon-menu{ font-size:25px !important; line-height:1 !important; }
#mainnav salla-cart-summary .header-btn__icon{ font-size:25px !important; }
#mainnav salla-cart-summary{ position:relative; }
#mainnav salla-cart-summary [class*="count"]{ position:absolute !important; top:-7px !important; left:-9px !important; right:auto !important; }

/* =========================================================
   فيديو فاتح: الشعار والأيقونات والنص بلون داكن
   ========================================================= */
html body.gia-light-video .store-header a,
html body.gia-light-video .store-header i,
html body.gia-light-video .store-header span,
html body.gia-light-video .store-header button,
html body.gia-light-video .gia-ico,
html body.gia-light-video #mainnav .sicon-menu,
html body.gia-light-video #mainnav .header-btn__icon{ color:var(--gia-dark) !important; }
html body.gia-light-video #mainnav salla-cart-summary [class*="count"]{ background:var(--gia-dark) !important; color:#fff !important; }

html body.gia-light-hero .gia-hero__content,
html body.gia-light-hero .gia-hero__title,
html body.gia-light-hero .gia-hero__eyebrow,
html body.gia-light-hero .gia-hero__sub{ color:var(--gia-dark) !important; text-shadow:none !important; }
html body.gia-light-hero .gia-hero .gia-btn{ border-color:var(--gia-dark) !important; color:var(--gia-dark) !important; background:transparent !important; }
html body.gia-light-hero .gia-hero .gia-btn--solid{ background:var(--gia-dark) !important; color:#fff !important; }
html body.gia-light-hero .gia-hero{ background:#f4f1ee; }

/* =========================================================
   النسخة النهائية للهيدر: لون واحد، توزيع متساوي
   ========================================================= */
html body#app .store-header .gia-ico,
html body#app #mainnav .gia-ico,
html body#app #mainnav .sicon-menu,
html body#app #mainnav .mburger{
  color:var(--gia-dark) !important;
  filter:drop-shadow(0 0 5px rgba(255,255,255,.55));
}
html body#app #mainnav .navbar-brand img{
  filter:drop-shadow(0 0 6px rgba(255,255,255,.5)) !important;
}
html body#app.gia-scrolled #mainnav .gia-ico,
html body#app.gia-scrolled #mainnav .sicon-menu,
html body#app:not(.gia-home) #mainnav .gia-ico,
html body#app:not(.gia-home) #mainnav .sicon-menu{ filter:none; }
html body#app.gia-scrolled #mainnav .navbar-brand img,
html body#app:not(.gia-home) #mainnav .navbar-brand img{ filter:none !important; }

/* توزيع: نفس المسافة من الحافتين وبين الأيقونات */
html body#app #mainnav .container{ padding-left:20px !important; padding-right:20px !important; }
html body#app #mainnav .container > .flex.justify-between > div:first-child,
html body#app #mainnav .container > .flex.justify-between > div:last-child{ gap:20px !important; }
html body#app #mainnav .mburger{ margin:0 !important; padding:0 !important; display:inline-flex; width:26px; height:26px; align-items:center; justify-content:center; }
html body#app #mainnav .sicon-menu{ font-size:24px !important; }
.gia-ico{ width:26px !important; height:26px !important; position:relative; }
.gia-ico svg{ width:24px !important; height:24px !important; }
.gia-badge{
  position:absolute; top:-6px; left:-8px;
  min-width:16px; height:16px; padding:0 4px; border-radius:8px;
  background:var(--gia-dark); color:#fff; font:500 10px/16px var(--gia-latin);
  text-align:center; filter:none;
}

/* =========================================================
   البنر: الفيديو نظيف، والكلام والأزرار تحته على أبيض
   ========================================================= */
html body .gia-hero{
  height:auto !important; min-height:0 !important; overflow:visible !important;
  background:#fff !important; margin-bottom:60px !important;
}
.gia-hero__media{
  position:relative; width:100%; height:100vh; height:100svh;
  overflow:hidden; background:#f4f1ee;
}
html body .gia-hero .gia-hero__content{
  position:static !important; inset:auto !important;
  padding:44px 20px 0 !important; text-align:center; color:var(--gia-dark) !important;
}
html body .gia-hero .gia-hero__eyebrow,
html body .gia-hero .gia-hero__title,
html body .gia-hero .gia-hero__sub{ color:var(--gia-dark) !important; text-shadow:none !important; }
html body .gia-hero .gia-hero__eyebrow{ color:var(--gia-text) !important; }
html body .gia-hero .gia-btn{ border:1px solid var(--gia-dark) !important; color:var(--gia-dark) !important; background:transparent !important; }
html body .gia-hero .gia-btn--solid{ background:var(--gia-dark) !important; color:#fff !important; }
html body .gia-hero .gia-btn:hover{ background:var(--gia-dark) !important; color:#fff !important; }
html body .gia-hero .gia-btn--solid:hover{ background:transparent !important; color:var(--gia-dark) !important; }
@media (max-width:767px){
  .gia-hero__media{ height:88vh; height:88svh; }
  html body .gia-hero .gia-hero__content{ padding-top:34px !important; }
}

/* =========================================================
   الهيدر بعد النزول: صغير ونحيف مثل البراندات العالمية
   ========================================================= */
#mainnav .container > .flex.justify-between,
#mainnav .navbar-brand img,
.gia-ico svg{ transition:min-height .3s ease, height .3s ease, width .3s ease; }

html body #mainnav.fixed-pinned .inner,
html body.gia-scrolled #mainnav .inner{
  padding-top:0 !important; padding-bottom:0 !important;
  box-shadow:0 1px 0 rgba(0,0,0,.06) !important;
}
html body #mainnav.fixed-pinned .container > .flex.justify-between,
html body.gia-scrolled #mainnav .container > .flex.justify-between{
  min-height:52px !important; height:52px !important;
}
html body #mainnav.fixed-pinned .navbar-brand img,
html body.gia-scrolled #mainnav .navbar-brand img{
  height:30px !important; max-height:30px !important;
}
html body #mainnav.fixed-pinned .gia-ico,
html body.gia-scrolled #mainnav .gia-ico{ width:22px !important; height:22px !important; }
html body #mainnav.fixed-pinned .gia-ico svg,
html body.gia-scrolled #mainnav .gia-ico svg{ width:21px !important; height:21px !important; }
html body #mainnav.fixed-pinned .sicon-menu,
html body.gia-scrolled #mainnav .sicon-menu{ font-size:21px !important; }
html body #mainnav.fixed-pinned .container > .flex.justify-between > div,
html body.gia-scrolled #mainnav .container > .flex.justify-between > div{ gap:18px !important; }
html body #mainnav.fixed-pinned .gia-badge,
html body.gia-scrolled #mainnav .gia-badge{ top:-5px; left:-7px; min-width:14px; height:14px; font-size:9px; line-height:14px; }

@media (min-width:1024px){
  html body #mainnav.fixed-pinned .container > .flex.justify-between,
  html body.gia-scrolled #mainnav .container > .flex.justify-between{ min-height:60px !important; height:60px !important; }
  html body #mainnav.fixed-pinned .navbar-brand img,
  html body.gia-scrolled #mainnav .navbar-brand img{ height:36px !important; max-height:36px !important; }
}

/* =========================================================
   محاذاة الهيدر: ثلاث أعمدة على خط واحد (بدون تموضع مطلق)
   ========================================================= */
html body #mainnav .container > .flex.justify-between{
  display:grid !important; grid-template-columns:1fr auto 1fr !important;
  align-items:center !important; position:relative;
}
html body #mainnav .container > .flex.justify-between > .gia-brand{
  grid-column:2 !important; position:static !important; transform:none !important;
  left:auto !important; top:auto !important; margin:0 !important;
  display:flex !important; align-items:center; justify-content:center; line-height:0;
}
html body #mainnav .container > .flex.justify-between > div:first-child{ grid-column:1 !important; }
html body #mainnav .container > .flex.justify-between > div:last-child{ grid-column:3 !important; }
html body #mainnav .container > .flex.justify-between > div{ height:100%; align-self:center; }
html body #mainnav .gia-brand h1, html body #mainnav .gia-brand h2, html body #mainnav .gia-brand h4{ display:none !important; }

/* الجوال: القائمة الأفقية مخفية (تفتح من زر القائمة) عشان ما تكبر الهيدر */
@media (max-width:1023px){
  html body #mainnav custom-main-menu, html body #mainnav .main-menu{ display:none !important; }
}

/* بعد النزول: بدون أي فراغ فوق */
html body #mainnav.fixed-pinned .inner,
html body.gia-scrolled #mainnav .inner{ top:0 !important; transform:none !important; height:auto !important; }
html body #mainnav.fixed-pinned .container,
html body.gia-scrolled #mainnav .container{ padding-top:0 !important; padding-bottom:0 !important; }
html body #mainnav.fixed-pinned .container > .flex.justify-between > div,
html body.gia-scrolled #mainnav .container > .flex.justify-between > div{ margin:0 !important; height:52px; }

/* =========================================================
   المنتجات تحت البنر: شبكة نظيفة مثل By Ghadi
   ========================================================= */
.gia-products{ margin:0 auto 70px !important; padding-left:16px !important; padding-right:16px !important; max-width:1320px; }
.gia-products .s-block__title{ margin-bottom:26px !important; }
.gia-products .tabs, .gia-products .tab-trigger{ display:none !important; }

/* لو القسم سلايدر نحوله لشبكة */
.gia-products .swiper-wrapper,
.gia-products .s-slider-swiper-wrapper{
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:28px 12px !important; transform:none !important; height:auto !important;
}
.gia-products .swiper-slide{ width:auto !important; margin:0 !important; height:auto !important; }
.gia-products .s-slider-block__title-nav,
.gia-products .swiper-button-next, .gia-products .swiper-button-prev,
.gia-products .s-slider-nav-arrow, .gia-products .swiper-pagination{ display:none !important; }

/* لو القسم قائمة منتجات */
.gia-products .s-products-list-wrapper,
.gia-products .tabs__item.is-active{
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:28px 12px !important;
}

/* البطاقة: صورة طولية كاملة، الاسم والسعر تحتها بخط صغير */
.gia-products .s-product-card-image{ aspect-ratio:3/4 !important; }
.gia-products .s-product-card-content{ padding-top:12px !important; }
.gia-products .s-product-card-content-title,
.gia-products .s-product-card-content-title a{ font-size:13px !important; font-weight:400 !important; }
.gia-products .s-product-card-price,
.gia-products .s-product-card-sale-price h4{ font-size:12.5px !important; font-weight:500 !important; }
.gia-products .s-product-card-content-footer{ display:none !important; }

@media (min-width:1024px){
  .gia-products .swiper-wrapper, .gia-products .s-slider-swiper-wrapper,
  .gia-products .s-products-list-wrapper, .gia-products .tabs__item.is-active{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:40px 20px !important;
  }
}

/* =========================================================
   الفوتر: أسلوب البراندات العالمية (داكن، في النص، الشعار فوق)
   ========================================================= */
html body .store-footer{
  background:var(--gia-dark) !important; color:#fff !important;
  border-top:0 !important; margin-top:80px !important; text-align:center;
}
html body .store-footer .store-footer__inner{ background:transparent !important; padding:8px 0 10px !important; }

.gia-footer-logo{ display:block; padding:56px 0 34px; text-align:center; line-height:0; }
.gia-footer-logo img{ height:64px; width:auto; display:inline-block; }

/* عمود واحد في النص */
html body .store-footer .store-footer__inner > .container{
  display:flex !important; flex-direction:column; align-items:center; gap:34px !important;
  padding:0 24px !important;
}
html body .store-footer .store-footer__inner > .container > *{ padding:0 !important; width:100%; max-width:520px; }

/* اسم المتجر والوصف مكررين مع الشعار */
html body .store-footer .store-footer__inner > .container > div:first-child > a,
html body .store-footer .store-footer__inner > .container > div:first-child > .max-w-sm{ display:none !important; }

/* العناوين */
html body .store-footer h3,
html body .store-footer .s-contacts-title,
html body .store-footer salla-contacts h3{
  font-family:var(--gia-latin), var(--gia-font) !important;
  font-size:12px !important; font-weight:500 !important; letter-spacing:2.5px !important;
  color:#fff !important; margin:0 0 16px !important; text-transform:uppercase;
}

/* الروابط والنصوص */
html body .store-footer a,
html body .store-footer p,
html body .store-footer span,
html body .store-footer li,
html body .store-footer b{ color:rgba(255,255,255,.68) !important; font-size:13px !important; }
html body .store-footer a:hover{ color:#fff !important; }
html body .store-footer salla-menu ul,
html body .store-footer salla-menu .s-menu-footer-list{
  display:flex !important; flex-wrap:wrap; justify-content:center; gap:10px 22px; padding:0 !important;
}

/* التواصل والسوشال: أيقونات خط بدون دوائر */
html body .store-footer salla-contacts *,
html body .store-footer salla-social *{
  background:transparent !important; border:0 !important; box-shadow:none !important;
}
html body .store-footer salla-contacts ul,
html body .store-footer salla-contacts > div{ display:flex !important; flex-wrap:wrap; justify-content:center; gap:8px 24px; }
html body .store-footer salla-contacts li,
html body .store-footer salla-contacts a{ display:inline-flex !important; align-items:center; gap:8px; justify-content:center; }
html body .store-footer salla-social ul,
html body .store-footer salla-social > div{ display:flex !important; justify-content:center; gap:22px !important; }
html body .store-footer salla-social a,
html body .store-footer salla-social i,
html body .store-footer salla-contacts i{ color:#fff !important; font-size:18px !important; }
html body .store-footer salla-social svg,
html body .store-footer salla-contacts svg{ fill:#fff !important; width:18px; height:18px; }
html body .store-footer .contact-social{ margin-top:22px; }

/* وثيقة العمل الحر: صغيرة وهادية */
html body .store-footer salla-trust-badges{ display:flex; justify-content:center; opacity:.75; }
html body .store-footer salla-trust-badges img{ filter:brightness(0) invert(1); max-height:34px; }
html body .store-footer .flex.gap-4{ justify-content:center; }

/* الشريط الأخير: خط رفيع، الحقوق، طرق الدفع */
html body .store-footer > .md\:flex,
html body .store-footer > div:last-of-type{
  border-top:1px solid rgba(255,255,255,.12); margin-top:40px !important;
  padding:22px 24px 30px !important; display:flex !important; flex-direction:column;
  align-items:center; gap:16px; text-align:center;
}
html body .store-footer .copyright-text,
html body .store-footer .copyright-text *{ font-size:11.5px !important; color:rgba(255,255,255,.5) !important; letter-spacing:.3px; }
html body .store-footer salla-payments{ display:flex; justify-content:center; }
html body .store-footer salla-payments *{ box-shadow:none !important; }
html body .store-footer salla-payments li,
html body .store-footer salla-payments .s-payments-list-item{
  background:#fff !important; border-radius:4px !important; padding:4px 8px !important; transform:scale(.85);
}

@media (min-width:1024px){
  .gia-footer-logo{ padding-top:70px; }
  .gia-footer-logo img{ height:76px; }
}

/* =========================================================
   الفوتر المختصر (يغلب نسخة الفوتر السابقة)
   ========================================================= */
html body .store-footer.gia-footer{ margin-top:60px !important; text-align:start; }
html body .store-footer.gia-footer > div:not(.gia-f),
html body .store-footer.gia-footer .store-footer__inner{ display:none !important; }

.gia-f{ max-width:1320px; margin:0 auto; padding:30px 20px 18px; }
.gia-f__top, .gia-f__mid, .gia-f__bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.gia-f__top{ padding-bottom:20px; border-bottom:1px solid rgba(255,255,255,.12); }
.gia-f__mid{ padding:18px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.gia-f__bottom{ padding-top:16px; }

.gia-f__logo{ line-height:0; display:inline-block; }
.gia-f__logo img{ height:40px; width:auto; }

/* بدون عناوين، وبدون تباعد حروف على العربي */
html body .gia-f h3, html body .gia-f .s-contacts-title, html body .gia-f__contact [class*="header"]{ display:none !important; }
html body .gia-f *{ letter-spacing:normal !important; }

/* السوشال: أيقونات صغيرة في سطر */
html body .gia-f__social ul, html body .gia-f__social > * > div, html body .gia-f__social salla-social{
  display:flex !important; gap:16px !important; margin:0 !important; padding:0 !important;
}
html body .gia-f__social i, html body .gia-f__social a{ font-size:16px !important; color:#fff !important; }
html body .gia-f__social svg{ width:16px !important; height:16px !important; fill:#fff !important; }

/* الروابط والتواصل: نص صغير في سطر */
html body .gia-f__links ul, html body .gia-f__links salla-menu > *, html body .gia-f__contact ul, html body .gia-f__contact salla-contacts > *{
  display:flex !important; flex-wrap:wrap; gap:6px 18px !important; margin:0 !important; padding:0 !important;
}
html body .gia-f__links a, html body .gia-f__contact a, html body .gia-f__contact span{
  font-size:12px !important; color:rgba(255,255,255,.7) !important; margin:0 !important; padding:0 !important;
}
html body .gia-f__contact i, html body .gia-f__contact svg{ font-size:13px !important; width:13px !important; height:13px !important; color:#fff !important; fill:#fff !important; }
html body .gia-f__contact li, html body .gia-f__contact a{ display:inline-flex !important; align-items:center; gap:6px !important; }
html body .gia-f__contact [class*="icon"]{ width:auto !important; height:auto !important; min-width:0 !important; }

/* الحقوق، الوثيقة، الدفع: سطر صغير */
html body .gia-f__copy, html body .gia-f__copy *{ font-size:11px !important; color:rgba(255,255,255,.45) !important; }
html body .gia-f__trust{ opacity:.6; }
html body .gia-f__trust *{ font-size:10.5px !important; }
html body .gia-f__trust img{ max-height:22px !important; width:auto !important; filter:brightness(0) invert(1); }
html body .gia-f__trust > *{ display:flex !important; align-items:center; gap:6px; margin:0 !important; }
html body .gia-f__pay salla-payments, html body .gia-f__pay ul{ display:flex !important; gap:6px !important; margin:0 !important; padding:0 !important; }
html body .gia-f__pay li, html body .gia-f__pay .s-payments-list-item{
  transform:none !important; padding:2px 5px !important; border-radius:3px !important; background:#fff !important;
  height:22px !important; display:flex !important; align-items:center;
}
html body .gia-f__pay img{ max-height:14px !important; width:auto !important; }

/* الجوال: السطر الأخير يتوزع على سطرين مرتبين */
@media (max-width:767px){
  .gia-f__bottom{ justify-content:center; text-align:center; }
  .gia-f__copy{ order:3; width:100%; text-align:center; }
}

/* تصحيحات الفوتر المختصر */
html body .store-footer.gia-footer .gia-f__social salla-social ~ salla-social{ display:none !important; }
html body .store-footer.gia-footer .gia-f__social ul,
html body .store-footer.gia-footer .gia-f__social salla-social > div{ display:flex !important; flex-wrap:nowrap !important; gap:18px !important; }
html body .store-footer.gia-footer .gia-f__social li{ margin:0 !important; padding:0 !important; width:auto !important; }
html body .store-footer.gia-footer .gia-f__social a{ width:20px !important; height:20px !important; display:inline-flex !important; align-items:center; justify-content:center; padding:0 !important; }
html body .store-footer.gia-footer .gia-f__social svg,
html body .store-footer.gia-footer .gia-f__social img{ width:18px !important; height:18px !important; }

/* رقم واحد فقط */
html body .store-footer.gia-footer .gia-f__contact li ~ li{ display:none !important; }
html body .store-footer.gia-footer .gia-f__contact a,
html body .store-footer.gia-footer .gia-f__contact span,
html body .store-footer.gia-footer .gia-f__contact p{ font-size:12px !important; }
html body .store-footer.gia-footer .gia-f__contact svg{ width:14px !important; height:14px !important; }

/* وثيقة العمل الحر صغيرة */
html body .store-footer.gia-footer .gia-f__trust p,
html body .store-footer.gia-footer .gia-f__trust b,
html body .store-footer.gia-footer .gia-f__trust span,
html body .store-footer.gia-footer .gia-f__trust div{
  font-size:10.5px !important; line-height:1.4 !important; font-weight:400 !important; margin:0 !important;
  color:rgba(255,255,255,.55) !important;
}
html body .store-footer.gia-footer .gia-f__trust img{ max-height:20px !important; width:auto !important; }

/* الحقوق */
html body .store-footer.gia-footer .gia-f__copy,
html body .store-footer.gia-footer .gia-f__copy span,
html body .store-footer.gia-footer .gia-f__copy a,
html body .store-footer.gia-footer .gia-f__copy p{ font-size:11px !important; color:rgba(255,255,255,.45) !important; }

/* الدفع أصغر */
html body .store-footer.gia-footer .gia-f__pay li,
html body .store-footer.gia-footer .gia-f__pay .s-payments-list-item{ height:20px !important; min-width:0 !important; width:auto !important; padding:2px 6px !important; }
html body .store-footer.gia-footer .gia-f__pay img{ max-height:12px !important; }

/* المسافات */
html body .store-footer.gia-footer .gia-f{ padding:24px 20px 16px !important; }
html body .store-footer.gia-footer .gia-f__top{ padding-bottom:16px !important; }
html body .store-footer.gia-footer .gia-f__mid{ padding:14px 0 !important; }
html body .store-footer.gia-footer .gia-f__bottom{ padding-top:14px !important; gap:10px !important; }

/* =========================================================
   بطاقات المنتجات: أسلوب البراندات العالمية
   ========================================================= */
/* السعر يرجع يظهر (كان مخفي مع سطر التقييم) */
html body .s-product-card-entry .s-product-card-content-sub{
  display:flex !important; justify-content:center !important; align-items:center; gap:6px;
  padding:0 !important; margin:4px 0 0 !important; border:0 !important;
}
html body .s-product-card-entry .s-product-card-rating{ display:none !important; }

/* الصورة أكبر والمسافات أقل */
html body .gia-products{ padding-left:6px !important; padding-right:6px !important; }
html body .gia-products .swiper-wrapper,
html body .gia-products .s-slider-swiper-wrapper,
html body .gia-products .s-products-list-wrapper,
html body .gia-products .tabs__item.is-active{ gap:26px 6px !important; }
html body .s-products-list-wrapper{ gap:26px 6px !important; }

/* الاسم والسعر: صغير، متناسق، بدون فراغ تحته */
html body .s-product-card-entry .s-product-card-content{ padding:10px 4px 0 !important; min-height:0 !important; }
html body .s-product-card-entry .s-product-card-content-main{ padding:0 !important; margin:0 !important; min-height:0 !important; }
html body .s-product-card-entry .s-product-card-content-title,
html body .s-product-card-entry .s-product-card-content-title a{
  font-family:var(--gia-latin), var(--gia-font) !important;
  font-size:12px !important; font-weight:400 !important; letter-spacing:1.2px !important;
  text-transform:uppercase; color:var(--gia-dark) !important; margin:0 !important; line-height:1.5 !important;
}
html body .s-product-card-entry .s-product-card-price,
html body .s-product-card-entry .s-product-card-sale-price h4,
html body .s-product-card-entry .s-product-card-starting-price{
  font-size:12px !important; font-weight:400 !important; color:var(--gia-text) !important; margin:0 !important;
}
html body .s-product-card-entry .s-product-card-sale-price span{ font-size:11px !important; }

/* القلب: أيقونة خط صغيرة بدون دائرة فوق الصورة */
html body .s-product-card-entry .s-product-card-wishlist-btn,
html body .s-product-card-entry .s-product-card-wishlist-btn button{
  background:transparent !important; box-shadow:none !important; border:0 !important;
  width:28px !important; height:28px !important; min-width:0 !important; padding:0 !important;
}
html body .s-product-card-entry .s-product-card-wishlist-btn{ top:8px !important; right:auto !important; left:8px !important; }
html body .s-product-card-entry .s-product-card-wishlist-btn i{
  font-size:17px !important; color:var(--gia-dark) !important;
  filter:drop-shadow(0 0 3px rgba(255,255,255,.7));
}
html body .s-product-card-entry .s-product-card-wishlist-added i{ color:#a77fa5 !important; }

/* شارة العرض أو نفذ: نص صغير بدون مربع ملون */
html body .s-product-card-entry .s-product-card-promotion-title,
html body .s-product-card-entry .s-product-card-out-badge{
  background:#fff !important; color:var(--gia-dark) !important; border-radius:0 !important;
  font-size:10px !important; letter-spacing:1px; padding:3px 8px !important; box-shadow:none !important;
}

@media (min-width:1024px){
  html body .gia-products{ padding-left:24px !important; padding-right:24px !important; }
  html body .gia-products .swiper-wrapper,
  html body .gia-products .s-slider-swiper-wrapper,
  html body .gia-products .s-products-list-wrapper,
  html body .s-products-list-wrapper{ gap:44px 14px !important; }
  html body .s-product-card-entry .s-product-card-content-title,
  html body .s-product-card-entry .s-product-card-content-title a{ font-size:12.5px !important; }
}

/* =========================================================
   انميشن الدخول
   ========================================================= */
html.gia-intro-lock, html.gia-intro-lock body{ overflow:hidden !important; }
.gia-intro{
  position:fixed; inset:0; z-index:2147483000;
  display:flex; align-items:center; justify-content:center;
  background:rgba(200,185,204,.62);
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  transition:opacity .6s ease, -webkit-backdrop-filter .6s ease, backdrop-filter .6s ease;
  cursor:pointer;
}
.gia-intro__logo{ width:150px; height:auto; overflow:visible; transition:transform .6s ease, opacity .5s ease; }
.gia-intro__logo path{
  fill:var(--gia-dark, #686c6a); fill-opacity:0;
  stroke:var(--gia-dark, #686c6a); stroke-width:6; stroke-linejoin:round;
  stroke-dasharray:1; stroke-dashoffset:1;
  animation:giaDraw 1.4s cubic-bezier(.6,0,.3,1) .15s forwards, giaFill .55s ease 1.25s forwards;
}
@keyframes giaDraw{ to{ stroke-dashoffset:0; } }
@keyframes giaFill{ to{ fill-opacity:1; stroke-opacity:0; } }

.gia-intro--out{ opacity:0; -webkit-backdrop-filter:blur(0); backdrop-filter:blur(0); pointer-events:none; }
.gia-intro--out .gia-intro__logo{ transform:scale(1.08); opacity:0; }

.gia-intro--reduce .gia-intro__logo path{ animation:none; fill-opacity:1; stroke:none; }

/* أمان: لو صار أي خطأ، تختفي الشاشة لحالها */
.gia-intro{ animation:giaIntroGuard 0s linear 5s forwards; }
@keyframes giaIntroGuard{ to{ opacity:0; visibility:hidden; pointer-events:none; } }

@media (min-width:1024px){ .gia-intro__logo{ width:190px; } }

/* =========================================================
   الفوتر بلون الموف (لون خلفية الشعار)
   النص رمادي أغمق من الشعار عشان يكون واضح على الموف
   ========================================================= */
html body .store-footer.gia-footer{ --gia-f-ink:#464948; background:var(--gia-main) !important; color:var(--gia-f-ink) !important; }
html body .store-footer.gia-footer .gia-f__top,
html body .store-footer.gia-footer .gia-f__mid{ border-bottom-color:rgba(70,73,72,.18) !important; }

html body .store-footer.gia-footer a,
html body .store-footer.gia-footer p,
html body .store-footer.gia-footer span,
html body .store-footer.gia-footer li,
html body .store-footer.gia-footer b,
html body .store-footer.gia-footer .gia-f__links a,
html body .store-footer.gia-footer .gia-f__contact a,
html body .store-footer.gia-footer .gia-f__contact span,
html body .store-footer.gia-footer .gia-f__contact p{ color:var(--gia-f-ink) !important; }
html body .store-footer.gia-footer a:hover{ color:#2f3231 !important; }

html body .store-footer.gia-footer .gia-f__social a,
html body .store-footer.gia-footer .gia-f__social i,
html body .store-footer.gia-footer .gia-f__contact i{ color:var(--gia-f-ink) !important; }
html body .store-footer.gia-footer .gia-f__social svg,
html body .store-footer.gia-footer .gia-f__contact svg{ fill:var(--gia-f-ink) !important; }

html body .store-footer.gia-footer .gia-f__trust p,
html body .store-footer.gia-footer .gia-f__trust b,
html body .store-footer.gia-footer .gia-f__trust span,
html body .store-footer.gia-footer .gia-f__trust div{ color:var(--gia-f-ink) !important; }
html body .store-footer.gia-footer .gia-f__trust{ opacity:.8; }
html body .store-footer.gia-footer .gia-f__trust img{ filter:brightness(0) !important; opacity:.7; }

html body .store-footer.gia-footer .gia-f__copy,
html body .store-footer.gia-footer .gia-f__copy span,
html body .store-footer.gia-footer .gia-f__copy a,
html body .store-footer.gia-footer .gia-f__copy p{ color:rgba(70,73,72,.75) !important; }

/* =========================================================
   زر واتساب العائم
   ========================================================= */
.gia-wa{
  position:fixed; right:18px; bottom:calc(22px + env(safe-area-inset-bottom, 0px)); z-index:9990;
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#25d366; box-shadow:0 6px 18px rgba(0,0,0,.18);
  transition:transform .25s ease, box-shadow .25s ease;
}
.gia-wa:hover{ transform:scale(1.06); box-shadow:0 8px 22px rgba(0,0,0,.22); }
.gia-wa svg{ width:30px; height:30px; }
html.gia-intro-lock .gia-wa{ opacity:0; }
@media (min-width:1024px){ .gia-wa{ right:28px; bottom:28px; width:60px; height:60px; } }

/* أزرار البنر بلون الفوتر (البنفسجي) */
html body .gia-hero .gia-btn{
  border:1px solid var(--gia-main) !important; color:#464948 !important; background:transparent !important;
}
html body .gia-hero .gia-btn--solid{
  background:var(--gia-main) !important; border-color:var(--gia-main) !important; color:#464948 !important;
}
html body .gia-hero .gia-btn:hover{ background:var(--gia-main) !important; color:#464948 !important; }
html body .gia-hero .gia-btn--solid:hover{ background:transparent !important; color:#464948 !important; }

/* تأكيد ألوان أزرار البنر (تغلب قواعد البنر الفاتح القديمة) */
html body .gia-hero .gia-hero__btns a.gia-btn.gia-btn{
  border:1px solid var(--gia-main) !important; color:#464948 !important; background:transparent !important;
}
html body .gia-hero .gia-hero__btns a.gia-btn.gia-btn--solid{
  background:var(--gia-main) !important; border-color:var(--gia-main) !important; color:#464948 !important;
}
html body .gia-hero .gia-hero__btns a.gia-btn.gia-btn:hover{ background:var(--gia-main) !important; color:#464948 !important; }
html body .gia-hero .gia-hero__btns a.gia-btn.gia-btn--solid:hover{ background:transparent !important; color:#464948 !important; }