/* Add custom CSS styles below */ 
div#mainnav {
    background-color: #f7f5fc !important;
}
.bg-home section.s-block--items-slider:first-child {
    margin-top: 0rem !important;
}
section.s-block.s-block--items-slider.s-block .container-fluid {
    padding: 0 !important;
}
section.s-block.s-block--prices.aos-init.aos-animate {
    margin:2% auto;
    max-width: 80%;
}
section.s-block.s-block--prices.aos-init.aos-animate .carousel-slider .swiper-wrapper > div {
    width: 21% !important;
}
section.s-block.s-block--prices.aos-init.aos-animate  .carousel-slider .swiper {

    padding-top: 1rem !important;
}
section#event-products-4 {
    /* position: relative; */
    background-image: url(https://cdn.salla.sa/form-builder/mXYynxKtsxo3nGLd9QWEtgDsmqUCjDmP5fQFbWL4.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-bottom: 10%;
        padding-top: 3%;

}

section#event-products-4 img.shape-event {
    display: none !important;
    opacity: 0;
}

section#event-products-6 .event-block__title .s-block__title,section#event-products-8 .event-block__title .s-block__title,section#event-products-4 .event-block__title .s-block__title {
    justify-content: flex-start;
}
.banner--fixed img {
    background-color: transparent;
    border-radius: 0;

}
.ps-footer__middle {
    border-radius: 0;
}
@media(max-width: 768px){
section.s-block.s-block--prices.aos-init.aos-animate {
    max-width: 100%;
}

section.s-block.s-block--prices.aos-init.aos-animate .swiper-wrapper {
    flex-wrap: wrap;
    justify-content: center;
}
section.s-block.s-block--prices.aos-init.aos-animate .carousel-slider .swiper-wrapper > div {
    width: 30% !important;
}
}
/* تكبير صور التصنيفات */
.swiper-slide img {
    width: 280px !important;
    height: 280px !important;
    max-width: none !important;
    object-fit: contain;
}

.swiper-slide {
    width: 280px !important;
}
.swiper-slide-image {
    width: 100%;
    aspect-ratio: 1965 / 1105;
    height: auto;
    object-fit: cover;
}
/* عدم تحريك الصفحة */
html,
body {
    overflow-x: hidden;
}

/* السماح للفئات بالتحرك على الموبايل */
@media (max-width: 768px) {

    .tabs-box {
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #tabs-list-9 {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content;
        white-space: nowrap;
        gap: 10px;
    }

    #tabs-list-9 .tab-item {
        flex: 0 0 auto;
    }
};
    top:80px;
    z-index:100;
    background:#fff;
    margin-bottom:25px;
}
.custom-filter-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:25px;
    margin-bottom:35px;
    box-shadow:0 5px 20px rgba(0,0,0,.06);
}

.custom-filter-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:15px;
}

.clear-filter{
    float:left;
    color:#666;
    text-decoration:none;
    font-size:14px;
}

.filter-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:20px 0 25px;
}

.filter-tags a{
    padding:10px 18px;
    border:1px solid #ddd;
    border-radius:50px;
    text-decoration:none;
    color:#333;
    background:#fafafa;
    transition:.3s;
}

.filter-tags a:hover,
.filter-tags .active{
    background:#f4b400;
    border-color:#f4b400;
    color:#fff;
}

.filter-row{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:15px;
    align-items:end;
}

.filter-item label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.filter-item input,
.filter-item select{
    width:100%;
    height:48px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 15px;
}

.filter-check{
    display:flex;
    align-items:center;
    gap:8px;
    height:48px;
}

.filter-btn{
    width:100%;
    height:48px;
    border:none;
    border-radius:10px;
    background:#f4b400;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.filter-btn:hover{
    background:#d89b00;
}

@media(max-width:991px){

.filter-row{
grid-template-columns:1fr;
}

.filter-tags{
overflow:auto;
flex-wrap:nowrap;
padding-bottom:8px;
}

}
/* جعل القائمة بعرض الشاشة كامل */
#bigMenu.main-menu {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 20px;
    background: #ffd800;
    scrollbar-width: none;
}

#bigMenu.main-menu::-webkit-scrollbar {
    display: none;
}


/* العناصر */
#bigMenu.main-menu > li {
    list-style: none;
    flex: 0 0 auto;
}


/* الروابط */
#bigMenu.main-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: #222;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: .3s;
}


/* Hover أخضر */
#bigMenu.main-menu > li > a:hover {
    background: #159447;
    color: #fff;
}


/* تسوق الكل */
#bigMenu.main-menu > li:first-child > a {
    background: #159447;
    color: #fff;
}
/* فاصل بين الأقسام */
#bigMenu.main-menu > li {
    list-style: none;
    flex: 0 0 auto;
    position: relative;
    padding-left: 12px;
    margin-left: 12px;
}

/* الخط الفاصل */
#bigMenu.main-menu > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(0,0,0,.25);
}


/* الروابط */
#bigMenu.main-menu > li > a {
    padding: 12px 18px;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}


/* Hover أخضر */
#bigMenu.main-menu > li > a:hover {
    color: #159447;
}


/* تسوق الكل */
#bigMenu.main-menu > li:first-child > a {
    color: #159447;
}
/* إلغاء الهوفر الأخضر */
#bigMenu.main-menu > li > a:hover {
    background: transparent;
    color: #222;
}


/* تسوق الكل */
#bigMenu.main-menu > li:first-child > a {
    color: #159447;
    background: transparent;
}
.s-slider-swiper-wrapper {
    display: flex !important;
    justify-content: center !important;
}

.s-slider-swiper-wrapper .swiper-slide {
    display: flex !important;
    justify-content: center !important;
}

.s-slider-swiper-wrapper .swiper-slide a {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.s-slider-swiper-wrapper .swiper-slide img {
    margin: 0 auto !important;
}
img[alt^="price-link"] {
    width: 350px !important;
    height: 200x !important;
  /* تقليل ارتفاع بلوك السلايدر */
.s-slider {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
}
.store-features{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px;
    width:100%;
    direction:rtl;
}


.feature-box{
    display:flex;
    align-items:center;
    gap:15px;
    padding:20px 15px;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    transition:.3s ease;
}


.feature-box:hover{
    border-color:#159447;
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,.10);
}


.feature-icon{
    width:55px;
    height:55px;
    min-width:55px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#159447;
    color:#fff;
    border-radius:50%;
    font-size:24px;
}
.feature-box{
    display:flex;
    align-items:center;
    gap:15px;
    padding:20px 15px;
    background:#fff;
    border:2px solid #e5e5e5;
    border-radius:14px;
    transition:all .35s ease;
    overflow:hidden;
}


/* هوفر زوم */
.feature-box:hover{
    border-color:#159447;
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}


/* الأيقونة */
.feature-icon{
    width:60px;
    height:60px;
    min-width:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#159447;
    color:#fff;
    border-radius:50%;
    font-size:26px;
    transition:.35s ease;
}


/* تكبير الأيقونة مع الهوفر */
.feature-box:hover .feature-icon{
    transform:scale(1.15);
}


/* النص */
.feature-text h3{
    transition:.3s;
}

.feature-box:hover .feature-text h3{
    color:#159447;
}

.feature-text h3{
    margin:0 0 5px;
    font-size:15px;
    font-weight:700;
    color:#222;
}


.feature-text p{
    margin:0;
    font-size:13px;
    color:#777;
}


/* تابلت */
@media(max-width:992px){

.store-features{
    grid-template-columns:repeat(2,1fr);
}

}


/* موبايل */
@media(max-width:600px){

.store-features{
    grid-template-columns:1fr;
}

}
.store-features{
    width:85%;
    margin:0 auto;
}
@media(max-width:600px){

.store-features{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:12px;
    width:100%;
    padding:5px 10px;
}

.feature-box{
    min-width:85%;
    flex:0 0 85%;
    scroll-snap-align:start;
}

.store-features::-webkit-scrollbar{
    display:none;
}

}
/* الشكل العام */
.features-list{
    display:flex !important;
    gap:15px;
}

.features-list .feature{
    border:2px solid #eee;
    border-radius:12px;
    padding:15px;
    background:#fff;
    transition:.3s;
    flex:1;
}

.features-list .feature:hover{
    border-color:#159447;
    transform:scale(1.04);
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}


/* الموبايل */
@media(max-width:600px){

.features-list{
    overflow:hidden !important;
    gap:10px;
    height:75px;
    padding:5px;
}

.features-list .feature{
    min-width:100%;
    height:65px;
    padding:8px;
    flex:0 0 100%;
}

.features-list .feature-icon{
    font-size:25px;
}

.features-list .feature-text{
    font-size:13px;
}

}
@media(max-width:768px){

.custom-filter-box{
    padding:12px;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
}


/* الهيدر */
.custom-filter-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:12px;
}

.custom-filter-header h3{
    font-size:16px;
    margin:0;
    font-weight:700;
}

.clear-filter{
    font-size:12px;
    color:#fff;
    background:#159447;
    padding:6px 12px;
    border-radius:6px;
}


/* التصنيفات */
.filter-tags{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-bottom:8px;
    margin-bottom:10px;
}

.filter-tags a{
    white-space:nowrap;
    font-size:12px;
    padding:7px 12px;
    border:1px solid #ddd;
    border-radius:20px;
    color:#333;
}

.filter-tags a.active{
    background:#159447;
    color:#fff;
    border-color:#159447;
}


/* الحقول */
.filter-row{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}


.filter-item label{
    font-size:12px;
    display:block;
    margin-bottom:5px;
}


.filter-item input[type="number"],
.filter-item select{
    width:100%;
    height:38px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:5px;
    font-size:13px;
}


/* الاختيارات */
.filter-item label input{
    width:auto;
}


/* زر التطبيق */
.filter-btn{
    width:100%;
    height:38px;
    border:0;
    background:#159447;
    color:#fff;
    border-radius:8px;
    font-weight:700;
    font-size:13px;
}

}
/* عنوان الأقسام */
.s-block__title{
    width:100%;
    text-align:center;
    margin:0 0 30px;
}

.s-block__title .right-side{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
}

.s-block__title h2{
    position:relative;
    display:inline-block;
    margin:0;
    padding-bottom:18px;
    color:#2f3393;
    font-size:32px;
    font-weight:800;
    line-height:1.4;
}

/* الخط الأصفر المتحرك */
.s-block__title h2::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:140px;
    height:5px;
    border-radius:50px;
    background:#FFD43B;
    animation:lineMove 1s ease-in-out infinite;
}

@keyframes lineMove{
    0%{
        width:60px;
    }
    50%{
        width:140px;
    }
    100%{
        width:60px;
    }
}

/* الموبايل */
@media (max-width:768px){
    .s-block__title h2{
        font-size:24px;
    }

    .s-block__title h2::after{
        width:100px;
        height:4px;
    }

    @keyframes lineMove{
        0%{
            width:55px;
        }
        50%{
            width:100px;
        }
        100%{
            width:45px;
        }
    }
}

}

}
/* توسيط جميع عناوين السكاشن */
.s-block__title,
.s-slider-block__title {
    justify-content: center !important;
    text-align: center !important;
}

.s-block__title .right-side,
.s-slider-block__title-left {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
}

.s-block__title h2,
.s-slider-block__title h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (min-width: 1024px) {

salla-products-slider {
    display: block !important;
    width: 97% !important;
    max-width: 1350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

salla-products-slider .s-slider-block {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
  @media (min-width: 1024px) {

    /* سكشن المنتجات الأكثر مبيعاً */
    .event-products {
        width:97% !important;
        max-width: 1500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .event-products--div {
        width: 100% !important;
    }

    .event-products .s-slider-container {
        width: 100% !important;
    }

}
  /* شكل كارت المدونة */
.blog-card .px-md-3 {
    padding: 20px !important;
}

/* اسم التصنيف */
.blog-card .px-md-3 > a.mb-3 {
    display: inline-block !important;
    margin-bottom: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* عنوان المقال */
.blog-card .px-md-3 h4 {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.7 !important;
}
  

.blog-card .px-md-3 h4 a {
    display: block !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.hadayiq-whatsapp-btn {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    transform: translate(-50%, -50%) !important;

    z-index: 999 !important;

    width: 210px !important;
    padding: 11px 14px !important;

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

    background: #25D366 !important;
    color: #fff !important;

    border-radius: 8px !important;

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

    text-decoration: none !important;
    box-sizing: border-box !important;

    margin: 0 !important;
}
-decoration: none !important;

    box-sizing: border-box !important;

    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
    transition: all .25s ease !important;
}
/* =========================================
   إخفاء سكشن "وفرنا لك البديل"
   ========================================= */

section.s-block:has(.out-of-stock-alternative),
.out-of-stock-alternative,
.out-of-stock-alternative__container {
    display: none !important;
}


/* =========================================
   زر واتساب - تواصل معنا للحصول على عرض سعر
   ========================================= */

a[href*="wa.me/966508883059"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    width: 280px !important;
    max-width: 100% !important;
    height: 50px !important;

    margin: 18px auto !important;
    padding: 0 20px !important;

    background: #25D366 !important;
    color: #fff !important;

    border: none !important;
    border-radius: 10px !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    text-align: center !important;
    text-decoration: none !important;

    box-sizing: border-box !important;

    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.22) !important;

    transition: all 0.25s ease !important;
}


/* حركة عند المرور */
a[href*="wa.me/966508883059"]:hover {
    background: #128C7E !important;
    color: #fff !important;
    text-decoration: none !important;

    transform: translateY(-2px) !important;

    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.30) !important;
}


/* =========================================
   الموبايل
   ========================================= */

@media (max-width: 600px) {

    a[href*="wa.me/966508883059"] {
        width: 240px !important;
        height: 48px !important;
        font-size: 14px !important;
        margin: 15px auto !important;
    }

}
/* زر واتساب داخل وصف المنتج فقط */
.s-product-description a[href*="wa.me/966508883059"],
.product-description a[href*="wa.me/966508883059"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 280px !important;
    min-height: 52px !important;

    margin: 20px auto !important;
    padding: 13px 20px !important;

    background: #25D366 !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 10px !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    text-align: center !important;
    text-decoration: none !important;

    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

/* Hover للزر فقط */
.s-product-description a[href*="wa.me/966508883059"]:hover,
.product-description a[href*="wa.me/966508883059"]:hover {
    background: #128C7E !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,.15) !important;
}

/* حماية واتساب الفوتر من أي تنسيق */
.s-contacts-item[href*="wa.me/966508883059"] {
    width: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}
/* =====================================================
   تنسيق كروت المنتجات النهائي - Salla
   ===================================================== */

/* الكارت بالكامل مع الإطار الأخضر */
.s-product-card-entry {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    border: 2px solid #28a745 !important;
    border-radius: 12px !important;
    background: #fff !important;
}

/* منطقة الصورة */
.s-product-card-image {
    width: 100% !important;
    height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 15px !important;
    background: #fff !important;
    flex-shrink: 0 !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-cover {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: auto !important;
}

/* محتوى المنتج العام */
.s-product-card-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 15px !important;
    flex: 1 1 auto !important;
}

/* اسم المنتج (يظهر بالأعلى بشكل طبيعي) */
.s-product-card-content-main {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 0 10px 0 !important;
    flex: 0 0 auto !important;
}

.s-product-card-content-title {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    min-height: 54px !important;
    max-height: 54px !important;
    line-height: 1.7 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.s-product-card-content-title a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    color: #222 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
}

/* السعر */
.s-product-card-content-sub {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    flex: 0 0 auto !important;
}

.s-product-card-price {
    margin: 0 !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.s-product-card-sale-price {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
}

.s-product-card-sale-price h4 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.s-product-card-sale-price span {
    font-size: 14px !important;
    text-decoration: line-through !important;
    opacity: .55 !important;
}

/* زر السلة / نفدت الكمية (يثبت في الأسفل تماماً بمسافة آمنة بعيدة عن الاسم) */
.s-product-card-content-footer {
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    flex: 0 0 auto !important;
    display: block !important;
    position: relative !important;
}

.s-product-card-content-footer salla-add-product-button,
.s-product-card-content-footer .w-full,
.s-product-card-content-footer salla-button {
    width: 100% !important;
    display: block !important;
}

/* المفضلة */
.s-product-card-wishlist-btn {
    z-index: 5 !important;
}

/* التجاوب مع الموبايل */
@media (max-width: 767px) {
    .s-product-card-image {
        height: 215px !important;
        padding: 10px !important;
    }

    .s-product-card-content {
        padding: 12px 10px 15px !important;
    }

    .s-product-card-content-title {
        min-height: 48px !important;
        max-height: 48px !important;
    }

    .s-product-card-content-title a {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .s-product-card-price,
    .s-product-card-sale-price h4 {
        font-size: 16px !important;
    }
}

/* الشاشات الكبيرة */
@media (min-width: 1200px) {
    .s-product-card-image {
        height: 300px !important;
    }
}