@media (min-width: 768px) {
section:nth-child(2 of section.landing-page-first-bannar) h1:before{
    content:"";
    background-image:url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/gZnzAK/1PsZ4pe8iHK8TbX8TI21Db2mIslgjlNJfwvToffR.png);
    width:159px !important;
    height:83px !important;
    display:block;
    background-size:cover;
    margin:auto;
    margin-bottom: 3rem;
}
}
/* Add custom CSS styles below */ 
.top-navbar {
  display: none;
}
.main-nav-container.fixed-pinned .navbar-brand img {
  max-height: 65px;
}
.main-menu li.root-level > a {
    padding: 0.5rem 1rem;
}

/* main banner */
section:nth-child(1 of section.landing-page-first-bannar) {
  background-size: cover;
}
section:nth-child(2 of section.landing-page-first-bannar) h1:before{
    content:"";
    background-image:url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/gZnzAK/1PsZ4pe8iHK8TbX8TI21Db2mIslgjlNJfwvToffR.png);
    width:318px;
    height:167px;
    display:block;
    background-size:cover;
    margin:auto;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
  section:nth-child(2 of section.landing-page-first-bannar) .container {
    width: 50%;
    margin-left: 2%;
  }
  .g_cat .grid {
    display: flex;
    flex-wrap: wrap;
}
}

section:nth-child(2 of section.landing-page-first-bannar) h1 {
  margin-top: 7rem;
  font-size: 36px;
  font-weight: 700;
  line-height: 45px;
}
section:nth-child(1 of section.landing-page-first-bannar) h1 {
    margin-top: 55%;
    font-size: 50px;
    font-weight: 900;
    line-height: 62px;
    text-shadow: 2px 2px 2px black, 
        -2px -2px 2px black, 
        -2px 2px 2px black, 
        2px -2px 2px black;
}
section:nth-child(2 of section.landing-page-first-bannar) p,
section:nth-child(1 of section.landing-page-first-bannar) p {
  font-size: 24px;
  line-height: 32px;
  margin-top: 1rem ;
}

/*section:nth-child(2 of section.landing-page-first-bannar) .w-\[100\%\],
section:nth-child(1 of section.landing-page-first-bannar) .w-\[100\%\] {
  width: 80%;
  margin-right: 5%;
}*/

/* categories */
.g_cat .mb-\[55px\] {
  margin: 2rem auto !important;
}

.g_cat {
  margin-bottom: 1rem;
}

.ads p {
  color: black;
}

@media (min-width: 768px) {
  .g_cat .swiper-wrapper {
    justify-content: center;
  }
}

/* offers */
.product_deadline {
  box-shadow: none;
}

.product_deadline {
  background-color: white;
  border-radius: 0.5rem;
}

.weeklyOffers  .flex.justify-between.h-full.flex-col-reverse.lg\:flex-row.swiper-slide.swiper-slide-active {
    display: flex;
    flex-direction: row;
}

.dead_line {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.product_deadline salla-add-product-button div {
  height: 100%;
}

.product_deadline .data .s-button-primary {
  color: #fff;
}

.ad-star-btn {
  background-color: var(--color-primary) !important;
}

.s-block--best-offers {
  margin: 2rem auto;
}


.s-product-card-image-cover,
.s-product-card-image-contain {
  -o-object-fit: cover;
  object-fit: cover;
  height: 300px;
}

.s-block--photos-slider:not(:first-of-type) {
  margin: 2rem 0;
}
.slider-bannars button {
  border: 1px solid var(--color-primary);
  background-color: white !important;
}

section:nth-child(2 of section.landing-page-first-bannar)  .container{
  max-height: 555px;
}

.g_features {
  margin: 2rem 0 !important;
}
.outof-stock {
  color: white;
}

.banner_ad .bg-cover {
  background-position: center;
  background-size: cover;
}
section.weeklyOffers p {
line-height:1.2
}

.banner_ad .item-text {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

footer .s-apps-icons h3,
footer p.text-sm.text-\[\#636363\],
footer h2.mb-4.text-sm.font-medium,
footer h2.text-xl.font-semibold {
  color: #fff;
}

footer input#mc-embedded-subscribe {
  color: var(--color-primary);
  background-color: #fff;
}
.copyright-text p,
.copyright-text p a:hover {
  color: white !important;
}

.store-footer a:hover {
  color: #ae445a;
}

footer .relative.bg-\[var\(--s-color\)\].py-8 {
  padding-bottom: 0;
}

footer .m-auto.flex.justify-start.max-w-\[1300px\].items-center.flex-wrap.max-lg\:justify-start.gap-9.md\:gap-6.px-5 {
  padding: 1rem;
  text-align: center;
  justify-content: center;
}

.s-payments-list-item {
  background-color: white;
}
footer img {
    filter: brightness(0);
}

@media (min-width: 992px) {
  .rtl\:lg\:pl-20:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 1rem;
  }
}

@media (max-width: 767px) {
  .s-block--best-offers {
    margin: 1rem auto;
  }

 /* section:nth-child(1 of section.landing-page-first-bannar) {
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.25);
    background-blend-mode: overlay;
  }*/

  section:nth-child(2 of section.landing-page-first-bannar) .md:h-screen,
  section:nth-child(1 of section.landing-page-first-bannar) .md:h-screen {
    max-height: 425px;
  }

  section:nth-child(1 of section.landing-page-first-bannar) .container,
  section:nth-child(2 of section.landing-page-first-bannar) .container {
    width: fit-content;
    margin-left: auto;
  }

  .gap-8 {
    gap: 0.5rem;
  }

/*section:nth-child(1 of .g_cat) {
    margin-bottom: 2rem;
}

section:nth-child(2 of .g_cat) .container {
overflow:visible
}*/

  section:nth-child(2 of section.landing-page-first-bannar) .w-\[100\%\],
  section:nth-child(1 of section.landing-page-first-bannar) .w-\[100\%\] {
    width: 100%;
    margin-right: auto;
    text-align: center !important;
  }

  section:nth-child(2 of section.landing-page-first-bannar) h1,
  section:nth-child(1 of section.landing-page-first-bannar) h1 {
    width: 100%;
    margin-top: 60%;
    font-size: 1.25rem;
    line-height: 1.5;
    text-align: center;
    padding: 0.5rem;
  }

   section:nth-child(2 of section.landing-page-first-bannar) h1 {
    margin-top: 5rem;
    border-radius: 0.5rem;
    background-color: rgb(255 255 255 / 21%);
  }

  .ads .img .over .text {
    text-align: center;
    justify-content: center;
    align-items: center !important;
  }

.banner_ad .item-text {
  font-size: 18px;
}

.banner_ad .img1 .text {
    width: 80%;
}
  .g_cat h3 {
    font-size: 1rem;
  }

  .g_cat .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .s-products-slider-card {
    max-width: 215px !important;
  }
  .mb-\[56px\] {
    margin-bottom: 25px;
  }

  .footer-is-light .store-footer {
    padding: 0;
  }

  .mb-\[120px\] {
    margin-bottom: 70px;
  }
  
  salla-user-menu.hydrated {
    width: fit-content;
    display: block;
    margin: auto;
  }

  footer .flex.justify-center.gap-6 {
    flex-direction: column;
  }

  #contact-slot, .contact-custom {
    background: transparent;
  }
}
@media (max-width: 767px) {
    .g_cat .grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }
}
.main-nav-container.fixed-header .inner {
    transform: translate3d(0, 0, 0);
    filter: drop-shadow(2px 4px 6px black) !important;
}
.s-product-options-option-label small {
    display: none;
}