﻿.trending-categories__products .home-page .item-box {
  width: 100%;
}

.our-brands__products .home-page .item-box {
  width: 100%;
}

.trending-categories__title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 24px;
  color: #444;
}

.trending-categories__products .product-grid {
  margin-bottom: 0
}

.trending-categories__subtitle {
  font-size: 25px;
  text-align: center;
  margin-bottom: 24px;
  color: #444;
}

.trending-categories .item-box {
  position: relative;
  width: 100%;
  text-align: left;
}

.trending-categories .trending-categories__lists {
  display: flex;
  gap: 15px 25px;
  justify-content: center;
  flex-wrap: wrap;
  white-space: nowrap;
  margin-bottom: 24px;
}

.trending-categories .trending-categories__lists::-webkit-scrollbar {
  display: none;
}

.trending-categories .trending-categories__lists .category-link {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  display: inline-block;
  white-space: nowrap; /* Ensure text doesn't wrap */
  padding-bottom: 4px;
  color: #444;
}

.trending-active {
  text-decoration: underline;
}

.trending-categories #trending-categories-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trending-categories .trending-categories__banner {
  height: 136px;
  flex: none;
  position: relative;
}

.trending-categories .trending-categories__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
}

.trending-categories .trending-categories__banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgb(2, 0, 36);
  background: linear-gradient(0deg, rgba(2, 0, 36, 1) 0%, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.trending-categories .trending-categories__banner .trending-categories__banner__button {
  position: absolute;
  text-decoration: none;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ddd;
  padding: 12px 24px;
  display: flex;
  align-items: center;
}

.trending-categories .trending-categories__products {
  width: auto;
  position: relative;
}

.trending-categories__products--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.trending-categories .item-box {
  float: none;
  margin-bottom: 0;
}

.splide__slide .item-box {
  margin: 0 0 0 0;
}

#trending-categories-container .splide__pagination {
  gap: 3px;
  position: static;
  padding-top: 20px;
}

#manufacturer-container .splide__pagination {
  gap: 3px;
  position: static;
  padding-top: 20px;
}

/*================ Small devices (landscape phones, 576px and up) ================*/
@media only screen and (min-width: 576px) {
}

/*================ Medium devices (tablets, 768px and up) ================*/
@media only screen and (min-width: 768px) {
  .trending-categories .trending-categories__lists .category-link {
    font-size: 20px;
  }

  .trending-categories__products--grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

/*================ Large devices (desktops, 992px and up) ================*/
@media only screen and (min-width: 992px) {
  .trending-categories .trending-categories__lists {
    justify-content: center;
    gap: 42px;
    margin-bottom: 32px;
  }

  .trending-categories #trending-categories-container {
    flex-direction: row;
    gap: 20px;
  }

  .trending-categories .trending-categories__products .slider-buttons {
    display: block;
  }

  .trending-categories .trending-categories__banner {
    height: auto;
    width: 235px;
  }

  .trending-categories .trending-categories__banner .trending-categories__banner__button {
    transform: translate(0%, 0%);
    top: auto;
    bottom: 30px;
    left: 30px;
  }

  .trending-categories .trending-categories__banner .trending-categories__banner__button .icon {
    font-size: 18px;
  }

  .trending-categories .trending-categories__products {
    width: calc(100% - 255px);
  }

  .trending-categories__products--grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/*================ X-Large devices (large desktops, 1200px and up) ================*/
@media only screen and (min-width: 1200px) {
  .trending-categories .trending-categories__banner {
    width: 285px;
  }

  .trending-categories .trending-categories__products {
    width: calc(100% - 305px);
  }
}

/*================ XX-Large devices (larger desktops, 1400px and up) ================*/
@media only screen and (min-width: 1400px) {
  .trending-categories .trending-categories__banner {
    width: 380px;
  }

  .trending-categories .trending-categories__products {
    width: calc(100% - 400px);
  }
}


/*================ BEST SELLING CATAGORIES ================*/
.best-seller-catagories {
  margin-bottom: 50px;
}

.best-seller-catagories__title {
  font-size: 30px;
  margin-bottom: 30px;
  text-align: center;
  color: #444;
}

.best-seller {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.best-seller__box-wrapper {
  display: block;
  height: auto;
}

.best-seller-button {
}

.best-seller__box-wrapper:hover .best-seller-__box__name {
  color: #fff;
  background-color: black;
  cursor: pointer;
}

.best-seller__box-wrapper:hover .best-seller__box__image img {
  transform: scale(1.1);
}

.best-seller .best-seller__box {
  height: 100%;
  position: relative;
}

.best-seller .best-seller__box .navigation {
  position: absolute;
  top: 0;
  right: 0;
  color: white;
  background-color: #4ab2f1;
  padding: 6px;
  z-index: 5;
}

.best-seller .best-seller__box .icon {
  font-size: 24px;
  transform: rotate(-45deg);
}

.best-seller .best-seller__box .best-seller__box__image {
  width: 100%;
  height: 225px;
  overflow: hidden;
}

.best-seller .best-seller__box .best-seller__box__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.best-seller .best-seller__box .best-seller__box__name P {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 16px 0;
}

/*================ Medium devices (tablets, 768px and up) ================*/
@media only screen and (min-width: 768px) {
  .best-seller {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/*================ Large devices (desktops, 992px and up) ================*/
@media only screen and (min-width: 992px) {
  .best-seller {
    grid-template-columns: repeat(4, 1fr);
  }
}

/*================ X-Large devices (large desktops, 1200px and up) ================*/
@media only screen and (min-width: 1200px) {
  .best-seller {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .best-seller__box-wrapper {
    display: block;
    height: auto;
  }

  .best-seller .best-seller__box .navigation {
    padding: 12px;
  }

  .best-seller .best-seller__box .best-seller__box__image {
    height: 320px;
  }

  .best-seller .best-seller__box .best-seller__box__name P {
    font-size: 20px;
  }
}

/*================ XX-Large devices (larger desktops, 1400px and up) ================*/
@media only screen and (min-width: 1400px) {
  .best-seller .best-seller__box .best-seller__box__image {
    height: 420px;
  }
}


/*================ OUR BRANDS ================*/

.our-brands .our-brands__title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  color: #444;
}

.our-brands .our-brands__title p {
  font-size: 30px;
  color: #444;
}

.our-brands .our-brands__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.our-brands #manufacturer-container {
  min-width: 0;
}

.our-brands #manufacturer-container .item-box {
  position: relative;
  width: 100%;
  text-align: left;
}

.our-brands__products {
  position: relative;
}

.our-brands .our-brands__manufacturer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 25px;
  margin-bottom: 24px;
  color: #444;
}

.our-brands .our-brands__manufacturer-links .link-item {
  font-size: 18px;
  white-space: nowrap;
}

.our-brands .our-brands__manufacturer-links .link-item span:hover {
  color: #4AB2F1;
  cursor: pointer;
}

.our-brands .our-brands__manufacturer-links .link-item.active span {
  color: #4AB2F1;
}

.our-brands__products--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}


/*================ Medium devices (tablets, 768px and up) ================*/
@media only screen and (min-width: 768px) {
  .our-brands__products--grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*================ Large devices (desktops, 992px and up) ================*/
@media only screen and (min-width: 992px) {
  .our-brands .our-brands__container {
    grid-template-columns: 235px auto;
  }

  .our-brands .our-brands__manufacturer-links {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .our-brands .our-brands__manufacturer-links .link-item {
    font-size: 20px;
  }

  .our-brands__products--grid {
    gap: 20px;
  }
}


/*================ X-Large devices (large desktops, 1200px and up) ================*/
@media only screen and (min-width: 1200px) {

  .our-brands .our-brands__container {
    grid-template-columns: 380px auto;
  }

  .our-brands .our-brands__manufacturer-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: start;
  }

  .our-brands .our-brands__manufacturer-links .link-item {
    font-size: 24px;
  }
}


/*================ CUSTOM SPLIDE SLIDER STYLE ================*/
.trending-categories__products__slider .splide__pagination__page.is-active {
  background: #4AB2F1;
}

.trending-categories__products__slider .splide__arrow {
  background: #4AB2F1;
}

.our-brands__products__slider .splide__pagination__page.is-active {
  background: #4AB2F1;
}

.our-brands__products__slider .splide__arrow {
  background: #4AB2F1;
}
