/* Add custom CSS styles below */ 
/* Add custom CSS styles below */ 
header{display: none;}
.store-footer{display: none;}

body {
   
    background-color: white!important;
}
.app-inner{
    background: #f8f6f3;
}
/* --------- تحويل القائمة المنسدلة إلى أزرار مقاسات بالقوة --------- */
.custom-options-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 15px !important;
    direction: ltr !important; /* لترتيب المقاسات S M L من اليسار لليمين */
    justify-content: flex-end !important; /* لمحاذاتها مع التصميم العربي */
}

.custom-option-btn {
    background-color: #ffffff !important;
    border:0px solid var(--ajab-primary, #4b3c31) !important;
    color: var(--ajab-primary, #4b3c31) !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: 'Tajawal', sans-serif !important;
    cursor: pointer !important;
    min-width: 70px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    user-select: none !important; /* لمنع تحديد النص بالغلط */
}

.custom-option-btn:hover {
    background-color: rgba(188, 169, 196, 0.3) !important; /* لون الهوفر البنفسجي */
}

.custom-option-btn.active {
    background-color: var(--ajab-primary, #4b3c31) !important; /* بني داكن عند الاختيار */
    color: #ffffff !important;
    border-color: var(--ajab-primary, #4b3c31) !important;
    transform: scale(1.05) !important; /* تكبير بسيط للمربع المختار */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}
.s-product-card-entry {
    background-color: rgb(248 246 243);}
.ajab-icons a, .ajab-icons salla-cart-summary {
    color: var(--ajab-text-light);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: end;
    cursor: pointer;
    justify-content: end;
    width: auto;
}
salla-cart-summary {
    min-width: auto;
}
    .s-block__title {
        margin-bottom: 2rem;
        justify-content: center;
    }.s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0rem;
}

@media (min-width: 1024px) {
    .index .s-products-list-vertical-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ---- تخصيص سلايدر المنتجات للديسكتوب (ستايل Seamless) ---- */
@media (min-width: 1024px) {
    
    /* 1. إزالة المسافات (الـ Gaps) بين الصور في السلايدر الأساسي */
    .details-slider .swiper-slide {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 2. إزالة الحواف الدائرية لجعل الزوايا حادة وممتدة */
    salla-slider.details-slider,
    .details-slider .swiper-slide,
    .details-slider img,
    .s-slider-thumbs img {
        border-radius: 0 !important;
    }

    /* 3. جعل الصورة تملأ المساحة بالكامل (Cover) بدلاً من وجود مساحات بيضاء حولها */
    .details-slider .swiper-slide img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* 4. إزالة لون الخلفية الرمادي الافتراضي من سلة */
    .s-slider-thumbs img.bg-gray-100 {
        background-color: transparent !important;
    }
}


/* ---- تحويل سلايدر سلة إلى صور عمودية (ستايل رالف لورين) للديسكتوب ---- */
@media (min-width: 1024px) {
    
    /* 1. إخفاء أزرار التقليب (الأسهم يمين ويسار) */
    salla-slider.details-slider .s-slider-block__title-nav,
    salla-slider.details-slider .s-slider-nav-arrow {
        display: none !important;
    }

    /* 2. إخفاء شريط الصور المصغرة بالأسفل (Thumbnails) */
    .s-slider-thumbs {
        display: none !important;
    }

    /* 3. إلغاء حركة السلايدر الأفقية وتحويل الحاوية لعمودية */
    salla-slider.details-slider .swiper-wrapper {
        display: flex !important;
        flex-direction: column !important;
        transform: none !important; /* هذا السطر الأهم لإلغاء حركة السحب */
        height: auto !important;
    }

    /* 4. إظهار جميع الصور تحت بعضها بدون فواصل أو إخفاء */
    salla-slider.details-slider .swiper-slide {
        width: 100% !important;
        margin: 0 !important; /* بدون أي فواصل بين الصور */
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        position: relative !important;
    }

    /* 5. تمدد الصور ومسح الحواف الدائرية */
    salla-slider.details-slider .swiper-slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }
}

.index salla-add-product-button{display: none;}

.s-product-options-wrapper {

    background-color: rgb(248 246 243);
    
}
.ajab-icons a, .ajab-icons salla-cart-summary {
    
    align-items: center;
    
}
*{
    font-family: 'IBM Plex Sans Arabic'!important;}


*{
    font-family: 'IBM Plex Sans Arabic'!important;}


.custom-option-btn {
   
    padding: 4px 4px !important;}
.custom-options-container {
 
    margin-top: 0px !important;}
salla-add-product-button .s-button-element:not(:disabled):not([loading]) {
    background: #42342b;
    color: white;
}
.s-button-btn, .s-price-range-number-input {
    border-radius: 0rem;
}
.btn--add-to-cart, .s-button-primary {
 
    border-radius: 0px !important;}



.custom-option-btn.out-of-stock-btn {
 
    border-radius: 0px !important;
}
salla-add-product-button[product-status="out"], salla-add-product-button[product-status="out"] salla-button, salla-add-product-button[product-status="out"] .s-button-element {
   
    border-radius: 0px !important;
}
.ajab-logo img {
    max-height: 20px!important;
    
}


.ajab-link {
    
    font-size: 13px;
    font-weight: 700;
 
}


.ajab-hero-img {
  
    object-fit: cover;
    object-position: left center;
}
/* طبقة بيضاء مؤقتة لمنع ظهور الصفحة قبل اللودر */
html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f8f6f3; /* لون الطبقة (أبيض) */
    z-index: 99999999; /* رقم عالي جداً لضمان تغطية كل شيء */
    animation: removeMask 0.5s forwards;
    animation-delay: 1.2s; /* يمكنك تقليل أو زيادة هذا الرقم حسب سرعة موقعك */
    pointer-events: none;
}

@keyframes removeMask {
    to {
        opacity: 0;
        visibility: hidden;
    }
}


#ajab-global-header {
   
    height: 55px;}


.mobile-logo {
    max-height: 25px !important;
}
salla-add-product-button .sicon-shopping-bag{
  display: none!IMPortant;
  
}
.s-cart-summary-count {
  
    height:.8rem;
   
    width:.8rem;
  }


.ajab-mobile-menu-btn {
    font-size: 15px;
  
}
.custom-option-btn {
    border-radius: 0px !important;}
@media (min-width: 1280px) {
    .container {
        max-width: 12800px;
    }
}



.ajab-link {
    font-weight: 300;
}
.breadcrumb {display: none;}

.ajab-footer-col h4 {

    color: #f8f6f3;}



.product-brief-display + div.flex.whitespace-nowrap.gap-4 {
    display: none !important;
}
/* --------- مربعات المقاسات --------- */
/* إخفاء السكرول بار تماماً من المتصفح (جوجل كروم وسفاري) */
.product-single .custom-options-container::-webkit-scrollbar,
.product-single .s-product-options-option-content::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

/* التغلب على خصائص سلة الأصلية وإعطاء مساحة للتأثير */
.s-product-options-option-content {
    overflow: visible !important;
    padding-bottom: 5px !important; /* مساحة عشان الـ scale ميعملش سكرول */
}

.custom-options-container { 
    display: flex !important; 
    flex-wrap: wrap !important; 
    gap: 12px !important; 
    margin-top: 15px !important; 
    width: 100% !important; 
    direction: ltr !important; 
    justify-content: flex-end !important; 
    overflow: visible !important; 
    scrollbar-width: none !important; /* إخفاء السكرول في فايرفوكس */
}

/* إخفاء select سلة الأصلي تماماً حتى لو تم تحديثه بالـ JS */
.product-single .s-product-options-option-content select,
.product-single .s-product-options-option-content .s-select { 
    position: absolute !important;
    opacity: 0 !important;
    z-index: -9999 !important;
    pointer-events: none !important;
    display: none !important; 
    appearance: none !important; 
    -webkit-appearance: none !important; 
}

.custom-option-btn { 
 border: 1px solid var(--ajab-primary) !important;
     cursor: pointer !important; 
    text-align: center !important; 
    transition: all 0.3s ease !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    user-select: none !important; 
    position: relative; 
    overflow: hidden; 
}
.s-product-options-option-content select {
    display: block !important;}

.custom-option-btn.active { 
    transform: scale(1.05) !important; 
    z-index: 2 !important; /* عشان يفضل فوق وقت التكبير */
}

.custom-option-btn.out-of-stock-btn { 
   
    pointer-events: none !important; 
    opacity: 0.8 !important; 
}
.breadcrumbs {display: none;}
@media (min-width: 768px) {
    .md\:text-2xl {
        font-size: 1rem;
    }
}