/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* === GLOBAL TYPOGRAPHY === */
body, p, li, span, div {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.wc-block-grid__product-title {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.monospace-data, code, pre,
.wp-block-code {
  font-family: 'JetBrains Mono', monospace !important;
}
/* Stats and data numbers in JetBrains Mono */
.stat-number, .data-value {
  font-family: 'JetBrains Mono', monospace !important;
}

/* ========================================
   BIO PRIME LABS — FULL BRAND THEME
   Colors: #0A0A0A (dark), #00B4D8 (cyan), #111111, #1a1a1a
   Font: Inter (system), clean scientific aesthetic
======================================== */

/* === GLOBAL === */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: #1a1a1a;
  background: #ffffff;
}

/* === HIDE HOME PAGE TITLE === */


/* === HEADER === */
.wp-block-site-logo img {
  max-height: 55px !important;
  width: auto !important;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* === BUTTONS === */
.wp-block-button__link,
.wc-block-grid__product .wp-block-button__link,
.add_to_cart_button,
button.single_add_to_cart_button {
  border-radius: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem !important;
  padding: 14px 28px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wp-block-button__link:hover,
.add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
}

/* Cyan filled buttons */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: linear-gradient(135deg, #00B4D8 0%, #0096B7 100%) !important;
  border: none !important;
  color: #fff !important;
}

/* Outline buttons */
.is-style-outline .wp-block-button__link {
  border: 2px solid #00B4D8 !important;
  color: #00B4D8 !important;
  background: transparent !important;
}
.is-style-outline .wp-block-button__link:hover {
  background: #00B4D8 !important;
  color: #fff !important;
}

/* === PRODUCT CARDS === */
.wc-block-grid__product,
.products .product {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}
.wc-block-grid__product:hover,
.products .product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.wc-block-grid__product .wc-block-grid__product-title,
.products .product .woocommerce-loop-product__title {
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: #111 !important;
}

.wc-block-grid__product .wc-block-grid__product-price,
.products .product .price {
  color: #00B4D8 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

/* === COVER BLOCKS (HERO) === */
.wp-block-cover {
  border-radius: 16px !important;
  overflow: hidden;
}

.wp-block-cover h1,
.wp-block-cover h2 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* === SECTION SPACING === */
.wp-block-group.alignfull {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

/* === COLUMNS (Feature blocks, trust bar) === */
.wp-block-columns {
  gap: 2rem !important;
}

/* === ANNOUNCEMENT BAR === */
.wp-block-group.has-background[style*="0A0A0A"],
.wp-block-group.has-background[class*="background-color"] {
  border-radius: 10px;
}

/* === LINKS === */
a {
  transition: color 0.2s ease;
}
a:hover {
  color: #00B4D8 !important;
}

/* === SEPARATOR / DIVIDERS === */
.wp-block-separator {
  border-color: rgba(0, 180, 216, 0.15) !important;
  opacity: 1;
}

/* === FOOTER === */
footer, .wp-block-template-part footer {
  font-size: 0.9rem;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .wp-block-cover h1 {
    font-size: 1.8rem !important;
  }
  .wp-block-cover p {
    font-size: 0.95rem !important;
  }
  .wp-block-group.alignfull {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .wp-block-columns {
    gap: 1rem !important;
  }
  .wp-block-button__link {
    padding: 12px 20px !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 480px) {
  .wp-block-cover h1 {
    font-size: 1.5rem !important;
  }
  .wp-block-site-logo img {
    max-height: 40px !important;
  }
}

/* === WOOCOMMERCE SPECIFICS === */
.woocommerce-products-header__title {
  font-size: 2rem !important;
  font-weight: 800 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-color: #00B4D8 !important;
}

/* Cart & checkout polish */
.wc-block-cart__submit-button,
.wc-block-checkout__actions .wc-block-components-button {
  background: linear-gradient(135deg, #00B4D8 0%, #0096B7 100%) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #00B4D8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0096B7; }

/* Research Library latest posts */
.bpl-latest-posts { color: #d1d5db; }
.bpl-latest-posts li { background: #111111; border-radius: 12px; padding: 24px !important; margin-bottom: 16px; }
.bpl-latest-posts a { color: #00B4D8 !important; text-decoration: none; font-weight: 600; }
.bpl-latest-posts a:hover { text-decoration: underline; }
.bpl-latest-posts .wp-block-latest-posts__post-date { color: #6b7280; font-size: 13px; }
.bpl-latest-posts .wp-block-latest-posts__post-excerpt { color: #9ca3af; font-size: 14px; }

/* Dark background for entire site */
body.home, body.home .wp-site-blocks {
  background-color: #0A0A0A !important;
}

/* Make all homepage sections full-width (remove constrained gaps) */
body.home .wp-site-blocks > .wp-block-group,
body.home .wp-site-blocks > .entry-content > .wp-block-group,
body.home .wp-block-post-content > .wp-block-group,
body.home .wp-block-post-content > .wp-block-cover {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* Trust bar section - dark bg */
body.home .wp-block-post-content > .wp-block-columns {
  background-color: #0A0A0A !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw !important;
  padding: 40px 5%;
}

/* Footer dark styling */
footer.wp-block-template-part {
  background-color: #111111 !important;
  color: #d1d5db !important;
}
footer.wp-block-template-part a {
  color: #9ca3af !important;
}
footer.wp-block-template-part a:hover {
  color: #00B4D8 !important;
}
footer.wp-block-template-part h2,
footer.wp-block-template-part .wp-block-heading {
  color: #ffffff !important;
}

/* Dark header */
header.wp-block-template-part,
.wp-block-template-part > header,
body .wp-site-blocks > header {
  background-color: #0A0A0A !important;
}
body .wp-site-blocks > header a,
body .wp-site-blocks > header .wp-block-navigation a {
  color: #e5e7eb !important;
}
body .wp-site-blocks > header .wp-block-navigation a:hover {
  color: #00B4D8 !important;
}
body .wp-site-blocks > header .wp-block-navigation__responsive-container-open,
body .wp-site-blocks > header svg {
  color: #e5e7eb !important;
  fill: #e5e7eb !important;
}

/* Remove any white background on page content area */
body.home .entry-content,
body.home .wp-block-post-content,
body.home article,
body.home main {
  background-color: #0A0A0A !important;
}

/* Remove separator/line between header and content */
body.home .wp-block-separator,
body.home hr {
  display: none !important;
}

/* Fix nav row white background */
header .wp-block-group.has-background-background-color,
header .has-background-background-color {
  background-color: #0A0A0A !important;
}

/* Ensure all header children are dark */
header.wp-block-template-part .wp-block-group {
  background-color: #0A0A0A !important;
}
header.wp-block-template-part .wp-block-group.has-background-color {
  background-color: #000000 !important;
}

/* Featured products section text on dark bg */
body.home .wc-block-grid__product-title,
body.home .wc-block-grid__product-title a {
  color: #ffffff !important;
}
body.home .wc-block-grid__product-price .wc-block-grid__product-price__value {
  color: #00B4D8 !important;
}

/* Product card backgrounds */
body.home .wc-block-grid__product {
  background: #111111 !important;
  border-radius: 12px;
  padding: 16px;
}
body.home .wc-block-grid__product-image {
  background: #ffffff;
  border-radius: 8px;
}

/* Featured heading */
body.home .wp-block-post-content > h2,
body.home .wp-block-post-content h2:not([style*="color"]) {
  color: #ffffff !important;
}

/* Trust bar labels */
body.home .wp-block-post-content > .wp-block-columns p:not([style*="color"]) {
  color: #d1d5db !important;
}

/* View Full Catalog link */
body.home .wp-block-post-content > .wp-block-buttons .wp-block-button__link {
  color: #ffffff !important;
}

/* Product titles & prices in product collection block */
body.home .products .product .woocommerce-loop-product__title,
body.home .wc-block-grid .wc-block-grid__product-title a,
body.home .wp-block-post-content .products .product a {
  color: #ffffff !important;
}
body.home .products .product .price,
body.home .products .product .price span,
body.home .wc-block-grid .wc-block-grid__product-price {
  color: #00B4D8 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

/* Product card dark bg */
body.home .products .product {
  background: #111111 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  border: 1px solid #1f2937 !important;
}
body.home .products .product img {
  border-radius: 8px;
  background: #fff;
}

/* Add to cart button on dark cards */
body.home .products .product .button,
body.home .products .product .add_to_cart_button {
  background: linear-gradient(135deg, #00B4D8 0%, #0096B7 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

/* View cart link */
body.home .products .product .added_to_cart {
  color: #00B4D8 !important;
}

/* Footer bottom bar dark */
body footer .wp-block-group,
body footer,
footer.wp-block-template-part .wp-block-group {
  background-color: #111111 !important;
}

/* Proudly powered by link */
body footer a {
  color: #6b7280 !important;
}

/* WC product collection prices */
body.home .wc-block-components-product-price,
body.home .wc-block-components-product-price span,
body.home .wc-block-grid__product-price,
body.home .wc-block-grid__product-price span {
  color: #00B4D8 !important;
  font-weight: 700 !important;
}

/* WC product collection card styling */
body.home .wc-block-product-template .wc-block-product,
body.home .wc-block-product-template > li {
  background: #111111 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  border: 1px solid #1f2937 !important;
}
body.home .wc-block-product-template .wc-block-product img,
body.home .wc-block-product-template .wc-block-components-product-image {
  background: #fff;
  border-radius: 8px;
}

/* WC add to cart in collection */
body.home .wc-block-product .wp-block-button__link,
body.home .wc-block-product .wc-block-components-product-button__button {
  background: linear-gradient(135deg, #00B4D8 0%, #0096B7 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
}

/* Hide ONLY the main page title on homepage - NOT product titles */
body.home > .wp-site-blocks > main > article > .wp-block-post-title,
body.home > .wp-site-blocks > main .entry-title {
  display: none !important;
}

/* Force-show product titles inside WooCommerce collection blocks */
body.home .wc-block-product .wp-block-post-title,
body.home .wp-block-woocommerce-product-template .wp-block-post-title,
body.home .wc-block-product-template .wp-block-post-title {
  display: block !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin-top: 10px !important;
}
body.home .wc-block-product .wp-block-post-title a {
  color: #0A0A0A !important;
  text-decoration: none !important;
}
body.home .wc-block-product .wp-block-post-title a:hover {
  color: #023E8A !important;
}

/* Hide the main "Home" page title using exact path */
body.home .wp-site-blocks > main h1.wp-block-post-title,
body.home .wp-site-blocks > main > .wp-block-group > .wp-block-group > h1.wp-block-post-title {
  display: none !important;
}

/* === FOOTER STYLING === */
footer.wp-block-template-part { background-color: #111111 !important; }
footer.wp-block-template-part a:hover { color: #00B4D8 !important; }
footer.wp-block-template-part h4.wp-block-heading { 
  font-family: 'Poppins', sans-serif !important;
  color: #ffffff !important;
}

/* === PRODUCT PAGE RUO DISCLAIMER === */
.single-product .wp-block-group[style*="0c1a22"] {
  margin-top: 40px !important;
}

/* === PRODUCT PAGE ENHANCEMENTS === */
.single-product .wp-block-add-to-cart-form .wp-element-button,
.single-product .add_to_cart_button {
  background: linear-gradient(135deg, #00B4D8 0%, #0096B7 100%) !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.single-product .product .price,
.single-product .wc-block-components-product-price {
  color: #00B4D8 !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
}

/* === CATEGORY TILES HOVER === */
.wp-block-column[style*="border-radius:12px"]:hover {
  border-color: #00B4D8 !important;
  transform: translateY(-2px);
  transition: all 0.2s ease;
}
.wp-block-column[style*="border-radius:12px"] {
  transition: all 0.2s ease;
}

/* === NEWSLETTER SECTION === */
.mailpoet_form .mailpoet_submit {
  background: linear-gradient(135deg, #00B4D8 0%, #0096B7 100%) !important;
  border: none !important;
  border-radius: 6px !important;
}


/* === FONT OVERRIDE FIX === */
:root {
  --wp--preset--font-family--body-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  --wp--preset--font-family--heading-font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
body h1, body h2, body h3, body h4, body h5, body h6,
body .wp-block-heading,
.wp-site-blocks h1, .wp-site-blocks h2, .wp-site-blocks h3 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.wp-site-blocks, .wp-site-blocks p, .wp-site-blocks li, .wp-site-blocks span {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}


/* ============================================
   HEADER FIX — Compact, sleek navigation
   ============================================ */
header.wp-block-template-part .wp-block-group.alignfull {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
header.wp-block-template-part .wp-block-group[class*="has-background-background-color"] {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
header.wp-block-template-part .wp-block-group[class*="has-background-color"][class*="has-foreground"] {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
/* Keep logo tight */
header .wp-block-site-logo img {
  max-height: 42px !important;
  width: auto !important;
}
/* Nav font size */
header .wp-block-navigation a {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

/* ============================================
   PRODUCT PAGE — Rich, visual, branded
   ============================================ */

/* Dark background for product pages */
.single-product .wp-site-blocks,
.single-product main,
.single-product .wp-block-group,
.single-product article {
  background-color: #0A0A0A !important;
}

/* Product title styling */
.single-product .wp-block-post-title,
.single-product .product_title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

/* Product image gallery */
.single-product .woocommerce-product-gallery,
.single-product .wp-block-woocommerce-product-image-gallery {
  background: #111111 !important;
  border-radius: 12px !important;
  padding: 20px !important;
  border: 1px solid #1f2937 !important;
}

/* Price styling */
.single-product .price,
.single-product .wc-block-components-product-price,
.single-product .wp-block-woocommerce-product-price {
  color: #00B4D8 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
}

/* Short description */
.single-product .woocommerce-product-details__short-description,
.single-product .wp-block-post-excerpt {
  color: #b0b0b0 !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  border-left: 3px solid #00B4D8 !important;
  padding-left: 16px !important;
  margin: 20px 0 !important;
}

/* Add to cart button */
.single-product .single_add_to_cart_button,
.single-product .wp-block-button__link,
.single-product .wc-block-components-product-button__button {
  background: linear-gradient(135deg, #00B4D8 0%, #0096B7 100%) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 14px 36px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  transition: all 0.2s ease !important;
}
.single-product .single_add_to_cart_button:hover,
.single-product .wp-block-button__link:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3) !important;
}

/* Quantity input */
.single-product .quantity input {
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #1f2937 !important;
  border-radius: 6px !important;
}

/* Product description content — the main fix for "choppy black and white" */
.single-product .woocommerce-Tabs-panel,
.single-product .woocommerce-product-details,
.single-product .wp-block-post-content,
.single-product .entry-content {
  color: #c8c8c8 !important;
  background-color: #0A0A0A !important;
}

/* Description headings */
.single-product .entry-content h1,
.single-product .entry-content h2,
.single-product .entry-content h3,
.single-product .woocommerce-Tabs-panel h2,
.single-product .woocommerce-Tabs-panel h3,
.single-product .wp-block-post-content h2,
.single-product .wp-block-post-content h3 {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  margin-top: 36px !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #1f2937 !important;
}

/* H2 gets cyan accent line */
.single-product .entry-content h2,
.single-product .woocommerce-Tabs-panel h2,
.single-product .wp-block-post-content h2 {
  border-bottom: 2px solid #00B4D8 !important;
  display: inline-block !important;
  padding-right: 20px !important;
}

/* H3 subtler styling */
.single-product .entry-content h3,
.single-product .woocommerce-Tabs-panel h3,
.single-product .wp-block-post-content h3 {
  color: #00B4D8 !important;
  font-size: 1.1rem !important;
  border-bottom: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

/* Paragraphs */
.single-product .entry-content p,
.single-product .woocommerce-Tabs-panel p,
.single-product .wp-block-post-content p {
  color: #b0b0b0 !important;
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  margin-bottom: 16px !important;
}

/* Bold text pops in white */
.single-product .entry-content strong,
.single-product .woocommerce-Tabs-panel strong,
.single-product .wp-block-post-content strong {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Chemical properties table */
.single-product table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin: 24px 0 !important;
  border: 1px solid #1f2937 !important;
}
.single-product table thead th,
.single-product table th {
  background: #111827 !important;
  color: #00B4D8 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #1f2937 !important;
  text-align: left !important;
}
.single-product table td {
  background: #0d1117 !important;
  color: #c8c8c8 !important;
  padding: 11px 16px !important;
  border-bottom: 1px solid #1a1f2e !important;
  font-size: 0.9rem !important;
}
.single-product table tr:last-child td {
  border-bottom: none !important;
}
/* First column as label */
.single-product table td:first-child {
  color: #ffffff !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  width: 180px !important;
}
/* Alternating rows */
.single-product table tr:nth-child(even) td {
  background: #111827 !important;
}

/* Horizontal rules as subtle dividers */
.single-product .entry-content hr,
.single-product .woocommerce-Tabs-panel hr {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(90deg, #00B4D8, transparent) !important;
  margin: 32px 0 !important;
  opacity: 0.4 !important;
}

/* Lists get cyan bullets */
.single-product .entry-content ul li,
.single-product .woocommerce-Tabs-panel ul li {
  color: #b0b0b0 !important;
  padding-left: 8px !important;
  margin-bottom: 8px !important;
  line-height: 1.7 !important;
}
.single-product .entry-content ul li::marker,
.single-product .woocommerce-Tabs-panel ul li::marker {
  color: #00B4D8 !important;
}
.single-product .entry-content ul,
.single-product .woocommerce-Tabs-panel ul {
  padding-left: 20px !important;
}

/* Tab navigation styling */
.single-product .woocommerce-tabs ul.tabs,
.single-product .wc-tabs {
  background: #111111 !important;
  border: 1px solid #1f2937 !important;
  border-radius: 8px !important;
  padding: 4px !important;
  margin-bottom: 30px !important;
  display: flex !important;
  gap: 4px !important;
}
.single-product .woocommerce-tabs ul.tabs li,
.single-product .wc-tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 6px !important;
  margin: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li a,
.single-product .wc-tabs li a {
  color: #888888 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 10px 20px !important;
}
.single-product .woocommerce-tabs ul.tabs li.active,
.single-product .wc-tabs li.active {
  background: #00B4D8 !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .wc-tabs li.active a {
  color: #ffffff !important;
}

/* Reviews section */
.single-product #reviews,
.single-product .woocommerce-Reviews {
  background: #111111 !important;
  border-radius: 12px !important;
  padding: 30px !important;
  border: 1px solid #1f2937 !important;
  margin-top: 30px !important;
}
.single-product #reviews h2,
.single-product .woocommerce-Reviews-title {
  color: #ffffff !important;
  border-bottom: 2px solid #00B4D8 !important;
}

/* Related products section */
.single-product .related.products h2,
.single-product .wp-block-woocommerce-related-products h2 {
  color: #ffffff !important;
}

/* Meta info (SKU, categories) */
.single-product .product_meta {
  color: #666666 !important;
  font-size: 0.82rem !important;
  border-top: 1px solid #1f2937 !important;
  padding-top: 16px !important;
  margin-top: 24px !important;
}
.single-product .product_meta a {
  color: #00B4D8 !important;
}

/* Breadcrumbs */
.single-product .woocommerce-breadcrumb {
  color: #666666 !important;
  font-size: 0.8rem !important;
}
.single-product .woocommerce-breadcrumb a {
  color: #00B4D8 !important;
}


/* === AGGRESSIVE HEADER COMPACTION === */
header.wp-block-template-part > .wp-block-group,
header.wp-block-template-part > div > .wp-block-group {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
header.wp-block-template-part .wp-block-group.alignfull.has-background-background-color,
header.wp-block-template-part .wp-block-group.alignfull[class*="has-background"] {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
/* Override WP global spacing presets on header */
header.wp-block-template-part .wp-block-group.has-global-padding {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
/* Free shipping banner - very compact */
header .wp-block-group[class*="foreground"] {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
header .wp-block-group[class*="foreground"] p {
  font-size: 0.72rem !important;
  margin: 0 !important;
}


/* === TAB ACTIVE STATE TEXT FIX === */
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .wc-tabs li.active a,
.single-product .woocommerce-tabs .tabs li.active a {
  color: #ffffff !important;
  text-decoration: none !important;
}
/* Inactive tab hover */
.single-product .woocommerce-tabs ul.tabs li:not(.active):hover {
  background: rgba(0, 180, 216, 0.1) !important;
}
.single-product .woocommerce-tabs ul.tabs li:not(.active):hover a {
  color: #00B4D8 !important;
}

/* === SHOP LISTING PAGE — dark theme consistency === */
.post-type-archive-product .wp-site-blocks,
.post-type-archive-product main,
.tax-product_cat .wp-site-blocks,
.tax-product_cat main {
  background-color: #0A0A0A !important;
}
.post-type-archive-product .wp-block-post-title,
.post-type-archive-product h1 {
  color: #ffffff !important;
}
.post-type-archive-product .wc-block-grid__product-title a,
.post-type-archive-product .woocommerce-loop-product__title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
}
.post-type-archive-product .wc-block-grid__product-price,
.post-type-archive-product .price {
  color: #00B4D8 !important;
  font-family: 'JetBrains Mono', monospace !important;
}


/* ============================================
   COMPETITIVE UPGRADE - APRIL 2026
   ============================================ */

/* --- STICKY ANNOUNCEMENT BAR --- */
#bpl-announcement-bar {
  background: linear-gradient(90deg, #003845 0%, #00B4D8 50%, #003845 100%) !important;
  color: #ffffff !important;
  text-align: center !important;
  padding: 8px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  position: relative !important;
  z-index: 9999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
}
#bpl-announcement-bar .bpl-ann-divider {
  color: rgba(255,255,255,0.4) !important;
  font-size: 10px !important;
}
#bpl-announcement-bar a {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* --- TRUST BADGE STRIP --- */
#bpl-trust-strip {
  background: #0c1a22 !important;
  border-top: 1px solid rgba(0,180,216,0.15) !important;
  border-bottom: 1px solid rgba(0,180,216,0.15) !important;
  padding: 20px 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 48px !important;
  flex-wrap: wrap !important;
}
.bpl-trust-badge {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #c8c8c8 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
}
.bpl-trust-badge .bpl-badge-icon {
  font-size: 22px !important;
  color: #00B4D8 !important;
}
.bpl-trust-badge strong {
  color: #ffffff !important;
}

/* --- NEWSLETTER POPUP --- */
#bpl-newsletter-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0,0,0,0.7) !important;
  z-index: 99999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}
#bpl-newsletter-overlay.bpl-show {
  opacity: 1 !important;
  pointer-events: all !important;
}
#bpl-newsletter-popup {
  background: linear-gradient(135deg, #0A0A0A 0%, #0c1a22 100%) !important;
  border: 1px solid rgba(0,180,216,0.3) !important;
  border-radius: 12px !important;
  padding: 40px !important;
  max-width: 480px !important;
  width: 90% !important;
  text-align: center !important;
  position: relative !important;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5) !important;
}
#bpl-newsletter-popup h3 {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
}
#bpl-newsletter-popup .bpl-discount-tag {
  color: #00B4D8 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  margin: 12px 0 !important;
  display: block !important;
}
#bpl-newsletter-popup p {
  color: #a0a0a0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  margin: 0 0 20px 0 !important;
  line-height: 1.5 !important;
}
#bpl-newsletter-popup input[type="email"] {
  width: 100% !important;
  padding: 14px 16px !important;
  background: #111827 !important;
  border: 1px solid #1f2937 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  margin-bottom: 12px !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.2s !important;
}
#bpl-newsletter-popup input[type="email"]:focus {
  border-color: #00B4D8 !important;
}
#bpl-newsletter-popup .bpl-popup-btn {
  width: 100% !important;
  padding: 14px !important;
  background: linear-gradient(135deg, #00B4D8, #0096B7) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}
#bpl-newsletter-popup .bpl-popup-btn:hover {
  background: linear-gradient(135deg, #0096B7, #007A99) !important;
  transform: translateY(-1px) !important;
}
#bpl-newsletter-popup .bpl-popup-close {
  position: absolute !important;
  top: 12px !important;
  right: 16px !important;
  background: none !important;
  border: none !important;
  color: #666 !important;
  font-size: 24px !important;
  cursor: pointer !important;
  padding: 4px !important;
  line-height: 1 !important;
}
#bpl-newsletter-popup .bpl-popup-close:hover {
  color: #ffffff !important;
}
#bpl-newsletter-popup .bpl-popup-skip {
  color: #666 !important;
  font-size: 12px !important;
  margin-top: 12px !important;
  cursor: pointer !important;
  background: none !important;
  border: none !important;
  text-decoration: underline !important;
  font-family: 'Inter', sans-serif !important;
}

/* --- BEST SELLERS / FEATURED SECTION --- */
.bpl-section-header {
  text-align: center !important;
  margin: 60px auto 30px !important;
  max-width: 700px !important;
}
.bpl-section-header h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
}
.bpl-section-header p {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: #a0a0a0 !important;
}

/* --- HOMEPAGE FAQ SECTION --- */
#bpl-faq-section {
  max-width: 800px !important;
  margin: 60px auto !important;
  padding: 0 20px !important;
}
.bpl-faq-item {
  border: 1px solid #1f2937 !important;
  border-radius: 8px !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
  background: #111827 !important;
  transition: border-color 0.2s !important;
}
.bpl-faq-item:hover {
  border-color: rgba(0,180,216,0.3) !important;
}
.bpl-faq-question {
  padding: 18px 20px !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  background: none !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
}
.bpl-faq-question .bpl-faq-toggle {
  color: #00B4D8 !important;
  font-size: 20px !important;
  transition: transform 0.2s !important;
}
.bpl-faq-answer {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.3s ease, padding 0.3s ease !important;
  padding: 0 20px !important;
  color: #a0a0a0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.bpl-faq-item.bpl-faq-open .bpl-faq-answer {
  max-height: 300px !important;
  padding: 0 20px 18px !important;
}
.bpl-faq-item.bpl-faq-open .bpl-faq-toggle {
  transform: rotate(45deg) !important;
}

/* --- IMPROVED SHOP / PRODUCT CARDS --- */
.woocommerce ul.products li.product {
  background: #111827 !important;
  border: 1px solid #1f2937 !important;
  border-radius: 10px !important;
  padding: 16px !important;
  transition: all 0.25s ease !important;
  position: relative !important;
  overflow: hidden !important;
}
.woocommerce ul.products li.product:hover {
  border-color: rgba(0,180,216,0.4) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0,180,216,0.08) !important;
}
.woocommerce ul.products li.product a img {
  border-radius: 8px !important;
  transition: transform 0.3s ease !important;
}
.woocommerce ul.products li.product:hover a img {
  transform: scale(1.03) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  padding-top: 10px !important;
}
.woocommerce ul.products li.product .price {
  color: #00B4D8 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  background: linear-gradient(135deg, #00B4D8, #0096B7) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  transition: all 0.2s !important;
  width: 100% !important;
  text-align: center !important;
  margin-top: 8px !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: linear-gradient(135deg, #0096B7, #007A99) !important;
  transform: translateY(-1px) !important;
}

/* --- SINGLE PRODUCT PAGE IMPROVEMENTS --- */
.single-product .product .single_add_to_cart_button {
  background: linear-gradient(135deg, #00B4D8, #0096B7) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 16px 40px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  transition: all 0.25s !important;
  box-shadow: 0 4px 15px rgba(0,180,216,0.3) !important;
}
.single-product .product .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #0096B7, #007A99) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0,180,216,0.4) !important;
}
.single-product .product .price {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #00B4D8 !important;
}
.single-product .quantity .qty {
  background: #111827 !important;
  border: 1px solid #1f2937 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 12px !important;
  font-size: 16px !important;
}

/* --- CROSS-SELL / RELATED PRODUCTS --- */
.single-product .related.products > h2,
.single-product .cross-sells > h2,
.single-product .upsells > h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 24px !important;
  color: #ffffff !important;
  border-bottom: 2px solid #00B4D8 !important;
  display: inline-block !important;
  padding-bottom: 8px !important;
  margin-bottom: 24px !important;
}

/* --- STICKY ADD TO CART BAR (mobile) --- */
@media (max-width: 768px) {
  #bpl-announcement-bar {
    font-size: 10px !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    flex-wrap: wrap !important;
  }
  #bpl-trust-strip {
    gap: 16px !important;
    padding: 12px 10px !important;
  }
  .bpl-trust-badge {
    font-size: 11px !important;
  }
  #bpl-newsletter-popup {
    padding: 28px 20px !important;
  }
  #bpl-newsletter-popup .bpl-discount-tag {
    font-size: 32px !important;
  }
}

/* --- "WHY BIO PRIME" SECTION --- */
#bpl-why-section {
  background: #0c1a22 !important;
  padding: 60px 20px !important;
  margin: 40px 0 !important;
}
#bpl-why-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
@media (max-width: 768px) {
  #bpl-why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
.bpl-why-card {
  background: rgba(17, 24, 39, 0.6) !important;
  border: 1px solid #1f2937 !important;
  border-radius: 10px !important;
  padding: 28px 20px !important;
  text-align: center !important;
  transition: border-color 0.2s !important;
}
.bpl-why-card:hover {
  border-color: rgba(0,180,216,0.3) !important;
}
.bpl-why-card .bpl-why-icon {
  font-size: 36px !important;
  margin-bottom: 12px !important;
  display: block !important;
}
.bpl-why-card h4 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
}
.bpl-why-card p {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #a0a0a0 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* --- PULSING LIVE INDICATOR --- */
@keyframes bpl-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.bpl-live-dot {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  background: #10B981 !important;
  border-radius: 50% !important;
  margin-right: 6px !important;
  animation: bpl-pulse 2s ease-in-out infinite !important;
}


/* ============================================
   AGE GATE MODAL
   ============================================ */
#bpl-age-gate {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.92) !important;
  z-index: 999999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
#bpl-age-gate.bpl-age-verified {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease !important;
}
#bpl-age-gate-box {
  background: linear-gradient(145deg, #0A0A0A 0%, #0c1a22 60%, #0A0A0A 100%) !important;
  border: 1px solid rgba(0, 180, 216, 0.25) !important;
  border-radius: 16px !important;
  padding: 48px 40px !important;
  max-width: 460px !important;
  width: 90% !important;
  text-align: center !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 180, 216, 0.06) !important;
  position: relative !important;
}
#bpl-age-gate-box .bpl-age-logo {
  max-width: 180px !important;
  margin: 0 auto 24px !important;
  display: block !important;
  opacity: 0.9 !important;
}
#bpl-age-gate-box h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.3px !important;
}
#bpl-age-gate-box .bpl-age-subtitle {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13px !important;
  color: #00B4D8 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 20px !important;
  display: block !important;
}
#bpl-age-gate-box p {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #a0a0a0 !important;
  line-height: 1.6 !important;
  margin: 0 0 28px !important;
}
#bpl-age-gate-box .bpl-age-buttons {
  display: flex !important;
  gap: 12px !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}
#bpl-age-gate-box .bpl-age-btn-yes {
  flex: 1 !important;
  padding: 15px 24px !important;
  background: linear-gradient(135deg, #00B4D8, #0096B7) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  transition: all 0.25s !important;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3) !important;
}
#bpl-age-gate-box .bpl-age-btn-yes:hover {
  background: linear-gradient(135deg, #0096B7, #007A99) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4) !important;
}
#bpl-age-gate-box .bpl-age-btn-no {
  flex: 1 !important;
  padding: 15px 24px !important;
  background: transparent !important;
  border: 1px solid #1f2937 !important;
  border-radius: 8px !important;
  color: #666666 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  transition: all 0.25s !important;
}
#bpl-age-gate-box .bpl-age-btn-no:hover {
  border-color: #ef4444 !important;
  color: #ef4444 !important;
}
#bpl-age-gate-box .bpl-age-disclaimer {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  color: #555555 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding-top: 16px !important;
  border-top: 1px solid #1f2937 !important;
}
#bpl-age-gate-box .bpl-age-disclaimer a {
  color: #00B4D8 !important;
  text-decoration: none !important;
}
#bpl-age-gate-box .bpl-age-disclaimer a:hover {
  text-decoration: underline !important;
}
/* Block scrolling when age gate is active */
body.bpl-age-locked {
  overflow: hidden !important;
}


/* ===== SHOP PAGE PRODUCT CARDS (Block-Based) ===== */
/* Dark card backgrounds for shop/archive pages */
body.archive li.product,
body.post-type-archive-product li.product,
body.tax-product_cat li.product {
  background: #111827 !important;
  border: 1px solid #1f2937 !important;
  border-radius: 10px !important;
  padding: 16px !important;
  transition: all 0.25s ease !important;
}
body.archive li.product:hover,
body.post-type-archive-product li.product:hover,
body.tax-product_cat li.product:hover {
  border-color: rgba(0,180,216,0.4) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0,180,216,0.08) !important;
}

/* Product title - always visible, white on dark card */
body.archive li.product .wp-block-post-title,
body.archive li.product .wp-block-post-title a,
body.post-type-archive-product li.product .wp-block-post-title,
body.post-type-archive-product li.product .wp-block-post-title a,
body.tax-product_cat li.product .wp-block-post-title,
body.tax-product_cat li.product .wp-block-post-title a {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  display: block !important;
  margin-top: 12px !important;
}
body.archive li.product .wp-block-post-title a:hover,
body.post-type-archive-product li.product .wp-block-post-title a:hover,
body.tax-product_cat li.product .wp-block-post-title a:hover {
  color: #00B4D8 !important;
}

/* Price - always visible, cyan */
body.archive li.product .wc-block-components-product-price,
body.archive li.product .woocommerce-Price-amount,
body.post-type-archive-product li.product .wc-block-components-product-price,
body.post-type-archive-product li.product .woocommerce-Price-amount,
body.tax-product_cat li.product .wc-block-components-product-price,
body.tax-product_cat li.product .woocommerce-Price-amount {
  color: #00B4D8 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}

/* Add to Cart button - always visible */
body.archive li.product .wp-block-button__link,
body.archive li.product .wc-block-components-product-button__button,
body.post-type-archive-product li.product .wp-block-button__link,
body.post-type-archive-product li.product .wc-block-components-product-button__button,
body.tax-product_cat li.product .wp-block-button__link,
body.tax-product_cat li.product .wc-block-components-product-button__button {
  background: linear-gradient(135deg, #00B4D8, #0096B7) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  width: 100% !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}
body.archive li.product .wp-block-button__link:hover,
body.archive li.product .wc-block-components-product-button__button:hover,
body.post-type-archive-product li.product .wp-block-button__link:hover,
body.post-type-archive-product li.product .wc-block-components-product-button__button:hover {
  background: linear-gradient(135deg, #0096B7, #007A99) !important;
  box-shadow: 0 4px 15px rgba(0,180,216,0.3) !important;
  transform: translateY(-1px) !important;
}

/* Product image container on dark cards */
body.archive li.product .wc-block-components-product-image,
body.post-type-archive-product li.product .wc-block-components-product-image,
body.tax-product_cat li.product .wc-block-components-product-image {
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Shop page background */
body.archive.post-type-archive-product,
body.tax-product_cat {
  background-color: #0A0A0A !important;
}
body.archive.post-type-archive-product .wp-block-query,
body.tax-product_cat .wp-block-query {
  background-color: transparent !important;
}

/* Shop page heading */
body.archive .wp-block-query-title,
body.archive .woocommerce-products-header__title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
}

/* Breadcrumbs on dark bg */
body.archive .woocommerce-breadcrumb,
body.archive .woocommerce-breadcrumb a,
body.archive .wp-block-woocommerce-breadcrumbs {
  color: #999 !important;
}
body.archive .woocommerce-breadcrumb a:hover {
  color: #00B4D8 !important;
}

/* Sorting dropdown on dark bg */
body.archive .woocommerce-ordering select,
body.archive .orderby {
  background: #111827 !important;
  color: #ffffff !important;
  border: 1px solid #1f2937 !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
}

/* Results count on dark bg */
body.archive .woocommerce-result-count {
  color: #999 !important;
}

/* Pagination on dark bg */
body.archive .page-numbers,
body.archive .woocommerce-pagination a {
  color: #ffffff !important;
}
body.archive .page-numbers.current {
  color: #00B4D8 !important;
}


/* Fix product grid layout - ensure 3 columns */
body.archive li.product,
body.post-type-archive-product li.product,
body.tax-product_cat li.product {
  box-sizing: border-box !important;
}
/* Ensure the flex container wraps properly at 3 columns */
body.archive .wp-block-post-template.columns-3,
body.post-type-archive-product .wp-block-post-template.columns-3,
body.tax-product_cat .wp-block-post-template.columns-3 {
  display: flex !important;
  flex-wrap: wrap !important;
}
body.archive .wp-block-post-template.columns-3 > li.product,
body.post-type-archive-product .wp-block-post-template.columns-3 > li.product,
body.tax-product_cat .wp-block-post-template.columns-3 > li.product {
  flex: 0 0 calc(33.333% - 15px) !important;
  max-width: calc(33.333% - 15px) !important;
  box-sizing: border-box !important;
}

/* Header and nav on shop dark bg */
body.archive .wp-block-woocommerce-breadcrumbs a,
body.archive nav.woocommerce-breadcrumb a {
  color: #999 !important;
}
body.archive .wp-block-woocommerce-breadcrumbs a:hover {
  color: #00B4D8 !important;
}


/* ===== COLOR REFINEMENT: TONAL DEPTH SYSTEM ===== */
/* 5-tier dark palette for visual hierarchy:
   Tier 1 (deepest):  #050508 — page background
   Tier 2 (base):     #0A0E17 — main content areas
   Tier 3 (surface):  #111827 — card surfaces
   Tier 4 (elevated): #1a2332 — hover states, nav
   Tier 5 (border):   #243044 — active borders, dividers
   Accent 1: #00B4D8 (cyan) — CTAs, interactive
   Accent 2: #00B4D8 (gold) — pricing, badges, trust signals
   Accent 3: #10B981 (emerald) — in stock, success states
*/

/* --- TIER 1: Page backgrounds — deepest dark --- */
body,
body.home,
body.archive,
body.archive.post-type-archive-product,
body.single-product,
body.tax-product_cat,
body.page {
  background-color: #050508 !important;
}

/* --- TIER 2: Header/Nav zone — slightly elevated --- */
header,
.wp-block-template-part header,
body header.wp-block-template-part {
  background: linear-gradient(180deg, #0d1321 0%, #0A0E17 100%) !important;
  border-bottom: 1px solid rgba(0,180,216,0.08) !important;
}

/* --- TIER 4: Nav area distinct from content --- */
body .wp-block-navigation,
body nav {
  background: transparent !important;
}
body .wp-block-navigation a,
body .wp-block-navigation .wp-block-navigation-item__content {
  color: #c8d0dc !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}
body .wp-block-navigation a:hover,
body .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: #00B4D8 !important;
}

/* --- Free shipping bar — subtle separation --- */
.wp-block-woocommerce-store-notices + *,
body .woocommerce-store-notice,
.wc-block-components-notice-banner {
  background: #0A0E17 !important;
}

/* --- TIER 3: Card surfaces on shop --- */
body.archive li.product,
body.post-type-archive-product li.product,
body.tax-product_cat li.product {
  background: linear-gradient(145deg, #111827 0%, #0f1623 100%) !important;
  border: 1px solid #1a2332 !important;
}
body.archive li.product:hover,
body.post-type-archive-product li.product:hover,
body.tax-product_cat li.product:hover {
  border-color: #243044 !important;
  background: linear-gradient(145deg, #141d2e 0%, #111827 100%) !important;
  box-shadow: 0 8px 32px rgba(0,180,216,0.06), 0 0 0 1px rgba(0,180,216,0.1) !important;
}

/* --- Product image backgrounds: blend with cards --- */
body.archive li.product .wc-block-components-product-image,
body.post-type-archive-product li.product .wc-block-components-product-image,
body.tax-product_cat li.product .wc-block-components-product-image {
  background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #1a2332 !important;
}
body.archive li.product .wc-block-components-product-image img,
body.post-type-archive-product li.product .wc-block-components-product-image img {
  mix-blend-mode: multiply !important;
}
/* Placeholder images on dark bg */
body.archive li.product .wc-block-components-product-image img[src*="placeholder"],
body.archive li.product .wc-block-components-product-image img.wp-post-image[src*="woocommerce-placeholder"] {
  opacity: 0.3 !important;
  filter: invert(1) !important;
}

/* --- ACCENT 2: Gold for pricing (warm contrast to cyan) --- */
body.archive li.product .wc-block-components-product-price,
body.archive li.product .woocommerce-Price-amount,
body.archive li.product .woocommerce-Price-amount bdi,
body.post-type-archive-product li.product .wc-block-components-product-price,
body.post-type-archive-product li.product .woocommerce-Price-amount,
body.post-type-archive-product li.product .woocommerce-Price-amount bdi,
body.tax-product_cat li.product .wc-block-components-product-price,
body.tax-product_cat li.product .woocommerce-Price-amount,
body.tax-product_cat li.product .woocommerce-Price-amount bdi {
  color: #00B4D8 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  letter-spacing: 0.5px !important;
}
/* Gold for single product price too */
.single-product .product .price,
.single-product .product .price .woocommerce-Price-amount,
.single-product .product .price ins .woocommerce-Price-amount {
  color: #00B4D8 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 700 !important;
}

/* --- ACCENT 3: In-stock badge --- */
body.archive li.product .wc-block-components-product-badge,
.single-product .product .stock.in-stock {
  color: #10B981 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* --- Text hierarchy refinement --- */
/* Shop page title */
body.archive .wp-block-query-title,
body.archive .woocommerce-products-header__title,
body.archive h1.wp-block-post-title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
}

/* Product card titles — lighter weight for elegance */
body.archive li.product .wp-block-post-title a,
body.post-type-archive-product li.product .wp-block-post-title a,
body.tax-product_cat li.product .wp-block-post-title a {
  color: #e4e8f0 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  letter-spacing: 0.2px !important;
}
body.archive li.product .wp-block-post-title a:hover {
  color: #ffffff !important;
}

/* Breadcrumbs — muted tier */
body.archive .woocommerce-breadcrumb,
body.archive .woocommerce-breadcrumb a,
body.archive .wp-block-woocommerce-breadcrumbs,
body.archive .wp-block-woocommerce-breadcrumbs a {
  color: #5a6578 !important;
  font-size: 13px !important;
}
body.archive .woocommerce-breadcrumb a:hover,
body.archive .wp-block-woocommerce-breadcrumbs a:hover {
  color: #00B4D8 !important;
}

/* Results count — very muted */
body.archive .woocommerce-result-count {
  color: #4a5568 !important;
  font-size: 13px !important;
}

/* --- Footer depth — distinct from content --- */
footer,
.wp-block-template-part footer,
body footer.wp-block-template-part {
  background: #060609 !important;
  border-top: 1px solid #1a2332 !important;
}
footer h2, footer h3, footer h4,
footer .wp-block-heading {
  color: #00B4D8 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
}
footer a {
  color: #8896a8 !important;
  transition: color 0.2s !important;
}
footer a:hover {
  color: #00B4D8 !important;
}

/* --- Announcement bar: subtle gradient refinement --- */
#bpl-announcement-bar {
  background: linear-gradient(90deg, #071520 0%, #0a2a3d 25%, #00607a 50%, #0a2a3d 75%, #071520 100%) !important;
  border-bottom: 1px solid rgba(0,180,216,0.12) !important;
}

/* --- Homepage sections: depth layers --- */
body.home .wp-block-cover {
  border-bottom: 1px solid rgba(0,180,216,0.05) !important;
}

/* Trust strip — elevated surface */
#bpl-trust-strip {
  background: linear-gradient(180deg, #0A0E17 0%, #0d1321 100%) !important;
  border-top: 1px solid #1a2332 !important;
  border-bottom: 1px solid #1a2332 !important;
}

/* Why Bio Prime section cards — elevated */
.bpl-why-card {
  background: linear-gradient(145deg, #111827 0%, #0f1623 100%) !important;
  border: 1px solid #1a2332 !important;
}
.bpl-why-card:hover {
  border-color: #243044 !important;
  background: linear-gradient(145deg, #141d2e 0%, #111827 100%) !important;
}

/* FAQ section — elevated cards */
.bpl-faq-item {
  background: linear-gradient(145deg, #111827 0%, #0f1623 100%) !important;
  border: 1px solid #1a2332 !important;
}

/* Newsletter popup — premium feel */
#bpl-newsletter-popup {
  background: linear-gradient(145deg, #0d1321, #111827, #0d1321) !important;
  border: 1px solid rgba(232,197,71,0.2) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,180,216,0.1) !important;
}
.bpl-discount-tag {
  color: #00B4D8 !important;
}

/* --- Sorting dropdown refined --- */
body.archive .woocommerce-ordering select,
body.archive .orderby {
  background: #0d1321 !important;
  border: 1px solid #243044 !important;
  color: #c8d0dc !important;
}

/* --- Pagination refined --- */
body.archive .page-numbers {
  color: #5a6578 !important;
}
body.archive .page-numbers.current {
  color: #00B4D8 !important;
  font-weight: 700 !important;
}
body.archive a.page-numbers:hover {
  color: #00B4D8 !important;
}

/* --- Single product page refinements --- */
.single-product .product .product_title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 28px !important;
  letter-spacing: -0.3px !important;
}
.single-product .product .woocommerce-product-details__short-description,
.single-product .product .woocommerce-product-details__short-description p {
  color: #9aa5b8 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}
.single-product .product .single_add_to_cart_button {
  background: linear-gradient(135deg, #00B4D8, #0096B7) !important;
  box-shadow: 0 4px 15px rgba(0,180,216,0.25), 0 0 0 1px rgba(0,180,216,0.1) !important;
}
.single-product .product .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #00c8f0, #00B4D8) !important;
  box-shadow: 0 6px 20px rgba(0,180,216,0.35), 0 0 0 1px rgba(0,180,216,0.2) !important;
  transform: translateY(-1px) !important;
}

/* --- Category page tiles on homepage --- */
body.home .wp-block-woocommerce-product-categories {
  background: transparent !important;
}


/* --- Footer heading gold fix (high specificity) --- */
body footer h4.wp-block-heading,
body footer.wp-block-template-part h4.wp-block-heading,
.wp-block-template-part footer h4,
footer .wp-block-heading {
  color: #00B4D8 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 16px !important;
}

/* Footer links refined */
body footer a,
body footer .wp-block-navigation-item a,
footer .wp-block-navigation-link a {
  color: #7a8698 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
body footer a:hover {
  color: #00B4D8 !important;
}

/* Footer disclaimer text */
body footer p {
  color: #4a5568 !important;
  font-size: 12px !important;
}

/* Footer copyright line */
body footer .wp-block-group p {
  color: #4a5568 !important;
}
body footer .wp-block-group a {
  color: #5a6578 !important;
}
body footer .wp-block-group a:hover {
  color: #00B4D8 !important;
}

/* Social icons in footer */
body footer .wp-block-social-links .wp-social-link {
  color: #5a6578 !important;
  transition: color 0.2s ease !important;
}
body footer .wp-block-social-links .wp-social-link:hover {
  color: #00B4D8 !important;
}

/* Footer contact info */
body footer .wp-block-column p {
  color: #7a8698 !important;
  font-size: 14px !important;
}


/* ============================================
   CONTENT PAGES - TEXT CONTRAST FIX
   About, Affiliate, and other content pages
   ============================================ */
body.page .entry-content,
body.page .wp-block-post-content {
  color: #c8d1dc !important;
}
body.page h1,
body.page h2,
body.page h3,
body.page h4,
body.page h5,
body.page h6,
body.page .wp-block-heading {
  color: #ffffff !important;
}
body.page p,
body.page li,
body.page span,
body.page .wp-block-paragraph {
  color: #c8d1dc !important;
}
body.page strong {
  color: #e2e8f0 !important;
}
body.page a {
  color: #00B4D8 !important;
}
body.page a:hover {
  color: #38d4f5 !important;
}
/* Ensure page backgrounds are properly dark but readable */
body.page .wp-block-cover,
body.page .wp-block-group {
  color: #c8d1dc !important;
}
body.page .wp-block-cover h1,
body.page .wp-block-cover h2,
body.page .wp-block-cover h3,
body.page .wp-block-group h1,
body.page .wp-block-group h2,
body.page .wp-block-group h3 {
  color: #ffffff !important;
}

/* ============================================
   HEADER LOGO SIZE INCREASE
   ============================================ */
.custom-logo {
  max-height: 70px !important;
  height: 70px !important;
  width: auto !important;
}
.wp-block-site-logo img,
header .wp-block-site-logo img {
  max-height: 70px !important;
  height: 70px !important;
  width: auto !important;
}
header .wp-block-site-logo {
  max-width: none !important;
}


/* ===== TRUST STATS BAR FIX - HIGH CONTRAST ===== */
.bpl-stats-section .bpl-stat-number,
.bpl-stats-section .bpl-stat-label,
.bpl-stats .bpl-stat-number,
.bpl-stats .bpl-stat-label,
[class*="stats"] [class*="number"],
[class*="stats"] [class*="label"],
.wp-block-group.bpl-stats .wp-block-column h3,
.wp-block-group.bpl-stats .wp-block-column p,
.homepage-stats h3, .homepage-stats p,
.stats-section h3, .stats-section p {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Target stats-style blocks on homepage by structure: large text + small text in columns */
.wp-block-columns .wp-block-column .has-text-align-center h2,
.wp-block-columns .wp-block-column .has-text-align-center h3,
.wp-block-columns .wp-block-column .has-text-align-center h4 {
  color: #ffffff !important;
}

/* Stats numbers should be cyan for emphasis */
.wp-block-columns .wp-block-column .has-text-align-center .wp-block-heading:first-child {
  color: #00B4D8 !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
}

/* ===== PAYMENT & TRUST BADGES FOOTER SECTION ===== */
.bpl-payment-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.bpl-payment-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bpl-payment-icons svg {
  width: 48px;
  height: 30px;
  fill: #c8d1dc;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.bpl-payment-icons svg:hover {
  opacity: 1;
}

.bpl-trust-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #06D6A0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bpl-trust-seal svg {
  width: 18px;
  height: 18px;
  fill: #06D6A0;
}

/* ===== SOCIAL PROOF / CREDIBILITY SECTION ===== */
.bpl-social-proof {
  background: linear-gradient(135deg, #0A0E17 0%, #111827 100%);
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  max-width: 1000px;
  margin: 40px auto;
}

.bpl-proof-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.bpl-proof-subheading {
  font-size: 16px;
  color: #90E0EF;
  margin-bottom: 36px;
}

.bpl-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.bpl-proof-card {
  background: rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 8px;
  padding: 24px 16px;
}

.bpl-proof-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.bpl-proof-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.bpl-proof-card-text {
  font-size: 14px;
  color: #c8d1dc;
  line-height: 1.5;
}

/* ===== HOMEPAGE BLOG CARDS ===== */
.bpl-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.bpl-blog-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}

.bpl-blog-card:hover {
  border-color: #00B4D8;
  transform: translateY(-2px);
}

.bpl-blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.bpl-blog-card-body {
  padding: 20px;
}

.bpl-blog-card-date {
  font-size: 12px;
  color: #00B4D8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.bpl-blog-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.bpl-blog-card-title a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.bpl-blog-card-title a:hover {
  color: #00B4D8 !important;
}

.bpl-blog-card-excerpt {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 12px;
}

.bpl-blog-card-link {
  font-size: 14px;
  color: #00B4D8 !important;
  text-decoration: none !important;
  font-weight: 600;
}

.bpl-blog-card-link:hover {
  color: #38d4f5 !important;
}

/* ===== FEATURED PRODUCTS - HIDE PLACEHOLDER IMAGES ===== */
.wc-block-grid__product img[src*="woocommerce-placeholder"],
.wp-block-woocommerce-product-image img[src*="woocommerce-placeholder"],
.wc-block-grid__product img[src*="placeholder"] {
  opacity: 0.3;
}

/* Make product cards with placeholder images less prominent */
.wc-block-grid__product:has(img[src*="placeholder"]) {
  order: 99 !important;
}

/* ===== PRODUCT PAGE IMPROVEMENTS ===== */
/* Add to cart button styling enhancement */
.single-product .single_add_to_cart_button,
.single-product button.button.alt {
  background-color: #00B4D8 !important;
  color: #0A0A0A !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 14px 32px !important;
  border-radius: 6px !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.single-product .single_add_to_cart_button:hover,
.single-product button.button.alt:hover {
  background-color: #48CAE4 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3) !important;
}

/* Product meta info styling */
.product_meta {
  color: #9ca3af !important;
  font-size: 14px !important;
}

.product_meta a {
  color: #00B4D8 !important;
}

/* ===== SHOP PAGE CARD IMPROVEMENTS ===== */
.wc-block-grid__product,
.woocommerce ul.products li.product {
  background: #111827 !important;
  border: 1px solid #1f2937 !important;
  border-radius: 8px !important;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s !important;
  padding-bottom: 16px !important;
}

.wc-block-grid__product:hover,
.woocommerce ul.products li.product:hover {
  border-color: #00B4D8 !important;
  transform: translateY(-2px) !important;
}

.wc-block-grid__product .wc-block-grid__product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 0 12px !important;
}

.wc-block-grid__product .wc-block-grid__product-price,
.woocommerce ul.products li.product .price {
  color: #00B4D8 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  padding: 0 12px !important;
}

.wc-block-grid__product .wp-block-button__link,
.woocommerce ul.products li.product .button {
  background-color: transparent !important;
  color: #00B4D8 !important;
  border: 1px solid #00B4D8 !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 8px 16px !important;
  margin: 8px 12px !important;
  transition: all 0.3s !important;
}

.wc-block-grid__product .wp-block-button__link:hover,
.woocommerce ul.products li.product .button:hover {
  background-color: #00B4D8 !important;
  color: #0A0A0A !important;
}

/* ===== CHECKOUT & CART TRUST ENHANCEMENTS ===== */
.woocommerce-checkout, .woocommerce-cart {
  color: #c8d1dc !important;
}

.woocommerce-checkout h3,
.woocommerce-cart h2 {
  color: #ffffff !important;
}

/* ===== MOBILE RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
  .bpl-proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .bpl-blog-grid {
    grid-template-columns: 1fr;
  }
  
  .bpl-payment-trust {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .bpl-proof-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== LATEST POSTS / RESEARCH LIBRARY HOMEPAGE STYLING ===== */
.bpl-latest-posts {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
}

.bpl-latest-posts li {
  background: #111827 !important;
  border: 1px solid #1f2937 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: border-color 0.3s, transform 0.2s !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.bpl-latest-posts li:hover {
  border-color: #00B4D8 !important;
  transform: translateY(-2px) !important;
}

.bpl-latest-posts li .wp-block-latest-posts__featured-image {
  margin: 0 !important;
  width: 100% !important;
}

.bpl-latest-posts li .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
}

.bpl-latest-posts li a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  padding: 16px 16px 0 16px !important;
  display: block !important;
}

.bpl-latest-posts li a:hover {
  color: #00B4D8 !important;
}

.bpl-latest-posts li time {
  color: #00B4D8 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 16px 16px 4px 16px !important;
  display: block !important;
}

.bpl-latest-posts li .wp-block-latest-posts__post-excerpt {
  color: #9ca3af !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  padding: 8px 16px 16px 16px !important;
}

/* ===== STATS BAR DARK THEME OVERRIDE ===== */
.wp-block-group.alignfull[style*="background-color:#050508"] .wp-block-heading {
  color: #00B4D8 !important;
}

.wp-block-group.alignfull[style*="background-color:#050508"] p {
  color: #ffffff !important;
}

/* ===== FEATURED PRODUCTS SECTION ON LIGHT BG ===== */
.wp-block-group.alignfull[style*="padding-top:70px"][style*="padding-bottom:70px"]:not([style*="background-color"]) {
  background-color: #0A0E17 !important;
}

.wp-block-group.alignfull[style*="padding-top:70px"][style*="padding-bottom:70px"]:not([style*="background-color"]) h2 {
  color: #ffffff !important;
}

.wp-block-group.alignfull[style*="padding-top:70px"][style*="padding-bottom:70px"]:not([style*="background-color"]) p {
  color: #9ca3af !important;
}


/* ===== PRODUCT PAGE IMAGE GALLERY FIX ===== */
.woocommerce-product-gallery {
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 2px solid #1f2937 !important;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.08) !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  background: #ffffff !important;
}

.woocommerce-product-gallery__image img {
  background: transparent !important;
}

/* Product page layout improvements */
.single-product .product .summary {
  color: #c8d1dc !important;
}

.single-product .product .summary .product_title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
}

.single-product .product .summary .price {
  color: #00B4D8 !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
}

.single-product .stock.in-stock {
  color: #06D6A0 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px !important;
}

/* Short description styling */
.single-product .woocommerce-product-details__short-description {
  border-left: 3px solid #00B4D8 !important;
  padding-left: 16px !important;
  color: #c8d1dc !important;
}

/* Product tabs styling */
.woocommerce-tabs .tabs li a {
  color: #9ca3af !important;
}

.woocommerce-tabs .tabs li.active a {
  color: #00B4D8 !important;
  border-bottom-color: #00B4D8 !important;
}

.woocommerce-tabs .panel {
  color: #c8d1dc !important;
}

.woocommerce-tabs .panel h2 {
  color: #ffffff !important;
}

/* Product data table */
.woocommerce-product-attributes th {
  color: #9ca3af !important;
  background: #111827 !important;
}

.woocommerce-product-attributes td {
  color: #c8d1dc !important;
}

/* Related products section */
.related.products h2,
.upsells h2 {
  color: #ffffff !important;
}


/* ============================================
   SINGLE POST / ARTICLE TEXT COLOR FIX
   ============================================ */
.single-post .entry-content,
.single-post .wp-block-post-content {
  color: #d1d5db !important;
}
.single-post .entry-content p,
.single-post .wp-block-post-content p,
.single-post .entry-content li,
.single-post .wp-block-post-content li {
  color: #d1d5db !important;
}
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .wp-block-post-content h1,
.single-post .wp-block-post-content h2,
.single-post .wp-block-post-content h3,
.single-post .wp-block-post-content h4 {
  color: #ffffff !important;
}
.single-post .entry-content strong,
.single-post .wp-block-post-content strong {
  color: #e5e7eb !important;
}
.single-post .entry-content a,
.single-post .wp-block-post-content a {
  color: #00B4D8 !important;
}
.single-post .entry-content a:hover,
.single-post .wp-block-post-content a:hover {
  color: #38d9f5 !important;
}
/* Post title on single posts */
.single-post .wp-block-post-title,
.single-post h1.wp-block-post-title {
  color: #ffffff !important;
}
/* Post meta (date, author, categories) */
.single-post .wp-block-post-date,
.single-post .wp-block-post-author,
.single-post .wp-block-post-terms {
  color: #9ca3af !important;
}
.single-post .wp-block-post-terms a {
  color: #00B4D8 !important;
}
/* Blockquotes in articles */
.single-post .entry-content blockquote,
.single-post .wp-block-post-content blockquote {
  border-left: 3px solid #00B4D8;
  color: #d1d5db !important;
  background: rgba(0, 180, 216, 0.05);
  padding: 16px 20px;
}
/* Code blocks */
.single-post .entry-content code,
.single-post .wp-block-post-content code {
  background: #1f2937;
  color: #00B4D8;
  padding: 2px 6px;
  border-radius: 3px;
}
/* Tables in articles */
.single-post .entry-content table,
.single-post .wp-block-post-content table {
  color: #d1d5db !important;
}
.single-post .entry-content th {
  color: #ffffff !important;
  background: #111827 !important;
}
.single-post .entry-content td {
  border-color: #1f2937 !important;
}
/* Separator/HR */
.single-post .entry-content hr,
.single-post .wp-block-separator {
  border-color: #1f2937 !important;
  opacity: 1;
}


/* ========================= FREE BAC WATER PROMO ========================= */
.bpl-anno-highlight {
  color: #00B4D8 !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  animation: bpl-pulse-glow 2s ease-in-out infinite !important;
}
@keyframes bpl-pulse-glow {
  0%, 100% { text-shadow: 0 0 4px rgba(0, 180, 216, 0.3); }
  50% { text-shadow: 0 0 12px rgba(0, 180, 216, 0.6); }
}
.bpl-anno-divider {
  color: #374151 !important;
  margin: 0 12px !important;
}

/* === POPUP CENTERING FIX === */
#bpl-newsletter-overlay {
  max-width: none !important;
  margin: 0 !important;
}

/* === CHECKOUT TEXT VISIBILITY FIX === */
.wc-block-components-notice-banner__content,
.wc-block-components-notice-banner__content p {
  color: #c8d1dc !important;
}
.wc-block-checkout .wc-block-components-notice-banner {
  border-color: rgba(0, 180, 216, 0.4) !important;
}


/* === FREE BAC WATER BANNER — removed, replaced below */


/* === PRODUCT CARD IMAGES — blend white bg with dark theme === */
.wc-block-product .wc-block-components-product-image img,
.wc-block-grid__product .wc-block-components-product-image img,
li.product img.attachment-woocommerce_thumbnail,
li.wc-block-product img {
  mix-blend-mode: multiply !important;
  background: transparent !important;
}
li.wc-block-product .wc-block-components-product-image,
li.wc-block-product .wc-block-components-product-image a {
  background: #d5dfe8 !important;
  border-radius: 8px !important;
}


/* === WHITE SECTIONS — break up the dark monotony === */

/* 1. BAC WATER BANNER — white with dark text */
body.home .wp-block-post-content > .wp-block-group.has-background[style*="background-color:#00B4D8"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-top: 3px solid #00B4D8;
  border-bottom: 3px solid #00B4D8;
}
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#00B4D8"] h2,
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#00B4D8"] p {
  color: #0A0A0A !important;
}
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#00B4D8"] h2 {
  color: #023E8A !important;
}

/* 2. FEATURED PRODUCTS SECTION — white background */
body.home .wp-block-post-content > .wp-block-group.alignfull:not(.has-background) {
  background-color: #ffffff !important;
}
body.home .wp-block-post-content > .wp-block-group.alignfull:not(.has-background) h2 {
  color: #0A0A0A !important;
}
body.home .wp-block-post-content > .wp-block-group.alignfull:not(.has-background) > .wp-block-group > p,
body.home .wp-block-post-content > .wp-block-group.alignfull:not(.has-background) p.has-text-align-center {
  color: #555 !important;
}
/* Product card titles on white bg */
body.home .wp-block-post-content > .wp-block-group.alignfull:not(.has-background) .wc-block-grid__product-title,
body.home .wp-block-post-content > .wp-block-group.alignfull:not(.has-background) .wc-block-components-product-name {
  color: #0A0A0A !important;
}
/* Product cards need dark border on white bg */
body.home .wp-block-post-content > .wp-block-group.alignfull:not(.has-background) li.wc-block-product {
  background: #f8f9fa !important;
  border: 1px solid #e0e4e8 !important;
}

/* 3. WHY RESEARCHERS CHOOSE — white background */
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#0A0A0A"] {
  background-color: #ffffff !important;
}
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#0A0A0A"] h2 {
  color: #0A0A0A !important;
}
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#0A0A0A"] h3 {
  color: #023E8A !important;
}
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#0A0A0A"] p {
  color: #333 !important;
}
/* Column dividers on white */
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#0A0A0A"] .wp-block-column {
  border-color: #d0d5dd !important;
}

/* 4. STATS ROW — lighter treatment */
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#050508"] {
  background-color: #f0f4f8 !important;
}
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#050508"] h2 {
  color: #023E8A !important;
}
body.home .wp-block-post-content > .wp-block-group[style*="background-color:#050508"] p {
  color: #333 !important;
}


/* === FIX: Product name text visibility on white/light backgrounds === */
body.home .wp-block-post-content .wc-block-components-product-name,
body.home .wp-block-post-content .wc-block-grid__product-title {
  color: #0A0A0A !important;
}
li.wc-block-product .wp-block-post-title a,
li.wc-block-product h2.wp-block-post-title a {
  color: #0A0A0A !important;
}
li.wc-block-product .wp-block-post-title a:hover {
  color: #023E8A !important;
}


/* === FIX: Hide the "Home" page title H1 (keep hero heading visible) === */
body.home h1.wp-block-post-title {
  display: none !important;
}


/* === MOBILE RESPONSIVE FIXES === */
@media (max-width: 768px) {
	h1, .wp-block-heading h1, h1.wp-block-heading { font-size: 28px !important; }
	h2, .wp-block-heading h2, h2.wp-block-heading { font-size: 22px !important; }
	h3, .wp-block-heading h3, h3.wp-block-heading { font-size: 18px !important; }
	.wp-block-columns { flex-wrap: wrap !important; }
	.wp-block-column { flex-basis: 100% !important; min-width: 100% !important; }
	.wp-block-columns.is-not-stacked-on-mobile { flex-wrap: wrap !important; }
	.wp-block-columns.is-not-stacked-on-mobile > .wp-block-column { flex-basis: 100% !important; min-width: 100% !important; }
}
}