/* Add custom CSS styles below */ 
/*  01 menu */ 
.content-entry {
    padding: 0 !important;
    overflow: hidden;
}

.content-entry iframe {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 10px;
}
/*    **************** */
/* 02 cart */
/* ************* */
.s-product-card-content-footer, .s-product-card-content-footer salla-add-product-button, .s-product-card-content-footer .w-full, .s-product-card-content-footer salla-button { display: flex !important; justify-content: center !important; width: 100% !important; } .s-product-card-content-footer .s-button-element { width: auto !important; min-width: 120px !important; border-radius: 50px !important; padding: 8px 20px !important; margin: 0 auto !important; height: 38px !important; min-height: 38px !important; display: flex !important; align-items: center !important; justify-content: center !important; } .s-product-card-content-footer .s-button-element .sicon-add { display: none !important; } .s-product-card-content-title { display: none !important; } .s-button-text i.sicon-add { display: none !important; } .s-product-card-content-footer .s-button-element { width: fit-content !important; max-width: 110px !important; padding-left: 10px !important; padding-right: 10px !important; font-size: 11px !important; margin: 0 auto !important; border-radius: 50px !important; height: 32px !important; display: flex !important; justify-content: center !important; align-items: center !important; }
/* ************* 
#p911981261 .s-product-card-image img, .s-product-card-horizontal .s-product-card-image img { transform: scale(0.8) !important; object-fit: contain !important; transition: transform 0.3s ease; } .s-block--fixed-banner .container { max-width: 100% !important; padding: 0 !important; margin: 0 !important; width: 100% !important; } .s-block--fixed-banner .banner { border-radius: 0 !important; margin: 0 !important; } .s-block--fixed-banner img { width: 100% !important; display: block !important; }
 ************* */


/* ************* */
#p911981261 .s-product-card-image img { 
    transform: scale(0.8) !important; 
    object-fit: contain !important; 
    transition: transform 0.3s ease; 
} 

.s-block--fixed-banner .container { 
    max-width: 100% !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    width: 100% !important; 
} 

.s-block--fixed-banner .banner { 
    border-radius: 0 !important; 
    margin: 0 !important; 
} 

.s-block--fixed-banner img { 
    width: 100% !important; 
    display: block !important; 
}
/* ************* */

.s-block--fixed-banner { padding-top: 0 !important; margin-top: 0 !important; } salla-products-list[source-value*="911981261"] .s-products-list-wrapper { display: flex !important; justify-content: center !important; grid-template-columns: none !important; width: 100% !important; } salla-products-list[source-value*="911981261"] custom-salla-product-card { width: 100% !important; max-width: 350px !important; margin: 0 auto !important; } @media (max-width: 768px) { salla-products-list[source-value*="911981261"] custom-salla-product-card { max-width: 220px !important; } } custom-salla-product-card[horizontal="true"] .s-product-card-content-subtitle { display: block !important; margin: 0 !important; padding: -2px 0 -8px 0 !important; line-height: 1 !important; } custom-salla-product-card[horizontal="true"] .s-product-card-content { padding: 0 !important; margin: 0 !important; gap: -6px !important; }

.similar-products .s-product-card-image img { transform: scale(0.85) !important; transition: transform 0.3s ease !important; object-fit: contain !important; } .similar-products .s-product-card-image { display: flex !important; align-items: center !important; justify-content: center !important; background-color: transparent !important; } .details-slider .swiper-slide img { transform: scale(0.85) !important; margin: auto !important; object-fit: contain !important; border-radius: 15px !important; } .details-slider .swiper-slide { display: flex !important; align-items: center !important; justify-content: center !important; } .price .product-entry__sub-title { display: block !important; margin-bottom: 4px !important; font-size: 0.875rem !important; color: #9ca3af !important; } .price { display: flex !important; flex-direction: column !important; align-items: flex-start !important; }



















.new-warning-container .centered-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.btn-sub-green {
    display: none !important;
}


.btn-main-red {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%) !important; 
    color: #ffffff !important;
    padding: 14px 35px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 50px !important; 
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3) !important; 
    transition: all 0.3s ease-in-out !important;
    border: none !important;
    cursor: pointer !important;
    font-family: 'Alexandria', sans-serif !important; 
}

.btn-main-red:hover {
    transform: translateY(-3px) !important; 
    box-shadow: 0 6px 20px rgba(197, 48, 48, 0.4) !important;
    background: linear-gradient(135deg, #f54e4e 0%, #d54040 100%) !important;
}

.custom-alert-msg {
    margin-top: 20px !important;
    color: #4a5568 !important;
    font-size: 15px !important;
    max-width: 400px !important;
    line-height: 1.6 !important;
    text-align: center !important;
}


.warning-img {
    width: 100px !important;  
    height: auto !important;  
    margin: 0 auto 15px auto !important; 
    display: block !important;
}







/*

.s-slider-container {
    display: none !important;
}
*/














:root {
    --brand-primary: #003A27;   
    --brand-secondary: #003A27;  
    --brand-accent: #B6B2F8;    
}





.s-block--testimonials::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://cdn.salla.sa/your-pattern-url.png'); 
    background-size: 150px; 
    opacity: 0.08; 
    pointer-events: none;
}




.testimonial__icon {
    background: var(--brand-accent) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: -20px !important;
    left: 20px !important;
    opacity: 1 !important;
    box-shadow: 0 4px 10px rgba(182, 178, 248, 0.4);
}

.s-block--testimonials h2 {
    color: var(--brand-secondary) !important;
    font-size: 2rem !important;
    letter-spacing: -1px;
}

.s-block--testimonials .da-tm {
    color: var(--brand-primary) !important;
    font-weight: 800 !important;
}

.s-rating-stars-selected {
    fill: var(--brand-accent) !important;
}






















/* ==========================================================================
  كرت المنتج
   ========================================================================== */
/* ==========================================================================
   كرت المنتج وخيارات الدروب داون
   ========================================================================== */
.s-product-options-grid-mode,
.s-product-options-wrapper .s-product-options-grid-mode,
salla-product-options .s-product-options-grid-mode {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.store-header.fixed-sticky {
    z-index: 9999 !important; 
}

.s-product-card-entry.s-product-card-horizontal {
    overflow: visible !important;
    z-index: 10 !important;
}

.s-product-card-entry.s-product-card-horizontal:focus-within,
.s-product-card-entry.s-product-card-horizontal:hover {
    z-index: 20 !important;
}

/* تعديل وتقليص المساحة لكل حاوية خيار */
.s-product-options-option-container {
    margin-bottom: 6px !important; /* تقليل المسافة أسفل الحاوية كاملة */
}

.s-product-options-option-label {
    margin-bottom: 2px !important; /* تقريب العنوان من القائمة الافتراضية */
    display: block;
}

/* تنسيق حاوية الـ Dropdown المخصصة */
.custom-dropdown-wrapper {
    position: relative;
    margin-top: 2px;       /* تقليل المسافة بين عنوان الخيار والزر المنسدل */
    margin-bottom: 4px;    /* تقليل المسافة أسفل القائمة */
    width: 100%;
    text-align: right;
}

.dropdown-trigger-btn {
    width: 100%;
    padding: 6px 12px;     /* تصغير البادينج الرأسي للزر ليصبح أنحف وأجمل */
    font-size: 0.8rem;
    color: #4a5568;
    background-color: #ffffff;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.dropdown-trigger-btn::after {
    content: "▼";
    font-size: 0.65rem;
    color: #718096;
    transition: transform 0.2s ease;
}

.custom-dropdown-wrapper.open .dropdown-trigger-btn::after {
    transform: rotate(180deg);
}

.dropdown-options-list {
    position: absolute;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 500 !important; 
    display: none;
    max-height: 140px;
    overflow-y: auto;
    padding: 4px 0;
}

.custom-dropdown-wrapper.open .dropdown-options-list {
    display: block;
}

.custom-dropdown-wrapper.open.drop-up .dropdown-options-list {
    bottom: 105% !important;
    top: auto !important;
    box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.15);
}

.dropdown-option-item {
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #4a5568;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dropdown-option-item:hover {
    background-color: #f7fafc;
}

.dropdown-option-item.selected {
    background-color: #0d4629;
    color: #ffffff;
    font-weight: 600;
}

.s-products-list-wrapper, 
.s-products-list-horizontal-cards,
salla-products-list {
    overflow: visible !important;
}














/* سلايدر */
body.enable-product-slider-autoplay .details-slider .swiper-wrapper,
body.enable-product-slider-autoplay .s-product-card-image-slider .swiper-wrapper {
    will-change: transform;
    animation: sliderAutoplay 8s ease-in-out infinite;
}

body.enable-product-slider-autoplay .details-slider:hover .swiper-wrapper,
body.enable-product-slider-autoplay .s-product-card-image-slider:hover .swiper-wrapper {
    animation-play-state: paused;
}

@keyframes sliderAutoplay {
    0%, 45% {
        transform: translate3d(0px, 0px, 0px);
    }
    55%, 100% {
        transform: translate3d(100%, 0px, 0px); 
    }
}