.product-card__visual::before,
.product-card__visual::after {
  position: absolute;
  border: 1px solid rgba(7, 89, 199, 0.11);
  border-radius: 50%;
  content: '';
}

.product-card__visual::before {
  width: 180px;
  height: 180px;
}

.product-card__visual::after {
  width: 118px;
  height: 118px;
}

.product-card__visual--photo::before,
.product-card__visual--photo::after {
  display: none;
}

.product-card__image {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: contain;
  object-position: center;
  transition: transform 260ms ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.025);
}

.product-card__tag {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 16px;
  padding: 6px 9px;
  border: 1px solid #d1ddeb;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  color: #4d5c70;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.stock-badge {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card.is-out-of-stock .product-card__image {
  opacity: 0.78;
}

.product-card__body {
  display: flex;
  padding: 23px;
  flex: 1;
  flex-direction: column;
}

.product-card__type {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 48px;
  margin-bottom: 6px;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.product-card__meta {
  margin-bottom: 20px;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.product-card__coa {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  margin: -8px 0 18px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
}

.product-card__coa:hover,
.product-card__coa:focus-visible {
  text-decoration: underline;
}

.product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-card__add {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

.product-card__add:hover,
.product-card__add:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.product-card__add.is-added {
  border-color: var(--success);
  background: var(--success);
}

.product-card__add.is-out-of-stock,
.product-card__add:disabled,
.button.is-out-of-stock,
.button:disabled {
  border-color: #aebaca;
  background: #dce3eb;
  color: #536174;
  cursor: not-allowed;
  transform: none;
}

.product-card__price {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.product-card__action {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--blue);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.product-card:hover .product-card__action {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.product-card__preview {
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.vial {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 130px;
  border: 2px solid #9cafc5;
  border-radius: 12px 12px 18px 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 10px 0 18px rgba(255, 255, 255, 0.8), inset -7px 0 18px rgba(43, 93, 146, 0.08), 0 16px 24px rgba(32, 60, 90, 0.1);
}

.vial::before {
  position: absolute;
  top: -18px;
  right: -6px;
  left: -6px;
  height: 27px;
  border: 1px solid #91a2b4;
  border-radius: 7px 7px 4px 4px;
  background: #d9e0e7;
  box-shadow: inset 0 5px 4px rgba(255, 255, 255, 0.7), 0 2px 0 #7e8d9e;
  content: '';
}

.vial::after {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  height: 18px;
  border-radius: 50% 50% 9px 9px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -4px 10px rgba(255, 255, 255, 0.85);
  content: '';
}

.vial__label {
  position: absolute;
  z-index: 2;
  top: 35px;
  right: 7px;
  left: 7px;
  padding: 10px 4px 8px;
  border-top: 2px solid var(--blue);
  border-bottom: 1px solid #dbe3ec;
  background: rgba(255, 255, 255, 0.97);
  text-align: center;
}

.vial__brand {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.47rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.vial__name {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.47rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.vial__amount {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.42rem;
  font-weight: 700;
}

.quality-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 92px;
}

.quality-panel {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid #243b58;
  border-radius: var(--radius-lg);
  background: #10243f;
}

.quality-panel__rings {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(118, 174, 248, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(81, 145, 228, 0.07), 0 0 0 130px rgba(81, 145, 228, 0.035);
}

.coa-card {
  position: absolute;
  top: 78px;
  right: 45px;
  left: 45px;
  padding: 34px;
  border-radius: 15px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  transform: rotate(-2deg);
}
