.product-table {
  display: flex;
  justify-content: space-between;
  gap: 50rem;
  position: relative;
  background: #ffffff;
  padding: 30rem;
  outline: 1rem solid #D6D6D6;
  transition: box-shadow 0.3s ease;
}
.product-table .hidden {
  visibility: hidden;
}
.product-table__tags {
  position: absolute;
  top: 15rem;
  left: 30rem;
  display: flex;
  flex-wrap: wrap;
  z-index: 15;
  gap: 10rem;
}
.product-table__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-table img {
  max-width: 100%;
}
.product-table__link {
  display: block;
  cursor: pointer;
}
.product-table-image-wrapper {
  max-width: 242rem;
  position: relative;
  display: block;
  width: 100%;
  transition: all 300ms ease;
}
.product-table-image-wrapper img {
  max-height: 200rem;
}
.product-table-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-table__title {
  color: black;
  text-decoration: none !important;
  font-weight: 400;
  font-size: 16rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  margin-bottom: 15rem;
  margin-top: 0;
}
.product-table__brand {
  display: block;
  font-weight: 500;
  font-size: 16rem;
  line-height: 120%;
  color: #237284;
  margin-bottom: 17rem;
}
.product-table__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;
}
.product-table__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: cover;
  background-repeat: no-repeat;
}
.product-table__parameters-btn.active::after {
  rotate: 180deg;
  transform: translateY(50%);
}
.product-table__parameters {
  display: none;
  padding-top: 10rem;
}
.product-table__parameters.active {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 6px;
}
.product-table__parameters-name {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16rem;
  line-height: 1.2;
  color: #989898;
}
.product-table__parameters-value {
  color: rgba(0, 0, 0, 0.831372549);
}
.product-table__box {
  display: flex;
  gap: 20rem;
  align-items: center;
  justify-content: space-between;
  flex-direction: column-reverse;
}
.product-table__box .product-item-price .product-table-price-old {
  font-size: 15rem;
  text-decoration: line-through;
  margin-right: 10rem;
}
.product-table__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-table__price {
  font-family: "Inter";
  font-weight: 700;
  font-size: 20rem;
  line-height: 1.2;
}
.product-table__btns {
  display: flex;
  flex-direction: column;
  gap: 16rem;
  margin-bottom: 25rem;
}
.product-table__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-table__btn img {
  width: 25rem;
  height: 25rem;
}
.product-table__btn svg {
  width: 25rem;
  height: 25rem;
  display: block;
}
.product-table__btn.disable img {
  display: none;
}
.product-table__btn.disable .product-item__preload-btn {
  display: block;
}
.product-table__btn.disable .product-item__check-suc {
  display: none;
}
.product-table__btn.success img {
  display: none;
}
.product-table__btn.success .product-item__check-suc {
  display: block;
}
.product-table__btn .product-item__preload-btn,
.product-table__btn .product-item__check-suc {
  display: none;
}
.product-table__pay {
  display: block;
  font-family: "Inter";
  font-weight: 600;
  font-size: 16rem;
  line-height: 1.2;
  color: #237284;
  border: 1rem solid #237284;
  border-radius: 15rem;
  padding: 18rem 5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.product-table__hidden {
  display: none;
}
.product-table__opacity {
  opacity: 0.5;
}
.product-table-compare {
  display: flex;
}
.product-table-compare__box {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13rem;
}
.product-table-compare__box svg {
  width: 18rem;
  height: 19rem;
}
.product-table-compare__box span {
  font-family: "Inter";
  font-weight: 500;
  font-size: 16rem;
  line-height: 19rem;
  color: #989898;
  white-space: nowrap;
}
.product-table-compare__box input:checked + svg path {
  stroke: #000000;
}
.product-table-compare__box input:checked + svg .svg__path {
  stroke: #fff;
}
.product-table-compare__box input:checked ~ span {
  font-weight: 600;
  color: #000000;
}
.product-table__wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-table__wrapper--name {
  align-items: flex-start;
}
.product-table__wrapper--pay {
  max-width: 270rem;
  width: 100%;
}
.product-table__delivery {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 10rem;
  font-size: clamp(11rem, 3vw, 15rem);
}
.product-table__delivery-item {
  color: #000;
}
.product-table__delivery-text {
  -webkit-text-decoration: dotted;
  text-decoration: dotted;
}
.product-table-favorite {
  display: flex;
}
.product-table-favorite__box {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13rem;
}
.product-table-favorite__box svg {
  width: 20rem;
  height: 20rem;
}
.product-table-favorite__box span {
  font-family: "Inter";
  font-weight: 500;
  font-size: 16rem;
  line-height: 19rem;
  color: #989898;
  white-space: nowrap;
}
.product-table-favorite__box input:checked + svg {
  fill: #000000;
}
.product-table-favorite__box input:checked + svg path {
  stroke: #000000;
}
.product-table-favorite__box input:checked ~ span {
  font-weight: 600;
  color: #000000;
}
.product-table__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

@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-table-card {
    height: 100%;
  }
  .product-table {
    gap: 3rem;
    flex-direction: column;
    padding: 8rem;
    padding-bottom: 15rem;
    border-radius: 10rem;
    height: 100%;
  }
  .product-table:hover {
    box-shadow: 0rem 2rem 4rem rgba(0, 0, 0, 0.25);
  }
  .product-table-image-wrapper {
    height: 200rem;
  }
  .product-table__wrapper--pay {
    max-width: none;
  }
  .product-table-image-wrapper {
    max-width: none;
  }
  .product-table-header {
    display: none;
  }
  .product-table__tags {
    top: 8rem;
    left: 8rem;
  }
  .product-table__tag {
    font-size: 12rem;
    border-radius: 10rem;
    padding: 3rem 8rem !important;
  }
  .product-table__brand {
    font-size: 12rem;
    margin-bottom: 5rem;
  }
  .product-table__title {
    font-size: 12rem;
    margin-bottom: 5rem;
  }
  .product-table__btn, .product-table__pay {
    gap: 5rem;
    font-size: 12rem;
    padding: 10rem 0;
    border-radius: 10rem;
  }
  .product-table__btn img, .product-table__pay img {
    width: 15rem;
    height: 15rem;
  }
  .product-table__btn svg, .product-table__pay svg {
    width: 15rem;
    height: 15rem;
  }
  .product-table__price {
    font-size: 12rem;
  }
  .product-table__btns {
    gap: 10rem;
    margin-bottom: 10rem;
  }
  .product-table__stock {
    max-width: 57rem;
    font-size: 8rem;
    padding: 3rem 1rem;
  }
  .product-table__box {
    font-size: 14rem;
    min-height: auto;
    padding-top: 16rem;
    margin-bottom: 10rem;
  }
  .product-table__box .product-item-price .product-table-price-old {
    font-size: 11rem;
  }
  .product-table__parameters-btn {
    font-size: 12rem;
  }
  .product-table__parameters-name {
    font-size: 8rem;
  }
  .product-table__parameters-value {
    font-size: 8rem;
  }
  .product-table-compare__box {
    gap: 5rem;
  }
  .product-table-compare__box svg {
    height: 16rem;
  }
  .product-table-compare__box span {
    font-size: 10rem;
    line-height: 1.2;
  }
}