@media (max-width: 576px) {
  .popular_item__img {
    min-height: 160px;
    height: 160px;
  }
}
.bx-detail-element {
  .btns_subscribe__callback {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-flow: row wrap;
  }

  .detail_product__header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 715px) minmax(300px, 505px));
    gap: 40px;
    align-items: start;
    justify-items: flex-end;
    margin-bottom: 80px;
    @media screen and (max-width: 890px) {
      grid-template-columns: 1fr;
    }

    .product_slider.block_left {
      width: 100%;

      .product-item-detail-slider-container {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        height: inherit;
        gap: 20px;

        .product-item-detail-slider-block.product-item-detail-slider-block-square {
          width: 100%;
          height: inherit;
          @media screen and (min-width: 621px) and (max-width: 879px) {
            max-width: 100% !important;
          }

          .product-item-detail-slider-images-container {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            height: inherit;

            .product-item-detail-slider-image img {
              border-radius: 12px;
              position: absolute;
              top: 50%;
              left: 50%;
              max-width: 100%;
              max-height: 100%;
              width: auto;
              height: auto;
              outline: 1px solid transparent;
              background-position: center;
              background-repeat: no-repeat;
              transition: background-size 450ms ease, width 450ms ease, height 450ms ease, outline 450ms ease;
              transform: translateY(-50%) translateX(-50%);
            }
          }

        }

        .product-item-detail-slider-controls-block {
          width: 100px;
          max-width: 100px;
          @media screen and (max-width: 1180px) {
            display: none !important;
          }

          .product-item-detail-slider-controls-image {
            width: 100%;
            height: 100px;
            max-width: inherit;
            border-radius: 24px;
            margin-bottom: 20px;

            > img {
              width: inherit;
              max-width: inherit;
              object-fit: cover;
              height: 100px;
              max-height: 100px;
              min-height: 100px;
              border-radius: 24px;
            }
          }
        }
      }
    }

    .product_properties.block_right {
      @media screen and (width <= 520px) {
        margin-top:230px;
      }
      width: 100%;
      display: grid;
      grid-auto-flow: row dense;
      grid-template-areas:
			"name_product"
			"product__rating__article"
			"product-item-scu-container"
			"b_info";

      .name_product {
        margin-bottom: 20px;
        grid-area: name_product;

        .title {
          font-size: clamp(28px, 3vw, 36px);
          text-wrap: balance;
          font-weight: 500;
        }
      }

      .product__rating__article {
        display: flex;
        gap: clamp(10px, 3vw, 36px);
        align-items: center;
        margin-bottom: 25px;
        grid-area: product__rating__article;

        .rating {
        }

        .article_number {
          font-size: 16px;
          color: var(--black-21);
        }
      }

      .product_total {
        .block_sku {
          .product-item-detail-info-container {
            .product-item-detail-info-container-title {
              margin-bottom: 10px;
              color: var(--grey-93);
              font-size: 16px;
            }

            /* SCU */
            .product-item-scu-container {
              grid-area: product-item-scu-container;
              margin-bottom: 25px;

              .product-item-scu-list {
                .product-item-scu-item-list {
                  overflow: hidden;
                  display: flex;
                  flex-flow: row wrap;
                  gap: 10px;
                  padding:0;

                  .product-item-scu-item-text-container.color_product_item{
                    width: 40px;
                    height: 40px;
                    padding: 7px;
                    max-width: 40px;
                    min-width: 40px;
                    .color_product_item_color{
                      outline: #E5E7EB solid 1px;
                      border-radius: 9999px;
                    }
                  }
                  .product-item-scu-item-text-container.color_product_item.selected{
                    .color_product_item_color{
                      outline: #8D31F9 solid 1px;
                      border-radius: 9999px;
                    }
                  }
                  .product-item-scu-item-color-container,
                  .product-item-scu-item-text-container {
                    display: inline-block;
                    box-sizing: border-box;
                    padding: 5px 3px;
                    max-width: 100%;
                    vertical-align: middle;
                    min-width: 48px;

                    .product-item-scu-item-text-block {
                      border-radius: 12px;
                      position: relative;
                      cursor: pointer;
                      outline: rgba(229, 231, 235, 1) solid 1px;

                      .product-item-scu-item-text {
                        overflow: hidden;
                        max-width: 100%;
                        vertical-align: middle;
                        text-align: center;
                        text-transform: uppercase;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        font-size: 16px;
                        padding: 10px;
                        color: var(--black-21);
                      }

                      &:hover {
                        outline: #8D31F9 solid 1px;
                      }
                    }
                  }

                  .product-item-scu-item-text-container.selected .product-item-scu-item-text-block {
                    outline-width: 2px;
                    outline: #8D31F9 solid 1px;
                  }
                }
              }
            }
          }

        }
      }

      .b_info.b_info__tech {
        grid-area: b_info;
        margin-bottom: 25px;

        .b_info__title {
          font-size: 18px;
          font-weight: 700;
          color: var(--black-21);
          margin-bottom: 18px;
        }

        .table_row {
          display: flex;
          gap: 15px;

          &:not(:last-child) {
            margin-bottom: 15px;
          }

          .table_cell:first-child {
            width: 100%;
            max-width: 240px;
            color: var(--black-21);
          }
        }
      }

      .block__price__add_basket {
        .product-item-detail-info-container.block_price.block_discount {
          display: flex;
          align-items: center;
          gap: 24px;
          margin-bottom: 25px;
          /* Price */
          .product-item-detail-price-current {
            color: var(--black-21);
            font-size: clamp(28px, 3vw, 36px);
            font-weight: 500;
            line-height: 36px;
            letter-spacing: -0.03em;
            text-align: left;

          }

          .product-item-detail-price-old {
            font-size: 16px;
            color: var(--grey-AF);
            text-decoration: line-through;
            white-space: nowrap;
          }

          .product-item-label-ring {
            border-radius: 50px;
            background: #F55050;
            color: white;
            padding: 2px 6px;
            font-size: 14px;
          }
        }

        /* BTN_BUY COUNT_PRODUCT */
        .product-item-detail-info-container.block_quantity.block_add_basket {
          display: flex;
          justify-content: flex-end;
          flex-direction: row-reverse;
          align-items: center;
          gap: 25px;
        }

        /*Amount*/
        .product-item-detail-info-container.block_quantity {
          display: inline-flex;
          align-items: center;
          flex-flow: row-reverse wrap;
          gap: 20px;
          justify-content: flex-start;
          @media screen and (max-width: 780px) {
            align-items: flex-start;
            flex-flow: row wrap;
            justify-content: flex-start;
            flex-direction: column-reverse;
          }

          .product-item-amount {
            .product-item-amount-field-container {
              display:flex;
              flex-direction:column;
              .product-item-amount-field-btn-plus,
              .product-item-amount-field-btn-minus {
                position: relative;
                display: inline-block;
                min-width: 32px;
                height: 32px;
                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: .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: .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: .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: .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: 32px;
                border: 1px solid transparent;
                border-radius: 2px;
                background: transparent !important;
                color: #000;
                vertical-align: middle;
                text-align: center;
                font-weight: var(--ui-font-weight-bold);
                font-size: 19px;
                line-height: 22px;
                transition: border 300ms ease;
                pointer-events: none;
              }

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

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

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

          }

          /*Buy button*/
          .block_add_basket {
            > div {
              display: flex;
              gap: 10px;
            }

            .popular_item__like {
              position: relative;
              left: 0;
              top: 0;
              bottom: 0;
              right: 0;
              padding: 18px;
              border-radius: 12px;
              background: var(--grey-FA);
              content: 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='M19.4626 3.99415C16.7809 2.34923 14.4404 3.01211 13.0344 4.06801C12.4578 4.50096 12.1696 4.71743 12 4.71743C11.8304 4.71743 11.5422 4.50096 10.9656 4.06801C9.55962 3.01211 7.21909 2.34923 4.53744 3.99415C1.01807 6.15294 0.22172 13.2749 8.33953 19.2834C9.88572 20.4278 10.6588 21 12 21C13.3412 21 14.1143 20.4278 15.6605 19.2834C23.7783 13.2749 22.9819 6.15294 19.4626 3.99415Z' stroke='%238D31F9' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
            }

            .popular_item__like:hover,
            .popular_item__like:active,
            .popular_item__like.i_prod_active {
              content: 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='M19.4626 3.99415C16.7809 2.34923 14.4404 3.01211 13.0344 4.06801C12.4578 4.50096 12.1696 4.71743 12 4.71743C11.8304 4.71743 11.5422 4.50096 10.9656 4.06801C9.55962 3.01211 7.21909 2.34923 4.53744 3.99415C1.01807 6.15294 0.22172 13.2749 8.33953 19.2834C9.88572 20.4278 10.6588 21 12 21C13.3412 21 14.1143 20.4278 15.6605 19.2834C23.7783 13.2749 22.9819 6.15294 19.4626 3.99415Z' fill='%23E3327F'/%3E%3C/svg%3E");
            }

            .product-item-detail-buy-button {
              position: relative;
              display: block;
              padding: 20px 58.5px;
              width: 100%;
              height: auto;
              font-size: 16px;
            }
          }
        }

        .block_form_found_cheaper {
          padding: 16px 24px;
          margin-top: 42px;
          border: 1px solid var(--grey-EB);
          border-radius: 12px;
          width: 100%;
          max-width:360px;
          min-width:300px;
          cursor: pointer;
          position: relative;

          .popup_found_cheaper {
            display: none;
            background-color: white;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
            padding: 20px 24px;
            position: absolute;
            z-index: 10;
            width: 508px;
            max-width: 508px;
            min-width: 320px;
            top: -100px;
            border-radius: 24px;
            left: clamp(-80px, -4vw, 80px);
            text-wrap: balance;

            .desc {
              font-size: clamp(14px, 3vw, 16px);
              color: var(--black-21);
            }
          }

          .found_cheaper_title {
            position: relative;
            transition: all .3s;
            color: var(--black-21);
            font-size: clamp(14px,3vw,16px);
            display: flex;

            &:hover + .popup_found_cheaper {
              display: block;
            }

            &:after {
              content: 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 18L14.2929 12.7071C14.6262 12.3738 14.7929 12.2071 14.7929 12C14.7929 11.7929 14.6262 11.6262 14.2929 11.2929L9 6' stroke='%238D31F9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
              width: 24px;
              height: 24px;
              margin-left: 10px;
            }

            &:before {
              content: 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 fill-rule='evenodd' clip-rule='evenodd' d='M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM16.7071 7.29289C17.0976 7.68342 17.0976 8.31658 16.7071 8.70711L8.70711 16.7071C8.31658 17.0976 7.68342 17.0976 7.29289 16.7071C6.90237 16.3166 6.90237 15.6834 7.29289 15.2929L15.2929 7.29289C15.6834 6.90237 16.3166 6.90237 16.7071 7.29289ZM7.25 9C7.25 8.0335 8.0335 7.25 9 7.25C9.9665 7.25 10.75 8.0335 10.75 9C10.75 9.9665 9.9665 10.75 9 10.75C8.0335 10.75 7.25 9.9665 7.25 9ZM15 13.0784C14.0335 13.0784 13.25 13.8619 13.25 14.8284C13.25 15.7949 14.0335 16.5784 15 16.5784C15.9665 16.5784 16.75 15.7949 16.75 14.8284C16.75 13.8619 15.9665 13.0784 15 13.0784Z' fill='%2300BF08'/%3E%3C/svg%3E");
              width: 24px;
              height: 24px;
              margin-right: 10px;
            }

          }
        }

      }

    }


  }

  /*Properties-tab */
  .detail_product__tabs {
    .product-item-detail-content-description {
      margin: 24px 0 50px 0;
      color: var(--black-21);

      > ul {
        padding: 0 0 0 20px;

        > li {
          list-style: disc;
          margin: 10px 0;
        }
      }

      > .h2 {
        font-weight: bold;
      }

      > p {
        margin: 15px 0;
      }
    }

    .h2_costume {
      font-size: clamp(22px, 3.6vw, 28px);
      margin-bottom: 24px;
      text-wrap: balance;
      max-width: 700px;
      min-width: 300px;
      width: 100%;
      font-weight: 500;
      line-height: 35.7px;
      letter-spacing: -0.03em;
    }

    .product-item-detail-content-properties {
      display: flex;
      gap: clamp(20px, 3.6vw, 40px);
      align-items: flex-start;
      flex-flow: row wrap;

      .product-item-detail-properties {
        display: block;
        overflow: hidden;
        margin: 0;
        width: 100%;
        max-width: clamp(320px, 93vw, 700px);

        .product_properties_desc {
          padding: 16px 0;
          font-size: 16px;
          display: flex;
          align-items: center;
          border-bottom: 1px solid var(--grey-EB);
          gap: 10px;

          > dt {
            color: var(--grey-93);
            width: 220px;
          }

          > dd {
            color: var(--black-21);
            text-align: left;
          }
        }
      }

      .product_item_block_features_benefits {
        padding: clamp(20px, 4vw, 40px);
        background-color: var(--grey-FA);
        border-radius: 32px;
        width: 100%;
        max-width: clamp(320px, 93vw, 500px);

        .features_benefits__title {
          color: var(--black-21);
          font-size: 28px;
          margin-bottom: 24px;
          font-weight: 500;
          line-height: 35.7px;
          letter-spacing: -0.03em;
        }

        .features_benefits__list {
          > p {
            padding-bottom: 16px;
            color: var(--black-21);
            display: flex;
            align-items: center;
            gap: 20px;

            &:before {
              content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_8235_8410)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.833496 8.00004C0.833496 11.9581 4.04212 15.1667 8.00016 15.1667C11.9582 15.1667 15.1668 11.9581 15.1668 8.00004C15.1668 4.042 11.9582 0.833374 8.00016 0.833374C4.04212 0.833374 0.833496 4.042 0.833496 8.00004ZM11.1173 5.50861C11.3887 5.7574 11.407 6.17911 11.1583 6.45053L7.49163 10.4505C7.3687 10.5846 7.19643 10.6626 7.01463 10.6666C6.83283 10.6705 6.65734 10.6 6.52876 10.4714L4.86209 8.80477C4.60174 8.54444 4.60174 8.12231 4.86209 7.86197C5.12244 7.60164 5.54455 7.60164 5.8049 7.86197L6.97923 9.03631L10.1754 5.54956C10.4242 5.27815 10.8459 5.25981 11.1173 5.50861Z' fill='%238D31F9'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_8235_8410'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
              width: 16px;
              height: 16px;
            }

            &:last-child {
              padding-bottom: 0;
            }
          }
        }
      }
    }

    /*REVIEWS FOR PRODUCT*/
    .product-item-detail-reviews-content {
      .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-flow: row wrap;
      }
    }
  }
}

/* reset btn subscribe */
.bx-catalog-subscribe-button {
  margin: 0 !important;
  display: inherit !important;
}

/* Sidebar */
.product-item-detail-pay-block {
  position: relative;
  margin-bottom: 15px;
  padding: 20px 20px 0;
  border: 1px solid #e4e4e4;
  border-radius: 3px;
  background-color: #fff;
}

.bx-retina .product-item-detail-pay-block {
  border-width: .5px;
}

/*Compare*/
.product-item-detail-compare-container {
  position: relative;
  margin: 0 -20px;
  padding: 4px 15px;
  min-height: 30px;
  border-top: 1px solid #e4e4e4;
  background: #f3f3f3;
  box-shadow: inset 0 1px 1px 0 #eee;
  color: #4e4e4e;
  vertical-align: middle;
  font-size: 12px;
  line-height: 20px;
}

.product-item-detail-compare .checkbox {
  margin: 0;
  padding: 0;
}

.product-item-scu-item-color-container {
  max-width: 38px;
  width: 25%;
}

.product-item-scu-item-color-block {
  position: relative;
  padding-top: 100%;
  cursor: pointer;
}

.bx-no-touch .product-item-scu-item-color-block {
  transition: outline 200ms ease;
}

.bx-retina .product-item-scu-item-color-block {
  outline-width: .5px;
}

.product-item-scu-item-color-container.selected .product-item-scu-item-color-block {
  outline-width: 2px;
}

.bx-retina .product-item-scu-item.selected .product-item-scu-item-color-block {
  outline-width: 1px;
}

.product-item-scu-item-color {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.product-item-scu-item-color-container.notallowed .product-item-scu-item-color-block,
.product-item-scu-item-text-container.notallowed .product-item-scu-item-text-block {
  position: relative;
  overflow: hidden;
}

.product-item-scu-item-color-container.notallowed .product-item-scu-item-color-block:after,
.product-item-scu-item-text-container.notallowed .product-item-scu-item-text-block:after {
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  background: rgba(255, 255, 255, 0.75) url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiIgdmlld0JveD0iMCAwIDI2IDI2Ij4gIDxwYXRoIGZpbGw9IiNBOUFEQjQiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTE0LjM5MjEyNjgsMTMuMjMyMzAyOSBMMjUuOTkyLDEuNDE4IEwyNC42LDAgTDEyLjk5OTk5NTYsMTEuODE0NDM2NCBMMS40LDAgTDAuMDA5LDEuNDE5IEwxMS42MDc4Njg3LDEzLjIzMjI5NzUgTDAuNDczLDI0LjU3MyBMMS44NjUsMjUuOTkxIEwxMi45OTk5OTkzLDE0LjY1MDE2NDUgTDI0LjEzNCwyNS45OSBMMjUuNTI2LDI0LjU3MiBMMTQuMzkyMTI2OCwxMy4yMzIzMDI5IFoiLz48L3N2Zz4=) no-repeat center;
  background-size: 80% 80%;
  content: "";
}

.product-item-selected-scu-container {
  word-spacing: 1px
}

.product-item-selected-scu {
  display: inline-block;
  overflow: hidden;
  padding: 0 5px;
  min-width: 22px;
  height: 22px;
  outline: 1px solid #c0cfda;
  vertical-align: middle;
  text-align: center;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 22px;
}

.bx-retina .product-item-selected-scu {
  outline-width: .5px;
}

.product-item-selected-scu-color {
  background-position: center;
  background-size: 20px 20px;
  background-repeat: no-repeat;
}


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

/* Slider */
.product-item-detail-slider-container {
  position: relative;
  max-width: 100%;
  background: transparent;
  transition: background 800ms ease;
}

.product-item-detail-slider-block {
  position: relative;
  box-sizing: border-box;
  padding-top: 56.25%;
  height: 0;
}

.product-item-detail-slider-block.product-item-detail-slider-block-square {
  padding-top: 100%;
}


.product-item-detail-slider-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  opacity: 0;
  transition: opacity 250ms linear;
  outline: 1px solid #f7f7f7;
  border-radius: 12px;
  height: 597px;
}

.product-item-detail-slider-image.active {
  z-index: 10;
  opacity: 1;
}

.product-item-detail-slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 180;
  height: 3px;
}

/*Slider Controls*/
.product-item-detail-slider-controls-block {
  padding: 10px 0;
  text-align: center;
}

.product-item-detail-slider-controls-image {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 65px;
  height: 65px;
  outline: 1px solid #c0cfda;
  background-color: #fff;
  text-align: center;
  cursor: pointer;
}

.bx-retina .product-item-detail-slider-controls-image {
  outline-width: .5px;
}

.bx-no-retina .product-item-detail-slider-controls-image.active {
  outline-width: 2px;
}

.bx-retina .product-item-detail-slider-controls-image.active {
  outline-width: 1px;
}

.product-item-detail-slider-controls-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 65px;
  max-height: 65px;
  width: auto;
  height: auto;
  transform: translateY(-50%) translateX(-50%);
}

.product-item-detail-slider-left,
.product-item-detail-slider-right {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 111;
  display: block;
  width: 25%;
  background: rgba(255, 255, 255, 0) url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2230%22%20viewBox%3D%220%200%2016%2030%22%3E%3Cpolygon%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%20points%3D%2216%2050%202%2036%2016%2022%2015%2021%201%2035%200%2036%201%2037%2015%2051%22%20transform%3D%22translate(0%20-21)%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
  opacity: .57;
  cursor: pointer;
  transition: all 300ms ease;
}

.product-item-detail-slider-left {
  left: 0;
}

.product-item-detail-slider-right {
  right: 0;
  transform: rotate(180deg);
}

.product-item-detail-slider-left:hover,
.product-item-detail-slider-right:hover {
  background-color: rgba(255, 255, 255, .4);
  opacity: .8;
}

.product-item-detail-slider-close {
  display: none;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-close {
  position: absolute;
  top: 4px;
  right: 110px;
  bottom: 0;
  z-index: 150;
  display: block;
  width: 50px;
  height: 50px;
  background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpolygon%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%20points%3D%2216%2015.1%208.944%208%2016%201%2015.006%200%208.05%207%20.994%200%200%201%207.056%208%200%2015.1%20.994%2016%208.05%209%2015.006%2016%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
  opacity: .27;
  cursor: pointer;
  transition: all 300ms ease;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-close:hover {
  opacity: 1;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-right {
  right: 105px;
}

/*magnified*/
.product-item-detail-slider-container.magnified .product-item-detail-slider-image {
  z-index: 100;
}

.product-item-detail-slider-container.magnified .product-item-detail-slider-image img {
  outline-color: #ddd;
}

.product-item-detail-slider-container.magnified .product-item-detail-slider-left,
.product-item-detail-slider-container.magnified .product-item-detail-slider-right {
  z-index: 50;
}

/*	>>>	popup*/
.product-item-detail-slider-container.popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999999;
  background: #fff;
  animation-name: imgPopupShow;
  animation-duration: 300ms;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-images-container {
  right: 105px;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-block {
  padding-top: 0;
  height: 100vh;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-height: 100vh;
  width: calc(100% - 360px);
  transform: translateY(-50%) translateX(-50%);
}

@-webkit-keyframes imgPopupShow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes imgPopupShow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-ms-keyframes imgPopupShow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-o-keyframes imgPopupShow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes imgPopupShow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.product-item-detail-slider-container.popup .product-item-detail-slider-image img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  cursor: default
}

.product-item-detail-slider-container.popup .product-item-detail-slider-controls-block {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid #d3d3d3;
  background-color: #fff;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-controls-image {
  display: block;
  margin-bottom: 20px;
}

/* Slider Mobile*/
@media (max-width: 767px) {
  .product-item-detail-slider-container.popup .product-item-detail-slider-images-container {
    right: 0;
  }

  .product-item-detail-slider-container.popup .product-item-detail-slider-block {
    padding-top: 0;
    height: calc(100vh - 111px);
  }

  .product-item-detail-slider-container.popup .product-item-detail-slider-image {
    width: 90%;
  }

  .product-item-detail-slider-container.popup .product-item-detail-slider-image img {
    max-width: 100%;
    max-height: calc(100vh - 115px);
    width: auto;
    cursor: default;
  }

  .product-item-detail-slider-container.popup .product-item-detail-slider-controls-block {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: auto;
    max-height: 111px;
    border-top: 1px solid #d3d3d3;
    border-left: none;
    white-space: nowrap;
  }

  .product-item-detail-slider-container.popup .product-item-detail-slider-controls-image {
    display: inline-block;
    margin-bottom: 0;
  }

  .product-item-detail-slider-container.popup .product-item-detail-slider-close {
    right: 10px;
    z-index: 200;
  }

  .product-item-detail-slider-left,
  .product-item-detail-slider-right {
    max-width: 75px;
  }

  .product-item-detail-slider-container.popup .product-item-detail-slider-right {
    right: 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;
  }
}

/*RING*/
.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-center.product-item-label-middle {
  transform: translateY(-50%) translateX(-50%);
}

/*Tab fixed*/
.product-item-detail-tabs-container-fixed {
  position: fixed;
  top: -100px;
  right: 0;
  left: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 4px 14px 0 rgba(32, 54, 74, .23);
  transition: top 350ms linear;
}

.product-item-detail-tabs-container-fixed {
  min-height: 45px;
  background: #fff;
}

.product-item-detail-tabs-container-fixed.active {
  top: 0;
  opacity: 1;
}

.product-item-detail-tabs-container-fixed .product-item-detail-tabs-list {
  margin: 0 auto;
  max-width: 1048px;
}

.product-item-detail-tabs-container-fixed .product-item-detail-tab {
  min-height: 45px;
}

.product-item-detail-tabs-container-fixed .product-item-detail-tab-link {
  padding: 10px 25px;
  height: 45px;
  line-height: 25px;
}

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

/*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, .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: #000;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  font-size: 16px;
}

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

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