.ranked-later-sections {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin: 5rem 0 2rem;
}
.ranked-category__updated-at {
  line-height: 100%;
  padding-top: 0.375rem;
}
.ranked-category__updated-at span {
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
}
.ranked-category__description {
  line-height: 130%;
  margin-top: 1.5rem;
}
.ranked-category__table-of-contents-wrapper {
  margin-top: 2rem;
}
.ranked-category__table-of-contents {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1.25rem;
}
.ranked-category__table-of-contents li {
  font-size: 1rem;
  line-height: 115%;
  font-weight: 400;
  color: var(--black);
  padding-left: 0.5rem;
}
.ranked-category__table-of-contents a {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-position: under;
  transition: 0.2s ease-in-out all;
}
.ranked-category__table-of-contents a:hover {
  color: var(--orange);
}
.ranked-category__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 4rem;
}
.ranked-category-product {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 0.75rem 1.5rem;
  grid-template-rows: auto 1fr;
  position: relative;
}
.ranked-category-product:not(:last-of-type) {
  border-bottom: 1px solid var(--border-medium-grey);
  padding-bottom: 1.5rem;
}
.ranked-category-product__rel-anchor {
  position: absolute;
  top: -40px;
  left: 0;
}
.ranked-category-product__title-link {
  grid-column: 2/3;
  justify-self: start;
}
.ranked-category-product__title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 115%;
  color: var(--black);
  transition: 0.2s ease-in-out color;
}
.ranked-category-product__title-link:hover .ranked-category-product__title {
  color: var(--orange);
}
.ranked-category-product__img-wrapper {
  position: relative;
  display: flex;
  aspect-ratio: 3/4;
  overflow: hidden;
  height: 100%;
  width: 100%;
  grid-row: 1 / 3;
}
.ranked-category-product__img-wrapper::after {
  pointer-events: none;
}
.ranked-category-product__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: 0.5s ease-in-out transform;
}
.ranked-category-product__img-wrapper img:hover {
  transform: scale(1.05);
}
.ranked-category-product__content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.ranked-category-product__tab-nav {
  display: flex;
  margin-bottom: 1.5rem;
}
.ranked-category-product__tab-button {
  font-size: 1rem;
  font-weight: 600;
  line-height: 100%;
  padding: 0.75rem 1.5rem;
  border-bottom: 3px solid #e0e0e0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
}
.ranked-category-product__tab-button--active {
  border-bottom: 3px solid var(--orange);
}
.ranked-category-product__general-tab,
.ranked-category-product__params-tab,
.ranked-category-product__opinions-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  height: 100%;
}
.ranked-category-product__details-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin-top: auto;
}
.ranked-category-product__price-wrapper {
  display: flex;
  gap: 0.4rem;
}
.ranked-category-product .product__price {
  font-size: 1.4rem;
  font-weight: 600;
}
.ranked-category-product .product__price s {
  font-size: 0.9rem;
}
.ranked-category-product .product__id {
  font-size: 0.875rem;
  font-weight: 400;
  color: #585858;
}
.ranked-category-product__product-name {
  line-height: 1.55rem;
  font-size: 1rem;
  text-decoration: none;
  color: var(--black);
  margin-top: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: 0.2s ease-in-out all;
}
.ranked-category-product__product-name:hover {
  color: var(--orange);
}
.ranked-category-product .star__container {
  display: flex;
  justify-content: start;
  align-items: start;
}
.ranked-category-product .star__container img {
  width: 100%;
  max-width: 5rem;
}
.ranked-category-product .star__container .product__rate__value {
  font-size: 0.75rem;
}
.ranked-category-product .free-delivery {
  color: var(--orange);
  font-weight: 400;
}
.ranked-category-product__main-btn {
  margin-top: 0.7rem;
}
.ranked-category-product__compositions-list,
.ranked-category-product__compositions-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ranked-category-product__compositions-list {
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.ranked-category-product__compositions-item {
  gap: 0.5rem;
}
.ranked-category-product__composition-header {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 115%;
}
.ranked-category-product__composition-content {
  line-height: 130%;
}
@media only screen and (max-width: 1023px) {
  .ranked-category-product {
    grid-template-columns: 2fr 3fr;
  }
}
@media only screen and (max-width: 767px) {
  .ranked-category-product {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  .ranked-category-product__title-link {
    grid-column: unset;
  }
  .ranked-category-product__img-wrapper {
    aspect-ratio: 4/3;
    grid-row: unset;
  }
  .ranked-later-sections {
    gap: 1.5rem;
  }
  .ranked-later-sections {
    gap: 3rem;
    margin: 3rem 0 0;
  }
}
.ranked-category-product__opinion-tab,
.ranked-category-product__opinion-tab .opinions,
.opinions__ranked-container {
  height: 100%;
}
.ranked-category-product__opinion-tab {
  max-height: 60vh;
  overflow-x: hidden;
  padding-right: 1.5rem;
}
.ranked-category-product__opinion-tab--swiper {
  overflow-x: auto;
  max-height: unset;
}
.ranked-category-product__opinion-tab .opinions .opinions-item {
  width: 100%;
}
@media only screen and (min-width: 1024px) {
  .ranked-category-product__opinion-tab .opinions .opinions-item {
    width: calc((100% - 1.5rem) / 2);
  }
  .ranked-category-product__title {
    font-size: 1.5rem;
  }
}
@media only screen and (min-width: 1520px) {
  .ranked-category-product__title {
    font-size: 1.625rem;
  }
}
@media only screen and (min-width: 1760px) {
  .ranked-category-product__opinion-tab .opinions .opinions-item {
    width: calc((100% - (2 * 1.5rem)) / 3);
  }
}
/*  */
.top-sell-manufacturers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}
@media only screen and (max-width: 575px) {
  .top-sell-manufacturers {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .ranked-category__table-of-contents {
    gap: 0.75rem;
  }
  .ranked-category__table-of-contents a {
    text-decoration: unset;
  }
}
.top-sell-manufacturers .top-sell-manufacturer-item {
  border: 2px solid var(--black);
  padding: 1.4rem 0.5rem;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  display: flex;
  text-align: center;
  cursor: pointer;
  color: var(--black);
  font-size: 1rem;
  transition: var(--btn-hover-duration) var(--btn-hover-ease) background,
    var(--btn-hover-duration) var(--btn-hover-ease) color;
}
.top-sell-manufacturers .top-sell-manufacturer-item:hover {
  background: var(--black);
  color: var(--white);
}
.ranked-manufacturer-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0;
}
.manufacturer-footer-item {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media only screen and (min-width: 576px) {
  .ranked-manufacturer-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ranked-category-product__rel-anchor {
    top: -250px;
  }
}
@media only screen and (min-width: 621px) {
  .ranked-category-product__rel-anchor {
    top: -170px;
  }
}
@media only screen and (min-width: 992px) {
  .ranked-category-product__rel-anchor {
    top: -225px;
  }
}
@media only screen and (min-width: 1024px) {
  .ranked-manufacturer-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ranked-category-product__rel-anchor {
    top: -160px;
  }
}
@media only screen and (min-width: 1200px) {
  .ranked-category-product__rel-anchor {
    top: -150px;
  }
}
@media only screen and (min-width: 1520px) {
  .ranked-manufacturer-wrapper {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
