/* ===============================
   Product Details (Text Content)
   =============================== */

/* Product title with responsive font size */
.home-product-details h2 {
  font-size: clamp(32px, 28.33px + 0.9796vw, 44px);
  line-height: 1.4;
}

/* Product description text */
.home-product-details p {
  font-size: clamp(20px, 18.78px + 0.3265vw, 24px);
}

/* ===============================
   Product Pricing
   =============================== */

/* Current product price */
.home-product-price span {
  font-size: 32px;
}

/* Previous (old) price styling */
.home-product-price .product-prev-price {
  font-size: 20px;
  transform: translateY(4px); /* Align visually with current price */
}

/* ===============================
   Product Action Buttons
   =============================== */

.home-product-buttons {
  margin-bottom: 20px;
}

/* On tablets and above, limit buttons width */
@media (width >= 768px) {
  .home-product-buttons {
    width: 50%;
  }
}

/* ===============================
   Layout Adjustments (Responsive)
   =============================== */

/* Stack content vertically on smaller screens */
@media (width <= 768px) {
  .box-content-home-product {
    flex-direction: column-reverse;
  }
}

/* ===============================
   Image Stage (Product + SVG)
   =============================== */

/* Main container for product image & rotating SVG */
.image-stage {
  position: relative;
  min-height: 500px; /* CRITICAL: prevents layout collapse */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Rotating SVG background */
.svg-bg {
  z-index: 1;
  pointer-events: none; /* Prevent SVG from blocking clicks */
  animation: rotate 20s linear infinite;
  left: 50%;
  top: 50%;
}

/* Product image wrapper (above SVG) */
.product-img-wrapper {
  position: relative;
  z-index: 2;
  max-width: 350px;
}

/* Product image itself with pulse animation */
.product-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
  /* animation: pulse-scale 5s ease-in-out infinite; */
}

/* ===============================
   Animations
   =============================== */

/* SVG Rotation Animation */
@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Product image pulse/scale animation */
@keyframes pulse-scale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* ===============================
   Mobile Tweaks
   =============================== */

@media (max-width: 576px) {
  /* Reduce image stage height for small devices */
  .image-stage {
    min-height: 320px;
  }

  /* Reduce image size on mobile */
  .product-img-wrapper {
    max-width: 300px;
  }

  .mb-sm-4 {
    margin-bottom: 1.5rem !important;
  }
}
