/* Add custom CSS styles below */
/* 
  This is by: Abdulsalam Obaid.
  Made for: Abaq Store.
*/
/* =========================================================
   1. Brand Variables / متغيرات الهوية
   ========================================================= */
:root {
  --brand-orange:#ee6519;
  --brand-orange-dark: #e44e25;
  --brand-brown:  #166866;
  --brand-peach: #eca685;
  --brand-light: #fcfafa;
  --brand-white: #ffffff;
  --brand-black: #000000;
  --brand-text: #1f2933;
  --brand-muted: #5f6673;

  /* Modern Extended Palette */
  /* --brand-primary: #e65100; */
  --brand-primary: green; /* اخضر لون اليوم الوطني */
  --brand-dark: #0f172a;
  --brand-slate: #334155;
  --brand-gray: #475569;
  --brand-light-gray: #64748b;
  --brand-border: #e2e8f0;
  --brand-bg: #f8fafc;

  /* عناصر يسهل تعديلها لاحقًا */
  --product-price-color:#2C5745;
  --add-cart-bg:#2C5745;
  --add-cart-hover:#2C5745;

  --normal-box-shadow: 0 8px 22px rgba(106, 34, 16, 0.08);
  --hover-box-shadow: 0 12px 28px rgba(106, 34, 16, 0.12);
  --transition-normal: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  --bounce-curve: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================
   2. General Store Base / الأساس العام
   ========================================================= */
body {
  background-color: var(--brand-bg);
  color: var(--brand-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  transition: color 0.25s ease;
  will-change: transform, color;
}

/* GPU Acceleration for interactive elements */
custom-salla-product-card,
.brand-item,
.s-slider-nav-arrow,
.s-social-link a {
  will-change: transform, box-shadow;
}
/* ====================================== */

/* الهدر: شعار عبق الجزيرة */

.navbar-brand img {
  max-height: 4.5rem !important;
}

@media (max-width: 768px) {

  .navbar-brand img {
    max-height: 4rem !important;
  }
  
}

/* نهاية الهدر */

/* =========================================================
   عبق الجزيرة
   Main Home Photos Slider — Salla Raaed Theme
   Scoped فقط على السلايدر الرئيسي
   ========================================================= */

section[data-testid="store-home-photos-slider"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: relative;
  z-index: 1;
}

/* إزالة المساحات الداخلية من السلايدر */
section[data-testid="store-home-photos-slider"] salla-slider {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* السلايدر نفسه */
section[data-testid="store-home-photos-slider"] .s-slider-container {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background: var(--brand-white);
  box-shadow: var(--normal-box-shadow);
}

/* =========================================================
   Slides
   ========================================================= */

section[data-testid="store-home-photos-slider"] .s-slider-container .s-slider-swiper-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

section[data-testid="store-home-photos-slider"] .s-slider-container .swiper-slide {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

/* رابط البنر */
section[data-testid="store-home-photos-slider"] .s-slider-container .swiper-slide > a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* =========================================================
   الصور
   ========================================================= */

/*
 * مهم:
 * لا نحدد height
 * لا نستخدم cover
 * لا نستخدم fill
 * لا نستخدم aspect-ratio
 *
 * نترك صورة 1200×300 تحافظ على نسبتها الأصلية.
 */

section[data-testid="store-home-photos-slider"] .s-slider-container .swiper-slide > a > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  transform: scale(1);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

/* Hover للكمبيوتر فقط */
@media (hover: hover) and (min-width: 768px) {
  section[data-testid="store-home-photos-slider"] .s-slider-container .swiper-slide > a:hover > img {
    transform: scale(1.015);
    filter: saturate(1.035);
  }
}

/* =========================================================
   Pagination
   ========================================================= */

section[data-testid="store-home-photos-slider"] .s-slider-container > .swiper-pagination {
  position: absolute;
  z-index: 20;
  left: 50%;
  right: auto;
  bottom: 15px !important;
  width: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 9px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 5px 18px rgba(106, 34, 16, 0.1);
}

/* النقاط */
section[data-testid="store-home-photos-slider"] .s-slider-container > .swiper-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  opacity: 1;
  border-radius: 999px;
  background: rgba(106, 34, 16, 0.25);
  transition:
    width 0.22s ease,
    background-color 0.22s ease,
    transform 0.22s ease;
}

/* النقطة النشطة */
section[data-testid="store-home-photos-slider"] .s-slider-container > .swiper-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: var(--brand-orange);
  box-shadow: 0 2px 8px rgba(238, 101, 25, 0.3);
}

/* Hover للنقاط */
@media (hover: hover) {
  section[data-testid="store-home-photos-slider"] .s-slider-container > .swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):hover {
    transform: scale(1.2);
    background: var(--brand-orange-dark);
  }
}

/* =========================================================
   الأسهم
   ========================================================= */

/* نخلي الأسهم أنيقة بدل الشكل الافتراضي */
section[data-testid="store-home-photos-slider"] .s-slider-wrapper .s-slider-nav-arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 18px rgba(106, 34, 16, 0.12);
  transition:
    background-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

section[data-testid="store-home-photos-slider"] .s-slider-wrapper .s-slider-nav-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--brand-brown);
  transition:
    fill 0.22s ease,
    transform 0.22s ease;
}

@media (hover: hover) {
  section[data-testid="store-home-photos-slider"] .s-slider-wrapper .s-slider-nav-arrow:not(.swiper-button-disabled):hover {
    background: var(--brand-orange);
    transform: scale(1.06);
    box-shadow: 0 7px 20px rgba(238, 101, 25, 0.25);
  }

  section[data-testid="store-home-photos-slider"] .s-slider-wrapper .s-slider-nav-arrow:not(.swiper-button-disabled):hover svg {
    fill: var(--brand-white);
  }
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {
  section[data-testid="store-home-photos-slider"] .s-slider-container {
    border-radius: 0 0 14px 14px;
  }

  section[data-testid="store-home-photos-slider"] .s-slider-container > .swiper-pagination {
    bottom: 10px !important;
  }

  section[data-testid="store-home-photos-slider"] .s-slider-wrapper .s-slider-nav-arrow {
    width: 36px;
    height: 36px;
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {
  section[data-testid="store-home-photos-slider"] .s-slider-container {
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 14px rgba(106, 34, 16, 0.07);
  }

  /*
   * لا نغير نسبة الصورة على الجوال.
   * تبقى 1200×300 بدون قص أو تمديد.
   */
  section[data-testid="store-home-photos-slider"] .s-slider-container .swiper-slide > a > img {
    width: 100%;
    height: auto;
    transform: none;
  }

  /* Pagination أصغر */
  section[data-testid="store-home-photos-slider"] .s-slider-container > .swiper-pagination {
    bottom: 6px !important;
    gap: 4px;
    padding: 4px 7px;
  }

  section[data-testid="store-home-photos-slider"] .s-slider-container > .swiper-pagination .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
  }

  section[data-testid="store-home-photos-slider"] .s-slider-container > .swiper-pagination .swiper-pagination-bullet-active {
    width: 16px;
  }

  /* الأسهم أصغر على الجوال */
  section[data-testid="store-home-photos-slider"] .s-slider-wrapper .s-slider-nav-arrow {
    width: 32px;
    height: 32px;
  }

  section[data-testid="store-home-photos-slider"] .s-slider-wrapper .s-slider-nav-arrow svg {
    width: 17px;
    height: 17px;
  }
}

/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  section[data-testid="store-home-photos-slider"] .s-slider-container .swiper-slide > a > img,
  section[data-testid="store-home-photos-slider"] .swiper-pagination-bullet,
  section[data-testid="store-home-photos-slider"] .s-slider-nav-arrow {
    transition: none;
  }
}
/* ===== نهاية السلايدر الرئيسي ======================= */
/* ============================== */

/* =========================================================
   عبق الجزيرة | روابط الفئات السريعة
   تصميم دائري نظيف - Responsive
   ========================================================= */

[data-testid="store-home-main-links"] {
  --cat-orange: #ee6519;
  --cat-brown: #6a2210;
  --cat-text: #1f2933;
  /* margin-top: 50px; */
  margin-top: 15px;
  margin-bottom: 12px;
}

/* العنوان */
[data-testid="store-home-main-links"] .s-slider-block__title {
  margin-bottom: 22px;
  align-items: center;
  padding: 5px;
}

[data-testid="store-home-main-links"] .s-slider-block__title-right h2 {
  margin: 0;
  color: var(--cat-brown);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.4;
}

/* منطقة السلايدر */
[data-testid="store-home-main-links"] .s-slider-container {
  padding: 4px 2px 14px;
  overflow: visible;
}

[data-testid="store-home-main-links"] .s-slider-swiper-wrapper {
  /* align-items: flex-start; */
  justify-content: space-around;
}

/* كل عنصر */
[data-testid="store-home-main-links"] .slide--cat-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 145px;
  padding: 0 8px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
  transition: transform 0.22s ease;
}

/* دائرة خفيفة خلف الصورة */
[data-testid="store-home-main-links"] .slide--cat-entry::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: rgba(238, 101, 25, 0.045);
  transform: translateX(-50%) scale(0.92);
  opacity: 0;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

/* الصور الدائرية */
[data-testid="store-home-main-links"] .slide--cat-entry img {
  position: relative;
  z-index: 2;
  display: block;
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  margin: 0 auto 13px !important;
  padding: 0;
  object-fit: cover !important;
  object-position: center;
  border-radius: 50% !important;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(106, 34, 16, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

/* اسم الفئة */
[data-testid="store-home-main-links"] .slide--cat-entry h2 {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 0 3px;
  color: var(--cat-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

/* =========================================================
   Hover
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
  [data-testid="store-home-main-links"] .slide--cat-entry:hover {
    transform: translateY(-4px);
  }

  [data-testid="store-home-main-links"] .slide--cat-entry:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  [data-testid="store-home-main-links"] .slide--cat-entry:hover img {
    transform: scale(1.07);
    box-shadow: 0 8px 22px rgba(106, 34, 16, 0.14);
  }

  [data-testid="store-home-main-links"] .slide--cat-entry:hover h2 {
    color: var(--cat-orange);
  }
}

/* =========================================================
   أزرار السلايدر
   ========================================================= */

[data-testid="store-home-main-links"] .s-slider-nav-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff !important;
  border: 1px solid rgba(106, 34, 16, 0.07);
  box-shadow: 0 4px 14px rgba(106, 34, 16, 0.08);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

[data-testid="store-home-main-links"] .s-slider-nav-arrow:not(:disabled):hover {
  background: var(--cat-orange) !important;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(238, 101, 25, 0.2);
}

[data-testid="store-home-main-links"] .s-slider-nav-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--cat-brown);
  transition: fill 0.2s ease;
}

[data-testid="store-home-main-links"] .s-slider-nav-arrow:not(:disabled):hover svg {
  fill: #ffffff;
}

[data-testid="store-home-main-links"] .s-slider-nav-arrow.swiper-button-disabled {
  opacity: 0.3;
  box-shadow: none;
}

/* =========================================================
   الشاشات الكبيرة
   ========================================================= */

@media (min-width: 1200px) {
  [data-testid="store-home-main-links"] .slide--cat-entry img {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    margin-bottom: 14px !important;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry {
    min-height: 152px;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry h2 {
    font-size: 15px;
  }
}

/* =========================================================
   التابلت
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {
  [data-testid="store-home-main-links"] .slide--cat-entry img {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
    margin-bottom: 11px !important;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry {
    min-height: 130px;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry h2 {
    font-size: 14px;
  }
}

/* =========================================================
   الجوال
   ========================================================= */

@media (max-width: 767px) {
  [data-testid="store-home-main-links"] {
    margin-bottom: 5px;
  }

  [data-testid="store-home-main-links"] .s-slider-block__title {
    margin-bottom: 15px;
  }

  [data-testid="store-home-main-links"] .s-slider-block__title-right h2 {
    font-size: 19px;
  }

  [data-testid="store-home-main-links"] .s-slider-container {
    padding: 2px 0 12px;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry {
    min-height: 118px;
    padding: 0 5px;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    margin-bottom: 9px !important;
    box-shadow: 0 3px 11px rgba(106, 34, 16, 0.08);
  }

  [data-testid="store-home-main-links"] .slide--cat-entry h2 {
    font-size: 13px;
    line-height: 1.45;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry::before {
    width: 74px;
    height: 74px;
  }

  [data-testid="store-home-main-links"] .swiper-slide-active .slide--cat-entry::after {
    width: 34px;
    height: 2px;
  }

  [data-testid="store-home-main-links"] .s-slider-nav-arrow {
    width: 36px;
    height: 36px;
  }

  [data-testid="store-home-main-links"] .s-slider-nav-arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* =========================================================
   الجوالات الصغيرة جدًا
   ========================================================= */

@media (max-width: 380px) {
  [data-testid="store-home-main-links"] .slide--cat-entry img {
    width: 62px !important;
    height: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
    margin-bottom: 8px !important;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry {
    min-height: 108px;
  }

  [data-testid="store-home-main-links"] .slide--cat-entry h2 {
    font-size: 12px;
  }
}
/*  
============================
  === نهاية روابط الفئات السريعة ===
============================
*/

/* =========================================================
  استهداف دقيق لتوسيط محتوى بكــج عبق الجزيرة الشامل
   ========================================================= 
*/
.s-product-card-special .s-product-card-content-main:where([dir="rtl"], [dir="rtl"] *),
special .s-product-card-content-sub:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 6rem;
  padding-right: 6rem;
}

.s-product-card-content-extra-padding:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 6rem;
  padding-right: 6rem;
}
/* =====================================
   نهاية استهداف دقيق لتوسيط محتوى بكــج عبق الجزيرة الشامل 
========================================
*/

/* ==========================================================================
   تنسيق البانر الثابت (Modern Interactive Fixed Banner)
   ========================================================================== */

/* 1. الحاوية الرئيسية للقسم */
.s-block--fixed-banner {
  padding: 1.5rem 0 !important;
  display: block;
  width: 100%;
}

.s-block {
    margin-top: 1rem;
}

.s-block--fixed-banner .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 2. عنصر البانر والرابط التفاعلي */
.s-block--fixed-banner .banner--fixed {
  display: block !important;
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background-color: var(--brand-bg);
  box-shadow:
    0 8px 25px -5px rgba(0, 0, 0, 0.06),
    0 2px 10px -2px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(2, 132, 199, 0.1) !important;
  transition:
    transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.15s ease !important;
}

/* 3. تأثير التحويم (Hover Effects & Depth) */
.s-block--fixed-banner .banner--fixed:hover {
  transform: translateY(-4px) scale(1.002) !important;
  box-shadow:
    0 16px 35px -8px rgba(230, 81, 0, 0.18),
    0 4px 15px -3px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(230, 81, 0, 0.35) !important;
}

/* 4. إعدادات الصورة وتقنية التكبير */
.s-block--fixed-banner .banner--fixed picture {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  line-height: 0;
}

.s-block--fixed-banner .banner--fixed img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 20px !important;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.s-block--fixed-banner .banner--fixed:hover img {
  transform: scale(1.015) !important;
}

/* 5. تأثير اللمعة السريعة عند التحويم (Shine Animation) */
.s-block--fixed-banner .banner--fixed::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -150% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%) !important;
  transform: skewX(-25deg) !important;
  pointer-events: none !important;
}

.s-block--fixed-banner .banner--fixed:hover::after {
  left: 150% !important;
  transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* 6. التوافق والتجاوب مع جميع الشاشات */
@media (max-width: 768px) {
  .s-block--fixed-banner {
    padding: 1rem 0 !important;
  }

  .s-block--fixed-banner .container {
    padding: 0 0.75rem;
  }

  .s-block--fixed-banner .banner--fixed,
  .s-block--fixed-banner .banner--fixed img {
    border-radius: 14px !important;
  }

  .s-block--fixed-banner .banner--fixed:hover {
    transform: translateY(-2px) !important;
  }
}
/* ==========================================================================
   نهاية تنسيق البانر الثابت
   ========================================================================== */

/* ==========================================
   توسيط وتحسين حركة قسم العلامات التجارية
   ========================================== */

/* 1. توسيط شبكة الماركات بالمنتصف */
[data-testid="store-home-brands"] .grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1.25rem !important;
}

/* 2. ضبط أبعاد البطاقات وسرعة الأنيمايشن */
.brand-item {
  flex: 1 1 180px !important;
  max-width: 220px !important;
  background-color: var(--brand-white) !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 110px !important;
  /* Modern bounce curve */
  transition:
    transform 0.2s var(--bounce-curve),
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
}

.brand-item img {
  max-height: 65px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: grayscale(15%);
  opacity: 0.95;
  transition:
    transform 0.2s ease,
    filter 0.2s ease !important;
}

/* 3. تأثير Hover أسرع وأكثر مرونة */
.brand-item:hover {
  border-color: var(--brand-primary) !important;
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 12px 24px rgba(230, 81, 0, 0.12) !important;
}

.brand-item:hover img {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transform: scale(1.06) !important;
}

/* تحسين السهم عند التمرير على عرض الكل */
[data-testid="store-home-brands"] .s-block__display-all {
  transition: all 0.2s ease !important;
}

[data-testid="store-home-brands"] .s-block__display-all:hover {
  color: var(--brand-dark) !important;
  transform: translateX(-5px) !important;
}

/* 4. تعديلات خاصة بشاشات الجوال (عرض بطاقتين في السطر) */
@media (max-width: 640px) {
  [data-testid="store-home-brands"] .grid {
    gap: 0.5rem !important;
  }

  .brand-item {
    flex: 0 0 calc(50% - 0.25rem) !important;
    max-width: calc(50% - 0.25rem) !important;
    padding: 0.75rem !important;
    height: 90px !important;
  }

  .brand-item img {
    max-height: 50px !important;
  }
}
/* ==========================================
  نهاية قسم العلامات التجارية 
   ========================================== */

/* ==========================================
   التنسيقات العامة للفوتر (هوية فاتحة موحدة)
   ========================================== */
.store-footer {
  background-color: var(--brand-bg) !important;
  color: var(--brand-slate);
  padding-top: 3.5rem;
  padding-bottom: 1rem;
  position: relative;
  border-top: 3px solid var(--brand-primary);
  font-family: inherit;
}

.store-footer__inner {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--brand-border);
}

/* عناوين الأقسام */
.store-footer h3,
.s-contacts-title {
  color: var(--brand-dark) !important;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

/* خط تحتي ديكوري باللون البرتقالي للشعار */
.store-footer h3::after,
.s-contacts-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: var(--brand-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.store-footer h3:hover::after,
.s-contacts-title:hover::after {
  width: 55px;
}

/* النصوص الوصفية */
.store-footer .ql-align-right {
  color: var(--brand-gray) !important;
  font-size: 0.925rem;
  line-height: 1.8;
}

.store-footer .ql-align-right strong {
  color: var(--brand-dark) !important;
  font-weight: 600;
}

/* ==========================================
   أيقونات التواصل الاجتماعي (Hover برتقالي)
   ========================================== */
.s-social-list {
  display: flex;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.s-social-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 50%;
  transition: all 0.3s var(--bounce-curve);
}

.s-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--brand-dark) !important;
  transition:
    fill 0.3s ease,
    transform 0.3s ease;
}

/* الهفر باللون البرتقالي من الهوية */
.s-social-link a:hover {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  transform: translateY(-3px) rotate(8deg);
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25);
}

.s-social-link a:hover svg {
  fill: var(--brand-white) !important;
  transform: scale(1.1);
}

/* ==========================================
   روابط القوائم (Hover برتقالي)
   ========================================== */
.s-menu-footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.s-menu-footer-item {
  color: var(--brand-gray) !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  display: inline-block;
  width: fit-content;
}

.s-menu-footer-item:hover {
  color: var(--brand-primary) !important;
  transform: translateX(-6px);
}

/* ==========================================
   بيانات التواصل
   ========================================== */
.s-contacts-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.s-contacts-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-dark) !important;
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 600;
  transition: color 0.25s ease;
  width: fit-content;
}

.s-contacts-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--brand-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.s-contacts-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--brand-dark) !important;
  transition: fill 0.3s ease;
}

.s-contacts-item:hover {
  color: var(--brand-primary) !important;
}

.s-contacts-item:hover .s-contacts-icon {
  background: var(--brand-primary) !important;
}

.s-contacts-item:hover .s-contacts-icon svg {
  fill: var(--brand-white) !important;
}

/* ==========================================
   شارات السجل والضريبي
   ========================================== */
.s-trust-badges-wrapper {
  background: var(--brand-white);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--brand-border);
}

.s-trust-badges-label,
.store-footer .text-text-grey {
  color: var(--brand-light-gray) !important;
}

.s-trust-badges-number,
.store-footer b {
  color: var(--brand-dark) !important;
}

/* ==========================================
   شريط الحقوق السفلي (فاتح ومتناسق)
   ========================================== */
.store-footer > div:last-child {
  background-color: transparent !important;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  border-top: 1px dashed var(--brand-border);
}

.copyright-text p,
.copyright-text p span {
  color: var(--brand-light-gray) !important;
}

.copyright-text a {
  color: var(--brand-dark) !important;
  font-weight: 600;
  transition: color 0.2s ease;
}

.copyright-text a:hover {
  color: var(--brand-primary) !important;
}
/* ==========================================
   نهاية التنسيقات العامة للفوتر 
   ========================================== */

/* ==========================================
   1.  سلايدر منتجات العناية بالملابس
لاحظ: تصميم بطاقة المنتجات هنا عااام ويؤثر على كل بطائق منتجات المتجر
قسم البانر العلوي (شاشات الكمبيوتر والجوال)
   ========================================== */

/* طبقة تظليل تدرجية ناعمة لزيادة حدة النصوص والتباين */
[data-testid="store-home-slider-products-header"] .slider-bg::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.15) 100%) !important;
}

/* الهامش السلبي للشاشات الكبيرة */
[data-testid="store-home-slider-products-header"] .container.-mt-62 {
  margin-top: -125px !important;
}

/* أسهم التحكم وزر عرض الكل */
.s-slider-block__display-all {
  color: var(--brand-primary) !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.s-slider-block__display-all:hover {
  color: var(--brand-dark) !important;
  transform: translateX(-4px) !important;
}

.s-slider-nav-arrow {
  background-color: var(--brand-white) !important;
  border: 1px solid var(--brand-border) !important;
  color: var(--brand-primary) !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
}

.s-slider-nav-arrow:hover:not([disabled]) {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-white) !important;
}

/* ==========================================
   2. بطاقات عرض المنتجات والصور
   ========================================== */

custom-salla-product-card {
  background: var(--brand-white) !important;
  border-radius: 16px !important;
  border: 1px solid var(--brand-border) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.25s var(--bounce-curve) !important;
}

/* إزالة الحواف الرمادية وإظهار صورة المنتج كاملة */
.s-product-card-image {
  background-color: transparent !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.s-product-card-image a {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.s-product-card-image img,
.s-product-card-image-contain {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background-color: transparent !important;
  transition: transform 0.25s ease !important;
}

/* ==========================================
   3. توسيط النصوص، الأسعار، وأزرار الشراء
   ========================================== */

.s-product-card-content {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 1rem !important;
}

/* عنوان المنتج */
.s-product-card-content-title a {
  /* color: var(--brand-dark) !important; */
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  display: block !important;
  transition: color 0.2s ease !important;
}

/* سعر المنتج بالمنتصف */
.s-product-card-content-sub {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0.5rem 0 !important;
}

.s-product-card-price {
  /* color: var(--brand-dark) !important; */
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.s-product-card-price i {
  color: var(--brand-primary) !important;
  font-weight: 700 !important;
}

/* زر إضافة للسلة */
salla-add-product-button .s-button-element {
  background-color: transparent !important;
  border: 1.5px solid var(--brand-primary) !important;
  color: var(--brand-primary) !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
}

/* ==========================================
   4. تأثيرات التمرير (Hover Effects)
   ========================================== */

custom-salla-product-card:hover {
  border-color: var(--brand-primary) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.1) !important;
}

custom-salla-product-card:hover .s-product-card-image img {
  transform: scale(1.04) !important;
}

.s-product-card-content-title a:hover {
  color: var(--brand-primary) !important;
}

salla-add-product-button .s-button-element:hover {
  background-color: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  box-shadow: 0 6px 16px rgba(230, 81, 0, 0.25) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

/* ==========================================
   5. التكيّف والتنسيق الخاص بالجوال
   ========================================== */

@media (max-width: 640px) {
  [data-testid="store-home-slider-products-header"] .slider-bg {
    width: 100%;
    height: auto;
    min-height: 160px !important;
    transform: none;
    border-radius: 12px !important;
  }

  [data-testid="store-home-slider-products-header"] .container.-mt-62 {
    margin-top: -70px !important;
  }

  .s-product-card-content {
    padding: 0.85rem 0.5rem !important;
  }

  .s-product-card-content-title a {
    font-size: 0.85rem !important;
  }

  .s-product-card-price {
    font-size: 1.05rem !important;
  }
}
/* ==========================================
   نهاية قسم سلايدر منتجات الملابس
   ========================================== 
*/

/* =========================================================
   🛡️ شريط الضمان الذهبي - عبق الجزيرة
   مع درع الضمان الرسمي
   ========================================================= 
*/

/* تنظيف أي تأثيرات قديمة */
/* header::before,
header *::before,
.site-header::before,
.site-header *::before {
  content: none !important;
} */


/* =========================================================
   شريط الضمان
   ========================================================= */
body::before {

  /* نص الشريط */
  content: "الضمان الذهبي: استرجاع واستبدال مضمون 100% على جميع منتجات المتجر" !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 58px !important;

  box-sizing: border-box !important;

  /* المساحة للنص + الدرع */
  padding: 7px 90px 7px 20px !important;

  /* الخط */
  font-family: inherit, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: center !important;

  /* color: #FFFFFF !important; */

  color: gold !important;
  /* color: white !important; */
  /* color: rgba(255, 217, 0, 0.808) !important; */

  /* الحد */
  /* border-bottom: 1px solid #D9B95B !important; */
    /* border-bottom: 3px solid #ee6519 !important; */

  /* ظل خفيف */
  box-shadow: 0 1px 5px rgba(106, 34, 16, 0.06) !important;

  /*  الدرع مع الخلفية */
  /* background-image:
    url("https://cdn.files.salla.network/categories/1349831262/7c1b31cb-238a-4a03-83e9-12319f40c705-original.webp?_s_uploader_cache_bust=preview-p5hlizjni"),
    linear-gradient(
  135deg,
  #eca685 0%,
  #0d0c0b 75%,
  #fcfafa 50%,
  #1f2933 22%,
  #000000 0%
) !important; */

  /* خلفية بيضاء مع خط ذهبي */
  /* background-image:
    url("https://cdn.files.salla.network/categories/1349831262/7c1b31cb-238a-4a03-83e9-12319f40c705-original.webp?_s_uploader_cache_bust=preview-p5hlizjni"),
    linear-gradient(
  135deg,
  var(--brand-white)
) !important; */

  
  /* خلفية خضراء مع خط ذهبي */
  /* background-image:
    url("https://cdn.files.salla.network/categories/1349831262/7c1b31cb-238a-4a03-83e9-12319f40c705-original.webp?_s_uploader_cache_bust=preview-p5hlizjni"),
    linear-gradient(
  135deg,
  #0b7a3b
) !important; */
  

  /* خلفية سوداء مع خط ذهبي */
  background-image:
    url("https://cdn.files.salla.network/categories/1349831262/7c1b31cb-238a-4a03-83e9-12319f40c705-original.webp?_s_uploader_cache_bust=preview-p5hlizjni"),
    linear-gradient(
  135deg,
  #124A3A
) !important;

  /* خلفية تدرج اخضر مع ذهبي مع ابيض */
    /* background-image:
    url("https://cdn.files.salla.network/categories/1349831262/7c1b31cb-238a-4a03-83e9-12319f40c705-original.webp?_s_uploader_cache_bust=preview-p5hlizjni"),
    linear-gradient(90deg, 
                     transparent,
                    #0b7a3b, 
                    #c9a227, 
                    #0b7a3b
                    ) !important; */

  background-repeat: no-repeat !important;

  /* حجم الدرع */
  background-size:
    60px 60px,
    100% 100% !important;

  /* مكان الدرع - يمين النص */
  background-position:
    right 18px center,
    center !important;

  position: relative !important;
  z-index: 999999 !important;

  /* السرعة */
  animation: none !important;
  transition: none !important;
  transform: none !important;
}


/* =========================================================
   📱 الجوال
   ========================================================= */
@media (max-width: 640px) {

  body::before {

    min-height: 50px !important;
    padding:
      6px 55px 6px 8px !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
    background-size:
      42px 42px,
      100% 100% !important;
    background-position:
      right 8px center,
      center !important;
  }

}


/* =========================================================
   📱 الشاشات الصغيرة جدًا
   ========================================================= */
@media (max-width: 380px) {

  body::before {

    min-height: 47px !important;

    padding:
      5px 48px 5px 7px !important;

    font-size: 10px !important;

    background-size:
      38px 38px,
      100% 100% !important;

    background-position:
      right 6px center,
      center !important;
  }

}
/* =========================================================
   نهاية شريط الضمان الذهبي  
   ========================================================= 
*/

/* =========================================================
   واتساب عائم - عبق الجزيرة
   ========================================================= */

.abaq-whatsapp-button {
  position: fixed !important;

  right: 20px !important;
  bottom: 20px !important;

  width: 58px !important;
  height: 58px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #25D366 !important;

  border-radius: 50% !important;

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.16) !important;

  text-decoration: none !important;

  z-index: 99999 !important;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}


/* أيقونة واتساب */
.abaq-whatsapp-icon {
  width: 30px !important;
  height: 30px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.abaq-whatsapp-icon svg {
  width: 30px !important;
  height: 30px !important;

  display: block !important;

  fill: #ffffff !important;
}


/* النص مخفي افتراضيًا */
.abaq-whatsapp-text {
  display: none !important;
}


/* Hover للكمبيوتر */
.abaq-whatsapp-button:hover {
  transform: translateY(-3px) !important;

  box-shadow:
    0 9px 24px rgba(0, 0, 0, 0.22) !important;
}


/* =========================================================
   الجوال
   ========================================================= */

@media (max-width: 640px) {

  .abaq-whatsapp-button {
    right: 14px !important;
    bottom: 14px !important;

    width: 52px !important;
    height: 52px !important;
  }

  .abaq-whatsapp-icon,
  .abaq-whatsapp-icon svg {
    width: 27px !important;
    height: 27px !important;
  }

}
/* 
====================================
*/

/*
هذا خاص بالبنرات اللي بالصفحات الفرعية من شان يعترض بالجوال شاشة كاملة
*/
@media (max-width: 640px) {
    .full-banner-entry {
        height: 10rem;
    }
}
/* نهاية البنرات الفرعية */

/* =========================================================
   ABAQ AL JAZEERA
   Global Scroll Reveal
   ========================================================= */

/* ---------------------------------------------------------
   الحالة الأولية
   --------------------------------------------------------- */

.abaq-reveal-ready {

  opacity: 0 !important;

  transform:
    translate3d(0, 32px, 0)
    scale(0.985) !important;

  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1)
    var(--abaq-reveal-delay, 0ms),

    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1)
    var(--abaq-reveal-delay, 0ms) !important;

  will-change:
    opacity,
    transform !important;
}


/* ---------------------------------------------------------
   عند ظهور العنصر
   --------------------------------------------------------- */

.abaq-reveal-ready.abaq-reveal-show {

  opacity: 1 !important;

  transform:
    translate3d(0, 0, 0)
    scale(1) !important;

}


/* ---------------------------------------------------------
   بعد انتهاء الحركة
   إزالة will-change لتحسين الذاكرة والأداء
   --------------------------------------------------------- */

.abaq-reveal-show {

  will-change: auto !important;

}


/* =========================================================
   تقليل الحركة
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .abaq-reveal-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

}
/* ================== */

/* ==========================================================
   عبق الجزيرة | تقييم ومبيعات المنتجات
   ========================================================== */

.abaq-product-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;

  width: 100% !important;

  margin-top: 7px !important;
  margin-bottom: 4px !important;

  direction: rtl !important;

  font-size: 12px !important;
  line-height: 1.5 !important;
}

/* ----------------------------------------------------------
   التقييم
   ---------------------------------------------------------- */

.abaq-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;

  white-space: nowrap !important;
}

.abaq-stars {
  display: inline-flex !important;
  direction: ltr !important;

  font-size: 13px !important;
  letter-spacing: -1px !important;
}

.abaq-stars span {
  color: #d7d7d7 !important;

  transition:
    color 0.2s ease,
    transform 0.2s ease !important;
}

.abaq-stars span.is-filled {
  color: #ee6519 !important;
}

.abaq-rating-value {
  color: #6a2210 !important;

  font-weight: 700 !important;
  font-size: 12px !important;
}

.abaq-rating-count {
  color: #7b818b !important;

  font-size: 11px !important;
}

/* ----------------------------------------------------------
   المبيعات
   ---------------------------------------------------------- */

.abaq-sold {
  display: inline-flex !important;
  align-items: center !important;

  gap: 3px !important;

  padding-right: 7px !important;
  padding-left: 7px !important;

  border-right: 1px solid rgba(106, 34, 16, 0.15) !important;

  color: #5f6673 !important;

  font-size: 11px !important;
  font-weight: 600 !important;

  white-space: nowrap !important;
}

.abaq-fire {
  font-size: 12px !important;
  line-height: 1 !important;
}

/* ----------------------------------------------------------
   حركة خفيفة جدًا عند المرور
   ---------------------------------------------------------- */

.s-product-card-entry:hover .abaq-stars span.is-filled {
  transform: scale(1.05) !important;
}

/* ----------------------------------------------------------
   الجوال
   ---------------------------------------------------------- */

@media (max-width: 640px) {

  .abaq-product-meta {
    gap: 5px !important;

    margin-top: 6px !important;

    font-size: 11px !important;
  }

  .abaq-stars {
    font-size: 12px !important;
  }

  .abaq-rating-value {
    font-size: 11px !important;
  }

  .abaq-rating-count,
  .abaq-sold {
    font-size: 10px !important;
  }

  .abaq-sold {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }
}
/*=============================
  نهاية نجوم التقييم ومرات البيع =========
 ===============================
*/

/* لون شارات العروض اخضر من شان اليوم الوطني مؤقتا*/
.s-product-card-promotion-title {
  background-color: rgb(58 176 17); /* green */
}

/* =========================================================
   🇸🇦 اليوم الوطني 96
   تصميم خاص بسلايدر:
   #best-offers-2-slider
   لا يؤثر على أي Slider آخر
   ========================================================= */

#best-offers-3-slider {
  --national-green: #0b7a3b;
  --national-green-dark: #075b2d;
  --national-green-light: #eaf7ef;
  --national-gold: #c9a227;
  --national-gold-light: #f3df9b;
  --national-text: #17251d;

  position: relative;
  isolation: isolate;
  padding: 34px 24px 42px !important;
  margin-top: 25px !important;
  margin-bottom: 30px !important;

  border-radius: 28px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 8% 20%,
      rgba(11, 122, 59, 0.10) 0,
      rgba(11, 122, 59, 0) 28%
    ),
    radial-gradient(
      circle at 92% 80%,
      rgba(201, 162, 39, 0.10) 0,
      rgba(201, 162, 39, 0) 30%
    ),
    linear-gradient(135deg, #ffffff 0%, #f8fbf9 50%, #ffffff 100%);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.07),
    inset 0 0 0 1px rgba(11, 122, 59, 0.08);
}


/* خط أخضر علوي فاخر */
#best-offers-3-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7%;
  right: 7%;
  height: 4px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--national-green),
    var(--national-gold),
    var(--national-green),
    transparent
  );

  border-radius: 0 0 10px 10px;
  z-index: 2;
}


/* زخرفة خفيفة جداً */
#best-offers-3-slider::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -150px;
  bottom: -150px;

  border-radius: 50%;
  border: 1px solid rgba(11, 122, 59, 0.08);

  box-shadow:
    0 0 0 30px rgba(11, 122, 59, 0.025),
    0 0 0 60px rgba(11, 122, 59, 0.018);

  pointer-events: none;
  z-index: -1;
}


/* =========================================================
   العنوان
   ========================================================= */

#best-offers-3-slider .s-slider-block__title {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: 100% !important;
  margin-bottom: 28px !important;
  position: relative;
}


/* إلغاء توزيع العنوان والأزرار القديم */
#best-offers-3-slider .s-slider-block__title-right {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}


/* عنوان اليوم الوطني */
#best-offers-3-slider .s-slider-block__title h2 {
  position: relative;

  margin: 0 !important;
  padding: 12px 30px !important;

  color: var(--national-text) !important;

  font-size: clamp(19px, 2vw, 27px) !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;

  text-align: center !important;

  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 122, 59, 0.13);
  border-radius: 16px;

  box-shadow:
    0 8px 22px rgba(11, 122, 59, 0.06),
    inset 0 0 0 1px rgba(201, 162, 39, 0.08);
}


/* خط صغير ذهبي تحت العنوان */
#best-offers-3-slider .s-slider-block__title h2::after {
  content: "";
  display: block;

  width: 58px;
  height: 3px;

  margin: 8px auto 0;

  border-radius: 20px;

  background: linear-gradient(
    90deg,
    var(--national-green),
    var(--national-gold)
  );
}


/* =========================================================
   أزرار التنقل
   ========================================================= */

#best-offers-3-slider .s-slider-block__title-left {
  position: absolute;
  left: 0;
  right: 0;

  width: 100%;
  pointer-events: none;
}


#best-offers-3-slider .s-slider-block__title-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;

  width: 100%;
}


#best-offers-3-slider .s-slider-nav-arrow {
  width: 42px !important;
  height: 42px !important;

  border-radius: 50% !important;

  background: #ffffff !important;
  border: 1px solid rgba(11, 122, 59, 0.18) !important;

  color: var(--national-green) !important;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  pointer-events: auto;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}


#best-offers-3-slider .s-slider-nav-arrow:hover {
  background: var(--national-green) !important;
  color: #ffffff !important;

  transform: translateY(-2px);

  box-shadow:
    0 10px 22px rgba(11, 122, 59, 0.22);
}


/* =========================================================
   الحاوية
   ========================================================= */

#best-offers-3-slider .s-slider-container {
  overflow: visible !important;
}


#best-offers-3-slider .s-slider-swiper-wrapper {
  align-items: stretch !important;
}


/* =========================================================
   5 منتجات على الكمبيوتر
   ========================================================= */

#best-offers-3-slider .s-products-slider-card {
  height: auto !important;

  /* 5 بطاقات مع مسافات مناسبة */
  width: calc((100% - 64px) / 5) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* =========================================================
   بطاقة المنتج
   ========================================================= */

#best-offers-3-slider .s-product-card-entry {
  position: relative;

  display: flex !important;
  flex-direction: column !important;

  height: 100% !important;
  min-height: 100% !important;

  padding: 0 !important;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff 68%,
      #f8fbf9 100%
    ) !important;

  border-radius: 20px !important;

  border: 1px solid rgba(11, 122, 59, 0.11) !important;

  overflow: hidden !important;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.055);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}


#best-offers-3-slider .s-product-card-entry:hover {
  transform: translateY(-7px);

  border-color: rgba(11, 122, 59, 0.25) !important;

  box-shadow:
    0 18px 38px rgba(11, 122, 59, 0.13),
    0 4px 12px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   منطقة الصورة
   ========================================================= */

#best-offers-3-slider .s-product-card-image {
  position: relative;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  /* width: 100% !important; */

  /*
    مساحة كبيرة للصورة حتى لا تبدو المنتجات صغيرة
  */
  /* height: 245px !important; */
  min-height: 245px !important;

  /* padding: 14px 12px 8px !important; */

  background:
    radial-gradient(
      circle at center,
      rgba(11, 122, 59, 0.045),
      rgba(255, 255, 255, 0) 68%
    ) !important;

  overflow: hidden !important;
}


/*
   الصورة نفسها

   contain مهم جداً:
   يجعل كامل المنتج ظاهراً بدون قص.
*/
#best-offers-3-slider .s-product-card-image img.s-product-card-image-contain {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  max-width: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center center !important;

  transform: scale(1.04);

  transition:
    transform 0.4s cubic-bezier(.2,.8,.2,1),
    filter 0.4s ease;
}


/* تكبير الصورة عند المرور */
#best-offers-3-slider .s-product-card-entry:hover
.s-product-card-image img.s-product-card-image-contain {
  transform: scale(1.10);
  filter: saturate(1.04);
}


/* =========================================================
   شارة الخصم
   ========================================================= */

#best-offers-3-slider .s-product-card-promotion-title {
  position: absolute !important;

  max-width: 100% !important;
  top: 0px !important;
  /* top: 14px !important; */
  /* right: 14px !important; */

  z-index: 5;

  padding: 7px 12px !important;

  background: var(--national-green) !important;
  color: #ffffff !important;

  border-radius: 9px !important;

  font-size: 12px !important;
  font-weight: 800 !important;

  box-shadow:
    0 6px 16px rgba(11, 122, 59, 0.22);
}


/* =========================================================
   زر المفضلة
   ========================================================= */

#best-offers-3-slider .s-product-card-wishlist-btn {
  position: absolute !important;

  /* top: 13px !important;
  left: 13px !important; */

  top: 2px !important;
  left: 2px !important;

  z-index: 6;
}


#best-offers-3-slider
.s-product-card-wishlist-btn .s-button-element {
  width: 38px !important;
  height: 38px !important;

  min-width: 38px !important;
  min-height: 38px !important;

  padding: 0 !important;

  background: rgba(255, 255, 255, 0.94) !important;

  border: 1px solid rgba(11, 122, 59, 0.14) !important;

  border-radius: 50% !important;

  color: var(--national-green) !important;

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}


#best-offers-3-slider
.s-product-card-wishlist-btn:hover
.s-button-element {
  transform: scale(1.08);

  background: var(--national-green) !important;
  color: #ffffff !important;
}


/* =========================================================
   محتوى البطاقة
   ========================================================= */

#best-offers-3-slider .s-product-card-content {
  display: flex !important;
  flex-direction: column !important;

  flex: 1 1 auto !important;

  padding: 16px 15px 15px !important;

  text-align: center !important;
}


/* المنطقة الرئيسية */
#best-offers-3-slider .s-product-card-content-main {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;

  width: 100% !important;
}


/* اسم المنتج */
#best-offers-3-slider .s-product-card-content-title {
  width: 100% !important;

  margin: 0 !important;

  text-align: center !important;

  font-size: 14px !important;
  font-weight: 750 !important;

  line-height: 1.7 !important;

  color: var(--national-text) !important;

  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important; /* show only 2 lines from the name */

  overflow: hidden !important;
}


#best-offers-3-slider .s-product-card-content-title a {
  color: inherit !important;
  text-align: center !important;
}


/* الوصف */
#best-offers-3-slider .s-product-card-content-subtitle {
  width: 100% !important;

  margin: 7px 0 0 !important;

  text-align: center !important;

  font-size: 12px !important;
  line-height: 1.6 !important;

  color: #718078 !important;
}


/* =========================================================
   السعر
   ========================================================= */

#best-offers-3-slider .s-product-card-content-sub {
  display: flex !important;

  justify-content: center !important;
  align-items: center !important;

  width: 100% !important;

  margin-top: 12px !important;
}


#best-offers-3-slider .s-product-card-price,
#best-offers-3-slider .s-product-card-sale-price h4 {
  margin: 0 !important;

  color: var(--national-green) !important;

  font-size: 19px !important;
  font-weight: 900 !important;

  text-align: center !important;
}


#best-offers-3-slider .s-product-card-sale-price {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;

  width: 100% !important;
}


#best-offers-3-slider .s-product-card-sale-price span {
  color: #9aa19d !important;

  font-size: 12px !important;

  text-decoration: line-through !important;
}


/* =========================================================
   زر إضافة للسلة
   ========================================================= */

#best-offers-3-slider .s-product-card-content-footer {
  width: 100% !important;

  margin-top: auto !important;
  /* padding-top: 14px !important; */
}


#best-offers-3-slider salla-add-product-button {
  width: 100% !important;
}


#best-offers-3-slider
.s-product-card-content-footer .s-button-element {
  width: 100% !important;

  min-height: 43px !important;

  border-radius: 11px !important;

  background: var(--national-green) !important;
  border-color: var(--national-green) !important;

  color: #ffffff !important;

  font-size: 13px !important;
  font-weight: 800 !important;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


#best-offers-3-slider
.s-product-card-content-footer .s-button-element:hover {
  background: var(--national-green-dark) !important;
  border-color: var(--national-green-dark) !important;

  transform: translateY(-2px);

  box-shadow:
    0 9px 20px rgba(11, 122, 59, 0.22);
}


/* =========================================================
   💻 الشاشات المتوسطة
   ========================================================= */

@media (max-width: 1100px) {

  #best-offers-3-slider {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #best-offers-3-slider .s-products-slider-card {
    width: calc((100% - 48px) / 4) !important;
  }

  #best-offers-3-slider .s-product-card-image {
    height: 220px !important;
    min-height: 220px !important;
  }
}


/* =========================================================
   📱 الجوال
   منتجان في الشاشة
   ========================================================= */

@media (max-width: 767px) {

  #best-offers-3-slider {
    padding: 26px 10px 30px !important;

    margin-top: 18px !important;

    border-radius: 20px;
  }


  /* العنوان */
  #best-offers-3-slider .s-slider-block__title {
    margin-bottom: 22px !important;

    padding: 0 5px !important;
  }


  #best-offers-3-slider .s-slider-block__title h2 {
    width: auto !important;
    max-width: 92% !important;
    padding: 10px 18px !important;
    font-size: 16px !important;
    line-height: 1.6 !important;

    margin-right: 55px !important;
  }


  #best-offers-3-slider .s-slider-block__title h2::after {
    width: 42px;
    height: 2px;
  }


  /* الأسهم أصغر */
  #best-offers-3-slider .s-slider-nav-arrow {
    width: 34px !important;
    height: 34px !important;
  }


  /* منتجان */
  #best-offers-3-slider .s-products-slider-card {
    width: calc((100% - 10px) / 2) !important;
  }


  /* صورة أكبر نسبةً للبطاقة */
  #best-offers-3-slider .s-product-card-image {
    height: 185px !important;
    min-height: 185px !important;

    /* padding: 10px 7px 5px !important; */
  }


  #best-offers-3-slider
  .s-product-card-image img.s-product-card-image-contain {
    width: 100% !important;
    height: 100% !important;

    transform: scale(1.02);
  }


  #best-offers-3-slider .s-product-card-entry:hover
  .s-product-card-image img.s-product-card-image-contain {
    transform: scale(1.06);
  }


  /* محتوى البطاقة */
  #best-offers-3-slider .s-product-card-content {
    padding: 12px 9px 10px !important;
  }


  #best-offers-3-slider .s-product-card-content-title {
    font-size: 12px !important;

    line-height: 1.65 !important;
  }


  #best-offers-3-slider .s-product-card-content-subtitle {
    font-size: 10px !important;
  }


  #best-offers-3-slider .s-product-card-price,
  #best-offers-3-slider .s-product-card-sale-price h4 {
    font-size: 16px !important;
  }


  #best-offers-3-slider .s-product-card-sale-price {
    gap: 5px !important;
  }


  #best-offers-3-slider .s-product-card-sale-price span {
    font-size: 10px !important;
  }


  #best-offers-3-slider
  .s-product-card-content-footer .s-button-element {
    min-height: 39px !important;

    font-size: 11px !important;

    border-radius: 9px !important;
  }


  #best-offers-3-slider .s-product-card-wishlist-btn {
    /* top: 9px !important;
    left: 9px !important; */

    top: 3px !important;
    left: 3px !important;
  }


  #best-offers-3-slider
  .s-product-card-wishlist-btn .s-button-element {
    width: 32px !important;
    height: 32px !important;

    min-width: 32px !important;
    min-height: 32px !important;
  }


  #best-offers-3-slider .s-product-card-promotion-title {
    
    max-width: 100% !important;
    /* top: -5px !important; */
    
    /* top: 9px !important;
    right: 9px !important; */

    padding: 5px 8px !important;

    font-size: 9px !important;
  }
}


/* =========================================================
   📱 الجوال الصغير جداً
   ========================================================= */

@media (max-width: 380px) {

  #best-offers-3-slider {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }


  #best-offers-3-slider .s-products-slider-card {
    width: calc((100% - 8px) / 2) !important;
  }

  #best-offers-3-slider .s-product-card-wishlist-btn {
    top: 3px !important;
    left: 3px !important;
  }


  #best-offers-3-slider .s-product-card-image {
    height: 165px !important;
    min-height: 165px !important;
  }


  #best-offers-3-slider .s-product-card-content {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

}


/* =========================================================
   منع أي قص أفقي داخل هذا السلايدر
   ========================================================= */

#best-offers-3-slider,
#best-offers-3-slider .s-products-slider-wrapper,
#best-offers-3-slider .s-products-slider-slider {
  box-sizing: border-box !important;
}