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

  h1 {
    margin: 0;
    color: var(--text-primary);
    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: var(--radius-full, 999px);
  background: var(--primary-color);
  color: var(--bg-primary);
  font-size: var(--font-size-xs, 0.75rem);
  font-weight: 900;
  text-transform: uppercase;
}

.discount-badge {
  background: var(--error-color);
}

.product-rating {
  color: var(--text-secondary);
  font-weight: 800;
}

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

  strong {
    color: var(--text-primary);
    font-size: var(--font-size-4xl, 2rem);
    line-height: 1;
  }
}

.old-price {
  color: var(--secondary-color);
  text-decoration: line-through;
}

.product-stock {
  color: var(--text-secondary);
  font-weight: 800;

  &.out {
    color: var(--error-color);
  }

  &.low {
    color: var(--warning-color);
  }

  &.medium {
    color: var(--primary-color);
  }

  &.high {
    color: var(--success-color);
  }
}

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

.add-to-cart {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-lg, 13px);
  background: var(--primary-color);
  color: var(--bg-primary);
  font-size: var(--font-size-lg, 1rem);
  font-weight: 900;
  cursor: pointer;
  transition: transform var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);

  &:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }

  &:active {
    transform: translateY(0);
  }

  &:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
  }

  &: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;
  }
}
