/* Add custom CSS styles below */ 
body#app.index{
    background: white;
    }
    .lazy__bg.lazy.entered.loaded{
        background-size: contain;
        background-repeat: no-repeat;
    }
    a.banner-entry.square-photos {
        background: transparent;
    }
    img {
        background: transparent !important;
        border-radius:0;
    }
    .two-row .banner-entry:first-child {
    grid-column: span 1 / span 1;
    grid-row: span 1 / span 2;
}
    .s-block--banners .grid.two-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 768px) {
     .s-block--banners .grid.two-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
   
}
section.s-block--banners:nth-of-type(2) .banner-entry{
height: 95px !important;
}
}





salla-products-slider .s-slider-block__title h2 {
  color: #8F56B2;
  font-size:24px;
}
.s-product-card-entry,
custom-salla-product-card.s-product-card-entry {
    border: 2px solid #8F56B2;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.s-product-card-entry:hover,
custom-salla-product-card.s-product-card-entry:hover {
  transform: scale(0.97); /* Zoom out slightly */
  box-shadow: none;       /* Optional: remove shadow on hover */
}
/* Product Price */
.s-product-card-price {
    color: #8F56B2;
    text-align: center ;
}
.s-product-card-content-sub {
    text-align: center;
     display: inline-block;
}
.s-product-card-content-title a {
    
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: block;
}
/* Change button background and text color */
.s-button-btn.s-button-primary-outline {
  background-color:#8F56B2;
  color: white ;
 
}

/* Remove hover effect */
.s-button-btn.s-button-primary-outline:hover {
  background-color:#8F56B2 ;
  color: white;

}
.s-block__title h2 {
    border: 2px solid #8F56B2;       
    border-radius: 10px;          
    padding: 10px 20px;      
    display: inline-block;  
    color: #8F56B2; 
    font-size: 20px;    
     
                 
}/* كود غشيم لتغيير خلفية شريط الأقسام فقط */
.main-nav-container {
  background-color: #8e57b0 !important;
  box-shadow: none !important;
}

/* تغيير لون الروابط داخل الشريط */
.main-nav-container a {
  color: #ffffff !important;
}

/* الروابط عند المرور */
.main-nav-container a:hover {
  color: #f3e8fc !important;
}
/* تكبير اللوجو في الهيدر */
.navbar-brand img {
    height: 80px !important; /* ارتفاع مخصص */
    max-height: unset !important; /* يلغي الحد الأقصى */
    width: auto !important; /* يحافظ على النسبة */
    /* إضافة خلفية بنفسجية للصفحة */
body#app.index {
    background-color: #8e57b0 !important;
}

/* باقي الأكواد الموجودة في ملف CSS */
.lazy__bg.lazy.entered.loaded{
    background-size: contain;
    background-repeat: no-repeat;
}

a.banner-entry.square-photos {
    background: transparent;
}

img {
    background: transparent !important;
    border-radius: 0;
}

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

.s-block--banners .grid.two-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .s-block--banners .grid.two-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    section.s-block--banners:nth-of-type(2) .banner-entry {
        height: 95px !important;
    }
}

.salla-products-slider .s-slider-block__title h2 {
    color: #8F56B2;
    font-size: 24px;
}

.s-product-card-entry,
custom-salla-product-card.s-product-card-entry {
    border: 2px solid #8F56B2;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s-product-card-entry:hover,
custom-salla-product-card.s-product-card-entry:hover {
    transform: scale(0.97); /* Zoom out slightly */
    box-shadow: none; /* Optional: remove shadow on hover */
}

/* Product Price */
.s-product-card-price {
    color: #8F56B2;
    text-align: center;
}

.s-product-card-content-sub {
    text-align: center;
    display: inline-block;
}

.s-product-card-content-title a {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: block;
}

/* Change button background and text color */
.s-button-btn.s-button-primary-outline {
    background-color: #8F56B2;
    color: white;
}

/* Remove hover effect */
.s-button-btn.s-button-primary-outline:hover {
    background-color: #8F56B2;
    color: white;
}

.s-block__title h2 {
    border: 2px solid #8F56B2;
    border-radius: 10px;
    padding: 10px 20px;
    display: inline-block;
    color: #8F56B2;
    font-size: 20px;
}

/* تغيير خلفية شريط الأقسام فقط */
.main-nav-container {
    background-color: #8e57b0 !important;
    box-shadow: none !important;
}

/* تغيير لون الروابط داخل الشريط */
.main-nav-container a {
    color: #ffffff !important;
}

/* الروابط عند المرور */
.main-nav-container a:hover {
    color: #f3e8fc !important;
}

/* تكبير اللوجو في الهيدر */
.navbar-brand img {
    height: 80px !important; /* ارتفاع مخصص */
    max-height: unset !important; /* يلغي الحد الأقصى */
    width: auto !important; /* يحافظ على النسبة */
}