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

/* HEADER */

div#mainnav {
    background-color: var(--background-color);
    box-shadow:none;
}

/* HERO BANNER */ 

section.s-block.s-block--fixed-banner.wide-placeholder{
margin-top:0;
}

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

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

#app > div.app-inner.flex.flex-col.min-h-full > section.s-block.s-block--banners.container > div.s-block__title{
justify-content: center;
text-align: center;
}
#app > div.app-inner.flex.flex-col.min-h-full > section.s-block.s-block--banners.container > div.s-block__title > div{
padding-left: 0rem;
}
#app > div.app-inner.flex.flex-col.min-h-full > section.s-block.s-block--banners.container > div.s-block__title > div > h2{
font-size: 20px;
}
#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(5) > div.s-block__title > div > h2:after{
 content:"مجموعة مختارة بعناية لتمنحك إطلالة ساحرة!";
 display:block;
  font-weight:400;
  font-size:0.9rem;
  padding:5px 0;
  text-align:center;
}

@media (min-width: 768px) {
    #app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(5) > div.grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas: 
            "a b c d"
            ". e f .";
    }
}

@media (max-width: 767px) {
    #app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(5) > div.grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: 
            "a b"
            "c d"
            "e f";
    }
}

@media (min-width: 640px) {
    .two-row .banner-entry:first-child {
        grid-column: span 1 / span 1;
        grid-row: span 1 / span 1;
    }
}

#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(5) > div.grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 > a:nth-child(5){
grid-area: f;
}
#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(5) > div.grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 > a:nth-child(6){
grid-area: e;
}

.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:30px !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:30px !important;
}

/* PRODUCTS */

.s-block__title h2,
.s-slider-block__title h2{
  color: #ac1834;
}

.s-block.s-block--best-offers .s-slider-block__title h2:after{
 display:block;
  font-weight:400;
  font-size:0.9rem;
  padding:5px 0
}

.s-block.s-block--best-offers:nth-of-type(3) .s-slider-block__title h2:after{
    content:"اكتشفى أحدث منتجاتنا";
}

.s-block.s-block--best-offers:nth-of-type(5) .s-slider-block__title h2:after {
content: "الأفضل بين الأفضل";
}

.s-block.s-block--best-offers:nth-of-type(7) .s-slider-block__title h2:after {
content: "الأسود يليق بكِ";
}

.s-slider-block__display-all{
  font-weight: 900;
  min-width: max-content;
  padding:2px;
  border-bottom:2px solid var(--main-color);
}

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

.s-product-card-content-sub {
    justify-content: center;
}

.s-button-btn, .s-price-range-number-input {
    border-radius: 20px;
}

.s-product-card-fit-height .s-product-card-image {
    height: 11rem;
    max-height: 20rem;
}

@media (max-width:600px){
  .s-product-card-fit-height .s-product-card-image {
    height: 16rem;
    max-height: 20rem !important;
  }
}
/* FEATURES */

.s-block--features__item {
    background: white;
    border: 1px solid var(--main-color);
     border-radius:20px !important;
}

/* START FOOTER */

.flex.items-center.m-0 h3{
    visibility: hidden;
    }

footer .store-footer__inner .container 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/GYKpWl/vdXoSNnEM34ySe1ddMiZwU1AKLd5JZ7uDtg8p76W.jpg) center / cover no-repeat;
    display: block;
    max-width: 5.5rem;
    height: 4.5rem;
    margin-inline:auto;
}

.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;
   }
}

/* Special Section */

#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) {
    background-image: url('https://i.postimg.cc/d1npxHk1/background.png');
    background-size: cover;
    background-position: center;
    padding: 80px 10px 50px;
    text-align: center;
}

#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.s-block__title > div > h2{
    font-size: 3rem !important;
    font-weight: bold;
    font-family: 'cursive';
    margin-inline:auto;
}
#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.s-block__title > div > h2:after{
content:"";
}
#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.s-block__title{
justify-content: center;
}

#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 .banner-entry {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 .banner-entry:before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-25deg);
}
#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 .banner-entry:hover::before {
    animation: shine .75s;
}
@keyframes shine{
100% {
    left: 125%;
  }
}
@media (max-width: 768px) {
    #app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) {
        padding: 50px 15px 30px; /* إضافة مسافة من الجوانب */
    }

    #app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.s-block__title > div > h2 {
        font-size: 2rem !important;
    }

    #app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px; /* إضافة مسافة من الجوانب */
    }

    #app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(7) > div.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 .banner-entry {
        height: 250px;
        width: 90%; /* جعل العرض أقل من عرض الشاشة */
        margin: 0 auto; /* توسيط العناصر */
        border-radius: 8px;
    }
}