﻿.trending-categories__products .home-page .item-box {
  width: 100%;
}

.our-brands__products .home-page .item-box {
  width: 100%;
}

.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::-webkit-scrollbar {
  display: none;
}

.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__products {
  width: 100%;
  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;
}

/*================ 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 0.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;
}

/*================ 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;
}

.trending-categories {
  position: relative;
}

.section .trending-categories {
  box-shadow: none;
}

.best-seller-catagories__title {
  /*border-bottom: 1px solid var(--clr-gray-g200);*/
  font-size: inherit;
}

.trending-categories__header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--clr-gray-g200);
  margin-bottom: 24px;
}

.trending-categories__title,
.our-brands__title p,
.best-seller-catagories__title p {
  position: relative;
  font-size: calc(1em + 1.5vw);
  font-weight: 500;
  text-align: center;
  padding: 0;
  width: max-content;
  flex-wrap: nowrap;
  padding-bottom: 16px;
}

/* .trending-categories__title::after,
.our-brands__title p::after,
.best-seller-catagories__title p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: var(--clr-primary);
} */

.trending-categories .trending-categories__lists {
  display: flex;
  gap: 16px;
  justify-content: start;
  align-items: end;
  flex-wrap: nowrap;
  white-space: nowrap;
  height: auto;
  margin-bottom: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: thin;
}

.trending-categories .trending-categories__lists::-webkit-scrollbar {
  display: none;
}

.trending-categories
  .trending-categories__lists
  .category-link.trending-active {
  position: relative;
  color: var(--clr-primary);
  font-weight: 500;
}

.trending-categories
  .trending-categories__lists
  .category-link.trending-active::after {
  content: "\EA77";
  position: absolute;
  font-family: "remixicon", serif;
  left: 50%;
  bottom: -0.65em;
  font-size: 2em;
  transform: translate(-50%);
}

@supports (-moz-appearance: none) {
  .trending-categories
    .trending-categories__lists
    .category-link.trending-active::after {
  }
}

.trending-categories .trending-categories__lists .category-link {
  font-weight: 400;
  color: var(--text-color);
  background: white;
  padding: 0;
  font-size: 1em;
  padding-bottom: 14px;
}

.trending-categories .trending-categories__banner {
  flex: none;
  position: relative;
  overflow: hidden;
}

.trending-categories .trending-categories__lists .category-link:hover::before {
  transform: scaleX(100%);
  transform-origin: left;
}

.trending-categories
  .trending-categories__lists
  .category-link.trending-active::before {
  transform: scaleX(100%);
  transform-origin: left;
}

.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: var(--clr-white);
  color: var(--text-color);
  border: 1px solid var(--clr-white);
  padding: 12px 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-radius: 6px;
  transition: 0.3s ease;
}

.trending-categories
  .trending-categories__banner
  .trending-categories__banner__button
  p {
  white-space: nowrap;
}

.trending-categories
  .trending-categories__banner
  .trending-categories__banner__button
  i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  border: 1px solid var(--text-color);
}

.trending-categories
  .trending-categories__banner
  .trending-categories__banner__button:hover {
  color: var(--clr-white);
  border: 1px solid var(--clr-primary);
  background-color: var(--clr-primary);
}

.trending-categories
  .trending-categories__banner
  .trending-categories__banner__button:hover
  i {
  border-color: var(--clr-white);
}

.trending-categories .trending-categories__lists .category-link:hover {
  color: var(--clr-primary);
}

.our-brands .our-brands__manufacturer-links .link-item {
  font-size: 1em;
}

.trending-categories .trending-categories__banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #020024;
  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 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*.trending-categories .splide__arrows button.splide__arrow--prev,
.our-brands .splide__arrows button.splide__arrow--prev {
  display: flex;
  align-items: center;
  left: 10px ;
  top: calc(50% - 75px) ;
}*/

/*.trending-categories .splide__arrows button.splide__arrow--next,
.our-brands .splide__arrows button.splide__arrow--next {
  display: flex;
  align-items: center;
  right: 10px ;
  top: calc(50% - 75px) ;
}*/

/* .section-link {
  display: inline-block;
  font-size: 1em;
  text-transform: uppercase;
  height: fit-content;
  background-color: transparent;
  color: var(--clr-primary);
  border: 1px solid var(--clr-gray-g200);
  border-radius: 6px;
  padding: 8px 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-link:hover {
  background-color: var(--clr-primary);
  color: var(--clr-white);
} */

.our-brands__title {
  border-bottom: 1px solid var(--clr-gray-g200);
}

.our-brands .our-brands__manufacturer-links .link-item span {
  color: var(--text-color);
}

.our-brands .our-brands__manufacturer-links .link-item.active span {
  color: var(--clr-primary);
}

/*.trending-categories .splide__arrow {
  background: var(--clr-white) ;
  border-radius: 50% ;
  height: 32px ;
  width: 32px ;
  transition: all .3s ease ;
}*/

.best-seller .best-seller__box .navigation {
  background-color: var(--clr-primary);
  top: 10px;
  right: 10px;
  border-radius: 6px;
}

/*================ Small devices (landscape phones, 360px and up) ================*/
@media only screen and (min-width: 360px) and (max-width: 767px) {
  /* No rules were nested here */
}

/*================ Smal devices (phones, 576px and up) ================*/
@media only screen and (min-width: 576px) {
  .trending-categories .trending-categories__title {
    width: fit-content;
  }

  .trending-categories .trending-categories__lists {
    justify-content: center;
  }
}

/*================ 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;
  }

  .best-seller {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .our-brands__products--grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trending-categories__subtitle {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .trending-categories .trending-categories__header {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 30px;
  }

  .trending-categories .trending-categories__lists {
    width: fit-content;
  }
}

/*================ 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: 290px;
  }

  .trending-categories .trending-categories__products {
    /* width: calc(100% - 255px); */
    width: 100%;
  }

  .trending-categories__products--grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .best-seller {
    grid-template-columns: repeat(4, 1fr);
  }

  .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;
  }

  .trending-categories__title,
  .our-brands__title p,
  .best-seller-catagories__title p {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
  }

  .trending-categories__subtitle {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .trending-categories .trending-categories__lists .category-link {
    font-weight: 500;
  }

  .trending-categories .trending-categories__lists {
    gap: 32px;
    margin-bottom: 0;
  }
}

/*================ 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); */
    width: 100%;
  }

  .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;
  }

  .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;
  }

  .trending-categories .trending-categories__lists .category-link,
  .our-brands .our-brands__manufacturer-links .link-item {
    font-size: 1em;
  }

  .trending-categories
    .trending-categories__banner
    .trending-categories__banner__button {
    transform: translate(0%, 0%);
    top: auto;
    bottom: 30px;
    left: 50px;
  }
}

/*================ 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); */
    width: 100%;
  }

  .best-seller .best-seller__box .best-seller__box__image {
    height: 420px;
  }

  .trending-categories .trending-categories__lists .category-link,
  .our-brands .our-brands__manufacturer-links .link-item {
    font-size: 16px;
  }
  .best-seller .best-seller__box .best-seller__box__image {
    height: 350px;
  }
}
