/* =========================================================
   PRODUCT PAGE
   Loaded only on single product posts
========================================================= */

.single-product {
  padding-bottom: 4rem;
}

/* ===============================
   PRODUCT HERO
================================ */

.product-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.product-header {
  max-width: 720px;
  margin: 0 auto;
}

.product-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.product-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* ===============================
   PRODUCT HERO IMAGE (FRAMED)
================================ */

.product-hero-image {
  max-width: 320px;
  margin: 2.5rem auto 0;
}

.product-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.14),
    0 6px 14px rgba(0, 0, 0, 0.06);
}

/* ===============================
   PRODUCT CONTENT
================================ */

.product-content {
  padding-top: 2.75rem;
}

.product-description {
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.65;
  opacity: 0.9;
  text-align: center;
}

.product-description p + p {
  margin-top: 1.2rem;
}

/* ===============================
   PRODUCT DETAILS
================================ */

.product-details {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.6rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.product-details li {
  text-align: center;
}

.product-details strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ===============================
   CTA ACTIONS
================================ */

/* CTA wrapper */
.product-ctas {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

/* Primary CTA (Tasting Notes) */
.product-cta {
  display: inline-block;
  background: var(--color-brand);
  color: #fff;
  padding: 0.85rem 2.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition:
    background 0.25s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.product-cta:hover {
  background: #571610;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Secondary CTA (Enquire) */
.product-cta--secondary {
  background: transparent;
  color: var(--color-brand);
  border: 1px solid var(--color-brand);
  box-shadow: none;
}

.product-cta--secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

/* Back link */
.product-back-link {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  opacity: 0.75;
}

.product-back-link:hover {
  opacity: 1;
}

/* ===============================
   RESPONSIVE TWEAKS
================================ */

@media (max-width: 600px) {

  .product-hero {
    padding: 3rem 0 2rem;
  }

  .product-hero-image {
    max-width: 280px;
  }

  .product-details {
    gap: 1.2rem;
  }

}
