/* لا يظهر الـ lightbox إلا عند فتحه فعليًا */
html:not(.fslightbox-open) .fslightbox-container {
  display: none !important;
}
/*--------------------------*/
.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div {
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.s-cart-summary-card-action .s-button-wrap[width=wide] button{
  border:1px solid #000;
}

.s-add-product-toast__actions salla-button .s-button-btn,
#toast-submit,
.s-add-product-toast__actions salla-button .s-button-btn.s-button-gray-outline,
.s-infinite-scroll-btn.s-button-btn.s-button-primary{
  border-color: rgba(229,231,235,var(--tw-border-opacity,1)) !important;
  color: #000;
}

.s-infinite-scroll-btn.s-button-btn.s-button-primary{
  background:#e1e1e1 !important;  
}

.s-trust-badges-wrapper {
    display: none;
}

/*
.s-slider-thumbs .s-slider-swiper-wrapper > .swiper-slide:nth-last-child(-n+2),
*/
.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 .form-label,
.fslightbox-container .fslightbox-absoluted:has(> div > img[slid-index="3"]),
.fslightbox-container .fslightbox-absoluted:has(> div > img[slid-index="4"]) {
    display: none !important;
}

#whatsapp_chat_widget{
  display: none;
}

.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div:hover {
    background: #008a50 !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18) !important;
}

.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div:active {
    transform: scale(0.97) !important;
}


.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 {
    margin-bottom: 15px !important;
    padding: 0 !important;
    width: 100%;
}

.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div {
    width: 80% !important;
    min-height: 46px !important;
    margin: 0 auto;
    padding: 10px 15px !important;
    background: #009b5a !important;
    color: #fff !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.25s ease;
}

.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div::before {
    content: "" !important;
    width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px !important;
    display: block !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='19' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.6L21 8H6'/%3E%3C/svg%3E") center/contain no-repeat !important;
    order: 1 !important;
}

.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div::after {
    content: "إضافة للسلة" !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    order: 2 !important;
}

.art-main-content .art-product-form .price-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #fff !important;
    order: 3 !important;
}

.art-main-content .art-product-form .price-wrapper .total-price {
    margin: 0 !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.art-main-content .art-product-form .price-wrapper .sicon-sar,
.art-main-content .art-product-form .before-price {
    color: #fff !important;
}

.art-main-content .art-product-form .before-price {
    opacity: .7 !important;
}

.art-main-content .art-product-form .price-wrapper::before {
    content: "-" !important;
    margin: 0 4px !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div:hover {
    background: #008a50 !important;
    transform: translateY(-2px);
}

.art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div {
        width: 90% !important;
        min-height: 50px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        gap: 7px !important;
    }

    .art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div::before {
        width: 22px !important;
        height: 22px !important;
        flex-basis: 22px !important;
    }

    .art-main-content .art-product-form section.flex.p-2.px-5.sm\:p-1.sm\:pb-0 > div::after {
        font-size: 18px !important;
    }

    .art-main-content .art-product-form .price-wrapper .total-price,
    .art-main-content .art-product-form .price-wrapper::before {
        font-size: 17px !important;
    }
}
/**********test******************/


/* الصورة بين آخر خيار والسعر */
salla-product-options::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 500px;
    height: 220px;
    margin: 0px auto;
    background: url("https://iili.io/nCD6Stf.png") center center / contain no-repeat;
    border-radius: 17px;

}

/* Add custom CSS styles below */
.s-bought-together-entry{
  display: none
}
@media (max-width: 767px) {  
salla-product-options::after {
    height: 102px;
    margin: -10px auto;
}
 /*إلغاء ارتفاع الشاشة الكامل */
  .art-video-banner {
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    padding: 0 !important;
  }

  /* حاوية الفيديو */
  .art-video-banner > div:last-child {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
  }

  /* الفيديو بالحجم الطبيعي بدون قص */
  .art-video-banner > div:last-child video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  /* إخفاء المساحة الخاصة بالنص */
  .art-video-banner > .container {
    display: none !important;
  }

  /* إزالة الطبقة الرمادية/السوداء */
  .art-video-banner::after {
    display: none !important;
  }
}

/****************************/
.lg\:col-span-2:after {
    content: "";
    display: block;
     width: 65%;
    height: 62px;
    transform: scale(1.5);
    margin: 0 auto;
    background: url("https://iili.io/CGUNuUP.png") no-repeat center;
    background-size: contain;
}

#cart-submit{
 border: 1px solid #000; 
}
.is-sticky-product-bar .sticky-product-bar { z-index: 11 !important; }

@media (min-width: 768px) {
    .grid-flow-row {
        grid-template-columns: repeat(2, minmax(0, 6fr));
    }
    .gap-8 {
        gap: 1rem;
    }
    .banner-entry {
        height: 265px;
    }
}

@media (max-width: 600px) {
    .grid-flow-row {
        grid-template-columns: repeat(2, minmax(0, 6fr));
    }

    .gap-8 {
        gap: 1rem;
    }
    .banner-entry {
        height: 165px;
    }
}

.two-row .banner-entry:first-child {
    grid-column: span 1/span 1;
    grid-row: span 1/span 2;
}

.has-overlay:after {
    display: none;
}
/*******************************/
.s-reviews-container .s-reviews-testimonial {
    border: 1px solid rgba(229,231,235,var(--tw-border-opacity,1)) !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,.035) !important;
}

.container .swiper-slide-active .s-reviews-testimonial__text p {
    text-align: right !important;
}

.s-reviews-container .swiper-slide-active .s-reviews-testimonial {
    box-shadow: rgba(0,0,0,.24) 0 3px 8px;
}

.s-reviews-container .s-reviews-testimonial__info h2 {
    width: 100%;
    text-align: right !important;
}

.s-reviews-testimonial__name_wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
/*****************/
.s-product-card-vertical{
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


.aspect-square.relative.overflow-hidden{
    margin:auto auto 20px ;
}

.s-slider-swiper-wrapper > div{
  margin: 10px auto;
  text-align: center;
}

.s-block--features__item:first-child {
    grid-column: span 1/span 2
}

.grid-cols-\[repeat\(2\2c minmax\(0\2c 1fr\)\)\],
.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important
}

.-bottom-2 {
    bottom: 0.5rem;
}

.opacity-0 {
    opacity: 1;
}

.s-slider-nav-arrow:not(:disabled):hover svg{
    fill:#000;
}

.art-modal-product .s-add-product-button-main button,
.art-main-content .art-product-form salla-add-product-button .s-add-product-button-main button,
.art-main-content .s-add-product-button-main .s-add-product-button-mini-checkout-content,.z-50,
.art-modal-product .s-add-product-button-mini-checkout-content,.text-\[var\(--color-primary\)\],
.s-products-list .s-product-card-content-footer .s-button-btn .s-button-text, .s-products-slider-slider .s-product-card-content-footer .s-button-btn .s-button-text,.sicon-caret-up-double:before,
.s-button-text i.sicon-cart-add:before{
  color:#000 !important;
} 

img[src="https://cdn.salla.sa/form-builder/KoMdt6U1pJNsYyRFum6X3RFApqWPeGGrPKE6bc2q.png"],
img[src="https://cdn.salla.sa/form-builder/JLPmXf2VkTfhv7KBVJIz1Ea3jkaoJ1UxUI5vDpbU.png"]{
      transform: scale(1.3);
}

/*
.art-main-content .art-product-form .s-quantity-input-container .s-quantity-input-button,
.art-main-content .art-product-form salla-add-product-button .s-add-product-button-main button,
.art-modal-product .s-add-product-button-main button,.art-main-content .s-add-product-button-main .s-add-product-button-mini-checkout,
.s-products-list .s-product-card-content-footer .s-button-btn, .s-products-slider-slider .s-product-card-content-footer .s-button-btn{
  background: #f6ebd7 !important;
}
*/

.rtl\:-translate-x-2:where([dir="rtl"], [dir="rtl"] *){
  --tw-translate-x: -1.5rem;
}

.rtl\:origin-right:where([dir="rtl"], [dir="rtl"] *){
   background: #f4f0e4!important; 
}

.s-contacts-list-vertical >div:last-of-type,
.sc-1au8ryl-0.dkuywW{
    display: none;
}



.art-store-footer a,.art-store-footer h3,
.rtl\:lg\:pl-20:where([dir="rtl"], [dir="rtl"] *){
        text-align: center;
        font-weight:500 !important;
        color:#000 !important;
       opacity: 1 !important;
}

.s-social-list,.gap-2,
.art-store-footer a{
      justify-content: center;
}

.feature-icon i.sicon-shipping-fast:before {
    content: '';
    background-image: url(https://iili.io/3JzHqZv.png);
    width: 64px;
    height: 64px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.feature-icon i.sicon-paper-plane-o:before{
    content: '';
    background-image: url(https://iili.io/3JzJIiQ.png);
    width: 64px;
    height: 64px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.feature-icon i.sicon-fire:before{
    content: '';
    background-image: url(https://iili.io/3Jzd64p.png);
    width: 64px;
    height: 64px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.s-block.s-block--features.container::before {
    content: "لماذا نحن ؟";
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: rgb(0, 0, 0);
}

.s-slider-nav-arrow{
     box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
      background-color: var(--color-primary);
}

.mm-spn.mm-spn--navbar.mm-spn--main{
      background-color: var(--color-primary);
}

@media only screen and (min-width:600px) {
.lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
}
}

.art-main-content .art-product-form salla-add-product-button .s-add-product-button-main button{  
    font-weight: 600 !important;
}

.art-modal-product .s-add-product-button-main button{
    font-size: 13px !important;
    font-weight: 800 !important;
    padding-left: 12px;
    padding-right: 13px;
}

.s-block--features__item .feature-icon {
    height: 5.2rem;
    width: 5.2rem;
}

.art-main-content .art-product-form .s-quantity-input-container .s-quantity-input-button,.scroll-top,.s-products-slider-slider .s-product-card-content-footer .s-button-btn,
.art-main-content .art-product-form salla-add-product-button .s-add-product-button-main button,
.art-main-content .s-add-product-button-main .s-add-product-button-mini-checkout{
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.art-main-content .art-product-form .s-quantity-input-container{
    border-color: transparent !important;
    border:none !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.art-main-content .art-product-form .s-quantity-input-container .s-quantity-input-input{
      border-color: transparent !important
}

.text-\[var\(--color-text-theme\)\]{
      text-align: center;
}

.s-product-card-image img.loaded{
      background: #fff;
}

.s-product-card-fit-height .s-product-card-image {
    max-height: initial !important
}

.s-product-card-image-contain {
    object-fit: contain;
}


.s-product-card-content-title a:where([dir=rtl],[dir=rtl] *){
    text-align: center;
}

/************************/
.two-row .banner-entry:first-child h3,
.banner-entry h3{
    --tw-translate-y: -0.5rem !important;
    opacity: 1 !important;
    line-height: 20px !important;
}

@media (max-width: 600px) {
.two-row .banner-entry:first-child h3,
.banner-entry h3{
    font-size: 1.1rem !important;
}
}

.s-product-options-grid-mode input:checked + div{
      border-color:#000;
      color:#000;
}

.banner-entry article{
    padding:0px !important;
    background: #00000030 !important;
}

/* Zeed CRO: hide duplicate add-to-cart, green button clicks it via JS */
.art-main-content .s-add-product-button-main > salla-button { display: none !important; }