:root {
  --color-primary: #37a495 !important;
  --color-primary-reverse: #ffffff !important;
}

.s-button-primary-outline:hover {
    background: #2d8a7d !important;
}

.s-user-menu-trigger {
    background-color: transparent;
}
body.index {
    background-color: #fff;
}
.s-comments-product {
    background-color: transparent;
}

/* Header color - override */
header.store-header {
    background: #1a6b5f !important;
}
.top-navbar .s-menu-topnav-list>a, a.s-contacts-topnav-link {
    color: #fff;
}

.header-btn__icon {
    border-color: rgb(16 16 16 / 30%);
}

/*First Banner */
section:first-of-type {
    margin: 0;
}
salla-slider.photos-slider .swiper-slide {
    margin:0;
    width: 100%;
    padding:0;
}
salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
      padding: 0;
}
.s-slider-v-centered .s-slider-block__title-nav button.swiper-button-disabled{
      visibility: hidden;
}
.s-block--photos-slider.repeated-block {
    margin-top: 0;
}

/* Banner border-radius: Desktop vs Mobile */
@media (min-width: 769px) {
  salla-slider.photos-slider .swiper-slide,
  .s-block.s-block--photos-slider img {
    border-radius: 0 !important;
  }
}
@media (max-width: 768px) {
  salla-slider.photos-slider .swiper-slide,
  .s-block.s-block--photos-slider img {
    border-radius: 0 0 24px 24px !important;
    overflow: hidden;
  }
}

/*Fixed Banner*/
.banner--fixed img{
    background-color: unset;
}

/***** Banners section subtitle (منفصل تمامًا عن كود الخط) *****/
.index .s-block.s-block--banners.container .s-block__title h2:after {
    content: "تسوق احدث المنتجات المميزة المضافة جديد";
    display: block;
    font-weight: 400;
    font-size: 29px;
    margin-top: 5%;
    position: static;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    transform: none;
    left: auto;
    bottom: auto;
}

/* Section Titles - centered + underline (يشمل كل أنواع العناوين: أقسام، سلايدرز، منتجات مميزة...) */
.index .s-block__title,
.index .s-slider-block__title,
.index .s-slider-block__title-left {
    justify-content: center !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: flex !important;
}
.index .s-block__title h2,
.index .s-slider-block__title h2,
.index .s-slider-block__title-left h2 {
    font-size: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    width: 100%;
}
.index .s-block__title h2::after,
.index .s-slider-block__title h2::after,
.index .s-slider-block__title-left h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}
.s-block__title .right-side:where([dir=rtl],[dir=rtl] *),
.s-slider-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding: 0;
}
@media (max-width: 768px){
.index .s-block.s-block--banners.container .s-block__title h2:after {
    font-size: 14px;
}
.index .s-block__title h2,
.index .s-slider-block__title h2,
.index .s-slider-block__title-left h2 {
    font-size: 20px;
}
}

/*btn*/
.s-button-primary-outline {
    background: var(--color-primary);
    color: white;
   filter: drop-shadow(1px 2px 2px black);
}

/*Product slider*/
h3.s-product-card-content-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
    background: unset;
}
.s-product-card-entry {
    background: none;
    border: 2px solid  var(--color-primary);
}
.s-product-card-vertical {
    border: 2px solid  var(--color-primary);
}
salla-add-product-button, img.s-product-card-image-cover.lazy.loaded {
    transition: 0.2s;
}
salla-add-product-button:hover, img.s-product-card-image-cover.lazy.loaded:hover {
    transform: scale(1.1);
}
.s-products-list-vertical-cards {
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.s-products-list-wrapper {
    background: none;
}
.index  .swiper-pagination {
    display: none;
}
@media (max-width:767px){
.s-button-primary-outline {
    padding-right: 5px;
    padding-left: 5px;
}
    .s-products-slider-card{
        width: 55%;
        }
    .s-products-list-vertical-cards{
        grid-template-columns: 1fr 1fr;
        }
    .s-product-card-entry {
        width: 11.5rem;
       }
}
@media (max-width: 400px) {
    .s-product-card-entry {
        width: 10.5rem;
    }
}
@media (max-width: 360px) {
    .s-product-card-entry {
        width: 9.8rem;
    }
}

/*Category*/
.md\:grid-cols-3 {
      grid-template-columns: 1fr 1fr 1fr 1fr;
  }
.two-row .banner-entry:first-child {
    grid-column: span 1/span 1;
    grid-row: span 1/span 1;
}
.lazy__bg.lazy.entered.loaded {
    background-repeat: no-repeat;
    background-size: contain;
}
.banner-entry {
    height: 180px;
    background-color: unset;
    transition: all .3s ease-in-out;
}
a.banner-entry:hover {
    transform: scale(1.05);
    transition: transform 1s ease;
    z-index:1;
}
.banner--fixed img {
    background: unset;
}
@media (max-width: 768px){
.md\:grid-cols-3 {
      grid-template-columns: 1fr 1fr;
  }
.banner-entry{
      height: 95px;
  }
}

/*features*/
.s-block--features__item {
    background-color: transparent;
}

/*footer*/
.footer-is-light .store-footer .store-footer__inner {
    background: #1a6b5f !important;
    color: #fff;
    border: none;
}
.footer-is-light .store-footer .store-footer__inner *{
    border-color: #ffffff61;
}
@media (max-width: 767px) {
    footer .grid {
        grid-template-columns: 1fr;
    }
    .store-footer__inner *:not(li.s-social-link)  {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
footer .s-social-list{
    justify-content: center;
}
    salla-payments.s-payments-list.hydrated li {
    margin-left: 0;
    margin-right: 0;
}
}
/*Product page*/
salla-add-product-button:hover {
    transform: scale(1.06) !important;
}