div.jp-relatedposts,
div.jp-relatedposts-items,
.jp-relatedposts-post,
.jp-relatedposts-post-title,
.jp-relatedposts-post-context,
.jp-relatedposts-post-date {
display: none !important;
}

.woocommerce span.onsale {
display: none !important;
}

.wp-block-woocommerce-product-sale-badge,
.wc-block-components-product-sale-badge {
  display: none !important;
}

/* ===================== */
/* DESKTOP: 1 row of 6 */
/* ===================== */
@media (min-width: 992px) {
  .home .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }

  /* Only show first 6 */
  .home .wp-block-post-template.is-layout-grid > *:nth-child(n+7) {
    display: none !important;
  }
}

/* ===================== */
/* TABLET: 2 rows of 3 */
/* ===================== */
@media (max-width: 991px) and (min-width: 768px) {
  .home .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Show max 6 (2 rows) */
  .home .wp-block-post-template.is-layout-grid > *:nth-child(n+7) {
    display: none !important;
  }
}

/* ===================== */
/* MOBILE: 3 rows of 2 */
/* ===================== */
@media (max-width: 767px) {
  .home .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Show max 6 (3 rows) */
  .home .wp-block-post-template.is-layout-grid > *:nth-child(n+7) {
    display: none !important;
  }

}


/* Center description + disclaimer text */
.mbf-footer__desc,
.mbf-footer__copyright {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.mbf-footer__desc,
.mbf-footer__desc p {
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: rgba(0,0,0,0.55) !important;
}



@media (max-width: 991px) {

  .mbf-footer__desc,
  .mbf-footer__copyright {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Leave desktop alone */

/* Only fix mobile so it behaves like desktop */
@media (max-width: 767px) {
  .is-style-mbf-group-specification {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 28px 40px !important;
  }

  .is-style-mbf-group-specification > .wp-block-group {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .is-style-mbf-group-specification > .wp-block-group p {
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .is-style-mbf-group-specification > .wp-block-group figure {
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
}

/* =========================================
   FOOTER – INTENDED USE STATEMENT (CSS-ONLY)
   ========================================= */

.mbf-footer::after {
  content: "Averix Inc. is a chemical supplier. Averix Inc. is not a compounding pharmacy or chemical compounding facility as defined under 503A of the Federal Food, Drug, and Cosmetic Act. Core Peptides is not an outsourcing facility as defined under 503B of the Federal Food, Drug, and Cosmetic Act. The statements made within this website have not been evaluated by the US Food and Drug Administration. The products we offer are not intended to diagnose, treat, cure or prevent any disease.";
  
  display: block;
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
	margin-top: -7rem !important;
	

  font-size: 9px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;

  color: rgba(0,0,0,0.45);
  text-align: center;

  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Center the entire footer layout */
@media (min-width: 992px) {
  .mbf-footer__item-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  
  .mbf-footer__col {
    max-width: 720px;
  }
}

/* Center the logo */
.mbf-footer__logo {
  margin-left: auto;
  margin-right: auto;
}

/* Center navigation */
.mbf-footer__nav-menu {
  display: flex;
  justify-content: center;
}

.mbf-footer__nav {
  justify-content: center;
  text-align: center;
}

/* Adjust info section to center */
.mbf-footer__info {
  align-items: center;
  text-align: center;
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
  /* Reduce padding on mobile */
  .mbf-footer__item-inner {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
		margin-top: 1rem !important;
  }
  
  /* Slightly larger logo on mobile */
  .mbf-footer__logo img {
    max-height: 65px;
  }
  
  /* Adjust description spacing on mobile */
  .mbf-footer__desc {
    margin-top: 1rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Make disclaimer text slightly larger on mobile for readability */
  .mbf-footer::after {
    font-size: 10px !important;
    padding-left: 1rem;
    padding-right: 1rem;
		margin-top: -2rem !important;
  }
}

/* Force logo to center */
.mbf-footer__logo {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  width: fit-content;
}

.mbf-footer__logo img {
  margin-left: auto;
  margin-right: auto;
}

/* Center the logo's parent column */
.mbf-footer__col:first-child {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* TABLET - Override the 2-column grid */
@media (min-width: 768px) and (max-width: 991px) {
  .mbf-footer__item-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    grid-template-columns: unset !important;
    grid-gap: 20px !important;
  }
  
  .mbf-footer__col {
    width: 100% !important;
    max-width: 600px !important;
    order: 0 !important;
    grid-column: unset !important;
  }
  
  .mbf-footer__col.mbf-col-center {
    grid-column: unset !important;
  }
  
  .mbf-footer__logo {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .mbf-footer__nav {
    justify-content: center !important;
  }
  
  .mbf-footer__info {
    align-items: center !important;
    text-align: center !important;
  }
}
/* FORCE this exact heading to stay white on the front end */
h2#h-precision-peptides-for-professional-use,
#h-precision-peptides-for-professional-use.wp-block-heading,
.entry-content h2#h-precision-peptides-for-professional-use {
  color: #fff !important;
}

/* If the underline/line is a pseudo-element (common) */
#h-precision-peptides-for-professional-use::before,
#h-precision-peptides-for-professional-use::after {
  background: #fff !important;
  border-color: #fff !important;
}

/* If the underline/line is an SVG or uses currentColor */
#h-precision-peptides-for-professional-use svg,
#h-precision-peptides-for-professional-use svg * {
  stroke: #fff !important;
  fill: #fff !important;
}

/* If the underline is applied by the style class (not the ID) */
.is-style-mbf-heading-bigger::before,
.is-style-mbf-heading-bigger::after {
  background: #fff !important;
  border-color: #fff !important;
}

/* Override that preset background color class */
.has-layout-background-color {
  background: #e9eef3 !important; /* or whatever your light gray is */
}

/* Fix this specific heading */
h2#h-committed-to-quality-amp-transparency,
.entry-content h2#h-committed-to-quality-amp-transparency {
  color: #fff !important;
}

/* Fix underline / line on the mbf heading style (if it has one) */
#h-committed-to-quality-amp-transparency::before,
#h-committed-to-quality-amp-transparency::after {
  background: #fff !important;
  border-color: #fff !important;
}

/* Fix this specific paragraph (white text) */
.wp-block-paragraph.wp-elements-e7bfa969ac0b349e5fe5242a5adae8da,
.entry-content .wp-block-paragraph.wp-elements-e7bfa969ac0b349e5fe5242a5adae8da {
  color: #fff !important;
}

/* If links inside that paragraph are getting recolored */
.wp-elements-e7bfa969ac0b349e5fe5242a5adae8da a {
  color: #fff !important;
}

/* HARD OVERRIDE: this exact paragraph only */
p.wp-block-paragraph.wp-elements-ba3af3f3848cb596d2ddb69f8807072e,
.entry-content p.wp-block-paragraph.wp-elements-ba3af3f3848cb596d2ddb69f8807072e,
.wp-site-blocks p.wp-block-paragraph.wp-elements-ba3af3f3848cb596d2ddb69f8807072e {
  color: #ffffff !important;
}

/* Ensure bold text inside stays white */
p.wp-elements-ba3af3f3848cb596d2ddb69f8807072e strong {
  color: #ffffff !important;
}

/* Ensure links stay white */
p.wp-elements-ba3af3f3848cb596d2ddb69f8807072e a {
  color: #ffffff !important;
}

p.woocommerce-store-notice.demo_store {
    position: sticky;
    top: 0;
    order: -1;
}
body {
    position: relative;
    display: flex;
    flex-direction: column;
}

.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-select {
  position: relative;
}

.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-select label {
  top: 8px !important;
  left: -3px !important;
  transform: none !important;
  line-height: 1.2 !important;
  background: #f5f5f5 !important;
  padding: 0 4px !important;
  z-index: 2 !important;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-select select {
  padding-top: 28px !important;
}

/* =========================
   CART TOTALS PANEL BACKGROUND
   ========================= */

.wp-block-woocommerce-cart-totals-block,
.wc-block-cart__totals-title,
.wc-block-components-totals-wrapper,
.wc-block-cart__submit,
.wc-block-components-panel,
.wc-block-components-panel__content,
.wc-block-components-totals-coupon,
.wc-block-components-totals-item,
.wc-block-components-totals-footer-item {
  background: #e9edf3 !important;
  box-shadow: none !important;
  border: none !important;
	
}

/* Make the checkout button area match the card */
.wc-block-cart__submit-container,
.wc-block-cart__submit-button-container,
.wc-block-cart__submit
{
  background: #e9edf3 !important;
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}

/* Optional: make the whole right card feel unified */
.wp-block-woocommerce-cart-totals-block {
  border-radius: 0 !important;
  overflow: hidden !important;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar::before {
  margin-left: 35px !important;
	padding-top: 30px !important;
}

.wc-block-components-quantity-selector {
  width: 150px !important;
}

/* Hide the "Delete" text but keep the button */
.wc-block-cart-item__remove-link {
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Bring the icon back */
.wc-block-cart-item__remove-link svg {
  position: absolute !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) !important;
  width: 20px !important;
  height: 20px !important;
}

.wc-block-cart-item__product a { font-size: 18px !important; }
.wc-block-cart-item__prices { font-size: 14px !important; }
.wc-block-cart-item__total { font-size: 18px !important; }

.woocommerce-order {
  display: block !important;
}

.woocommerce-order-details,
.woocommerce-customer-details,
.woocommerce-order-overview,
.woocommerce-thankyou-order-received {
  width: 100% !important;
  order: unset !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

/* =========================================
   FOOTER CENTERING FIX
   ========================================= */


/* Center the footer info area */
.mbf-footer__info {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

/* Center the nav wrapper */
.mbf-footer__nav,
.mbf-footer__nav-menu,
.mbf-footer__nav .menu,
.mbf-footer__nav-menu .menu {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 60px !important;
  text-align: center !important;
}

/* Center each top-level footer column */
.mbf-footer__nav .menu > li,
.mbf-footer__nav-menu .menu > li {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  list-style: none !important;
}

/* Center links and submenu items */
.mbf-footer__nav .menu > li > a,
.mbf-footer__nav-menu .menu > li > a,
.mbf-footer__nav .sub-menu,
.mbf-footer__nav-menu .sub-menu,
.mbf-footer__nav .sub-menu li,
.mbf-footer__nav-menu .sub-menu li,
.mbf-footer__nav .sub-menu a,
.mbf-footer__nav-menu .sub-menu a {
  text-align: center !important;
  justify-content: center !important;
  list-style: none !important;
}

/* Remove default list indentation */
.mbf-footer__nav ul,
.mbf-footer__nav-menu ul,
.mbf-footer__nav .sub-menu,
.mbf-footer__nav-menu .sub-menu {
  padding-left: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  list-style: none !important;
}

/* Keep footer columns centered as blocks */
.mbf-footer__col,
.mbf-footer__item,
.mbf-footer__item-inner {
  text-align: center !important;
  align-items: center !important;
  justify-items: center !important;
}

/* Mobile */
@media (max-width: 767px) {
  .mbf-footer__nav,
  .mbf-footer__nav-menu,
  .mbf-footer__nav .menu,
  .mbf-footer__nav-menu .menu {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
  }
}


.mbf-footer::after {
  margin-top: -50px !important;
}

@media (max-width: 767px) {

  /* Push divider line down from menu */
  .mbf-footer__desc {
    margin-top: 60px !important;
  }

  /* Add breathing room above disclaimer text */
  .mbf-footer::after {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }

}

/* =========================================
   CART TABLET FIX
   ========================================= */

@media (max-width: 1024px) {

  .wp-block-woocommerce-cart {
    display: flex !important;
    flex-direction: column !important;
  }

  .wc-block-cart-items,
  .wc-block-components-sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }

  .wc-block-components-sidebar {
    margin-top: 40px !important;
  }

/* Stack cart and totals later */
@media (max-width: 1000px) {
  .wc-block-cart {
    display: flex !important;
    flex-direction: column !important;
  }

  .wc-block-cart__main,
  .wc-block-cart__sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .wc-block-cart__sidebar {
    margin-top: 32px !important;
  }
}
	
/* CHECKOUT order summary totals - remove white bars */
.wp-block-woocommerce-checkout-order-summary-totals-block,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-shipping,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-discount,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item__description {
  background: #e9edf3 !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* Kill the gaps between each totals wrapper */
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Re-add clean inner spacing to each row */
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item {
  padding: 18px 24px !important;
}

/* Remove divider lines/pseudo elements if Woo adds them */
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper::before,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper::after,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item::before,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item::after {
  display: none !important;
  content: none !important;
}
	
	.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-discount__coupon-list,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-discount__coupon-list-item {
  background: transparent !important;
}