/* ============================================
   GET POWER BRASIL — PRODUCT PAGE GLOBAL STYLES
   Aplica em todas as páginas de produto
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --gpb-gold: #C9A96E;
  --gpb-black: #0A0A0A;
  --gpb-cream: #F7F4F0;
  --gpb-green: #4A6741;
  --gpb-white: #FFFFFF;
}

body { font-family: 'DM Sans', sans-serif; line-height: 1.6; }

.product_title, h1.entry-title,
.product-title, [class*="product-name"] h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  color: var(--gpb-black) !important;
  line-height: 1.3 !important;
}

.price, .woocommerce-Price-amount,
[class*="product-price"], [class*="price"] {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--gpb-gold) !important;
}

/* Corpo de texto principal e descrições longas */
.product-single, .product-summary, .product-description,
.woocommerce-product-details__short-description,
.prose, .prose p, .prose li,
.product-content, .product-details, .product-specs,
[class*="product-section"], [class*="content"] p, [class*="content"] li {
  line-height: 1.7 !important;
  letter-spacing: 0.01em !important;
  font-size: 1.02rem !important;
  color: #1f2937 !important;
}

.prose {
  max-width: 78ch;
  width: 100%;
}

.prose p + p,
.product-description p + p,
.product-details p + p {
  margin-top: 0.85rem !important;
}

.prose ul li::marker,
.product-description ul li::marker {
  color: var(--gpb-gold);
  font-size: 1rem;
}

.prose h2, .prose h3, .prose h4,
.product-description h2, .product-description h3, .product-description h4,
.woocommerce-tabs h2, .woocommerce-tabs h3 {
  line-height: 1.25 !important;
  letter-spacing: 0.005em !important;
  margin-top: 1.6rem !important;
  margin-bottom: 0.8rem !important;
}

/* Listas de benefícios e bullets */
.product-description ul li,
.woocommerce-product-details__short-description ul li,
.prose ul li {
  margin-bottom: 0.45rem !important;
  padding-left: 0.4rem;
  line-height: 1.65 !important;
}

.product-description ul,
.woocommerce-product-details__short-description ul,
.prose ul { padding-left: 1.25rem; }

.prose strong,
.product-description strong { color: #0a0a0a; font-weight: 700; }

/* Bloco Detalhes inspirado em landing médica premium */
.gpb-details-card {
  background: #F7F4F0;
  border: 1px solid #E7DFD2;
  box-shadow: 0 18px 50px rgba(10,10,10,0.04);
}
.gpb-details-card h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.gpb-details-card .prose {
  font-size: 1.05rem !important;
  line-height: 1.78 !important;
  letter-spacing: 0.005em !important;
  color: #111827 !important;
  max-width: none;
  margin: 0;
}
.gpb-details-card .prose > * + * { margin-top: 0.95rem !important; }
.gpb-details-card .prose p {
  margin: 0;
  padding: 0;
}
.gpb-details-card .prose h3 { font-size: 1.15rem; margin-top: 1.3rem !important; margin-bottom: 0.6rem !important; }
.gpb-details-card .prose h4 { margin-top: 1rem !important; margin-bottom: 0.5rem !important; }
.gpb-details-card .prose ul { margin-bottom: 1rem !important; }
.gpb-details-card .prose li { break-inside: avoid; }

.gpb-details-card .prose { columns: 1; }

@media (max-width: 768px) {
  .gpb-details-card {
    padding: 1.1rem !important;
  }
  .gpb-details-card .prose {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    max-width: 100%;
  }
}

.woocommerce-product-gallery,
.product-images, [class*="product-gallery"] {
  box-shadow: 0 30px 80px rgba(0,0,0,0.10) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.single_add_to_cart_button,
button[name="add-to-cart"],
.btn-add-cart, [class*="add-to-cart"] {
  background: var(--gpb-gold) !important;
  color: var(--gpb-black) !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 16px 32px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: box-shadow 0.2s, opacity 0.2s !important;
}
.single_add_to_cart_button:hover { opacity: 0.88 !important; box-shadow: 0 8px 24px rgba(201,169,110,0.35) !important; }

.wc-buy-now-btn, [class*="buy-now"], .gpb-buy-now {
  background: transparent !important;
  border: 2px solid var(--gpb-black) !important;
  color: var(--gpb-black) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  padding: 14px 32px !important;
  border-radius: 4px !important;
  transition: background 0.2s, color 0.2s !important;
}
.wc-buy-now-btn:hover { background: var(--gpb-black) !important; color: #0A0A0A !important; }

.gpb-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--gpb-green);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}
.gpb-trust-badges span { display: flex; align-items: center; gap: 6px; }

.gpb-social-proof-bar {
  background: var(--gpb-black);
  color: #ffffff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin: 32px 0;
}
.gpb-marquee {
  display: inline-flex;
  animation: gpb-marquee 28s linear infinite;
}
.gpb-marquee span { padding-right: 60px; }
@keyframes gpb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.related .product, .upsells .product,
[class*="related-product"], [class*="product-card"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
}
.related .product:hover, .upsells .product:hover,
[class*="related-product"]:hover, [class*="product-card"]:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.10) !important;
  border-color: var(--gpb-gold) !important;
}

/* sticky bar */
.gpb-sticky-bar {
  position: fixed;
  bottom: -80px;
  left: 0; right: 0;
  background: var(--gpb-black);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 24px;
  z-index: 9999;
  transition: bottom 0.35s ease;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.20);
}
.gpb-sticky-bar.visible { bottom: 0; }
.gpb-sticky-name { font-weight: 600; font-size: 0.95rem; }
.gpb-sticky-price { color: var(--gpb-gold); font-weight: 700; }
.gpb-sticky-cta {
  background: var(--gpb-gold);
  color: #0A0A0A;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.gpb-sticky-close {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: 8px;
}

.gpb-fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.gpb-fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .gpb-trust-badges { gap: 12px; font-size: 0.78rem; }
  .gpb-sticky-name { display: none; }
  /* sticky bar */
.gpb-sticky-bar { gap: 12px; padding: 12px 16px; }
}
