




body a.wp-block-button__link.add_to_cart_button {height: auto !important;
    width: auto !important;
    display: inline-flex !important
  align-items: center;
  justify-content: center;
;}

body:not(.page-about) /*not(.home):*/
h1.entry-title.heading-size-1-md-down.heading-size-post-title-lg-down.heading-size-page-title-lg-up {
    display: none; /* Hides the element */
    margin: 0; /* Removes any margin */
    padding: 0; /* Removes any padding */
    height: 0; /* Ensures no height is taken */
    overflow: hidden; /* Prevents any overflow */
}

/* Example: Hide the entire container */
body:not(.home):not(.page-about) .entry-header {
    display: none;
}

h1.product_title.entry-title {
    font-size: 40px !important; /* Sets the maximum font size to 30px */
    max-font-size: 30px; /* Ensures the font size does not exceed 30px */
}



/* Apply styles to tables ONLY within the product description section, excluding specific tables */
.product table:not(.woocommerce-product-attributes):not(.variations) {
    border-radius: 12px; /* Rounded corners for the table */
    border-collapse: separate; /* Allow rounded corners to work */
    border-spacing: 0; /* Remove spacing between cells */
    width: 100%; /* Full width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border: none; /* Remove outer border */
    overflow: hidden; /* Ensure rounded corners are visible */
}

/* Style for table headers (only within the product description section, excluding specific tables) */
.product table:not(.woocommerce-product-attributes):not(.variations) th {
    padding: 20px; /* Add padding for spacing */
    text-align: left; /* Align text to the left */
    background-color: #005701; /* Header background color */
    color: white; /* Header text color (white) */
    border: none; /* Remove borders */
}

@media only screen and (max-width: 1023px) {
    .woocommerce .woocommerce-filters-area.sidebar .shop-filters .widget {
        padding:0rem 0rem 0rem
    }
	.widget.widget_search, .widget.widget_product_search {
		margin-bottom:0;
	}
}


/* Round the top-left corner of the first header (only within the product description section, excluding specific tables) */
.product table:not(.woocommerce-product-attributes):not(.variations) th:first-child {
    width: 35%; /* Left column width */
    border-top-left-radius: 12px; /* Round the top-left corner */
}

/* Round the top-right corner of the last header (only within the product description section, excluding specific tables) */
.product table:not(.woocommerce-product-attributes):not(.variations) th:last-child {
    border-top-right-radius: 12px; /* Round the top-right corner */
}

/* Style for table cells (only within the product description section, excluding specific tables) */
.product table:not(.woocommerce-product-attributes):not(.variations) td {
    padding: 20px; /* Add padding for spacing */
    text-align: left; /* Align text to the left */
    border: none; /* Remove borders */
    color: #005701; /* Table body text color (dark green) */
}

/* Style for table rows (only within the product description section, excluding specific tables) */
.product table:not(.woocommerce-product-attributes):not(.variations) tbody tr {
    background-color: transparent; /* No background color for rows */
}


/* Defaults for the cat headers */
body.tax-product_cat h1.woocommerce-products-header__title.page-title {
    position: relative;
    /*background: url('https://nourishednutrients.com.au/wp-content/uploads/2025/01/pexels-n-voitkevich-7615560-1-e1738124835636.jpg') no-repeat center center; */
	 background: #8FBC8F no-repeat center center; 
	background-size: cover;
    color: #fff;
    padding: 100px 20px;
    max-width: 100%;
    z-index: 1; /* Ensure content stays above overlay */
	margin-top:0;
}

/* Overlay effect */
body.tax-product_cat h1.woocommerce-products-header__title.page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 40% black overlay */
    z-index: -1; /* Places the overlay behind the text */

}


@media only screen and (min-width: 1366px) {
    .woocommerce .woocommerce-products-header div.term-description {
        margin-left:auto;
        margin-right: auto;
        max-width: 64vw;
    }
}

.term-description p:first-child {
    font-family: 'Prata';
    font-size: 26px;
}
.term-description {
	padding:0 25px;
	text-align: justify; 
}

/* capsules header */
body.tax-product_cat.term-1373 h1.woocommerce-products-header__title.page-title {
    background: #8FBC8F no-repeat center center; 
	background-size: cover;
}


/* Hide bundle price on WooCommerce product pages */
.single-product .bundle_price {
    display: none !important;
}

.woocommerce-product-attributes-item.woocommerce-product-attributes-item--weight {
    display: none !important;
}


body.home .post-thumbnail,
body.home .wp-post-image {
    display: none !important;
}


/* Fix Gutenberg centred images on front end */
.wp-block-image.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wp-block-image.aligncenter img {
  display: inline-block;
}


figure.wp-block-gallery.wp-block-gallery-1 figcaption {
  color: inherit !important;
}


/* Remove gallery blur/shadow overlays on live site */
.wp-block-gallery.has-nested-images figure.wp-block-image::before,
.wp-block-gallery.has-nested-images figure.wp-block-image::after {
    content: none !important;
    display: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Make sure images display normally */
.wp-block-gallery.has-nested-images figure.wp-block-image img {
    filter: none !important;
    opacity: 1 !important;
}


.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before {
    content: none !important;
    display: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}







