.product-information {
  display: flex;
  flex-direction: column;
  gap: 18px;

  h1 {
    margin: 0;
    color: #1e3c38;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.08;
  }
}

.product-badges,
.product-rating,
.price-row,
.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-badge,
.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #497671;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.discount-badge {
  background: #dc2626;
}

.product-rating {
  color: #697777;
  font-weight: 800;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 4px;

  strong {
    color: #1e3c38;
    font-size: 2rem;
    line-height: 1;
  }
}

.old-price {
  color: #a1b4b5;
  text-decoration: line-through;
}

.product-stock {
  color: #697777;
  font-weight: 800;

  &.out {
    color: #b91c1c;
  }

  &.low {
    color: #b45309;
  }

  &.medium {
    color: #497671;
  }

  &.high {
    color: #15803d;
  }
}

.stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.add-to-cart {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: #497671;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;

  &:hover {
    background: #3d635f;
    transform: translateY(-1px);
  }

  &:focus-visible {
    outline: 3px solid rgba(73, 118, 113, 0.25);
    outline-offset: 2px;
  }
}

@media (max-width: 640px) {
  .product-information {
    gap: 14px;
  }

  .product-price strong {
    font-size: 1.7rem;
  }
}
