/* .section__anywhere-carousel-head,
.portfolio-header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding-bottom: 0;
  justify-content: space-between;
  margin-bottom: 30px;
} */

/* .section__anywhere-carousel-head-center {
  padding-bottom: 0;
  margin-bottom: 30px;
} */

/* .section .section__anywhere-carousel-head .title,
.section .section__anywhere-carousel-head-center .title,
.portfolio-header .title {
  margin: 0 !important;
} */

/* .section__anywhere-carousel-head .title::after,
.section__anywhere-carousel-head-center .title::after,
.portfolio-header .title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: var(--clr-primary);
} */

/* .section__anywhere-carousel-grid
  .anywhere-carousel-item.category-item.category-box
  .title {
  font-size: 18px;
  padding: 0;
  text-align: end;
  margin: 0;
  font-weight: 400;
} */

.section__anywhere-carousel-head {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding-bottom: 0;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--clr-gray-g200);
}

.section__anywhere-carousel-head-center {
  margin-bottom: 30px;
}

.section__anywhere-carousel-grid .product-slider .item-box {
  width: 100%;
  margin: 0 0.5% 30px;
}

.products-carousel .anywhere-carousel-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.products-carousel .anywhere-carousel-container .carousel-banner-box {
  display: block;
  width: 100%;
}

.products-carousel .anywhere-carousel-container .left-container {
  position: relative;
}

.products-carousel
  .anywhere-carousel-container
  .carousel-banner-box
  .banner-link {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.products-carousel
  .anywhere-carousel-container
  .carousel-banner-box
  .banner-link
  .banner {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.carousel-banner-box .banner-desktop {
  display: none;
}

.carousel-banner-box .banner-mobile {
  display: block;
}

.discounted-product-carousel .left-container .carousel-banner-box {
  height: 100%;
}

.discounted-product-carousel
  .left-container
  .carousel-banner-box
  .banner-wrapper {
  position: relative;
  height: 100%;
}

.discounted-product-carousel
  .left-container
  .carousel-banner-box
  .banner-wrapper::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%
  );
}

@media only screen and (min-width: 768px) {
  .products-carousel .anywhere-carousel-container .carousel-banner-box {
    width: 100%;
    flex-shrink: 0;
  }
}

@media only screen and (min-width: 992px) {
  .carousel-banner-box .banner-desktop {
    display: block;
  }

  .carousel-banner-box .banner-mobile {
    display: none;
  }
  .products-carousel .anywhere-carousel-container {
    flex-direction: row;
  }

  .products-carousel .anywhere-carousel-container .carousel-banner-box {
    /* height: 100%; */
    width: 290px;
  }
}

@media only screen and (min-width: 1200px) {
  .products-carousel .anywhere-carousel-container .carousel-banner-box {
    width: 285px;
  }
}

@media only screen and (min-width: 1400px) {
  .products-carousel .anywhere-carousel-container .carousel-banner-box {
    width: 380px;
  }
}

.section__anywhere-carousel-head .section-link {
  height: fit-content;
  background-color: transparent;
  color: var(--clr-primary);
  border: 1px solid var(--clr-gray-g200);
  border-radius: 4px;
  padding: 8px 18px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section__anywhere-carousel-head .section-link:hover {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

.section__anywhere-carousel-container.anywhere-carousel-reviews {
  margin: 40px auto;
  padding: 0 20px;
}

.product-review-container {
  position: relative;
  padding-bottom: 42px;
}

@media only screen and (min-width: 768px) {
  .product-review-container {
    padding-bottom: 52px;
  }
}

@media only screen and (min-width: 1400px) {
  .product-review-container {
    padding-bottom: 65px;
  }
}

.product-review-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 85%;
  background-color: var(--clr-gray-g100);
  border-radius: 36px;
}

.section__anywhere-carousel-grid .carousel-review-box {
  border-radius: 10px;
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--clr-white);
  border: 1px solid var(--clr-gray-g200);
}

.section__anywhere-carousel-grid .carousel-review-box__product-container {
  margin-bottom: 26px;
  padding: 20px;
  border-radius: 6px;
  background-color: var(--clr-gray-g100);
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: 0.3s ease;
}

.section__anywhere-carousel-grid .carousel-review-box__product-container:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: 0.3s ease;
}

.section__anywhere-carousel-grid .carousel-review-box__product {
  display: flex;
  gap: 12px;
  align-items: center;
}

.section__anywhere-carousel-grid .carousel-review-box__product-image {
  height: 64px;
  width: 64px;
  flex-shrink: 0;
}

.section__anywhere-carousel-grid .carousel-review-box__product-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.section__anywhere-carousel-grid .carousel-review-box__product-info__name {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.section__anywhere-carousel-grid .carousel-review-box__product-info__name a {
  display: block;
}

.section__anywhere-carousel-grid
  .carousel-review-box__product-info__name
  a:hover,
.section__anywhere-carousel-grid
  .carousel-review-box__product-info__name
  a:focus {
  color: var(--clr-primary);
}

.section__anywhere-carousel-grid .carousel-review-box__product-info__price {
  overflow: hidden;
}

.section__anywhere-carousel-grid
  .carousel-review-box__product-info__price
  .old-price {
  margin: 0 5px 0 0;
  font-size: 16px;
  color: #aaa;
  text-decoration: line-through;
}

.section__anywhere-carousel-grid
  .carousel-review-box__product-info__price
  .actual-price {
  margin: 0 5px 0 0;
  font-size: 16px;
  font-weight: 500;
}

.section__anywhere-carousel-grid .carousel-review-box__rating {
  margin-bottom: 15px;
}

.section__anywhere-carousel-grid .rating {
  display: inline-block;
  width: 110px;
  height: 22px;
  background: url("../images/rating1.png") repeat-x;
  background-size: 22px 22px;
}

.section__anywhere-carousel-grid .rating div {
  height: 22px;
  background:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(30,78,159,1)'%3E%3Cpath d='M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 22px 22px;
}

.section__anywhere-carousel-grid .carousel-review-box__title {
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 10px;
  color: var(--heading-color);
}

.section__anywhere-carousel-grid .carousel-review-box__review-text {
  margin-bottom: 20px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
  height: 72px;
}

.section__anywhere-carousel-grid .carousel-review-box__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.section__anywhere-carousel-grid .carousel-review-box__author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.section__anywhere-carousel-grid .carousel-review-box__author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section__anywhere-carousel-grid .carousel-review-box__author-info__name {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.section__anywhere-carousel-grid .carousel-review-box__author-info__address,
.section__anywhere-carousel-grid
  .carousel-review-box__author-info__reviewCreatedOn {
  font-size: 14px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.anywhere-carousel-manufacturer img {
  width: 100%;
  object-fit: cover;
}

.anywhere-carousel-manufacturer .manufacturer-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.anywhere-carousel-manufacturer .manufacturer-item .title {
  text-align: center;
  font-size: 1.125em;
  font-weight: 500;
  color: var(--text-color);
}

.anywhere-carousel-manufacturer .manufacturer-item .title::after {
  content: none;
}

@media only screen and (min-width: 576px) {
  .section__anywhere-carousel-grid .carousel-review-box {
    padding: 18px;
  }

  .section__anywhere-carousel-grid
    .anywhere-carousel-item.category-item.category-box
    .title {
    font-size: 24px;
  }
}

/*================ Large devices (desktops, 992px and up) ================*/
@media only screen and (min-width: 992px) {
  .section__anywhere-carousel-head {
    /* align-items: flex-end; */ /* This property is already set in the base rule */
    /* No change needed here unless overriding the base rule */
  }

  .section__anywhere-carousel-head .section-link {
    padding: 8px 32px;
  }

  /*  .section__anywhere-carousel-head .title,*/
  /*.section__anywhere-carousel-head-center .title {*/
  /*  margin: 0 ; */
  /*  font-size: 28px ;*/
  /*  font-weight: 500 ; */
  /*  text-align: center ; */
  /*}*/

  .section__anywhere-carousel-grid .carousel-review-box__title {
    font-size: 18px;
    padding-bottom: 8px;
  }
}

/*-- All Swiper Common Style --*/
.swiper.products-swiper .swiper-wrapper {
  height: auto;
}

.products-swiper .swiper-pagination,
.sub-category-swiper .swiper-pagination,
.category-swiper .swiper-pagination {
  position: static;
  margin-top: 32px;
}

.swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.swiper-pagination .swiper-pagination-bullet {
  transform: scale(1);
  transition: transform 0.3s ease;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  padding: 0;
  transform: scale(1.7);
}

.swiper-button-next,
.swiper-button-prev {
  width: 32px !important;
  height: 32px !important;
  background-color: var(--clr-white) !important;
  border-radius: 50% !important;
  transition: transform 0.3s ease !important;
}

/* 1. Hide the buttons by default */
.swiper-button-prev,
.swiper-button-next {
  visibility: hidden;
}

/* 2. Show the buttons only when Swiper is initialized */
.swiper-initialized .swiper-button-prev,
.swiper-initialized .swiper-button-next {
  visibility: visible;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-family: "remixicon" !important;
  color: var(--clr-primary) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: "\EA64" !important;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: "\EA6E" !important;
}

/*-- Discount Slider Design --*/

.products-carousel.discounted-product-carousel .left-container {
  display: block;
  flex-shrink: 0;
}

.anywhere-carousel-container
  .left-container
  .carousel-banner-box
  .swiper-pagination {
  position: absolute !important;
}

.anywhere-carousel-container
  .left-container
  .carousel-banner-box
  .swiper-pagination
  .swiper-pagination-bullet {
  background: var(--clr-white) !important;
}

.anywhere-carousel-container
  .left-container
  .carousel-banner-box
  .swiper-pagination
  .swiper-pagination-bullet::before {
  border-color: var(--clr-white) !important;
}

.discount-info {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--clr-white);
  z-index: 1;
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  flex-direction: column;
  border-radius: 6px;
}

@media only screen and (min-width: 768px) {
  .discount-info {
    flex-direction: row;
    padding: 14px 32px;
    align-items: center;
    gap: 32px;
  }
}

@media only screen and (min-width: 992px) {
  .discount-info {
    display: block;
    top: unset;
    bottom: 0px;
    padding: 8px 16px;
  }
}

@media only screen and (min-width: 1200px) {
  .discount-info {
    top: unset;
    bottom: 0px;
    padding: 14px 32px;
  }
}

.discount-info .discount-title {
  font-size: 20px;
  line-height: normal;
  text-align: center;
  font-weight: 600;
  color: var(--heading-color);
  white-space: nowrap;
}

@media only screen and (min-width: 768px) {
  .discount-info .discount-title {
    font-size: 22px;
  }
}

@media only screen and (min-width: 1200px) {
  .discount-info .discount-title {
    font-size: 22px;
    margin-bottom: 4px;
  }
}

.discount-info .timer {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  gap: 4px;
  justify-content: center;
  color: var(--heading-color);
}

@media only screen and (min-width: 768px) {
  .discount-info .timer {
    font-size: 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .discount-info .timer {
    font-size: 28px;
  }
}

.discount-info .timer div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.discount-info .timer div .text {
  text-transform: capitalize;
  font-weight: 300;
  font-size: 12px;
}