/* Astra footer text + links */
.site-footer,
.site-footer p,
.site-footer span,
.site-footer a,
.site-footer .widget-title,
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright a {
  color: #333333 !important;
}

.site-footer a:hover {
  opacity: 0.85;
}

.site-footer, .site-footer * {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Headings inside footer widgets */
.site-footer .widget h1,
.site-footer .widget h2,
.site-footer .widget h3,
.site-footer .widget h4 {
  font-weight: 700 !important;
}

/* Product title */
.single-product .product_title {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Price */
.single-product .summary .price,
.single-product .summary .price * {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Short description + meta + buttons */
.single-product .summary,
.single-product .summary * ,
.single-product .woocommerce-tabs,
.single-product .woocommerce-tabs * {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Hide ShopEngine compare button/icon */
.wse-compare,
.shopengine-compare,
.shopengine-comparison,
a[class*="compare"],
button[class*="compare"]{
  display:none !important;
}

/* Remove hover overlay on this specific Elementor container */
.elementor-element-79f6103::before,
.elementor-element-79f6103::after,
.elementor-element-79f6103:hover::before,
.elementor-element-79f6103:hover::after {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

/* If Elementor is using the motion effects layer/overlay */
.elementor-element-79f6103 .elementor-motion-effects-layer,
.elementor-element-79f6103 .elementor-background-overlay,
.elementor-element-79f6103:hover .elementor-motion-effects-layer,
.elementor-element-79f6103:hover .elementor-background-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

/* Hide Quick View (eye icon) across common WooCommerce quick-view plugins */
a.yith-wcqv-button,
button.yith-wcqv-button,
.yith-wcqv-button,

a.woosq-btn,
button.woosq-btn,
.woosq-btn,

a.wpc-smart-quick-view,
button.wpc-smart-quick-view,
.wpc-smart-quick-view,

.shopengine-quickview,
.shopengine-quick-view,
.shopengine-product-quickview,
a[class*="quickview"],
button[class*="quickview"]{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Make the white product action bar (icons) less wide + centered */
.woocommerce ul.products li.product .shopengine-product-actions,
.woocommerce ul.products li.product .shopengine-hover-items,
.woocommerce ul.products li.product .ast-woo-product-actions,
.woocommerce ul.products li.product .product-actions,
.woocommerce ul.products li.product .buttons {
  width: calc(100% - 40px) !important; /* ← change 70px to taste */
  max-width: 320px !important;        /* optional cap */
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  padding-left: 14px !important;      /* optional */
  padding-right: 14px !important;     /* optional */
}

/* Make the white action bar less wide and centered */
.loop-product--btns-inner{
  width: calc(100% - 80px) !important; /* adjust 80px */
  max-width: 320px !important;
  margin: 0 auto !important;
}

/* Force WooCommerce pagination to show on frontend */
.woocommerce nav.woocommerce-pagination,
.woocommerce .woocommerce-pagination{
  display: flex !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.woocommerce .woocommerce-pagination ul{
  display: flex !important;
  gap: 10px;
}

/* Hide sticky add-to-cart / bottom product bar */
.woocommerce-sticky-add-to-cart,
.sticky-add-to-cart,
.sticky-cart,
.floating-cart,
#sticky-add-to-cart,
.shopengine-sticky-add-to-cart,
.shopengine-sticky-cart,
.wpc-fly-cart,
.xoo-wsc-container,
.elementor-sticky--effects {
  display: none !important;
}

/* Disable Astra sticky add-to-cart bar */
.ast-sticky-add-to-cart{
  display: none !important;
}

/* Remove the black background causing the strip under the product image (ShopEngine/Elementor) */
.single-product .shopengine-product-image .elementor-widget-container,
.single-product .elementor-widget-shopengine-single-product-images .elementor-widget-container,
.single-product .shopengine-single-product-images .elementor-widget-container{
  background: transparent !important;   /* or #fff if you prefer */
}

/* Also remove the tiny “baseline gap” that can show as a bar */
.single-product .shopengine-product-image img,
.single-product .woocommerce-product-gallery img{
  display: block !important;
}

/* 1) Force coupon form to ALWAYS be visible */
.woocommerce form.checkout_coupon,
.woocommerce form.woocommerce-form-coupon,
.woocommerce .woocommerce-form-coupon{
  display: block !important;
}

/* CART: force coupon field to be ALWAYS visible */
.woocommerce-cart .woocommerce-cart-form .coupon,
.woocommerce-cart .cart-coupon,
.woocommerce-cart .shopengine-cart-coupon,
.woocommerce-cart .se-cart-coupon,
.woocommerce-cart .woocommerce-form-coupon,
.woocommerce-cart form.checkout_coupon {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 767px) {
  .site-footer #media_image-1 img {
    width: 200px;   /* change this */
    height: auto;
  }
}

/* Mobile-only header logo size (Astra) */
@media (max-width: 767px) {
  .site-header .custom-logo-link img.custom-logo {
    width: 175px;      /* <-- change this number */
    height: auto;
    max-width: 100%;
  }
}

/* CartFlows Instant Checkout: make the header logo bigger */
body.cartflows-instant-checkout .main-header--wrapper img {
  max-height: 140px;   /* <-- increase this */
  width: auto;
  height: auto;
}

/* 1px top border on footer (Astra / most setups) */
.site-footer,
.site-footer .ast-footer-overlay,
.site-footer .ast-footer-wrap,
.site-footer .site-primary-footer-wrap {
  border-top: 0.5px solid #e5e5e5 !important;
}

/* ==========================================
   ZRX Affiliate Page (ONLY /affiliates/)
   Targets body class: .page-affiliates
   ========================================== */

body.page-affiliates .zrx-affiliate {
  width: 100%;
  padding: clamp(18px, 3vw, 44px) 0;
}

body.page-affiliates .zrx-affiliate__wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

body.page-affiliates .zrx-affiliate__hero {
  /* Same banner image used on the Shopify page */
  background-image: url("https://zenterexpeptides.com/cdn/shop/files/make-me-a-graphic-without-people-in-irt.png?v=1768247357");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  overflow: hidden;
}

body.page-affiliates .zrx-affiliate__content {
  margin-top: clamp(18px, 2.5vw, 28px);
  max-width: 820px;
}

body.page-affiliates .zrx-affiliate__title {
  margin: 0 0 10px 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

body.page-affiliates .zrx-affiliate__subtitle {
  margin: 0 0 18px 0;
  font-size: clamp(16px, 1.6vw, 18px);
  opacity: 0.85;
}

body.page-affiliates .zrx-affiliate__list {
  margin: 0;
  padding-left: 1.1em;
}

body.page-affiliates .zrx-affiliate__list li {
  margin: 0 0 14px 0;
  line-height: 1.55;
}

body.page-affiliates .zrx-affiliate__list strong {
  font-weight: 700;
}

body.page-affiliates .zrx-affiliate__simple {
  margin: 18px 0 14px 0;
  font-size: 18px;
  line-height: 1.3;
}

body.page-affiliates .zrx-affiliate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 650;

  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

body.page-affiliates .zrx-affiliate__btn:hover {
  transform: translateY(-1px);
  background: transparent;
  color: #111;
  border-color: #111;
}

@media (max-width: 640px) {
  body.page-affiliates .zrx-affiliate__wrap {
    width: min(1100px, calc(100% - 24px));
  }

  body.page-affiliates .zrx-affiliate__list li {
    margin-bottom: 12px;
  }
}

body[class*="affiliates"] .zrx-affiliate { padding: clamp(18px, 3vw, 44px) 0; }


/* Make the content area full width */
.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
}

