/* Add custom CSS styles below */ 
:root{
  --main-color: #73638E;
  --background-color: #fff;
}
body {
    background-color: var(--background-color) !important;
}

/* HEADER */
.top-navbar {
    background-color: #665593;
    color: #fff;
}
.btn--rounded-gray {
    background-color: #71619a;
}
.top-navbar .s-search-input {
    background-color: #71619a;
}
div#mainnav {
    background-color: var(--background-color);
    box-shadow:none;
}

/* NAV MOBILE */

@media only screen and (max-width: 1024px) {
    
    .mm-spn.mm-spn--navbar.mm-spn--main:where([dir="rtl"], [dir="rtl"] *):after {
        padding-right: 0.75rem;
        content: "أقسام المتجر";
    }
    
}

button.btn--close.close-mobile-menu.sicon-cancel.lg\:hidden {
    border: 1px solid;
    left: 5px;
    top: 2px;
    box-shadow: 2px 2px var(--main-color);
    height: 2.8rem;
    width: 3rem;
    color:var(--main-color);
}

@media only screen and (max-width: 600px) {
button.btn--close-sm.close-mobile-menu.sicon-cancel.hidden {
    background: #ff9045;
}
}

/* HERO BANNER */ 

section.s-block.s-block--fixed-banner.wide-placeholder{
margin-top:0;
}
#main-content > section:nth-child(2) > div > a {
  margin-bottom: 20px;  
}
section.s-block.s-block--fixed-banner.wide-placeholder:not(:nth-of-type(3)){
margin-bottom: 0px;
}

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

.banner--fixed img{
  border-radius: 0;
}

/* CATEGORIES */

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  a.banner-entry.square-photos {
    height: 270px !important;
    border-radius: 0px !important;
}
}

@media (max-width: 767px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    a.banner-entry.square-photos {
    height: 210px !important;
    border-radius: 0px !important;
}
}
@media (min-width: 640px) {
    .two-row .banner-entry:first-child {
        grid-column: span 1 / span 1;
        grid-row: span 1 / span 1;
    }
}

.two-row .banner-entry:first-child {
    padding: 1rem;
}

.two-row .banner-entry:first-child h3 {
    font-size: 1.25rem;
    line-height: 38px;
    
}
h3.text-with-border{
  height: fit-content !important;
  border: 1px solid !important;
  border-radius:20px !important;
}
a.banner-entry.square-photos.has-overlay.with-hover {
    display: flex;
    justify-content: center;
    align-items: center;
}

a.banner-entry.square-photos.has-overlay.with-hover {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--main-color);
    border-radius:20px !important;
}


/* PRODUCTS */
@media (min-width: 600px) {
.s-product-card-fit-height .s-product-card-image {
    height: 13rem !important;
    max-height: 18rem !important;
}
}
@media (max-width: 600px) {
    .s-product-card-fit-height .s-product-card-image {
        height: 17rem;
        max-height: 20rem !important;
    }
}

.s-product-card-vertical .s-product-card-image {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}  
  

.s-product-card-image{
background:var(--background-color);
}

.s-product-card-content-title{
text-align: center;
}

.s-product-card-content-sub {
    justify-content: center;
}
button.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
    background-color: #73638e !important;
    color: white !important;
}
.s-button-btn, .s-price-range-number-input {
    border-radius: 10px;
}

.s-button-primary-outline:hover{
    color:white
}
.s-slider-block__title h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000 !important;
    line-height: 1.2;
    position: relative;
}
.s-slider-block__title-right h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px; 
}

.s-slider-block__title-right h2::after {
  content: "";
  position: absolute;
  right: 0;             
  bottom: 0;
  width: 78%;           
  height: 3px;           
  background-color: #6b5ca5; 
  border-radius: 2px;
}

/* FEATURES */
.s-block--features__item p {
    display: none !important;
}
.s-block--features__item h2 {
  color: #fff !important;
  font-size: 1rem;
}
.s-block--features__item {
     background: #73638e;
     border: 1px solid var(--main-color);
     border-radius:20px !important;
     flex-direction: row !important;
     gap: 15px;
     justify-content: center;
     height: 100px !important;
}

.s-block--features__item .feature-icon i {
    color: white;
}
section.s-block.s-block--features.container {
    margin-top: 0px !important;
    background-color: #73638e;
    max-width: unset;
    height: 100px !important;
}
@media (max-width: 768px) {
  .grid-cols-\[repeat\(2\2c minmax\(0\2c 1fr\)\)\] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0px !important;
}
  .s-block--features__item:first-child {
    grid-column: span 1;
}
  .s-block--features__item {
    padding: 0px;
    gap: 7px !important;
}
  .s-block--features__item h2 {
    font-size: 9px !important;
}
  .s-block--features__item .feature-icon {
    width: 3rem !important;
}
}

/* TESTIMONIALS */
@media (min-width:768px) {
.s-reviews-container .swiper-slide {
    height: 180px;
}
}
.s-reviews-container {
        padding-bottom: 60px;
}
h1.s-reviews-header {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  text-align: center;
  font-size: 2.1rem;
}

h1.s-reviews-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;      
  height: 3px;
  background-color: #6b5ca5;
  border-radius: 2px;
}

.s-reviews-header-wrapper {
    justify-content: center;
}
a.s-reviews-display-all {
    display: none;
}
.s-reviews-testimonial {
    border: 1px solid var(--main-color);
    border-radius: 5px;
}

#main-content > section:nth-child(8) {
    margin-top: 50px;
    margin-bottom: 0px;
}


/* START FOOTER */
.store-footer h3 {
        color: #73638e;
}
.s-contacts-icon {
    background-color: #73638e;
    color: #fff;
}
.s-social-link a {
    background-color: #73638e;
    color: #fff;
}

#app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20:before {
    content: "";
    background: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/zvKGYl/cuRfxBHdc0prCwaHJ3FLVJKCb6P2snevvHPf4nt2.jpg) center / cover no-repeat;
    display: block;
    max-width: 5rem;
    height: 4rem;
    margin-bottom: 5px;
}

.store-footer a.flex.items-center.m-0 h3 {
    display: none;
}

.container.grid.grid-col-1.lg\:grid-cols-6.gap-8.lg\:gap-6{
display: flex;
gap: 0px;
justify-content: space-evenly;
}
salla-apps-icons.lg\:col-span-2.rtl\:lg\:pr-20.ltr\:lg\:pl-20.hydrated{
display:none;
}
.flex.items-center.m-0 h3 {

text-shadow: 0px 0px 2px #ffffff85;
}

.md\:flex.items-center.justify-between.py-4.container.text-center{
border-top:1px solid #e9e9e9;
background-color:var(--background-color) !important;
}
.copyright-text p{
  color:black;
}
.store-footer__inner{
border-top:1px solid #e9e9e9;
background-color: var(--background-color) !important;
}
@media (max-width:992px){
.container.grid.grid-col-1.lg\:grid-cols-6.gap-8.lg\:gap-6{
      flex-direction:column;
      justify-content:center;
      align-items:center;
      text-align:center;
  }
  .store-footer a {
      justify-content:center;
      align-items:center;
  }
  .s-social-list {
  justify-content:center;
      align-items:center;
      }
  p.max-w-sm.leading-6.mb-6{
  max-width: 99%;
    text-align: center;
    }
   .flex.rtl\:space-x-reverse.space-x-2.items-end{
   margin-bottom:1rem;
   }
   .s-menu-footer-item:last-child{
    margin-bottom:1rem;
   }
   .mb-6{
    margin-bottom:1rem !important;
   }
    footer .store-footer__inner .container div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20:before {
        margin: 0 auto;
    }
    #app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > p:nth-child(3){
            margin-bottom: 10px;
    }
   
}