/* Product Card Specifics */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  
  /* Reduction for Desktop */
  max-width: 520px;   /* Reduces the card to roughly half-width on large screens */
  margin: 0 auto;    /* Keeps it centered since there's only one product for now */
  width: 100%;
}

.product-image-container {
  /* This pulls the image container to the edges of the card */
  margin: -1.2rem -1.2rem 1.5rem -1.2rem; 
  background-color: rgba(var(--bg-soft-rgb), 0.4); 
  height: 280px; /* Keeping your height spot on as requested */
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.product-thumb {
  max-height: 100%;
  width: auto;
  /* Adds a soft shadow to the 3D book mockup */
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.12)); 
}

.product-badge {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 0.5rem;
}

.product-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Center all text within the product card for symmetry */
.product-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the button and elements */
}

.product-description {
  max-width: 500px; /* Prevents text from stretching too wide in a centered layout */
  margin-left: auto;
  margin-right: auto;
}

/* Button Alignment Fix */
.product-cta-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 650px) {
  .product-card {
    max-width: 100%; /* Allows it to take full width on mobile devices */
  }
  .product-cta-wrapper .btn-primary {
    width: 100%;
  }
}

/* Price Styling */
.product-price {
  margin-bottom: 1.2rem;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-price .currency {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
}

.product-price .amount {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
}

/* Hotmart Button & Icon */
.btn-hotmart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 0.9rem 2rem;
}

.hotmart-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}