@charset "UTF-8";
.catalog-element {
  margin-top: 30px;
  margin-bottom: 80px;
}
.catalog-element .properties {
  display: flex;
  flex-direction: column;
}
.catalog-element .properties .prop-row {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bg-dark);
  margin-bottom: 10px;
}
.catalog-element .properties .prop-row:first-child {
  padding-top: 10px;
  border-top: 1px solid var(--bg-dark);
}
.catalog-element .properties .prop-row:last-child {
  margin-bottom: 0px;
}
.catalog-element .properties .prop-row__name {
  text-align: left;
  color: var(--main-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.8px;
  width: 50%;
  padding-right: 10px;
}
.catalog-element .properties .prop-row__value {
  width: 50%;
  color: var(--head);
  text-align: left;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}
.catalog-element .main-swiper {
  background: var(--card);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 15px;
  border: 2px solid var(--bg-dark);
  position: relative;
}
.catalog-element .main-swiper .tags {
  position: absolute;
  left: 40px;
  top: 20px;
  width: calc(100% - 80px);
  z-index: 10;
  grid-gap: 10px;
  display: flex;
  flex-wrap: wrap;
}
.catalog-element .main-swiper .tags .tag-item {
  color: var(--primary-100);
  font-size: 14px;
  font-weight: 500;
  line-height: 130%;
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid var(--primary-100);
  background: var(--card);
  max-width: 100%;
  width: max-content;
}
.catalog-element .main-swiper .swiper-wrapper .swiper-slide.zoom {
  cursor: pointer;
}
.catalog-element .main-swiper .swiper-wrapper .swiper-slide .img-wrapper {
  position: relative;
  padding-top: 77%;
}
.catalog-element .main-swiper .swiper-wrapper .swiper-slide .img-wrapper img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.catalog-element .thumbs-swiper-wrapper {
  display: flex;
  align-items: center;
}
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-prev {
  margin-right: 30px;
}
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-next {
  margin-left: 30px;
}
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-prev,
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-next {
  min-width: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
}
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-prev.swiper-button-disabled,
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-next.swiper-button-disabled {
  opacity: 0.1;
  pointer-events: none;
}
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-prev svg path,
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-next svg path {
  transition: stroke 0.3s ease;
}
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-prev:hover svg path,
.catalog-element .thumbs-swiper-wrapper .swiper-button-single-product-next:hover svg path {
  stroke: var(--primary-100);
}
.catalog-element .thumbs-swiper {
  display: flex;
  align-items: center;
  position: relative;
  width: calc(100% - 110px);
  padding: 5px;
  margin: -5px;
}
.catalog-element .thumbs-swiper .swiper-wrapper .swiper-slide {
  background: var(--card);
  border-radius: 20px;
  outline: 2px solid var(--bg-light);
  transition: border 0.3s ease;
  cursor: pointer;
  overflow:hidden;
}
.catalog-element .thumbs-swiper .swiper-wrapper .swiper-slide.swiper-slide-thumb-active {
  outline: 2px solid var(--primary-100);
}
.catalog-element .thumbs-swiper .swiper-wrapper .swiper-slide .img-wrapper {
  position: relative;
  padding-top: 100%;
}
.catalog-element .thumbs-swiper .swiper-wrapper .swiper-slide .img-wrapper img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.catalog-element .top {
  display: flex;
  grid-column-gap: 120px;
  margin-bottom: 80px;
}
.catalog-element .top .top-title {
  margin-bottom: 15px;
}
.catalog-element .top__controls {
  display: flex;
  align-items: center;
  grid-column-gap: 15px;
  margin-left: auto;
}
.catalog-element .top__info {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.catalog-element .top__trace {
  color: var(--accent-200);
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  display: flex;
  align-items: center;
}
.catalog-element .top__trace::before {
  content: "";
  width: 24px;
  height: 24px;
  background: var(--accent-200);
  border: 5px solid #D4F0EA;
  display: block;
  margin-right: 10px;
  border-radius: 50%;
}
.catalog-element .top__shortDescription {
  margin-bottom: 40px;
}
.catalog-element .top__shortDescription .text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height:69.09px;
}
.catalog-element .top .show-more {
  color: var(--primary-100);
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  transition: opacity 0.3s ease;
  margin-top: 10px;
  width: max-content;
  max-width: 100%;
  cursor: pointer;
}
.catalog-element .top .show-more:hover {
  opacity: 0.8;
}
.catalog-element .top__favorites {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.catalog-element .top__favorites svg {
  display: block;
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.catalog-element .top__favorites svg path {
  transition: all 0.3s ease;
}
.catalog-element .top__favorites::after {
  color: var(--head);
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
}
.catalog-element .top__favorites.not-favorites::after {
  content: "Добавить в избранное";
}
.catalog-element .top__favorites.in-favorites::after {
  content: "Удалить из избранного";
}
.catalog-element .top__favorites.in-favorites svg path {
  fill: var(--primary-100);
}
.catalog-element .top__left {
  width: 43%;
  height: max-content;
  position: sticky;
  top: 30px;
}
.catalog-element .top__right {
  width: 57%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.catalog-element .top__offer {
  margin-top: auto;
  display: flex;
  align-items: center;
  grid-column-gap: 15px;
  padding-top: 20px;
}
.catalog-element .top__price {
  color: var(--primary-100);
  font-weight: 900;
  line-height: 130%;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
  margin-right: auto;
  white-space: nowrap;
}
.catalog-element .top__price .old {
  color: var(--stroke);
  font-size: 14px;
  font-weight: 400;
  line-height: 130%;
  text-decoration-line: line-through;
}
.catalog-element .top__price .new {
  font-size: 40px !important;
  line-height: 130%;
}
.catalog-element .top__price .po-z {
  font-size: 16px;
}
.catalog-element .top .product-item-amount {
  min-width: 150px;
  max-width: 150px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  padding: 10px 6px;
}
.catalog-element .top .product-item-amount.disabled {
  pointer-events: none;
}
.catalog-element .top .product-item-amount .product-item-amount-field-btn-minus {
  margin-right: 5px;
}
.catalog-element .top .product-item-amount .product-item-amount-field-btn-plus {
  margin-left: 5px;
}
.catalog-element .top .product-item-amount .product-item-amount-field-btn-minus,
.catalog-element .top .product-item-amount .product-item-amount-field-btn-plus {
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  cursor: pointer;
}
.catalog-element .top .product-item-amount .product-item-amount-field-btn-minus.product-item-amount-field-btn-disabled,
.catalog-element .top .product-item-amount .product-item-amount-field-btn-plus.product-item-amount-field-btn-disabled {
  pointer-events: none;
}
.catalog-element .top .product-item-amount .product-item-amount-field-btn-minus:hover,
.catalog-element .top .product-item-amount .product-item-amount-field-btn-plus:hover {
  background: var(--card);
}
.catalog-element .top .product-item-amount .product-item-amount-field-btn-minus:hover svg path,
.catalog-element .top .product-item-amount .product-item-amount-field-btn-plus:hover svg path {
  stroke: var(--primary-100);
}
.catalog-element .top .product-item-amount .product-item-amount-field-btn-minus svg path,
.catalog-element .top .product-item-amount .product-item-amount-field-btn-plus svg path {
  transition: stroke 0.3s ease;
}
.catalog-element .top .product-item-amount .product-item-amount-field {
  width: 100%;
  color: var(--main-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 130%;
  border: none;
  background: transparent;
  text-align: center;
  appearance: none;
}
.catalog-element .top .product-item-amount .product-item-amount-field::-webkit-outer-spin-button, .catalog-element .top .product-item-amount .product-item-amount-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.catalog-element .top .add-btn-wrapper .btn-main {
  padding: 18px 40px;
}
.catalog-element .tabs__buttons {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 20px;
  margin-bottom: 40px;
}
.catalog-element .tabs__buttons .tab-btn {
  color: var(--main-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: 1px;
  padding: 17px 45px;
  border-radius: 50px;
  background: var(--bg-light);
  transition: background 0.3s, color 0.3s ease;
  letter-spacing: 0.32px;
  cursor: pointer;
}
@media (min-width: 992px) {
  .catalog-element .tabs__buttons .tab-btn:hover {
    background: var(--main-text);
    color: var(--card);
  }
}
.catalog-element .tabs__buttons .tab-btn.active {
  background: var(--main-text);
  color: var(--card);
}
.catalog-element .tabs__content .tab-body {
  display: none;
}
.catalog-element .tabs__content .tab-body.active {
  display: block;
}
.catalog-element .tabs__content .tab-body .properties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 10px;
}
.catalog-element .tabs__content .tab-body .properties .prop-row {
  margin-bottom: 0px;
}
.catalog-element .tabs__content .tab-body .properties .prop-row:first-child {
  border-top: none;
}
.catalog-element .tabs__content .tab-body .description {
  display: flex;
  grid-column-gap: 120px;
}
.catalog-element .tabs__content .tab-body .description__left {
  width: 65%;
}
.catalog-element .tabs__content .tab-body .description__right {
  position: sticky;
  top: 30px;
  width: 35%;
}
.catalog-element .tabs__content .tab-body .description__right img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  border-radius: 50px;
  object-fit: cover;
  display: block;
  margin-left: auto;
}

@media (max-width: 1600px) {
  .catalog-element .top {
    grid-column-gap: 30px;
  }
  .catalog-element .top__price .new {
    font-size: 26px !important;
  }
  .catalog-element .main-swiper {
    border-radius: 25px;
  }
  .catalog-element .tabs__content .tab-body .description {
    grid-column-gap: 30px;
  }
  .catalog-element .tabs__content .tab-body .description__right img {
    border-radius: 25px;
  }
}
@media (max-width: 1200px) {
  .catalog-element .top {
    margin-bottom: 40px;
  }
  .catalog-element .top__offer {
    flex-direction: column;
  }
  .catalog-element .top__price {
    padding-right: 0px;
    margin-bottom: 15px;
    width: 100%;
  }
  .catalog-element .top__controls {
    width: 100%;
    justify-content: flex-end;
  }
  .catalog-element .tabs__content .tab-body .description {
    flex-direction: column-reverse;
  }
  .catalog-element .tabs__content .tab-body .description__left {
    width: 100%;
  }
  .catalog-element .tabs__content .tab-body .description__right {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    position: static;
    top: 0px;
  }
  .catalog-element .tabs__content .tab-body .description__right img {
    border-radius: 15px;
  }
  .catalog-element .thumbs-swiper .swiper-wrapper .swiper-slide.swiper-slide-thumb-active {
    border-radius: 15px;
  }
  .catalog-element .main-swiper {
    border-radius: 15px;
  }
  .catalog-element .main-swiper .tags {
    left: 15px;
    top: 15px;
  }
}
@media (max-width: 991px) {
  .catalog-element {
    margin-top: 20px;
    margin-bottom: 40px;
  }
  .catalog-element .top {
    flex-direction: column;
  }
  .catalog-element .top__title {
    margin-bottom: 30px;
  }
  .catalog-element .top__left {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    position: static;
    top: 0px;
  }
  .catalog-element .top__right {
    width: 100%;
  }
  .catalog-element .tabs__buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    grid-gap: 0px;
  }
  .catalog-element .tabs__buttons .tab-btn {
    font-size: 16px;
    padding: 10px 25px;
    margin-right: 10px;
  }
  .catalog-element .tabs__buttons .tab-btn:last-child {
    margin-right: 0px;
  }
  .catalog-element .tabs__content .tab-body .properties {
    display: flex;
    flex-direction: column;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  .catalog-element .tabs__content .tab-body .properties .prop-row {
    margin-bottom: 15px;
  }
  .catalog-element .tabs__content .tab-body .properties .prop-row:last-child {
    margin-bottom: 0px;
  }
}
@media (max-width: 480px) {
  .catalog-element .properties .prop-row {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .catalog-element .properties .prop-row__name {
    font-size: 14px;
  }
  .catalog-element .properties .prop-row__value {
    font-size: 14px;
  }
  .catalog-element .top__controls {
    flex-direction: column;
  }
  .catalog-element .top__controls .product-item-amount {
    margin-bottom: 15px;
    margin-right: auto;
  }
  .catalog-element .top__controls .add-btn-wrapper {
    margin-right: auto;
  }
  .catalog-element .top__favorites::after {
    content: "" !important;
  }
  .catalog-element .top__offer {
    flex-direction: column;
    align-items: flex-start;
  }
}