@import url("https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap");

:root {
  --title-color: black;
  --subtitle-color: #b68d65;
  --s-slider-block__display-all: #b68d65;
  --s-slider-block__display-all-content: " تعرف على المزيد";
  --start-color: #eac1a2;
  --end-color: #b68d65;
  --gradient-color: linear-gradient(
    90deg,
    var(--start-color) 0%,
    var(--end-color) 100%
  );
  --gradient-product-card-button-default: linear-gradient(
    90deg,
    var(--start-color) 0%,
    var(--end-color) 100%
  );
  --gradient-product-card-button-hover: linear-gradient(
    270deg,
    var(--start-color) 0%,
    var(--end-color) 100%
  );
}
* {
  font-family: "Zain", sans-serif;
}
/* start of icons */
.header-btn__icon {
  border: none;
}
.s-cart-summary-count {
  background: var(--gradient-color);
}
.sicon-shopping-bag:before {
  content: "\e906";
}
.sicon-user-circle:before {
  content: "\f078";
}
.s-cart-summary-content {
  display: none;
}
/* end of icons */

/* start of main banner */
.store-header + .s-block.s-block--fixed-banner {
  margin-top: 0;
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
  .banner {
    width: 100%;
    margin: 0;
  }
  img {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
}
/* end of main banner */

.s-block.s-block--fixed-banner:last-of-type {
  margin-bottom: 0;
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
  .banner {
    width: 100%;
    margin: 0;
  }
  img {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
}
/* start of categories */
.s-block--banners {
  margin-block-end: 3rem;
  .s-block__title {
    .right-side {
      margin-inline: auto;
      text-align: center;
      h2 {
        font-size: 36px;
      }
      h2::after {
        content: "خيارات متنوعة لاحتياجاتك انتي و طفلك";
        display: block;
        font-size: 24px;
        font-weight: 400;
        color: var(--subtitle-color);
        margin-block-start: 0.25rem;
        opacity: 0.8;
      }
    }
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    justify-content: center;

    @media (max-width: 1024px) {
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem;
    }
    @media (max-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
      gap: 3rem;
    }
    .banner-entry {
      background: unset;
      overflow: visible;
      &.with-hover:hover:after {
        opacity: 0 !important;
      }
      &:first-child {
        h3 {
          font-size: 1.25rem !important;
          line-height: 38px !important;
        }
      }

      &:first-child {
        grid-column: unset !important;
        grid-row: unset !important;
      }
      &:nth-child(1),
      &:nth-child(2),
      &:nth-child(3),
      &:nth-child(4) {
        grid-column: span 1;
      }

      &:nth-child(5) {
        grid-column: 2 / 3;
      }

      &:nth-child(6) {
        grid-column: 3 / 4;
      }
      @media (max-width: 1024px) {
        &:nth-child(5) {
          grid-column: 2 / 3;
        }

        &:nth-child(6) {
          grid-column: 3 / 4;
        }
      }
      @media (max-width: 768px) {
        &:nth-child(5),
        &:nth-child(6) {
          grid-column: span 1;
        }
      }
      h3 {
        border: 0 !important;
        opacity: 1;
        span {
          width: 100%;
          left: 50%;
          transform: translateX(-50%);
          display: block;
          position: absolute;
          bottom: 0;
          color: var(--title-color);
          margin-block: -35px;
        }
      }
    }
  }
}

/* end of categories */

/* start of products*/
.s-slider-block__title {
  .s-slider-block__title-right {
    h2 {
      font-size: 36px;
    }
  }
  .s-slider-block__title-left {
    .s-slider-block__title-nav {
      --icon-fill: white;

      button {
        background: var(--start-color);
        background: var(--gradient-color);
        svg {
          fill: var(--icon-fill);
        }
      }
    }

    .s-slider-block__display-all {
      font-size: 0;
      color: transparent;
      &::after {
        content: var(--s-slider-block__display-all-content);
        font-size: 16px;
        color: var(--s-slider-block__display-all);
      }
    }
  }
}
/* start of add to cart btn style */
.product-single {
  salla-add-product-button .s-button-element.s-button-btn {
    border-radius: 0.25rem;
    background: var(--gradient-product-card-button-default);
    border: none;
    color: var(--color-btn-card);
    transition: all 0.4s ease-in-out;
    transform: scale(1);
  }

  salla-add-product-button .s-button-element.s-button-btn:hover {
    background: var(--gradient-product-card-button-hover);
    transform: scale(1.05);
  }
  .s-add-product-button-main .s-add-product-button-mini-checkout {
    --salla-fast-checkout-button-border-radius: 0.25rem;
  }
}
/* end of add to cart btn style */
.s-product-card-entry {
  border: 1px solid #f6f3ee;
  border-radius: 0;
}
.s-products-slider-card {
  width: 360px;
  max-width: 360px;
  max-height: 400px;
}
.s-button-text {
  span {
    display: none;
  }
  .sicon-shopping-bag {
    font-size: 24px;
    color: black;
  }
}
.s-button-primary-outline {
  border: none;
  width: auto;
  position: absolute;
  bottom: 20px;
  left: 20px;
  transition: background-color 0.3s ease, color 0.3s ease, fill 0.3s ease;

  &:hover {
    background-color: transparent;
  }
}

.s-product-card-content-main {
  order: 2;
}
.s-product-card-content-sub {
  order: 1;
  margin: 0;
  .s-product-card-sale-price {
    display: flex;
    gap: 8px;
    * {
      font-weight: 500;
      color: #445857 !important;
    }
    h4 {
      order: 2;
    }
    span {
      font-weight: 300;
    }
  }
}
.s-product-card-content-footer {
  order: 3;
}
.s-product-card-content-title a {
  max-width: 240px;
  font-weight: 400;
}
.s-product-card-image {
  border-radius: 0 !important;
}

/* end of products*/

/* start of footer */
footer,
.store-footer__inner {
  background: var(--gradient-color) !important;
  border-style: solid;
}
footer .container {
  flex-wrap: wrap;
}
.store-footer {
  --text-color: white;
  --hover-opacity: 0.8;
  margin-block-start: 0;
  & *,
  p {
    color: var(--text-color);
  }

  & svg {
    & * {
      fill: var(--text-color);
      stroke: var(--text-color);
    }
  }

  & a {
    color: var(--text-color);

    &:hover {
      opacity: var(--hover-opacity);
    }
  }
  a[href="https://salla.sa/80d7cdfb-f4b9-4942-9fd8-0b23faf0a5f7/"] h3,
   a[href="https://shouq-sho.com/"] h3
  {
    text-indent: -9999px;
    background-image: url("https://i.ibb.co/HDfJLSvq/shouq.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 188px;
    height: 99px;
    display: block;
  }
}

/* end of footer */