/* КАРТОЧКА ТОВАРА */
.product-card-teaser {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0px 10px 40px -10px rgba(11, 61, 97, 0.08);
  border-radius: 2px;
  box-sizing: border-box;
  height: 100%;
}

.product-card-teaser .product-card__up {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 15px;
}

.product-card-teaser .product-card__image {
  text-align: center;
  height: 250px;
  overflow: hidden;
}

.product-card-teaser .product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
  margin: 0 auto;
}

.product-card-teaser .product-card__title a {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
  color: #00355b;
}

.product-card-teaser .product-card__down {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-card-teaser .product-card__price-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: nowrap;
}

.product-card-teaser .product-card__price-current,
.product-card-teaser .product-card__price-old {
  flex: 1;
  white-space: nowrap;
}

.product-card-teaser .product-card__price-current {
  font-weight: 800;
  font-size: 24px;
  line-height: 25px;
  text-align: right;
  padding: 0;
  flex: 1.7;
  color: #00355b;
}

.product-card-teaser .product-card__price-old {
  font-size: 14px;
  line-height: 22px;
  padding: 0;
  text-decoration-line: line-through;
  color: #366281;
}

.product-card-teaser
  .product-card__form
  form.commerce-order-item-add-to-cart-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.product-card-teaser .button--add-to-cart {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background-color: #38716c;
  border-radius: 50%;
  box-shadow:
    0px 10px 15px -3px rgba(0, 0, 0, 0.1),
    0px 4px 6px -4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background-image: url("/sites/all/themes/vesta_theme/image/icons/Cart.svg");
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.product-card-teaser .add-to-cart-message,
.product-card-teaser
  .field--type-entity-reference.field--widget-commerce-product-variation-attributes,
.product-card-teaser input[type="hidden"],
.product-card-teaser .form-item label {
  display: none;
}
.tabs-content {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  display: flex;
  align-items: center;
  color: #366281;
}
@media (max-width: 1399px) {
  .product-card-teaser .product-card__image {
    height: 220px;
  }

  .product-card-teaser .product-card__price-current {
    font-size: 22px;
  }

  .wr_popular .splide__arrows,
  .wr_similar_products .splide__arrows {
    top: 109%;
  }

  .wr_popular .splide__pagination,
  .wr_similar_products .splide__pagination {
    top: 105%;
    margin-top: 20px;
  }
}

@media (max-width: 1199px) {
  .product-card-teaser .product-card__image {
    height: 200px;
  }

  .product-card-teaser .product-card__price-current {
    font-size: 20px;
  }

  .product-card-teaser .button--add-to-cart {
    width: 36px;
    height: 36px;
    background-size: 13px;
  }

  .wr_popular .splide__arrows,
  .wr_similar_products .splide__arrows {
    top: 107%;
  }
}

@media (max-width: 991px) {
  .product-card-teaser .product-card__image {
    height: 180px;
  }

  .product-card-teaser .product-card__price-current {
    font-size: 18px;
  }

  .product-card-teaser .product-card__price-old {
    font-size: 12px;
  }

  .product-card-teaser .button--add-to-cart {
    width: 34px;
    height: 34px;
    background-size: 12px;
  }

  .wr_popular .splide__arrows,
  .wr_similar_products .splide__arrows {
    top: 108%;
  }

  .wr_popular .splide__arrow,
  .wr_similar_products .splide__arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 767px) {
  .product-card-teaser .product-card__image {
    height: 160px;
  }

  .product-card-teaser .product-card__title a {
    font-size: 16px;
    line-height: 22px;
  }

  .product-card-teaser .product-card__price-row {
    margin-top: 0;
  }

  .product-card-teaser .product-card__price-current {
    font-size: 18px;
  }

  .product-card-teaser .button--add-to-cart {
    width: 32px;
    height: 32px;
  }

  .wr_popular .splide__arrows,
  .wr_similar_products .splide__arrows {
    top: 110%;
  }

  .wr_popular .splide__arrow,
  .wr_similar_products .splide__arrow {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 567px) {
  .product-card-teaser .product-card__image {
    height: 140px;
  }

  .product-card-teaser .product-card__title a {
    font-size: 14px;
    line-height: 20px;
  }

  .product-card-teaser .product-card__price-current {
    font-size: 16px;
  }

  .product-card-teaser .button--add-to-cart {
    width: 30px;
    height: 30px;
    background-size: 11px;
  }

  .wr_popular .splide__arrows,
  .wr_similar_products .splide__arrows {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 110%;
  }

  .wr_popular .splide__arrow,
  .wr_similar_products .splide__arrow {
    position: relative;
    margin: 0 15px;
  }
}

@media (max-width: 360px) {
  .product-card-teaser .product-card__image {
    height: 180px;
  }

  .product-card-teaser .product-card__title a {
    font-size: 16px;
  }

  .product-card-teaser .product-card__price-current {
    font-size: 18px;
  }

  .product-card-teaser .button--add-to-cart {
    width: 36px;
    height: 36px;
  }

  .wr_popular .splide__arrows,
  .wr_similar_products .splide__arrows {
    top: 110%;
  }

  .view-footer {
    text-align: center;
  }

  .view-footer .link-all {
    margin-top: 20px;
    font-size: 14px;
  }
}

.plm-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 140px;
  height: 40px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  padding: 0 12px;
  box-sizing: border-box;
}

.plm-group .c-minus,
.plm-group .c-plus {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #00355b;
  user-select: none;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1;
}

.plm-group .form-number {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 14px;
  background: transparent;
  color: #00355b;
  outline: none;
  padding: 0;
  margin: 0;
}

.plm-group .form-number::-webkit-outer-spin-button,
.plm-group .form-number::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.plm-group .form-number {
  -moz-appearance: textfield;
}
.cart.cart-form .views-field-edit-quantity {
  text-align: center;
  vertical-align: middle;
}
.cart.cart-form .views-field-edit-quantity .js-form-item {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cart.cart-form .views-field-edit-quantity .plm-group {
  display: inline-flex;
  margin: 0 auto;
}

@media (max-width: 1399px) {
  .plm-group {
    width: 130px;
    height: 38px;
    padding: 0 10px;
  }
  .plm-group .c-minus,
  .plm-group .c-plus {
    font-size: 16px;
  }
  .plm-group .form-number {
    font-size: 13px;
  }
}

@media (max-width: 1199px) {
  .plm-group {
    width: 120px;
    height: 36px;
    padding: 0 8px;
  }
  .plm-group .c-minus,
  .plm-group .c-plus {
    font-size: 15px;
  }
  .plm-group .form-number {
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  .plm-group {
    width: 110px;
    height: 34px;
    padding: 0 8px;
  }
  .plm-group .c-minus,
  .plm-group .c-plus {
    font-size: 14px;
  }
  .plm-group .form-number {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .plm-group {
    width: 100px;
    height: 32px;
    padding: 0 6px;
  }
  .plm-group .c-minus,
  .plm-group .c-plus {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .plm-group {
    width: 90px;
    height: 30px;
    padding: 0 6px;
  }
  .plm-group .c-minus,
  .plm-group .c-plus {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .plm-group {
    width: 80px;
    height: 28px;
    padding: 0 4px;
  }
}
.product-card-teaser .button--add-to-cart:active,
.product-card-teaser .button--add-to-cart:focus,
.product-card-teaser .button--add-to-cart:hover {
  background-color: #38716c !important;        
  background-image: url("/sites/all/themes/vesta_theme/image/icons/Cart.svg") !important;
  background-size: 15px 15px !important;
  background-repeat: no-repeat !important;
  background-position: 50% !important;
  color: transparent !important;
  box-shadow: 0px 0px 5px #38716c;            
}