/* Add custom CSS styles below */ 

/* تنسيق القسم الرئيسي - عرض كامل */
.s-block--banners.container {
    max-width: 100% !important;
    padding: 0 !important; /* إزالة الحشو الجانبي */
    margin: 0 !important;
    width: 100vw !important; /* عرض الشاشة الكامل */
}

/* تنسيق عنوان القسم */
.s-block--banners .s-block__title {
    margin-bottom: 30px;
    padding: 0 20px; /* حشو للعنوان فقط */
}

.s-block--banners .s-block__title h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: right;
}

/* الشبكة - ممتدة للحواف */
.s-block--banners .grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important; /* إزالة الفراغات بين الصور */
    grid-auto-rows: 1fr !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* تنسيق كل عنصر */
.s-block--banners .banner-entry.square-photos {
    position: relative;
    width: 100% !important;
    height: 400px !important;
    display: block;
    background: white;
    border-radius: 0 !important; /* إزالة الحواف المنحنية */
    overflow: hidden !important;
    box-shadow: none !important; /* إزالة الظلال */
    transition: transform 0.3s ease;
    margin: 0 !important;
    border: 1px solid #f0f0f0; /* حد خفيف للفصل */
}

.s-block--banners .banner-entry.square-photos:hover {
    transform: scale(1.0);
    z-index: 10;
}

/* تنسيق الصورة */
.s-block--banners .banner-entry.square-photos .lazy__bg {
    width: 100% !important;
    height: 100% !important;
    background-position: center center !important;
    background-size: cover !important; /* لملء المساحة */
    background-repeat: no-repeat !important;
    background-color: #f8f8f8;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* للشاشات المتوسطة */
@media (max-width: 768px) {
    .s-block--banners .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .s-block--banners .banner-entry.square-photos {
        height: 300px !important;
    }
}

/* للشاشات الصغيرة */
@media (max-width: 480px) {
    .s-block--banners .grid {
        grid-template-columns: 1fr !important;
    }
    
    .s-block--banners .banner-entry.square-photos {
        height: 450px !important;
    }
}















/* Remove grayscale filter from out of stock product images */
.s-product-card-out-of-stock img,
.s-product-card-out-of-stock img.loaded,
.s-product-card-out-of-stock img.lazy,
.s-product-card-out-of-stock .s-product-card-image-cover,
.s-product-card-out-of-stock .s-product-card-image img {
    --tw-grayscale: grayscale(0%) !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
}

/* Remove gray background and overlays from out of stock cards */
.s-product-card-out-of-stock,
.s-product-card-out-of-stock .s-product-card-image,
.s-product-card-out-of-stock .s-product-card-content,
.s-product-card-out-of-stock::before,
.s-product-card-out-of-stock::after,
.s-product-card-out-of-stock .s-product-card-image::before,
.s-product-card-out-of-stock .s-product-card-image::after {
    background-color: transparent !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
}

/* Remove any overlay elements */
.s-product-card-out-of-stock::before,
.s-product-card-out-of-stock::after,
.s-product-card-out-of-stock .s-product-card-image::before,
.s-product-card-out-of-stock .s-product-card-image::after {
    content: none !important;
    display: none !important;
}

/* Keep product content visible and colorful */
.s-product-card-out-of-stock .s-product-card-content-title,
.s-product-card-out-of-stock .s-product-card-content-title a,
.s-product-card-out-of-stock .s-product-card-price,
.s-product-card-out-of-stock .s-product-card-rating {
    opacity: 1 !important;
    color: inherit !important;
}


/* Add custom CSS styles below */ 


















.s-block--photos-slider,
.s-block--photos-slider .s-slider-container,
.s-block--photos-slider .s-slider-swiper-wrapper,
.s-block--photos-slider
.s-block--photos-slider a {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
   width: 100vw !important;
  max-width: 100% !important;
}


.swiper-slide {
  border-radius: 0 !important;
   width: 100vw !important;
  
}

header, .store-header, .top-navbar { 
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-radius: 0 !important;
}
.s-block--photos-slider img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
}










.s-block--photos-slider {
  margin-top: 0!important;
  padding-top:0!important;
}

.store-header{
  background-color: #241f61;
  color: white;
}

.main-nav-container{
  background-color: #241f61;
  color: white;
}

.header-btn__icon{
  background-color: white;
}

.sicon-user-circle{
  color: #241f61;
}

.sicon-shopping-bag{
  color: #241f61;
}

.s-cart-summary-content{
  color: white;
}

.s-cart-summary-total{
  color: white;
}

.top-navbar .s-search-input{
  background-color: white;
}

.sicon-menu{
  color: white;
}

.square-photos{
  border-radius: 0px;
}