.card-block-header {
  margin: 32px 0 28px 0;
  font-size: 14px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}
.card-block-header:first-child {
  margin-top: 52px;
}

@media (min-width: 768px) {
  .product-info.product-right {
    position: sticky;
    top: 100px;
    height: fit-content;
  }
}
/* Просматривали ранее */
.slick-slider {
  overflow: hidden;
}
.slick-slider .slick-list {
  margin-left: -8px;
  margin-right: -8px;
}
.slick-slide {
  margin: 0 8px;
}
.product-content {
  z-index: 2;
  display: grid;
  grid-template-columns: auto 445px;
  column-gap: 55px;
}
.product-item-detail-slider-images-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-right .title {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
  color: var(--main-color);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* Price */
.product-item-detail-info-price {
  margin-bottom: 15px;
  display: flex;
  font-size: 18px;
  font-weight: 400;
  gap: 4px;
}
.product-item-detail-price-current.red {
  white-space: nowrap;
  color: #ff0202;
}

.product-item-detail-price-old {
  white-space: nowrap;
  position: relative;
  color: #29292970;
  display: inline-block;
}
.product-item-detail-price-old:before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  content: '';
  width: 100%;
  height: 0.5px;
  background-color: #29292970;
}
/* SCU */

.product-right .product-item-scu-item-text-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
}
.product-right .product-item-scu-list-title {
  font-size: 18px;
  margin-bottom: 15px;
}
.product-right .product-item-scu-list-title span {
  text-transform: lowercase;
}
.product-right .product-item-scu-item-text-container.selected:before {
  content: '';
  display: block;
  right: 10px;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='inherit' stroke='inherit' viewBox='0 0 21 14' class='Icon ' color='%23887569'%3E%3Cpath d='M20.8485 1.01131L7.67567 13.8374L0.151546 6.51131L0.988687 5.65155L7.67567 12.1626L20.0113 0.151546L20.8485 1.01131Z'%3E%3C/path%3E%3C/svg%3E");
  width: 10px;
  height: 10px;
  background-size: 10px 10px;
}
.product-right .product-item-scu-item-text-container .subscribe-size {
  text-transform: uppercase;
}
.product-info .bx-catalog-subscribe-button span::after {
  display: none;
}
.bx-catalog-subscribe-button {
  margin-bottom: 0 !important;
}
.product-item-detail-info-container .bx-catalog-subscribe-button {
  pointer-events: all;
}
.product-right .product-item-detail-info-container:not(.product-size) .product-item-scu-container .product-item-scu-item-list {
  gap: 8px;
}
.product-right .product-item-scu-item-color-container {
  width: 20px;
  height: 20px;
}
.product-right .product-item-scu-item-color-container.selected {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}
.product-item-scu-item-color-block {
  display: block;
}
.size-selected {
  margin-top: 45px;
  border-radius: 2px;
  border: 1px solid #e3e3e3;
  width: 100%;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;

  padding: 20px 24px;
  cursor: pointer;
}
.size-selected:before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='black' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
  right: 17px;
  top: 17px;
  position: absolute;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  display: block;
}
.size-selected.active:before {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
.product-item-detail-info-container.product-size {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}
.product-item-detail-info-container.product-size.active {
  height: auto;
  overflow: visible;
  transition: height 0.3s ease-out;
  border: 1px solid #e3e3e3;
  border-radius: 2px;
  margin-top: 19px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
  position: absolute;
  width: 100%;
  top: 100%;
  z-index: 2;
  background-color: #ffffff;
}
.product-right .product-item-detail-info-container.product-size .product-item-scu-item-list {
  flex-direction: column;
  gap: 0px;
}
.product-right .product-item-detail-info-container.product-size .product-item-scu-item-list .product-item-scu-item-text-block {
  width: 95px;
  padding-left: 24px;
}
.product-right .product-item-detail-info-container.product-size .product-item-scu-item-list span {
  text-transform: uppercase;
}
/*Amount*/
.product-item-amount {
  padding: 0 0 2px;
  text-align: center;
}

.product-item-amount-field-container {
}

.product-item-amount-field-btn-plus,
.product-item-amount-field-btn-minus {
  position: relative;
  display: inline-block;
  min-width: 22px;
  height: 22px;
  border-radius: 2px;
  background-color: #f2f2f2;
  color: #fff;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  transition: background 300ms ease, opacity 300ms ease;
}

.bx-retina .product-item-amount-field-btn-plus,
.bx-retina .product-item-amount-field-btn-minus {
  border-width: 0.5px;
}

.product-item-amount-field-btn-plus:hover,
.product-item-amount-field-btn-minus:hover {
  background: #d3d3d3;
}

.product-item-amount-field-btn-plus:after,
.product-item-amount-field-btn-minus:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  opacity: 0.8;
  transition: opacity 300ms ease, background 300ms ease;
}

.product-item-amount-field-btn-disabled.product-item-amount-field-btn-plus:after,
.product-item-amount-field-btn-disabled.product-item-amount-field-btn-minus:after {
  opacity: 0.3 !important;
  cursor: default;
}

.product-item-amount-field-btn-disabled.product-item-amount-field-btn-plus:hover,
.product-item-amount-field-btn-disabled.product-item-amount-field-btn-minus:hover {
  background-color: #f2f2f2;
}

.product-item-amount-field-btn-minus:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  opacity: 0.8;
  transition: opacity 300ms ease;
}

.product-item-amount-field-btn-plus:after {
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDMwIDMwIj4gIDxwYXRoIGZpbGw9IiM1MjVDNjgiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTE4LDEyIEwxOCwwIEwxMiwwIEwxMiwxMiBMMCwxMiBMMCwxOCBMMTIsMTggTDEyLDMwIEwxOCwzMCBMMTgsMTggTDMwLDE4IEwzMCwxMiBMMTgsMTIgWiIvPjwvc3ZnPg==) no-repeat center;
  background-size: 10px;
}

.product-item-amount-field-btn-minus:after {
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDMwIDMwIj4gIDxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSI2IiB5PSIxMiIgZmlsbD0iIzUyNUM2OCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat center;
  background-size: 10px;
}

.product-item-amount-field-btn-plus:hover:after,
.product-item-amount-field-btn-minus:hover:after {
  opacity: 1;
}

.product-item-amount-field {
  display: inline-block;
  padding: 0;
  max-width: 50px;
  width: auto;
  height: 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent !important;
  color: #292929;
  vertical-align: middle;
  text-align: center;
  font-weight: var(--ui-font-weight-bold);
  font-size: 19px;
  line-height: 22px;
  transition: border 300ms ease;
}

.bx-retina .product-item-amount-field {
  border-width: 0.5px;
}

.product-item-amount-field:focus {
  outline: none !important;
}

.bx-no-touch input.product-item-amount-field::-webkit-outer-spin-button,
.bx-no-touch input.product-item-amount-field::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}

.product-item-amount-description-container {
  color: #a5a5a5;
  white-space: nowrap;
  font-size: 12px;
}

.product-item-amount-description-container strong {
  color: #333;
  white-space: nowrap;
}

.product-item-amount-label-container {
  margin: 5px 0;
  color: #a5a5a5;
  font-weight: var(--ui-font-weight-bold);
  font-size: 12px;
}

/**/
.product-item-quantity {
  color: #333;
  font-weight: normal;
  font-size: 12px;
}

/*Buy button*/
.product-right .product-item-detail-pay-block {
  margin: 30px 0;
}

.main-button-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-button-container > div {
  width: 100%;
}
.product-right .product-item-detail-pay-block .icon-favorites {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  background-size: 20px 20px;
  border: 1px solid #e3e3e3;
  border-radius: 1px;
}

.product-right .product-item-detail-pay-block .button {
  width: 100%;
  line-height: 1;
  padding: 20px 0;
}

/*Label*/
.product-item-label-text,
.product-item-label-ring {
  position: absolute;
  z-index: 190;
  opacity: 1;
  transition: opacity 450ms ease;
}

.product-item-label-text span,
.product-item-label-ring {
  display: inline-block;
  clear: both;
  margin-bottom: 2px;
  background: #f42c2c;
  color: #fff;
  vertical-align: middle;
  text-align: center;
  transition: all 250ms ease;
}

.bx-red .product-item-label-text span,
.bx-red .product-item-label-ring {
  background-color: #fba90c;
}

.product-item-label-text > div,
.product-item-label-ring > div {
  line-height: 0;
}

/* TEXT */
.product-item-label-text span {
  padding: 2px 5px;
  vertical-align: middle;
  font-weight: var(--ui-font-weight-bold);
}

.product-item-label-text.product-item-label-small span {
  margin-bottom: 1px;
  padding: 2px 7px;
  font-weight: normal;
  font-size: 13px;
  line-height: 14px;
}

.product-item-label-text.product-item-label-big span {
  padding: 4px 10px;
  font-size: 13px;
  line-height: 17px;
}

@media (max-width: 767px) {
  .product-item-label-text > div {
    line-height: 0;
  }

  .product-item-label-text.product-item-label-small span,
  .product-item-scalable-card.hover .product-item-label-text.product-item-label-small span {
    margin-bottom: 1px;
    padding: 2px 7px;
    font-size: 10px;
    line-height: 14px;
  }

  .product-item-big-card .product-item-label-text.product-item-label-small span,
  .product-item-label-text.product-item-label-big span,
  .product-item-scalable-card.hover .product-item-label-text.product-item-label-big span {
    margin-bottom: 1px;
    padding: 3px 12px;
    font-size: 14px;
    line-height: 16px;
  }

  .product-item-big-card .product-item-label-text.product-item-label-big span {
    padding: 3px 12px;
    font-size: 20px;
    line-height: 25px;
  }

  .product-right .product-item-scu-item-text-container {
    gap: 20px;
  }
  .product-right .title {
    margin-bottom: 5px;
    font-size: 22px;
  }
  .size-selected {
    margin-top: 25px;
  }
  .card-block-header:first-child {
    margin-top: 40px;
  }
}

/*RING*/
.product-item-label-ring {
  box-sizing: border-box;
  border-radius: 50%;
  font-weight: var(--ui-font-weight-bold);
}

.product-item-label-ring.product-item-label-small {
  width: 40px;
  height: 40px;
  font-size: 14px;
  line-height: 40px;
}

.product-item-label-ring.product-item-label-big {
  width: 50px;
  height: 50px;
  font-size: 18px;
  line-height: 50px;
}

@media (max-width: 767px) {
  .product-item-label-ring.product-item-label-small,
  .product-item-scalable-card.hover .product-item-label-ring.product-item-label-small {
    width: 20px;
    height: 20px;
    font-size: 13px;
    line-height: 20px;
  }

  .product-item-big-card .product-item-label-ring.product-item-label-small,
  .product-item-label-ring.product-item-label-big,
  .product-item-scalable-card.hover .product-item-label-ring.product-item-label-big {
    width: 35px;
    height: 35px;
    font-size: 12px;
    line-height: 35px;
  }

  .product-item-big-card .product-item-label-ring.product-item-label-big {
    width: 70px;
    height: 70px;
    font-size: 24px;
    line-height: 70px;
  }
}

.product-item-label-top {
  top: -5px;
}

.product-item-label-center {
  left: 50%;
  transform: translateX(-50%);
}

.product-item-label-center > div {
  text-align: center;
}

.product-item-label-left {
  left: -5px;
}

.product-item-label-left > div {
  text-align: left;
}

.product-item-label-bottom {
  bottom: -5px;
}

.product-item-label-middle {
  top: 50%;
  transform: translateY(-50%);
}

.product-item-label-right {
  right: -5px;
}

.product-item-label-right > div {
  text-align: right;
}

.product-item-label-center.product-item-label-middle {
  transform: translateY(-50%) translateX(-50%);
}

/* accordion product */
.product-right .accordion-header {
  padding: 22px 0;
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}

/* .product-right .accordion .info {
  padding-bottom: 20px;
} */
/*Small Card*/
.product-item-detail-short-card-fixed {
  position: fixed;
  top: -85px;
  right: 0;
  left: 0;
  z-index: 1010;
  box-sizing: border-box;
  padding: 7px 0 8px;
  height: 85px;
  background-color: #fff;
  box-shadow: 0 4px 14px 0 rgba(32, 54, 74, 0.23);
  transition: top 220ms linear;
}

.product-item-detail-short-card-fixed.active {
  top: 0;
  opacity: 1;
}

.product-item-detail-short-card-fixed.active + .product-item-detail-tabs-container-fixed.active {
  top: 85px;
}

.bx-touch .product-item-detail-short-card-fixed {
  display: none !important;
}

.product-item-detail-short-card-fixed .product-item-detail-short-card-content-container {
  margin: 0 auto;
  max-width: 1048px;
}

.product-item-detail-short-card-content-container table {
  min-width: 100%;
  border-collapse: collapse;
}

.product-item-detail-short-card-image {
  padding-right: 15px;
  width: 80px;
  vertical-align: middle;
  text-align: left;
}

.product-item-detail-short-card-image img {
  max-width: none;
  height: 65px;
}

.product-item-detail-short-title-container {
  max-width: 650px;
}

.product-item-detail-short-title-text {
  display: block;
  color: #292929;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  font-size: 16px;
  font-family: var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
  font-weight: var(--ui-font-weight-regular, 400);
}

.product-item-detail-short-card-price {
  padding: 0 10px;
  vertical-align: middle;
  text-align: right;
}

.product-item-detail-short-card-btn {
  padding-left: 10px;
  min-width: 120px;
}

/*Properties */
.product-item-detail-tab-content {
  display: none;
}

.product-item-detail-tab-content.active {
  display: block;
}

.product-item-detail-tab-content h3 {
  margin-bottom: 10px;
  font-weight: var(--ui-font-weight-bold);
  font-size: 14px;
}

.product-item-detail-properties {
  display: block;
  overflow: hidden;
  margin: 0;
  max-width: 560px;
  color: #818181;
  font-size: inherit;
  display: flex;
  margin-bottom: 10px;
}

.product-item-detail-properties dl {
  clear: both;
}

.product-item-detail-properties dt {
  float: left;
  clear: both;
  font-weight: normal;
}

.product-item-detail-properties dd {
  float: right;
  margin-bottom: 3px;
  margin-left: 5px;
  color: #818181;
}

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input[type='number'] {
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* .recommends-product .catalog-list,
.recommends-product .catalog-products-viewed {
  grid-template-columns: repeat(4, 1fr);
  column-gap: 15px;
  margin-top: 0px;
}
.recommends-product .catalog-list .product-card,
.recommends-product .catalog-products-viewed .product-card {
  min-width: 278px;
  max-width: 278px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.recommends-product .catalog-list .product-card > a:not(.icon-favorites),
.recommends-product .catalog-products-viewed .product-card > a:not(.icon-favorites) {
  padding-bottom: 160%;
} */

@media (max-width: 1200px) {
  .product-item-detail-slider-images-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .product-content {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
  }
}
@media (max-width: 767px) {
  .product-content {
    grid-template-columns: 1fr;
    column-gap: 0px;
    row-gap: 16px;
  }

  .product-item-detail-slider-image,
  .photo {
    min-width: 100%;
  }
  .main-button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    z-index: 2;
    padding: 15px 16px calc(20px + env(safe-area-inset-bottom));
    opacity: 1;
    visibility: visible;
    transition: all 0.16s linear;
  }
  .btn-product-none {
    opacity: 0;
    visibility: hidden;
    transition: all 0.16s linear;
  }
  .slick-slider .slick-list {
    margin: 0 -16px;
    overflow: hidden;
    padding: 0 16px;
  }
  .slick-slider {
    overflow: visible;
  }
  .product-item-detail-slider-container {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    margin: 0 -16px;
  }

  .product-item-detail-slider-block {
    max-width: 767px;
    height: 75vh;
    min-height: 150vw;
    max-height: 800px;
    width: 100%;
  }
  .product-item-detail-slider-images-container {
    gap: 0;
    display: block;
  }
}

.dark-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  display: none;
}

.product-item-scu-item-text-container span{
  font-size: 12px;
  color: #818181;

}

.product-item-detail-info-container.product-size.active{
margin-top: 0;
}

@media (max-width: 450px){
 .dark-overlay.active {
  display: block;
}

.product-item-detail-info-section {
    position: relative;
    z-index: 20;
}

 .size-selected {
   background-color: white;
  }
 .main-button-container{
   z-index: 30;
}
}

.product-right .product-item-scu-item-text-container{
  align-items: flex-end;
}

.product-item-scu-item-text{
    text-transform: uppercase;
}

.modal-img {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  overflow: auto;
}

.modal-content-img {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  position: relative;
  box-sizing: border-box;

}

.modal-slide {
  display: none;
  flex-shrink: 0;

  width: 100%;
}

.modal-slide.active {

  display: block;
}

.modal-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.close {
  position: fixed;
  right: 30px;
  color: #292929;
  font-size: 40px;
  cursor: pointer;
  font-weight: 100;
  z-index: 1001;
  top: 30px;
}

.next,
.prev {
  cursor: pointer;
  position: fixed;
  top: 50%;
  width: auto;
  padding: 14px;
  margin-top: -22px;
  font-weight: bold;
  transition: 0.6s ease;
  user-select: none;
  z-index: 1001;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23292929' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
}

.prev {
  left: 0;
  transform: rotate(180deg);
}

.next {
  right: 15px;
}

.header-active {
  display: none;
}

.no-scroll {
  overflow: hidden;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fractionn {
  display: none;
}

.swiper.thumbnail-swiper.swiper-initialized.swiper-horizontal.swiper-free-mode.swiper-watch-progress.swiper-backface-hidden.swiper-thumbs{
  position: absolute;
  z-index: 1010;
  bottom: 0;
  width: 100%;
  padding: 0 10%;
}

.swiper-slide.thumbnail-slide.swiper-slide-visible.swiper-slide-fully-visible{
 flex-shrink: 1;
}
.thumbnail-swiper .swiper-slide {
  width: auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  object-fit: cover; 
}

.thumbnail-swiper .swiper-slide-thumb-active {
  opacity: 1;

}

.thumbnail-swiper .swiper-wrapper{
  justify-content: center;
}

.thumbnail-swiper img {
  width: 95px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
}
.swiper-slide{
  overflow: auto;
}

@media (max-width: 768px) {
  .modal-slide img {
      height: 100vh;
      object-fit: cover;
  }
  .next {
      right: 0;
  }
  .modal-thumbnails {
      display: none;
  }
  .modal-content-img {
      align-items: center;
  }
  .swiper {
      overflow: hidden;
  }

  .thumbnail-swiper {
      display: none;
  }
  .swiper.thumbnail-swiper {
      display: none;
  }
  .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
      display: block;
  }
  .close{
      right: 15px;
      top: 15px;
  }
}


/*
Стили для подели и сплит
*/
.product-item-detail-info-price {
  flex-wrap: wrap;
}
.product-item-split {
  width: 100%;
  display: flex;
  cursor: pointer;
  caret-color: transparent;
  margin-top: 11px;
}

.product-item-split-content {
  padding: 5px 8px;
  border: 1px solid rgba(52, 37, 30, 0.5);
  font-size: 15px;
  color: #818181;
  transition: all 0.3s ease;
}

.product-item-split:hover .product-item-split-content {
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

.product-item-split-price {
  text-decoration: underline;
}

.product-item-note {
  width: 100%;
  margin-top: 8px;
}

.product-item-note-content {
  padding: 8px 10px;
  border: 1px solid #7C141F;
  color: #34251e;
  font-size: 15px;
  line-height: 1.35;
  overflow: hidden;
  transition: height 0.45s ease, border-color 0.35s ease, color 0.35s ease, opacity 0.3s ease;
}

.product-item-note.is-collapsible {
  cursor: pointer;
}

.product-item-note.is-collapsible:hover .product-item-note-content,
.product-item-note.is-collapsible:focus .product-item-note-content,
.product-item-note.is-collapsible:focus-visible .product-item-note-content {
  color: #34251e;
}

.product-item-note.is-collapsible:focus,
.product-item-note.is-collapsible:focus-visible {
  outline: none;
}

.product-item-note.is-animating .product-item-note-content {
  opacity: 0.96;
}

.product-item-note-text,
.product-item-note-ellipsis {
  display: inline;
  color: inherit;
}

.product-item-note.is-text-entering .product-item-note-text,
.product-item-note.is-text-entering .product-item-note-ellipsis {
  animation: product-note-text-in 0.22s ease;
}

@keyframes product-note-text-in {
  from {
    opacity: 0.4;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-item-socials {
  margin-top: 10px;
}

.product-item-note-socials-wrap {
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-item-note-socials-wrap.is-hidden {
  display: none;
}

.product-item-note:not(.is-collapsed) .product-item-note-socials-wrap {
  opacity: 1;
  transform: translateY(0);
}

.product-item-note.is-collapsed .product-item-note-socials-wrap {
  opacity: 0;
  transform: translateY(4px);
}

/*
Стили для модального окна Сплит/Подели
*/
.modal-split {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-split.show {
  display: flex;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-split-content {
  background-color: white;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.modal-split.show .modal-split-content {
  transform: scale(1);
}

.modal-split-header {
  padding: 0 0 24px 0;
  border-bottom: 1px solid #e3e3e3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modal-split-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: var(--main-color);
  line-height: 1.2;
  text-align: center;
}

.modal-split-close {
  cursor: pointer;
  font-size: 32px;
  color: #292929;
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 5px;
  right: 8px;
  z-index: 10;
}

.modal-split-close:hover {
  opacity: 0.7;
}

.modal-split-tabs {
  display: flex;
  border-bottom: 1px solid #e3e3e3;
}

.modal-tab-button {
  flex: 1;
  padding: 16px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #818181;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.modal-tab-button:hover {
  color: #292929;
}

.modal-tab-button.active {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
}

.modal-split-tab-content {
  padding: 24px 0 0 0;
  min-height: 200px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.modal-split-close-button {
  margin-top: 24px;
  text-align: center;
}

.modal-close-btn {
  width: 100%;
  background: var(--main-color);
  color: var(--sub-color);
  border: 0;
  border-radius: 3px;
  padding: 18px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .modal-split-content {
    width: 100%;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 24px;
    padding-top: calc(24px + env(safe-area-inset-top));
  }
  
  .modal-split-header {
    padding: 12px 0 12px 0;
  }
  
  .modal-split-header h3 {
    font-size: 18px;
  }
  
  .modal-split-close {
    font-size: 28px;
    width: 28px;
    height: 28px;
    top: 32px;
    right: 12px;
  }
  
  .modal-tab-button {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .modal-split-tab-content {
    padding: 16px 0;
  }
  
  .modal-split-close-button {
    margin-top: 12px;
  }
}
