/* Add custom CSS styles below */ 

.s-slider-thumbs , .swiper-pagination {
    display:none !important;
}
#main-content > section:nth-of-type(2){
  margin-top: 0 !important; 
}
/**    silder block ***/
section.s-block.s-block--photos-slider {
    margin-top: 0;
}
section.s-block.s-block--photos-slider .swiper-slide {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
section.s-block.s-block--photos-slider .swiper-slide,
section.s-block.s-block--photos-slider .swiper-slide img {
    border-radius: 0 !important;
}
section.s-block.s-block--photos-slider .swiper.s-slider-container {
    padding: 0 !important;
}
.home-slider.photos-slider .s-slider-block__title-nav {
    display:none !important;
}
/** End silder block ***/
/** banners blocks ***/
section#IRT__photos-slider-0
{
    margin-bottom: 0 !important;
}
section.s-block.s-block--fixed-banner.wide-placeholder > .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: unset !important;
}
.banner--fixed img {
    border-radius: 0 !important;
}
/** End banners ***/


 .Section-decor {
            padding: 40px 20px;
        }

        .decor-grid {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            direction: rtl;
        }

        /* الصورة العلوية الشمال (عريضة) */
        .decor-card.wide {
            grid-column: 2 / 3;
            grid-row: 1 / 2;
        }

        .decor-card {
            position: relative;
            display: block;
            border-radius: 18px;
            overflow: hidden;
            min-height: auto;
        }

        .decor-card img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .decor-card:hover img {
            transform: scale(1.04);
        }

        /* الصف السفلي: صورتين جنب بعض - بتلزق في نهاية الصورة الكبيرة تلقائي */
        .bottom-pair {
            grid-column: 2 / 3;
            grid-row: 2 / 3;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-top: 20px;
        }

        @media (max-width: 720px) {
            .decor-grid {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
            }

            .decor-card.large,
            .decor-card.wide {
                grid-column: 1 / 2;
                grid-row: auto;
            }

            .bottom-pair {
                margin-top: 5px;
            }

            .decor-card {
                min-height: auto;
            }
        }

        @media (max-width: 480px) {
            .bottom-pair {
                grid-template-columns: 1fr;
            }
        }



/* Edit Navbar */
@media (max-width: 800px){
        .main-nav-container .header_inner {
        height: unset !important;
        }
}

/*  Edit Card */
/* القلب يفضل ظاهر دايمًا فوق يمين الصورة */
.s-product-card-hover-btns {
  opacity: 1 !important;
  position: absolute;
  bottom: auto;
  top: 10px;
  left: 10px;
  width: auto !important;
  flex-direction: column !important;
}

/* نخفي زرار العين والسلة من فوق الصورة (هننقل السلة تحت) */
.s-product-card-hover-btns .eye-btn-two,
.s-product-card-hover-btns salla-add-product-button {
  display: none;
}

.s-product-card-wishlist-btn {
  background: #fff !important;
  color: #444 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* السعر */
.s-product-card-content-sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s-product-card-price {
  font-weight: 700;
  font-size: 16px;
}

/* لو فيه سعر قديم وخصم (هنظبط الأسماء بعد ما تبعتلي الكود الحقيقي) */
.regular-price {
  color: #b0b0b0;
  text-decoration: line-through;
  font-size: 13px;
  margin-inline-start: 6px;
}

.sale-percentage {
  background: #fdece9;
  color: #e0533d;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-inline-start: 6px;
}

/* سطر السعر شامل الضريبة - نضيفه بـ JS لأنه مش موجود في الـ DOM أصلاً */
.tax-included-note {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

/* زرار إضافة للسلة دايمًا ظاهر تحت الكارد */
.s-product-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.add-to-cart-bottom {
  width: 100%;
}

.add-to-cart-bottom .s-button-element {
  width: 100%;
  border-radius: 24px;
}

.s-product-card-entry{
  background: transparent !important;
}
.s-product-card-content-sub{
    flex-direction: none !important;
}
/* End Edit card */
/* الكارد الرئيسي */
.slider-cat-item {
  display: block;
  text-decoration: none;
  height: 100%;
}

.slider-cat-item > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  height: 100%;
  padding: 8px 4px;
}

/* دائرة الأيقونة بخلفية */
.slider-cat-item .w-28 {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f1ea; /* لون فاتح مناسب لثيمك */
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-cat-item .w-28 i {
  font-size: 32px;
  color: #a67c52; /* لون بني/ذهبي يناسب هوية المتجر */
}

.slider-cat-item:hover .w-28 {
  background: #ecdfc9;
  transform: scale(1.05);
}

/* اسم التصنيف */
.slider-cat-item span {
  position: static !important; /* نلغي absolute القديمة */
  bottom: auto;
  right: auto;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  white-space: normal;
  max-width: 140px;
}

/* الكارد الأب: نتأكد إن المحتوى في النص تمامًا */
.rounded-lg.py-4.relative {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: box-shadow 0.3s ease;
}

.rounded-lg.py-4.relative:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.s-product-card-entry .s-product-card-hover-btns .s-product-card-wishlist-btn button{
  background: white !important;
  border-radius: 50% !important; 
  border: none !important; 
}
.s-product-card-entry .s-product-card-hover-btns .s-product-card-wishlist-btn {
  background: transparent !important;
}
/*  */

.store-footer .store_logo_section salla-social .s-social-link a{
  border: none !important;
}
/* Scroll Btn */
#scrollToTopBtn , section.navbar_bottom.fixed.bottom-0 {
  display: none;
}


/* ─────────────────────────────────────────────
   Sticky Product Bar - تحسين الشكل
   ضيفه من: لوحة التحكم > المظهر > الأكواد المخصصة > CSS
───────────────────────────────────────────── */
.s-comments.s-comments-product , .product__description{
  display: none;
}
.s-products-slider-slider{
  margin-bottom: 20px; 
}


.sticky-product-bar {
    background: #fff;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--color-primary);
    padding: 16px 20px !important;
    z-index: 999;
    bottom:0 !important;
}

/* الصف الرئيسي (الكمية + السعر) */
.sticky-product-bar .flex.items-center.gap-4.my-5 {
    margin: 0 0 14px 0 !important;
    gap: 20px !important;
}

/* الكمية */
.sticky-product-bar__quantity {
    background: #f7f7f8;
    border-radius: 10px;
    padding: 6px 14px;
    gap: 10px !important;
}

.sticky-product-bar__quantity .form-label {
    font-size: 14px;
    color: #666;
    width: auto !important;
    margin: 0;
}

.sticky-product-bar salla-quantity-input {
    --quantity-input-border-color: transparent;
}

.sticky-product-bar .s-quantity-input-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.sticky-product-bar .s-quantity-input-button {
    background: #fff;
    transition: background 0.2s ease;
}

.sticky-product-bar .s-quantity-input-button:hover {
    background: var(--color-primary);
}

.sticky-product-bar .s-quantity-input-button:hover svg path {
    fill: #fff;
}

/* السعر */
.sticky-product-bar .price-wrapper .total-price {
    color: var(--color-primary) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}

.sticky-product-bar .before-price {
    font-size: 15px;
    opacity: 0.6;
}

.sticky-product-bar .out-of-stock {
    font-size: 14px !important;
    margin: 0 !important;
}

/* زرار الإضافة للسلة */
.sticky-product-bar__btn {
    margin-top: 0 !important;
}

.sticky-product-bar__btn .s-button-element {
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 20px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticky-product-bar__btn .s-button-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* طرق الدفع */
.single-product-page salla-payments{
  margin: 0 !important;
} 
.sticky-product-bar .s-payments-list {
    display: none !important;
  /* سايب الباقي علشان لو اشتغلوا */
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.sticky-product-bar .s-payments-list-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 4px 8px;
    width: 46px !important;
    height: 32px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* الموبايل */
@media (max-width: 768px) {
    .sticky-product-bar {
        padding: 12px 14px !important;
        border-radius: 16px 16px 0 0;
    }

    .sticky-product-bar .flex.items-center.gap-4.my-5 {
        flex-direction: row !important;
        justify-content: space-between;
    }

    .sticky-product-bar__quantity {
        padding: 4px 10px;
    }

    .sticky-product-bar .price-wrapper .total-price {
        font-size: 20px !important;
    }

    .sticky-product-bar__btn .s-button-element {
        padding: 12px 16px !important;
        font-size: 15px !important;
    }

    .sticky-product-bar .s-payments-list-item {
        width: 40px !important;
        height: 28px !important;
    }
}

.s-add-product-button-main {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.s-add-product-button-main > * {
    flex: 1 1 0;
    min-width: 0;
}

/* الغاء تكرار اتمام الطلب في السله */
salla-cart-summary-card[data-testid="store-cart-summary"]{
  display: none !important;
}