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

.section__scarousel-head-center {
  padding-bottom: 0 ;
  margin-bottom: 30px;
}

.section .section__scarousel-head .title,
.section .section__scarousel-head-center .title,
.portfolio-header .title {
  margin: 0 !important;
}

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

/*.section__scarousel-grid .splide__arrows button.splide__arrow--prev {*/
/*  display: flex;*/
/*  align-items: center;*/
/*!*  left: 10px ;*/
/*  top: calc(50% - 75px) ;*!*/
/*}*/

/*.section__scarousel-grid .splide__arrows button.splide__arrow--next {
  display: flex;
  align-items: center;
  right: 10px ;
  top: calc(50% - 75px) ;
}*/

/*.section__scarousel-grid .category-container .category-slider button.splide__arrow--prev {
  top: 50% ;
}

.section__scarousel-grid .category-container .category-slider button.splide__arrow--next {
  top: 50% ;
}
*/
.section__scarousel-grid .scarousel-item.category-item.category-box .title {
  font-size: 18px;
  padding: 0;
  text-align: end;
  margin: 0;
  font-weight: 400;
}

/*.section__scarousel-grid .manufacturer-container .manufacturer-slider button.splide__arrow--prev {
  top: 40% ;
}

.section__scarousel-grid .manufacturer-container .manufacturer-slider button.splide__arrow--next {
  top: 40% ;
}*/

.section__scarousel-grid .product-slider .item-box {
  width: 100%;
  margin: 0 .5% 30px;
}

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


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


.section__scarousel-container.scarousel-reviews {

  margin: 40px auto;
  padding: 0 20px;
}

.product-review-container {
  position: relative;
}


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


.section__scarousel-grid .carousel-review-box__product-container {
  margin-bottom: 26px;
  padding: 20px;
  background-color: var(--clr-gray-g100);
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1);
  transition: .3s ease;
}

.section__scarousel-grid .carousel-review-box__product-container:hover {
  box-shadow: 0 10px 15px 6px rgba(0, 0, 0, .1);
  transition: .3s ease
}


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

}

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

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

.section__scarousel-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__scarousel-grid .carousel-review-box__product-info__name a {
  display: block;
}

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

.section__scarousel-grid .carousel-review-box__product-info__price {

  overflow: hidden;
}

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

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


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

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

.section__scarousel-grid .rating div {
  height: 22px;
  background: url('../images/rating2.png') repeat-x;
  background-size: 22px 22px;
}

.section__scarousel-grid .carousel-review-box__title {
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 10px;
}

.section__scarousel-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__scarousel-grid .carousel-review-box__author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.section__scarousel-grid .carousel-review-box__author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 2px solid var(--clr-gray-g200);
  flex-shrink: 0;
}

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

.section__scarousel-grid .carousel-review-box__author-info__name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.section__scarousel-grid .carousel-review-box__author-info__address, .section__scarousel-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;
}

.section__scarousel-grid .splide__track {
  margin: 0 1px ;
}

.section__scarousel-grid .product-review-slider .splide__pagination {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.section__scarousel-grid .product-review-slider .splide__pagination__page {
  width: 8px ;
  height: 8px ;
  margin: 0 3px ;
  background: transparent ;
  border-radius: 50%;
  border: 2px solid var(--clr-primary);
}

.section__scarousel-grid .product-review-slider .splide__pagination__page.is-active {
  background: var(--clr-primary) ;
  border-color: var(--clr-primary) ;
}

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

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

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

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

@media only screen and (min-width: 576px) {

  .section__scarousel-grid .carousel-review-box {
    padding: 18px;

  }

  .section__scarousel-grid .scarousel-item.category-item.category-box .title {
    font-size: 24px;
  }
}

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

  .section__scarousel-head .section-link {
    padding: 12px 32px;
  }

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

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

  .section__scarousel-grid .product-review-slider .splide__pagination__page {
    width: 12px ;
    height: 12px ;
    margin: 0 5px ;
  }


}

@media only screen and (min-width: 1200px) {


  .section__scarousel-grid .carousel-review-box__product-info__price .actual-price {
    font-size: 18px;
  }
}