.product-item {
  position: relative;
  background: #ffffff;
  border-radius: 20rem;
  padding: 32rem 24rem;
  outline: 1px solid #D6D6D6;
  transition: box-shadow 0.3s ease;
  max-width: 410rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-item-detail-pay-block .product-item__btns{
    display: grid;
    gap: 0% 2%;
    grid-template-columns: 48% 48%;
}
.product-item-detail-pay-block .product-item__btns .btn.product-item-detail-buy-button {
    padding: 0;
    height: 100%;
}
.product-item:hover {
  box-shadow: 0rem 2rem 10rem rgba(0, 0, 0, 0.25);
  outline: none;
}
.product-item .hidden {
  visibility: hidden;
}
.product-item__tags {
  position: absolute;
  top: 15rem;
  left: 30rem;
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
  z-index: 15;
}
.product-item__tag {
  width: -moz-fit-content;
  width: fit-content;
  display: block;
  border: 1rem solid #237284;
  background-color: #fff;
  border-radius: 10rem;
  font-family: "Inter";
  font-weight: 500;
  font-size: 16rem;
  color: #237284;
  padding: 8rem 19rem;
  text-align: center;
}
.product-item img {
  max-width: 100%;
}
.product-item__link {
  display: block;
  cursor: pointer;
}
.product-item-image-wrapper {
  position: relative;
  display: block;
  margin: 0 auto 15rem;
  max-width: 250rem;
  min-height: 225rem;
  align-content: center;
  width: 100%;
  transition: all 300ms ease;
}
.product-item-image-wrapper .swiper-slide {
  align-content: center;
}
.product-item-image-wrapper img {
  max-height: 200rem;
  -o-object-fit: contain;
  object-fit: contain;
}
.product-item-none {
  display: none;
}
.product-item-image-original {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 300ms linear;
}
.product-item__title {
  font-family: "Inter";
  font-weight: 400;
  color: inherit;
  font-size: 20rem;
  line-height: 128%;
  margin-top: 0;
  margin-bottom: 8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
}
.product-item__brand {
  display: block;
  font-family: "Inter";
  font-weight: 500;
  font-size: 16rem;
  line-height: 120%;
  color: #237284;
  margin-bottom: 17rem;
}
.product-item__parameters-btn {
  cursor: pointer;
  display: block;
  position: relative;
  font-family: "Inter";
  font-weight: 600;
  font-size: 16rem;
  line-height: 120%;
  color: #4a4a4a;
  border: none;
  padding: 0;
  margin: 0;
  padding-right: 18rem;
  background-color: transparent;
  text-align: left;
  width: -moz-fit-content;
  width: fit-content;
}
.product-item__parameters-btn::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 12rem;
  height: 7rem;
  display: block;
  content: "";
  background-image: url(images/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.product-item__parameters-btn.active::after {
  rotate: 180deg;
  transform: translateY(50%);
}
.product-item__parameters {
  display: none;
  padding-top: 10rem;
}
.product-item__parameters.active {
  display: flex;
  gap: 6rem;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.product-item__parameters-name {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16rem;
  line-height: 1.2;
  color: #989898;
}
.product-item__parameters-value {
  color: rgba(0, 0, 0, 0.831372549);
  text-align: end;
}
.product-item__box {
  min-height: 73rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10rem;
  padding-top: 36rem;
  margin-top: auto;
}
.product-item__box .product-item-price {
  display: flex;
  flex-direction: column;
}
.product-item__box .product-item-price .product-item-price-old {
  font-size: 15rem;
  text-decoration: line-through;
}
.product-item__yapay {
  margin-bottom: 20rem;
}
.product-item__yapay yandex-pay-badge {
  max-width: 100%;
}
.product-item__stock {
  max-width: 129rem;
  width: 100%;
  background: #237284;
  border-radius: 10rem;
  font-family: "Inter";
  font-weight: 500;
  font-size: 16rem;
  color: #ffffff;
  padding: 9rem 2rem;
  text-align: center;
}
.product-item__price {
  font-family: "Inter";
  font-weight: 700;
  font-size: 20rem;
  line-height: 1.2;
}
.product-item__btns {
  display: flex;
  flex-direction: column;
  gap: 16rem;
  margin-bottom: 25rem;
}
.product-item__btn {
  max-height: 56rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;
  padding: 19rem;
  font-family: "Inter";
  font-weight: 600;
  font-size: 16rem;
  line-height: 1.2;
  color: #ffffff;
  background: #e3191c;
  border-radius: 15rem;
  transition: all 0.3s ease;
}
.product-item__btn img {
  width: 25rem;
  height: 25rem;
}
.product-item__btn svg {
  width: 25rem;
  height: 25rem;
  display: block;
}
.product-item__btn.disable img {
  display: none;
}
.product-item__btn.disable .product-item__preload-btn {
  display: block;
}
.product-item__btn.disable .product-item__check-suc {
  display: none;
}
.product-item__btn.success img {
  display: none;
}
.product-item__btn.success .product-item__check-suc {
  display: block;
}
.product-item__btn .product-item__preload-btn,
.product-item__btn .product-item__check-suc {
  display: none;
}
.product-item__pay {
  display: block;
  font-family: "Inter";
  font-weight: 600;
  font-size: 16rem;
  line-height: 1.2;
  color: #237284;
  border: 1rem solid #237284;
  background: transparent;
  border-radius: 15rem;
  padding: 18rem 5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.product-item__hidden {
  display: none;
}
.product-item__opacity {
  opacity: 0.5;
}
.product-item-compare {
  display: flex;
}
.product-item-compare__box {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13rem;
}
.product-item-compare__box svg {
  width: 18rem;
  height: 19rem;
}
.product-item-compare__box span {
  font-family: "Inter";
  font-weight: 500;
  font-size: 16rem;
  line-height: 19rem;
  color: #989898;
}
.product-item-compare__box input:checked + svg path {
  stroke: #000000;
}
.product-item-compare__box input:checked + svg .svg__path {
  stroke: #fff;
}
.product-item-compare__box input:checked ~ span {
  font-weight: 600;
  color: #000000;
}
.product-item__delivery {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 10rem;
  font-size: clamp(11rem, 3vw, 15rem);
}
.product-item__delivery-item {
  color: #000;
}
.product-item__delivery-text {
  -webkit-text-decoration: dotted;
  text-decoration: dotted;
}
.product-item-favorite {
  display: flex;
  margin-top: 10rem;
}
.product-item-favorite__box {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13rem;
}
.product-item-favorite__box svg {
  width: 20rem;
  height: 20rem;
}
.product-item-favorite__box span {
  font-family: "Inter";
  font-weight: 500;
  font-size: 16rem;
  line-height: 19rem;
  color: #989898;
}
.product-item-favorite__box input:checked + svg {
  fill: #000000;
}
.product-item-favorite__box input:checked + svg path {
  stroke: #000000;
}
.product-item-favorite__box input:checked ~ span {
  font-weight: 600;
  color: #000000;
}

.swiper_card {
  height: 100%;
  text-align: center;
}

.swiper-slide .product-item {
  margin: 1.1rem;
}
.swiper-slide .product-item__tag {
  padding: 7rem 11rem;
}
.swiper-slide .product-item__brand {
  margin-bottom: 9rem;
}
.swiper-slide .product-item__parameters-btn {
  display: none;
}
.swiper-slide .product-item__box {
  min-height: auto;
  height: 36rem;
  padding-top: 0;
}

@keyframes svg-animate-path {
  0% {
    stroke-dasharray: 0 400;
  }
  to {
    stroke-dasharray: 400 0;
  }
}
@keyframes svg-animate-circle {
  0% {
    stroke-dasharray: 0 2023;
  }
  to {
    stroke-dasharray: 2023 0;
  }
}
.svg-check-suc {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 30;
  transform-origin: 50% 50%;
}

.circle-check-suc {
  stroke-dasharray: 2023;
  stroke-dashoffset: 2023;
  transform: rotate(-90deg);
  animation: 0.3s ease-in-out 0.3s 1 normal forwards running svg-animate-circle;
}

.path-check-suc {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: 0.3s ease-in-out 0.3s 1 normal forwards running svg-animate-path;
}

@media (max-width: 768px) {
  .product-item {
    padding: 8rem;
    padding-bottom: 15rem;
    border-radius: 10rem;
    margin-bottom: 10rem;
  }
  .product-item:hover {
    box-shadow: 0rem 2rem 4rem rgba(0, 0, 0, 0.25);
  }
  .product-item__tags {
    top: 8rem;
    left: 8rem;
  }
  .product-item__tag {
    font-size: 12rem;
    border-radius: 10rem;
    padding: 3rem 8rem !important;
  }
  .product-item__brand {
    font-size: 12rem;
    margin-bottom: 5rem;
  }
  .product-item__title {
    font-size: 12rem;
    margin-bottom: 5rem;
  }
  .product-item-image-wrapper {
    max-width: 140rem;
    min-height: 210rem;
  }
  .product-item__btn, .product-item__pay {
    gap: 5rem;
    font-size: 12rem;
    padding: 10rem 0;
    border-radius: 10rem;
  }
  .product-item__btn img, .product-item__pay img {
    width: 15rem;
    height: 15rem;
  }
  .product-item__btn svg, .product-item__pay svg {
    width: 15rem;
    height: 15rem;
  }
  .product-item__price {
    font-size: 14rem;
  }
  .product-item__btns {
    gap: 10rem;
    margin-bottom: 10rem;
  }
  .product-item__stock {
    max-width: 60rem;
    font-size: 9rem;
    padding: 3rem 1rem;
    border-radius: 5rem;
  }
  .product-item__box {
    font-size: 14rem;
    min-height: auto;
    padding-top: 16rem;
    margin-bottom: 10rem;
  }
  .product-item__box .product-item-price .product-item-price-old {
    font-size: 11rem;
  }
  .product-item__parameters-btn {
    font-size: 12rem;
  }
  .product-item__parameters-name {
    font-size: 8rem;
  }
  .product-item__parameters-value {
    font-size: 8rem;
  }
  .product-item-favorite__box {
    gap: 5px;
  }
  .product-item-favorite__box span {
    font-size: 10rem;
  }
  .product-item-compare__box {
    gap: 5rem;
  }
  .product-item-compare__box svg {
    height: 16rem;
  }
  .product-item-compare__box span {
    font-size: 10rem;
    line-height: 1.2;
  }
  .product-item__yapay {
    max-width: 140rem;
  }
}