/* Slider */

@font-face {
  font-family: "Gotham";
  src: url("/fonts/Gotham-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("/fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

.swiper {
  display: flex;
  flex-direction: column;
  gap: 16px;

  .swiper-button-next,
  .swiper-button-prev {
    align-items: center;
    background: rgba(0, 0, 0, 0.13);
    border-radius: 100%;
    box-shadow: 0 0 1px rgba(86, 105, 115, 0.15),
      0 2px 4px rgba(86, 105, 115, 0.15);
    display: flex;
    height: 40px;
    justify-content: center;
    transition: all ease-in 0.3s;
    width: 40px;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: rgba(47, 68, 108, 0.8);
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    content: "";
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 24px;
    width: 24px;
  }

  .swiper-button-prev::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m15 6-6 6 6 6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .swiper-button-next::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 18 6-6-6-6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .swiper-pagination {
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid #dfe7ea;
    box-sizing: border-box;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 0 auto;
    max-width: fit-content;
    min-height: 24px;
    padding: 0 16px;
    position: initial;

    .swiper-pagination-bullet {
      background: #dfe7ea;
      height: 10px;
      margin: 0;
      opacity: 1;
      width: 10px;
    }

    .swiper-pagination-bullet-active {
      background: #041e50;
    }
  }

  .swiper-pagination-lock,
  .swiper-pagination:empty {
    display: none;
  }
}

/* Banner Slider Section */
.banner-slider-section {
  .swiper {
    width: 100%;
  }
}

/* Image With Text Columns Section */
.image-with-text-columns-section {
  padding: 0;

  p {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;

    > strong {
      font-weight: bold;
    }

    > em {
      display: block;
      font-size: 12px;
      font-weight: 400;
      line-height: 18px;
      margin-top: 12px;
    }
  }
}

/* Info Card Section */
.info-card-section {
  .swiper {
    padding: 0 0 12px;
    position: relative;

    .swiper-pagination {
      bottom: 0;
      left: 50%;
      position: absolute;
      transform: translateX(-50%);
    }
  }
}

/* Article Slider Section */
.article-slider-section {
  .swiper {
    width: 100%;
  }

  .swiper-wrapper {
    justify-content: center;
  }

  .article__content-text {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      display: -webkit-box;
      font-size: 1.5rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      line-height: 30px;
      margin: 0 0 16px;
      max-height: 120px;
      min-height: 60px;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
    }

    p {
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 6;
      display: -webkit-box;
      font-size: 1rem;
      font-weight: 400;
      line-height: 24px;
      margin: 0;
      min-height: 120px;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
    }
  }
}

.article-slider-section__type-2 {
  .article__container {
    border: 0;
    min-height: 400px;
    padding: 0;

    .article__image {
      margin: 0;
    }

    .article__content {
      gap: 8px;
      border: 1px solid #dfe7ea;
      padding: 24px 16px;

      .article__content-link {
        a {
          gap: 8px;
          text-decoration: none;
        }

        a::after {
          content: "";
          background: url("https://electrolux.vteximg.com.br/arquivos/article-leia-mais-deco.svg")
            no-repeat center;
          display: block;
          height: 20px;
          width: 20px;
        }
      }
    }

    .article__content-text {
      p {
        -webkit-line-clamp: 3;
        min-height: 72px;
      }
    }
  }
}

/* Review Section */
.review-section {
  .section-title {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: #fff;
      font-size: 24px;
      font-weight: 700;
      line-height: 1;
      margin: 0 auto;
      max-width: 340px;
      text-transform: initial;
      width: 100%;
    }
  }
}

/* Triple Banner Section */
.triple-banner-section {
  .swiper-wrapper {
    gap: 0 8px;
  }
}

/* Product Shelf With Comparator Section */
.product-shelf-with-comparator-section {
  .swiper {
    width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  /* Review Section */
  .review-section {
    .section-title {
      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-size: 36px;
        max-width: unset;
      }
    }
  }
}

@media screen and (min-width: 1280px) {
  /* Image With Text Columns Section */
  .image-with-text-columns-section {
    p {
      font-size: 18px;
      font-weight: 300;
      line-height: 22px;

      > em {
        font-size: 14px;
      }
    }
  }
}
