:root {
    --color-primary: #000000;
    --color-primary-reverse: #ffffff;
}

/* بداية تصميم الناف بار */
/* بداية تصميم الناف بار */

/* اجعل النافبار نظيف بدون ظل */
#mainnav.main-nav-container {
  background-color: #E6E6E6;
  box-shadow: none;
  border-bottom: 1px solid #e5e5e5;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* حدد تنسيق الحاوية الداخلية */
#mainnav .inner {
  padding: 0;
  height: 52px;
}

#mainnav .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 52px;
}

/* اضبط توزيع العناصر: أقصى اليمين – وسط – أقصى اليسار */
#mainnav .flex.items-stretch.justify-between.relative {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
}

/* اقسام الجهة اليمنى واليسرى */
#mainnav .w-1/3 {
  flex: 1;
  display: flex;
  align-items: center;
}

/* وسطي الشعار */
#mainnav .flex.items-center.flex-col.justify-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
}

/* الشعار */
#mainnav .navbar-brand img.logo-normal {
  height: 23px;
  max-height: 23px;
  object-fit: contain;
}

/* ايقونات القائمة – المستخدم – السلة */
#mainnav i,
#mainnav .header-btn__icon {
  font-size: 20px !important;
  color: #000;
  transition: color 0.3s ease;
}

/* هوفر للأيقونات */
#mainnav button:hover i,
#mainnav a:hover i {
  color: #555;
}

.text-xl {
  font-size: 16px;
  line-height: 24px; /* 1.5 × 16px */
}

/* أيقونة السلة */
.s-cart-summary-icon svg {
  width: 20px;
  height: 20px;
  fill: #000;
}

/* عدد المنتجات في السلة */
.s-cart-summary-count {
  font-size: 11px;
  background-color: black;
  color: white;
  border-radius: 9999px;
  padding: 2px 6px;
  line-height: 1;
  margin-left: 4px;
}

/* إخفاء زر الإغلاق في الهاتف */
.btn--close-sm {
  display: none !important;
}

@media (min-width: 768px) {
    .main-nav-container {
        min-height: 52px;  
    }
}
@media (min-width: 640px) {
    .main-nav-container {
        min-height: 52px;
    }
}
.main-nav-container {
    min-height: 52px;
}

/* نهاية تصميم الناف بار */
/* نهاية تصميم الناف بار */


/* بداية تصميم الهيرو*/
/* بداية تصميم الهيرو*/


.advanced-slider__caption .container {
  width: 100%;
  max-width: 1440px;
  padding-inline: 24px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
}


/* حدود الهيرو القصوى */
.advanced-slider__slide {
  display: flex;
  object-position: center;
  justify-content: center;
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-height: 720px; /* أو 511px حسب الحاجة */
  background-image: url('your-image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* تنسيق الكابتشن أسفل الصورة */
.advanced-slider__caption__inner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* محتوى الكابتشن */
.advanced-slider__caption__inner__content {
  text-align: center;
  color: white;
  max-width: 720px;
  margin: 0 auto;
  pointer-events: auto;
}

/* العنوان */
.advanced-slider__caption__inner__content__heading {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 5px !important;
  letter-spacing: -0.5px;
  font-weight: 500;
}

/* النص */
.advanced-slider__caption__inner__content__text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px !important;
  color: white;
}

/* الزر */
.advanced-slider__caption__inner__content__button {
  position: relative;
  display: inline-block;
  background: transparent !important;
  padding: 8px 0;
  margin-top: 0 !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border: none;
  outline: none;
  transition: color 0.3s ease;
}

.advanced-slider__caption__inner__content__button span {
  position: relative;
  color: white;
}

/* خط سفلي للزر يظهر عند الهوفر */
.advanced-slider__caption__inner__content__button span::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px; /* سميك قليلاً */
  width: 100%;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.advanced-slider__caption__inner__content__button:hover span::before {
  transform: scaleX(1);
}

@media (max-width: 720px) {
.swiper-autoheight, .swiper-autoheight .swiper-slide {
    height: 450px;
}
}
.swiper-wrapper {
    justify-content: space-between;
}

/* نهاية تصميم الهيرو*/
/* نهاية تصميم الهيرو*/

/* بداية تصميم المينيو*/
/* بداية تصميم المينيو*/

.main-menu.mm-spn--open {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

@media (min-width: 768px) {
    .md\:mt-12 {
        margin-top: 0px;
    }
}

/* كل عنصر li ياخذ عرض كامل */
.main-menu.mm-spn--open li {
  width: 100%;
  font-weight: 700;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* الرابط داخل li يكون flex ويوسع العرض بالكامل */
.main-menu.mm-spn--open li > a {
  display: flex !important;
  width: 100%;
  align-items: center;
  justify-content: flex-start; /* تبدأ النص من جهة اليسار */
  gap: 0.625rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: #6b7280; /* gray-500 */
  text-decoration: none;
  box-sizing: border-box;
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

/* تأثير hover على الرابط */
.main-menu.mm-spn--open li > a:hover {
  background-color: rgba(244, 241, 236, 0.65);
  color: var(--color-primary, #414042);
  opacity: 0.8;
  text-decoration: none;
}

/* منع النقر على النص span نفسه */
.main-menu.mm-spn--open li > a > span {
  pointer-events: none;
}

/* تكبير الخط على الشاشات الكبيرة */
@media (min-width: 768px) {
  .main-menu.mm-spn--open li > a {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}
.mm-spn.mm-spn--navbar ul {
    top: calc(0px) !important;
}
.btn--close:where([dir="rtl"], [dir="rtl"] *) {
    left: 0px;
    display: none;
}
.mm-ocd__backdrop {
    background: rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    width: 100%;
    z-index:0
}

/* نهاية تصميم المينيو*/
/* نهاية تصميم المينيو*/


/* بداية تصميم قسم*/
/* بداية تصميم قسم*/

.s-slider-block__display-all {
    font-size: 13px !important;
    font-weight: 400 !important;
}
/* العنوان على اليمين وبحجم 32px */
.home-block-title h2,
.s-block.container.fixed-products--1 .home-block-title > div > h2 {
  text-align: right !important;
  font-size: 32px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  flex-grow: 1 !important;
}
@media (max-width: 1024px) {
.home-block-title h2,
.s-block.container.fixed-products--1 .home-block-title > div > h2 {
  font-size: 24px !important;
  font-weight: 400 !important;
  }
}

/* الحاوية للمنتجات: عرض 2 عمود في الشاشات الصغيرة */
.s-products-list-wrapper {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(2, 1fr) !important;
  justify-items: center !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* في الشاشات الكبيرة - 4 أعمدة */
@media (min-width: 1024px) {
  .s-products-list-wrapper {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* الحاوية للأعلى اللي فيها العنوان وزر عرض الكل */
.s-block.container.fixed-products--1 > .mb-8 {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* تنسيق البطاقات */
.product-card--fit-height.product-card--horizontal {
  max-width: 288px !important;
  width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* الصورة */
.product-card--horizontal .product-card__image {
  width: 100% !important;
  height: auto !important;
  max-height: 360px !important;
  flex: none !important;
  margin-bottom: 8px !important;
  object-fit: cover !important;
}

.product-card {
    background-color: rgba(255, 255, 255, 0) !important;
}

/* محتوى البطاقة */
.product-card__content {
  width: 100% !important;
  bottom: 0 !important;
  right: 0 !important;
  background: rgba(255, 255, 255, 0) !important;
  padding: 8px 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  border-radius: 4px !important;
  margin-top: 0 !important;
}

/* العنوان */
.product-card__title {
  display: block !important;
  text-align: center !important;
  margin: 0 0 6px 0 !important;
  line-height: 18px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.product-card__title a {
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* السعر */
.product-card__price {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  font-weight: bold !important;
  margin-top: 5px !important;
}
.product-card__price .total-price {
    position: relative;
    top: -2px;
    font-size: 13px !important;
}

/* إخفاء العناصر غير المطلوبة */
.product-card__actions,
.product-options,
.product-card__buttons,
.product-card__addToCart,
.out-of-stock,
.wishlist,
.quickview-btn,
.addToCart {
  display: none !important;
}

/* بعض الفئات العامة */
.font-bold {
  font-weight: 400 !important;
}

.inline-block {
  display: inline-block !important;
}

/* الحاوية العامة */
.s-block.container.fixed-products.fixed-products--1 {
  padding: 99px 75px !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
}

/* ضبط البادينج للشاشات المتوسطة */
@media (max-width: 640px) {
  .s-block.container.fixed-products.fixed-products--1 {
    padding: 44px 24px !important;
  }
}

/* إخفاء العنصر .border-primary */
body.home .border-primary {
  display: none !important;
  border-color: rgba(43, 45, 52, 0) !important;
}

.product-card--horizontal .product-card__image:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

@media (min-width: 991px) {
    .product-card.hover_style_2:hover:not(.product-card--horizontal):not(.product-card__full-image) .product-card__content {
        transform: translatey(0px);
        background: var(--product-bg);
    }
}

@media (min-width: 991px) {
    .product-card.hover_style_2:not(.product-card--horizontal):not(.product-card__full-image) .product-card__content {
        margin-top: 0;
        padding: 20px 15px;
        margin-bottom: 0px;
        transition: all .3s ease;
        background: rgba(0, 0, 0, 0);
        z-index: 1;
    }
}

.s-block--best-offers .s-slider-block__title-right, salla-products-slider .s-slider-block__title-right {
    border-bottom: 2px solid #414042;
    border-bottom: 0px solid var(--color-primary);
    padding-bottom: 0px;
}

.s-slider-block__title {
    margin-bottom: 39px !important;
}
@media (max-width: 991px) {
.s-slider-block__title {
    margin-bottom: 30px !important;
}
}
.s-block--best-offers .s-slider-block__title, salla-products-slider .s-slider-block__title {
    max-width: none;
    max-width: initial;
    border-bottom: 0px !important;
}
.s-block--best-offers .s-slider-block__title-left .s-slider-block__display-all, salla-products-slider .s-slider-block__title-left .s-slider-block__display-all {
    border: 0px;
    border-bottom: 1px solid;
    padding: 2px;
    border-radius: 0pc;
}

.s-slider-block__title h2 {
    position: relative;
    font-size: 32px;
    line-height: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
}

@media (min-width: 991px) {
.s-slider-block__title h2 {
    position: relative;
    font-size: 24px;
    line-height: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
}
}
.s-block {
    margin-top: 99px;
    margin-bottom: 47px;
}
@media (min-width: 640px) {
    .s-block {
        margin-top: 99px;
        margin-bottom: 47px;
    }
}
.group:hover .group-hover\:scale-110 {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
}

/* نهاية تصميم قسم*/
/* نهاية تصميم قسم*/

/* بداية تصميم عنا*/
/* بداية تصميم عنا*/

@media (min-width: 640px) {
    .sm\:py-14 {
        padding-top: 99px;
        padding-bottom: 99px;
    }
}

.btn {
    border-bottom: 1px #000;
    background-color: transparent;
    font-weight: 500;
}

/* نهاية تصميم عنا*/
/* نهاية تصميم عنا*/

/* بداية تصميم عنا*/
/* بداية تصميم عنا*/

.footer-is-custom .store-footer .store-footer__inner, .footer-is-custom .store-footer .store-footer__contacts-row, .footer-is-custom .store-footer .store-footer__newsletter {
    background-color: var(--footer-bg);
    --tw-border-opacity: 1;
    border-bottom-color: rgb(0 0 0);
}