/* === HERO PRODUCT SECTION === */

.product-hero-section {
  background: linear-gradient(
    180deg,
    #f8f9f4 0%,
    #f8f9f4 60%,
    #fdfdfb 100%
  );
}

/* Title & tagline rely mostly on globals, just light tweaks */
.product-title {
  color: var(--color-brand-dark) ;  /* dark heading green */
  font-weight: 600;
  line-height: 1.4;
}

.product-tagline {
  color: var(--color-text-muted); /* muted text */
  font-size: 0.97rem;
}

/* Left: image card */
.product-media {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--color-border-subtle);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* Main image container:
   - center image on mobile
   - keep a fixed-ish max size like Amazon */
.product-main-image-wrapper {
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border-subtle);
  padding: 0.5rem;
  display: flex;
  justify-content: center;
}

.product-main-image {
  display: block;
  width: 100%;
  max-width: 350px;   /* prevents “full-screen huge” image on small screens */
  max-height: 420px;  /* keeps left column height stable on desktop */
  height: auto;
  object-fit: contain;
}

/* Thumbnails */
.product-thumbnails {
  margin-top: 0.5rem;
}

.product-thumb-btn {
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.2rem;
  background-color: #ffffff;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.product-thumb-image {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.65rem;
}

.product-thumb-btn:hover {
  border-color: var(--color-border-subtle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.product-thumb-btn.active {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 2px rgba(116, 148, 23, 0.25);
}

/* Right: content card */
.product-hero-content {
  background-color: #ffffff;
  border-radius: 1rem;
  /* border: 1px solid var(--color-border-subtle); */
  padding: 1.5rem 1.5rem 1.75rem;
  /* box-shadow: 0 22px 45px rgba(0, 0, 0, 0.03); */
}

/* Buy button */
.btn-buy-amazon {
  background-color: #749417;
  color: #ffffff;
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.75rem;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(116, 148, 23, 0.35);
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.btn-buy-amazon:hover,
.btn-buy-amazon:focus {
  background-color: var(--color-brand-dark);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(65, 80, 10, 0.3);
  transform: translateY(-1px);
}

.btn-buy-amazon:active {
  background-color: var(--color-brand-dark);
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(65, 80, 10, 0.22);
}

/* About this item */
.product-about-item {
  margin-top: 0.75rem;
}

.about-heading {
  color:var(--color-brand-dark) ;
  font-weight: 600;
}

.about-list {
  padding-left: 1.25rem;
  color: #2a2a2a;
  font-size: 0.96rem;
  margin-bottom: 0;
}

.about-list li + li {
  margin-top: 0.25rem;
}

/* RESPONSIVE: keep button visible & layout airy on mobile */
@media (max-width: 991.98px) {
  .product-hero-section {
    padding-top: 1.5rem;
  }

  .product-hero-content {
    margin-top: 0.25rem;
    padding: 1.25rem 1.15rem 1.5rem;
  }

  /* .product-main-image {
    max-width: 300px;
    max-height: 360px;
  } */

  .btn-buy-amazon {
    /* width: 100%; */
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  /* .product-title {
    font-size: 1.02rem; 
  } */

  .product-tagline {
    font-size: 0.9rem;
  }

  .about-list {
    font-size: 0.9rem;
  }

  .product-thumb-image {
    width: 64px;
    height: 64px;
  }
}

/* === SUPPLEMENT FACTS SECTION === */

.supplement-facts-section {
  background-color: #f8f9f4; /* background from palette */
  border-top: 1px solid #e1e4d8; /* subtle separation */
  border-bottom: 1px solid #e1e4d8;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-brand-dark); /* dark heading green */
}

.supplement-facts-image-wrapper {
  max-width: 560px;
  max-height: 100%;;
  margin-left: auto;
  margin-right: auto;
}

.supplement-facts-image {
  display: flex;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid #e1e4d8;
  background-color: #ffffff;
}


/* FAQ styles */

.faq-heading {
  color: var(--color-heading);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 600;
}

.faq-subtext {
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 auto 1rem;
}

.accordion-item {
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  /* overflow: hidden;     */
  margin-bottom: 1rem;
}

.accordion-button {
  background-color: var(--color-surface);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-heading);
}

.accordion-button:not(.collapsed) {
  background-color: var(--color-surface-muted);
  color: var(--color-heading);
  box-shadow: none;
}

/* .accordion-button:focus {
  box-shadow: none;
} */

.accordion-body {
  background: var(--color-surface);
  color: var(--color-text-body);
}
   

/* Optional: also slightly change background on focus
.accordion-button:focus-visible {
  background-color: #f3f7ea; /* soft green-tinted background 
} */

.product-hero-card {
  background: #ffffff;        /* the single card background */
  border-radius: 1.5rem;      /* soft rounded edges */
  /* padding: 2rem;              inner spacing */
  /* box-shadow: 0 12px 28px rgba(0,0,0,0.06);   */
  /* subtle elevation */
}

