﻿/* TOVAR START */

.tovar {
    margin-top: 56px;
}
.tovar__wrapper {
    display: flex;
    justify-content: space-between;
    gap:24px;
}
.tovar__gallery {
  width: calc(41.67% - 12px);
  max-width: 660px;
  position: relative;
}
.tovar__gallery-main {
  position: relative;
  margin-bottom: 16px;
}
.tovar__gallery-image {
  width: 100%;
  border-radius: 8px;
  cursor: zoom-in;
  object-fit: contain;
}
.tovar__gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 32px;
  height: 32px;
  background-image: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}
.tovar__gallery-arrow--prev {
  left: 8px;
  background-image: url('../../img/arrow-left.svg');
  background-repeat: no-repeat;
  background-position: center;
}
.tovar__gallery-arrow--next {
  right: 8px;
  background-image: url('../../img/arrow-right.svg');
  background-repeat: no-repeat;
  background-position: center;
}
.tovar__gallery-arrow--next.swiper-button-disabled,
.tovar__gallery-arrow--prev.swiper-button-disabled {
    opacity: 0.4;
}
.tovar__gallery-thumbs {
  padding: 0 10px;
}
.tovar__gallery-thumb {
  width: 100%;
  border-radius: 6px;
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: pointer;
}
.swiper-slide-thumb-active .tovar__gallery-thumb {
  opacity: 1;
}
.tovar__gallery-badges {
    position: absolute;
    left:0;
    top:0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 10px;
    padding-left: 10px;
}
.d-none {
    display: none !important;
}
.tovar__gallery-badge {
    padding: 8px 16px;
    border-radius: 16px;
    background-color: #F6AC19;
    color:#fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.tovar__gallery-badge-green {
    background-color: #408B50;
}

.tovar__description {
    width: calc(58.33% - 12px);
    display: flex;
    gap:24px;
    justify-content: space-between;
}

.tovar__info {
    width: calc(50% - 12px);
    max-width: 380px;
}
.tovar__info-price {
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
}
.tovar__info-kurs {
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
    margin-top: 16px;
}
.tovar__info-kurs-description {
    color: rgba(41, 40, 38, 0.80);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    margin-top: 6px;
}
.tovar__info-parameters {
}
.tovar__info-actions {
    margin-top: 20px;
}
.parameter-list {
    border-top: solid 1px #D9D9D9;
    padding-top: 32px;
    margin-top: 16px;
}
.parameter-item {
    border-bottom: solid 1px #D9D9D9;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 42%);
    align-items: start;
    column-gap: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1;
}
.parameter-name {
    min-width: 0;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
}
.parameter-value {
    min-width: 0;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    text-align: right;
    overflow-wrap: anywhere;
}
.tovar__action {
    width: calc(50% - 12px);
    max-width: 380px;
}
.tovar__action-title {
    max-width: 267px;
    color: #292826;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
}
.tovar__action-form-wrapper {
}
.tovar__action-form {
    margin-top: 32px;
}
.tovar__action-form .btn {
    width: 100%;
}
.form-input-wrapper {
}
.tovar__action-form .form-input {
    border: 1px solid var(--Label-Primary, #292826);
}
.form-input {
}
.form-group {
}
.form-check-input {
}
.custom-checkbox {
}
.form-check-label {
}
.tovar__action-form .submit-btn {
    background-color: #FDD525;
    border:solid 1px #FDD525;
    color:#292826;
    font-weight: 500;
}
.btn {
}
.tovar__action-form  .outline-btn {
    display: block;
    margin-top: 8px;
}

/* TOVAR END */

/* BENEFITS START */

.benefits {
    padding-top: 30px;
}
.benefits__wrapper {
}
.benefits__list {
    display: flex;
    gap:24px;
}
.benefits__item {
    width: calc(25% - 18px);
    display: flex;
    gap:16px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #292826;
}
.benefits__item-image {
    width: 56px;
    min-width: 56px;
}
.benefits__item-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.benefits__item-title {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}
.benefits__item-description {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

/* BENEFITS END */

/* EQUIPMENTS START */

.equipments {
}
.equipment__title {
}
.equipments__wrapper {
}
.equipments__list {
    display: flex;
    flex-direction: column;
}
.equipments__table-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    gap:8px;
}
.equipments__table-cell {

}
.equipments__table-title-cell {
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    width: 16.67%;
}
.equipments__item {
    display: flex;
    justify-content: space-between;
    border-top: solid 1px #D9D9D9;
    padding-top: 16px;
    padding-bottom: 16px;
    gap:8px;
}
.equipments__item-param {
    width: 16.67%;
}
.equipments__item-param-name {
    display: none;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}
.equipments__item-param-value {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}
.equipments__table-action {
    display: flex;
    flex-direction: column;
    gap:8px;
    min-width: 390px;
}
.equipments__table-title-cell:last-of-type {
    min-width: 390px;
}
.equipments__table-action .btn {
    display: block;
}
.equipments__table-action .outline-btn {
    display: block;
}
.equipments__info {
    margin-top: 24px;
}
.equipments__action {
    margin-top: 32px;
    width: 100%;
}
.equipments__action .btn {
    display: block;
    margin: 0 auto;
    max-width: 360px;
    padding-left: 30px;
    padding-right: 30px;
}
.equipments__list .equipments__item:nth-child(n+6) {
  display: none;
}
.equipments__list.show-all .equipments__item {
  display: flex; /* или flex, если нужно */
}
.equipments__action {
    display: none;
}
.equipments__wrapper:has(.equipments__list .equipments__item:nth-child(n+6)) .equipments__action {
    display: block;
}

/* EQUIPMENTS END */

/* DESCRIPTION START */

.description {
}
.equipment__title {
}
.description__wrapper {
    display: flex;
    justify-content: space-between;
    gap:24px;
}
.description__info {
    width: calc(50% - 12px);
    max-width: 680px;
}
.description__info-title {
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 32px;
}
.description__info-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}
.description__parameters {
    width: calc(50% - 12px);
}
.description__parameters-title {
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 32px;
}
.description__parameters-list {
    display: flex;
    flex-direction: column;
}
.description__parameter {
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: solid 1px #D9D9D9;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 42%);
    align-items: start;
    column-gap: 24px;
}
.description__parameter-name,
.description__parameter-value {
    min-width: 0;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
}
.description__parameter-value {
    text-align: right;
    overflow-wrap: anywhere;
}

.similar .swiper-pagination {
    bottom: -30px;
    display: block;
    position: relative;
}
.similar__wrapper {
    position: relative;
}
.similar__slider {
    overflow: hidden;
    padding-bottom: 30px;
}
.similar .catalog__products {
    margin-top: 0;
}
.similar .section__title {
    margin-bottom: 0;
}

/* DESCRIPTION END */

/* SPARE START */


.spare {
    margin-top: 56px;
}

.spare__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.spare__gallery {
  display: flex;
  flex-direction: row;
  width: calc(58.33% - 12px);
  position: relative;
  gap: 16px;
}

.spare__gallery-main {
  position: relative;
  flex: 1;
}

.spare__gallery-main .swiper-slide {
    text-align: center;
}

.spare__gallery-image {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  cursor: zoom-in;
  object-fit: contain;
}

.spare__gallery-thumbs {
  width: 110px;
  min-width: 110px;
  height: 480px;
  /* flex-shrink: 0; */
}
.spare__gallery-thumbs .swiper-slide {
    height: 110px!important;
}

.spare__gallery-thumb {
  width: 100%;
  border-radius: 6px;
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: pointer;
}

.swiper-slide-thumb-active .spare__gallery-thumb {
  opacity: 1;
}

.spare__gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 32px;
  height: 32px;
  backdrop-filter: blur(3px);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
}

.spare__gallery-arrow--prev {
  left: 8px;
  background-image: url('../../img/arrow-left.svg');
}

.spare__gallery-arrow--next {
  right: 8px;
  background-image: url('../../img/arrow-right.svg');
}

.spare__gallery-arrow--next.swiper-button-disabled,
.spare__gallery-arrow--prev.swiper-button-disabled {
  opacity: 0.4;
}

.spare__gallery-badges {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.spare__gallery-badge {
  padding: 8px 16px;
  border-radius: 16px;
  background-color: #F6AC19;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.spare__gallery-badge-green {
  background-color: #408B50;
}

.spare__description {
    position: relative;
    width: calc(41.67% - 12px);
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap:32px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 2px 69.5px 0px rgba(41, 40, 38, 0.20);
}
.spare__article {
    display: flex;
    gap: 8px;
    color: rgba(41, 40, 38, 0.80);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}
.spare__article-link {
    width: 20px;
    height: 20px;
    display: block;
    cursor: pointer;
}
.spare__article-link img {
    width: 100%;
}
.spare__price {
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
}
.spare__availability {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:24px;
}
.spare__availability-col {
    width: calc(50% - 12px);
}
.spare__availability-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 18px;
}
.spare__availability-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.spare__availability-item:last-of-type {
    margin-bottom: 0;
}
.spare__availability-item-city {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}
.spare__availability-item-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}
.spare__availability--green {
    color: #1D9A34;
}
.spare__availability--red {
    color: #BB3223;
}
.spare__availability-delivery {
    text-align: right;
    display: flex;
    gap:8px;
    justify-content: flex-end;
}
.spare__availability-delivery img {
    width: 24px;
    height: 24px;
}
.spare__action {
    display: flex;
    flex-direction: column;
    gap:16px;
}
.spare__btn {
}
.basket-btn {
}

/* SPARE END */

/* SPARE-INFO START */

.spare-info {
}
.spare-info__wrapper {
    display: flex;
    gap:24px;
}
.spare-info__description {
    width: calc(50% - 12px);
}
.spare-info__subtitle {
    margin-bottom: 48px;
    font-size: 24px;
    font-weight: 600;
}
.spare-info__description-text {
    position: relative;
    transition: max-height 0.4s ease;
    overflow: hidden;
}
.spare-info__description-content {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}
.spare-info__description-text.is-collapsed .spare-info__description-content {
    max-height: 160px; /* регулируй по желанию */
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);

}
.spare-info__description-content ul {
    padding-left: 20px;
}
.spare-info__description-content ul li {
    list-style-type: disc;
}
.spare-info__description-readmore {
    cursor: pointer;
    font-weight: 600;
    color: #292826;
    margin-top: 10px;
    position: relative;
    width: fit-content;
}
.spare-info__description-readmore::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: -24px;
    top:4px;
    background-image: url('../../img/arrow-down-small.svg');
    transform: rotate(180deg);
}
.spare-info__description-text.is-collapsed .spare-info__description-readmore::before{
    transform: rotate(0deg);
}
.spare-info__characteristics {
    width: calc(50% - 12px);
}
.spare-info__characteristic-list {
    display: flex;
    flex-direction: column;
    gap:16px;
}
.spare-info__characteristic-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
}
.spare-info__characteristic-name {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
    position: relative;
    margin-right: 8px;
    order:0;
}
.spare-info__characteristic-item::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    border-bottom: 1px dashed #000;
    align-self: center;
    order:1;
    margin-top: 16px;
}
.spare-info__characteristic-value {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    background: #fff;
    white-space: nowrap;
    position: relative;
    margin-left: 8px;
    order:2;
}


/* SPARE-INFO END */


/* REVIEWS START */

.reviews {
}
.reviews__title {
}
.reviews__wrapper {
}
.reviews__zapchasti .reviews__notrev {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.reviews__zapchasti .reviews__notrev img{
    width: 132px;
    height: 150px;
}
.reviews__zapchasti .reviews__notrev p {
    font-size: 18px;
    font-weight: 600;
}
.reviews__zapchasti .reviews__list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 48px;
}
.reviews__zapchasti .reviews-item {
    width: calc(50% - 12px);
}
.reviews__zapchasti .review {
    display: flex;
    flex-direction: column;
    gap:8px;
}
.reviews__zapchasti .review__top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap:48px;
}
.reviews__zapchasti .review__author {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap:8px;
}
.reviews__zapchasti .review__author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.reviews__zapchasti .review__author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.reviews__zapchasti .review__author-info {
}
.reviews__zapchasti .review__author-name {
    font-size: 16px;
    font-weight: 400;
}
.reviews__zapchasti .review__author-date {
    font-size: 14px;
    color: rgba(41, 40, 38, 0.60);
    font-weight: 400;
}
.reviews__zapchasti .review__rating {
    display: flex;
    gap:8px;
}
.reviews__zapchasti .review__rating img {
    width: 24px;
    height: 24px;
}
.reviews__zapchasti .review__content {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}
.reviews__zapchasti .review__gallery {
    display: flex;
    justify-content: flex-start;
    gap:8px;
    flex-wrap: wrap;
}
.reviews__zapchasti .review__image {
    position: relative;
    width: 84px;
    height: 84px;
}
.reviews__zapchasti .review__image ::after {
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    background-image: url('../../img/open-image-icon.svg');
    background-position: center;
    background-repeat: no-repeat;
}
.reviews__zapchasti .review__image-link {
}
.reviews__zapchasti .reviews__action {
    margin-top: 40px;
}
.reviews__zapchasti .reviews__readmore {
    position: relative;
    width: fit-content;
    cursor:pointer;
}
.reviews__zapchasti .reviews__readmore::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: -24px;
    top: 4px;
    background-image: url('../../img/arrow-down-small.svg');
}

/* REVIEWS END */



