/* dlx-v60-polish */

/* ============================================================
   DELIX v60 — Site-wide polish (mobile + desktop)
   Fixes: uneven card heights, duplicate disclaimers, hero spacing,
          card visibility, FAQ width, footer columns, sticky bar overlap,
          email capture brand alignment, small tap targets, tiny text
   ============================================================ */

/* --- 1. EQUAL HEIGHT featured/related product cards (homepage + PDP related) --- */
ul.products { align-items: stretch !important; }
ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
}
ul.products li.product .woocommerce-loop-product__link,
ul.products li.product > a:first-of-type {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
ul.products li.product h3 {
  min-height: 2.6em !important; /* exactly two lines */
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
ul.products li.product .price {
  margin-top: auto !important; /* push price + button to bottom */
}
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  margin-top: 10px !important;
  min-height: 44px !important; /* tap target */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* --- 2. UNIFORM 4-CARD trust strip + "Why Labs Choose Us" --- */
.delix-trust-strip-wrap .wp-block-columns,
.dlx-trust-strip,
.wp-block-group .wp-block-columns {
  align-items: stretch !important;
}
.delix-trust-strip-wrap .wp-block-column,
.delix-trust-strip-wrap .dlx-trust-item {
  display: flex !important;
  flex-direction: column !important;
}

/* --- 3. KILL DUPLICATE "research use only" tagline in footer --- */
/* keep one disclaimer; hide the redundant right-side footer tagline */
.delix-footer-tagline-right { display: none !important; }
/* Also kill the standalone gray bar above footer that says same thing */
.delix-ruo-bar + .delix-ruo-bar,
.delix-ruo-bar2 { display: none !important; }

/* --- 4. HERO mobile: reduce gap between text and vial image --- */
@media (max-width: 781px) {
  .delix-hero-wrap, .delix-hero, [class*="hero"] .wp-block-columns {
    gap: 8px !important;
  }
  .delix-hero-image, .delix-hero-vial {
    margin-top: 0 !important;
  }
}

/* --- 5. EMAIL CAPTURE: keep amber accent but tone down to fit cyan brand --- */
/* Convert amber buttons on inline capture & newsletter strip to brand cyan */
.dlx-inline-capture .dlx-ic__btn,
.delix-newsletter-strip__btn,
.delix-ic-btn,
button.delix-ic-btn,
input.delix-ic-btn {
  background: linear-gradient(135deg, #1FB6D9 0%, #0284C7 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
}
.dlx-inline-capture .dlx-ic__btn:hover,
.delix-newsletter-strip__btn:hover {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%) !important;
}
/* Keep accent pill amber feel but match brand */
.dlx-inline-capture .dlx-ic__pill,
.delix-newsletter-strip__pill {
  background: rgba(31,182,217,0.15) !important;
  color: #38BDF8 !important;
  border: 1px solid rgba(31,182,217,0.3) !important;
}
/* keep "10% off" highlight but in cyan, not amber */
.dlx-inline-capture .dlx-ic__highlight,
.delix-newsletter-strip__highlight,
.dlx-ic__title em,
.dlx-ic__title strong { color: #38BDF8 !important; }

/* --- 6. FAQ: cap width on desktop so lines aren't 1100px wide --- */
@media (min-width: 1024px) {
  .delix-faq2, .delix-faq, .wp-block-group .delix-faq-list {
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* --- 7. FAQ items: tap target & visible separation --- */
.delix-faq2 .faq-item, .delix-faq .faq-item, details.faq-item {
  min-height: 56px !important;
}

/* --- 8. FOOTER: balance columns, fill gap --- */
@media (min-width: 768px) {
  .site-footer .wp-block-columns, footer .footer-grid {
    gap: 32px !important;
  }
}

/* --- 9. STICKY BOTTOM NAV (mobile): prevent overlapping content --- */
@media (max-width: 781px) {
  body { padding-bottom: 72px !important; }
}
/* Bottom-nav itself: ensure cyan brand styling and proper height */
.delix-mobile-bottom-nav, .delix-bottom-nav, .dlx-mobile-bottom-bar {
  background: rgba(10,22,40,0.95) !important;
  backdrop-filter: blur(8px) !important;
  border-top: 1px solid rgba(56,189,248,0.2) !important;
  z-index: 99 !important;
}

/* --- 10. TINY TEXT global minimum 13px (excluding admin bar) --- */
body:not(.wp-admin) .delix-promo-bar,
.delix-promo-bar,
.delix-top-bar,
.dlx-top-strip {
  font-size: 13px !important;
}

/* --- 11. TOUCH TARGETS: any nav link or button minimum 40px tall on mobile --- */
@media (max-width: 781px) {
  .delix-pill, .filter-pill {
    min-height: 40px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  a.button, .button, .wp-block-button__link {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* --- 12. SHOP PAGE filter pills: nicer look, larger tap --- */
.delix-pill {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

/* --- 13. PDP image gallery: kill zoomImg overflow on mobile --- */
@media (max-width: 781px) {
  .woocommerce-product-gallery .zoomImg,
  img.zoomImg { display: none !important; }
}

/* --- 14. CARD VISIBILITY: subtle borders so cards don't melt into bg --- */
.dlx-trust-item, .dlx-trust-strip > div, .delix-trust-strip-wrap .wp-block-column > div,
.dlx-feature-card, .dlx-why-card, .delix-why .wp-block-column > div {
  border: 1px solid rgba(56,189,248,0.10) !important;
  background: rgba(15,30,51,0.5) !important;
  border-radius: 16px !important;
}

/* --- 15. HERO empty space on desktop: tighten --- */
@media (min-width: 1024px) {
  .delix-hero, [class*="delix-hero"] {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

/* --- 16. CTA View Full Catalog button: bigger, more prominent --- */
a[href*="/shop/"].wp-block-button__link,
.wp-block-button:has(a[href*="/shop"]) .wp-block-button__link {
  padding: 14px 28px !important;
  font-size: 1.05rem !important;
}

