/*
Theme Name: Nutraify
Theme URI: https://besttech.pk/
Description: Custom WooCommerce theme for Nutraify.com — an independent retailer of genuine Nutraify products. Made by Best Tech.
Author: Best Tech Pakistan
Author URI: https://besttech.pk/
Template: storefront
Version: 1.0.0
Text Domain: nutraify
*/

:root {
	--nl-ink: #111111;
	--nl-muted: #66736d;
	--nl-sage: #8aa394;
	--nl-mint: #e7f0e9;
	--nl-cream: #F8F9FA;
	--nl-gold: #E1B335;
	--nl-border: #E5E7EB;
	--nl-success: #22C55E;
}

body {
	color: var(--nl-ink);
	background: #fff;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-weight: 400;
}

/* Remove default purple/blue browser focus outlines globally */
*:focus, *:focus-visible {
	outline: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-weight: 600;
}

.site-header,
.storefront-primary-navigation {
	background: #fff;
	border-bottom: 1px solid var(--nl-border);
}

.site-branding .site-title a,
.main-navigation ul li a,
.site-header-cart .cart-contents {
	color: var(--nl-ink);
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.added_to_cart,
.wc-block-components-button:not(.is-link) {
	background-color: var(--nl-ink);
	border-radius: 4px;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.added_to_cart:hover {
	background-color: #29372f;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hide WooCommerce auto-injected "View cart" links after Add to Cart */
.added_to_cart,
a.added_to_cart,
.wc-forward.added_to_cart {
	display: none !important;
}


.button.secondary-cta {
	background-color: transparent;
	color: var(--nl-ink);
	border: 1px solid var(--nl-ink);
}

.button.secondary-cta:hover {
	background-color: var(--nl-ink);
	color: #fff;
}

.nl-section {
	padding: 80px 0;
}

/* Hero Section */
.nl-hero {
	background: linear-gradient(135deg, var(--nl-cream) 0%, #fff 100%);
	padding: 96px 0;
	overflow: hidden;
}

.nl-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.nl-hero__inner,
.nl-section__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.nl-eyebrow {
	color: var(--nl-gold);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	display: block;
	margin-bottom: 16px;
}

.nl-hero h1 {
	font-size: 56px;
	line-height: 1.1;
	margin-bottom: 24px;
	font-weight: 700;
}

.nl-hero p {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 32px;
	color: #4b5563;
}

.nl-hero__actions {
	display: flex;
	gap: 16px;
	margin-bottom: 32px;
}

.nl-trust-badges {
	display: flex;
	gap: 24px;
	font-size: 14px;
	color: var(--nl-muted);
}

.nl-trust-badges span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nl-hero__image img {
	max-width: 100%;
	height: auto;
}

/* Trust Bar */
.nl-trust-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
	padding: 40px 0;
	border-top: 1px solid var(--nl-border);
	border-bottom: 1px solid var(--nl-border);
}

.nl-trust-item span.dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
	color: var(--nl-gold);
	margin-bottom: 16px;
}

.nl-trust-item h4 {
	font-size: 18px;
	margin-bottom: 8px;
}

.nl-trust-item p {
	font-size: 14px;
	color: var(--nl-muted);
	margin: 0;
}

/* Featured Products */
.nl-section-header {
	text-align: center;
	margin-bottom: 48px;
}

.nl-section-header h2 {
	font-size: 42px;
	margin-bottom: 16px;
}

.nl-section-header p {
	font-size: 18px;
	color: var(--nl-muted);
}

.woocommerce ul.products li.product {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--nl-border);
	border-radius: 8px;
	padding: 16px;
	background: #fff;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Why Choose Us */
.nl-grid--2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
}

.align-items-center {
	align-items: center;
}

.nl-feature-list {
	list-style: none;
	padding: 0;
	margin: 24px 0 0 0;
}

.nl-feature-list li {
	font-size: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.nl-feature-list li .dashicons {
	color: var(--nl-success);
}

.nl-image-block img {
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
.nl-newsletter {
	background: var(--nl-ink);
	color: #fff;
	text-align: center;
	padding: 80px 24px;
	margin-top: 80px;
}

.nl-newsletter-content {
	max-width: 600px;
	margin: 0 auto;
}

.nl-newsletter h2 {
	color: #fff;
	font-size: 32px;
	margin-bottom: 16px;
}

.nl-newsletter p {
	color: #d1d5db;
	margin-bottom: 32px;
}

.nl-newsletter-form {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.nl-newsletter-form input {
	flex: 1;
	padding: 12px 16px;
	border-radius: 4px;
	border: none;
	font-size: 16px;
}

.nl-newsletter-form button {
	background: var(--nl-gold);
	color: #fff;
	border: none;
}

.nl-newsletter-form button:hover {
	background: #a9851b;
}

.nl-consent {
	font-size: 12px !important;
	color: #9ca3af !important;
}

/* Responsive */
@media (max-width: 992px) {

	.nl-hero__grid,
	.nl-grid--2 {
		grid-template-columns: 1fr;
	}

	.nl-hero h1 {
		font-size: 42px;
	}

	.nl-trust-bar {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.nl-trust-bar {
		grid-template-columns: 1fr;
	}

	.nl-newsletter-form {
		flex-direction: column;
	}
}

/* ==========================================================================
   Global Storefront Container Width Override
   Expands the default 1048px width to match the wide layout of the home page
   ========================================================================== */
.col-full {
	max-width: 1600px !important;
	padding: 0 24px !important;
}

/* Hide Storefront default mobile sticky footer navigation bar */
.storefront-handheld-footer-bar {
	display: none !important;
}

/* Style all WooCommerce notices as floating bottom toasts above the sticky cart */
.woocommerce-notices-wrapper {
	position: fixed !important;
	bottom: 95px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	z-index: 999999 !important;
	width: 90% !important;
	max-width: 540px !important;
	pointer-events: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

#nutraify-bottom-toasts .woocommerce-message,
#nutraify-bottom-toasts .woocommerce-info,
#nutraify-bottom-toasts .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	pointer-events: auto !important;
	D2F2E !important;
	color: #ffffff !important;
	border: 1px solid rgba(225, 179, 53, 0.4) !important;
	border-left: 4px solid #E1B335 !important;
	border-radius: 10px !important;
	padding: 10px 16px !important;
	font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	font-stretch: normal !important;
	text-transform: none !important;
	line-height: 1.4 !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22) !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: nowrap !important;
	gap: 12px !important;
	animation: nlToastSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.nutraify-toast-hiding {
	animation: none !important;
	opacity: 0 !important;
	transform: translateY(15px) !important;
	pointer-events: none !important;
	transition: opacity 0.35s ease, transform 0.35s ease !important;
}

.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-error {
	background: #ba1a1a !important;
	border-left: 4px solid #ffb4a9 !important;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
	display: none !important;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a,
#nutraify-bottom-toasts .woocommerce-info a,
#nutraify-bottom-toasts .woocommerce-message a,
#nutraify-bottom-toasts .woocommerce-error a {
	color: #1a1a1a !important;
	background: #E1B335 !important;
	border-radius: 50px !important;
	padding: 6px 16px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	white-space: nowrap !important;
	order: 2 !important;
	margin-left: auto !important;
	float: none !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
	transition: background 0.2s ease, transform 0.2s ease !important;
}
.woocommerce-info a:hover,
.woocommerce-message a:hover,
.woocommerce-error a:hover {
	background: #e0b62d !important;
	transform: translateY(-1px) !important;
	text-decoration: none !important;
}

@keyframes nlToastSlideUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Hide sticky cart bars when the custom mobile menu is open */
body:has(#nl-mob-drawer.open) .sticky-bar,
body:has(#nl-mob-drawer.open) .nutraify-global-sticky-cart-wrapper {
    display: none !important;
}

/* On the product page, if the global checkout sticky cart is active (not empty), hide the product Add to Cart sticky bar so they don't overlap */
body:has(.nutraify-global-sticky-cart:not(.empty)) .nutraify-product-sticky-cart-wrapper {
    display: none !important;
}

/* Fix double arrow on View Cart buttons */
.woocommerce-message a::after,
.woocommerce-info a::after,
.woocommerce-error a::after,
#nutraify-bottom-toasts .woocommerce-message a::after,
#nutraify-bottom-toasts .woocommerce-info a::after,
#nutraify-bottom-toasts .woocommerce-error a::after {
	display: none !important;
}

/* Mobile adjustments for WooCommerce notifications */
@media (max-width: 768px) {
	#nutraify-bottom-toasts .woocommerce-message,
	#nutraify-bottom-toasts .woocommerce-info,
	#nutraify-bottom-toasts .woocommerce-error,
	.woocommerce-notices-wrapper .woocommerce-message,
	.woocommerce-notices-wrapper .woocommerce-info,
	.woocommerce-notices-wrapper .woocommerce-error,
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error {
		padding: 8px 12px !important;
		font-size: 11px !important;
		border-radius: 6px !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 8px !important;
		line-height: 1.35 !important;
	}
	
	#nutraify-bottom-toasts .woocommerce-message a,
	#nutraify-bottom-toasts .woocommerce-info a,
	#nutraify-bottom-toasts .woocommerce-error a,
	.woocommerce-message a,
	.woocommerce-info a,
	.woocommerce-error a {
		padding: 4px 8px !important;
		font-size: 10.5px !important;
		border-radius: 30px !important;
		margin: 0 !important;
		flex-shrink: 0 !important;
	}
}

/* =====================================================
   BOTANICAL GLOBAL FOOTER
   To add links: edit template-parts/footer-botanical.php
   ===================================================== */

/* Hide Storefront's default footer widgets & handheld bar — we use our own botanical footer */
.storefront-handheld-footer-bar,
footer#colophon .col-full > .storefront-info-bar,
footer#colophon .col-full > .site-info {
	display: none !important;
}
footer#colophon {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
}
/* Make col-full a transparent pass-through wrapper */
footer#colophon .col-full {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
}

/* ── Root vars ── */
.nt-botanical-footer {
	--nt-f-bg:        #043330;
	--nt-f-border:    rgba(255,255,255,0.06);
	--nt-f-text:      rgba(255,255,255,0.65);
	--nt-f-heading:   rgba(255,255,255,0.95);
	--nt-f-gold:      #C9A227;
	--nt-f-green:     #043330;
	--nt-f-radius:    8px;
	background: var(--nt-f-bg);
	color: var(--nt-f-text);
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	width: 100%;
	box-sizing: border-box;
}

/* ── Main grid ── */
.nt-footer-grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 40px 48px;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
	gap: 40px;
	box-sizing: border-box;
}

/* ── Brand column ── */
.nt-footer-logo {
	font-family: 'Source Serif 4', Georgia, serif !important;
	font-weight: 700 !important;
	font-size: 32px !important;
	color: var(--nt-f-heading) !important;
	text-decoration: none !important;
	display: inline-block !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	line-height: 1 !important;
	transition: color 0.2s ease !important;
}
.nt-footer-logo:hover { color: var(--nt-f-gold) !important; }
.nt-footer-logo-dot { color: var(--nt-f-gold) !important; }
.nt-footer-logo-life {
	font-size: 0.35em !important;
	font-weight: 400 !important;
	letter-spacing: 0.05em !important;
}

.nt-footer-tagline {
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	font-weight: 400 !important;
	font-size: 13px !important;
	line-height: 1.7 !important;
	color: var(--nt-f-text) !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
}

.nt-footer-socials {
	display: flex;
	gap: 12px;
	align-items: center;
}
.nt-footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--nt-f-border);
	color: var(--nt-f-text) !important;
	text-decoration: none !important;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.nt-footer-social-link:hover {
	color: var(--nt-f-gold) !important;
	border-color: var(--nt-f-gold) !important;
	background: rgba(201,162,39,0.08);
}

/* ── Link columns ── */
.nt-footer-col-heading {
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	color: var(--nt-f-heading) !important;
	-webkit-text-stroke: 0.4px currentColor !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	line-height: 1.2 !important;
}

.nt-footer-links {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.nt-footer-links li {
	margin: 0 0 9px 0 !important;
	padding: 0 !important;
}
.nt-footer-links a {
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	font-weight: 400 !important;
	font-size: 13.5px !important;
	color: var(--nt-f-text) !important;
	text-decoration: none !important;
	transition: color 0.2s ease, transform 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
	line-height: 1.4 !important;
	display: inline-block !important;
}
.nt-footer-links a:hover { 
	color: var(--nt-f-gold) !important; 
	transform: translateX(4px) !important;
}

.nt-footer-links--mb {
	margin-bottom: 28px !important;
}

/* ── Newsletter ── */
.nt-footer-newsletter-text {
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	font-weight: 400 !important;
	font-size: 12.5px !important;
	color: var(--nt-f-text) !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	line-height: 1.5 !important;
}
.nt-footer-newsletter-form {
	display: flex;
	gap: 0;
	border-radius: var(--nt-f-radius);
	overflow: hidden;
	border: 1px solid var(--nt-f-border);
}
.nt-footer-newsletter-form:focus-within {
	border-color: rgba(201,162,39,0.5);
}
.nt-footer-email-input {
	flex: 1;
	background: rgba(255,255,255,0.05) !important;
	border: none !important;
	outline: none !important;
	padding: 10px 14px !important;
	font-size: 13px !important;
	color: #fff !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin: 0 !important;
	min-width: 0;
}
.nt-footer-email-input::placeholder { color: rgba(255,255,255,0.35); }
.nt-footer-email-btn {
	background: var(--nt-f-green) !important;
	border: none !important;
	padding: 10px 14px !important;
	color: #fff !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
	border-radius: 0 !important;
	flex-shrink: 0;
	margin: 0 !important;
	transform: none !important;
	box-shadow: none !important;
}
.nt-footer-email-btn:hover {
	background: #054744 !important;
	transform: none !important;
	box-shadow: none !important;
}

/* ── Bottom bar ── */
.nt-footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 40px;
	border-top: 1px solid var(--nt-f-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	box-sizing: border-box;
}
.nt-footer-copyright {
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	font-weight: 400 !important;
	font-size: 11px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: rgba(255,255,255,0.35) !important;
}
.nt-footer-legal {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.nt-footer-legal a {
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	font-weight: 400 !important;
	font-size: 11px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: rgba(255,255,255,0.35) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}
.nt-footer-legal a:hover { color: var(--nt-f-gold) !important; }

/* ── Responsive ── */
@media (max-width: 900px) {
	.nt-footer-grid {
		grid-template-columns: 1fr 1fr 1fr;
		padding: 48px 24px 36px;
		gap: 36px;
	}
	.nt-footer-brand { grid-column: 1 / -1; }
	.nt-footer-logo { font-size: 48px !important; }
}
@media (max-width: 560px) {
	.nt-footer-logo { font-size: 32px !important; }
	.nt-footer-grid {
		grid-template-columns: 1fr 1fr;
		padding: 40px 20px 28px;
		gap: 28px;
	}
	.nt-footer-col:last-child {
		grid-column: 1 / -1;
		text-align: center;
	}
	.nt-footer-links--mb {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px 20px;
	}
	.nt-footer-links--mb li {
		margin: 0 !important;
	}
	.nt-footer-bottom {
		padding: 16px 20px;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
	}
	.nt-footer-legal {
		gap: 16px;
		justify-content: center;
		flex-wrap: wrap;
	}
}
/* WCAG 2.2 AA Focus States */
*:focus-visible { outline: 2px solid var(--nt-green, #075954) !important; outline-offset: 2px !important; }

/* Remove default Storefront header styling to prevent empty white bar */
#masthead.site-header {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
}

/* Remove excessive gap between header and product content on PDP */
.single-product main.body-wrapper,
.single-product .main-top-padding {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
.single-product main.body-wrapper > div > section.nova-section:first-of-type,
.single-product main.body-wrapper > div > section:first-of-type {
	padding-top: 0 !important;
	margin-top: -40px !important;
}
.single-product .nl-header-spacer {
	height: 0 !important;
	display: none !important;
}

/* ══════════════════════════════════════════════
   MOBILE PDP THUMBNAIL STRIP
   ══════════════════════════════════════════════ */
@media (max-width: 1023px) {
	/* 1. Show the mobile-only stat image tiles */
	.single-product main.body-wrapper .pdp-mobile-stat-tile {
		display: block !important;
	}

	/* 2. Hide the dark STS text block & slider tile on mobile */
	.single-product main.body-wrapper .ImageArea_tileItemSts__uIT60 {
		display: none !important;
	}
	.single-product main.body-wrapper .ImageArea_tileItem__8WoF9:has(.SliderBasic_wrapper__TauBc) {
		display: none !important;
	}

	/* 3. Outer wrapper that Tailwind gives max-w-[calc(50vw-48px)] — expand it full width */
	.single-product main.body-wrapper div:has(> div > .ImageArea_tileItem__8WoF9) {
		max-width: 100vw !important;
		width: 100vw !important;
		margin-left: calc(-50vw + 50%) !important;
		margin-right: calc(-50vw + 50%) !important;
	}

	/* 4. The direct flex container of the tiles — make it horizontal scroll strip */
	.single-product main.body-wrapper div:has(> .ImageArea_tileItem__8WoF9) {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch !important;
		scrollbar-width: none !important;
		gap: 6px !important;
		padding: 8px 16px !important;
		max-width: 100vw !important;
		width: max-content !important;
		margin: 0 auto !important;
		align-items: flex-start !important;
		/* Remove any top padding from Tailwind (pt-10 etc.) */
		padding-top: 8px !important;
	}
	.single-product main.body-wrapper div:has(> .ImageArea_tileItem__8WoF9)::-webkit-scrollbar {
		display: none !important;
	}

	/* 5. Each thumbnail tile — small fixed size */
	.single-product main.body-wrapper .ImageArea_tileItem__8WoF9 {
		flex: 0 0 56px !important;
		width: 56px !important;
		min-width: 56px !important;
		max-width: 56px !important;
		height: 72px !important;
		min-height: 72px !important;
		max-height: 72px !important;
		margin: 0 !important;
		display: block !important;
		border-radius: 4px !important;
		overflow: hidden !important;
		border: 1px solid #e0dcd8 !important;
		position: relative !important;
	}

	/* 6. Images and videos fill the thumbnail */
	.single-product main.body-wrapper .ImageArea_tileItem__8WoF9 img,
	.single-product main.body-wrapper .ImageArea_tileItem__8WoF9 video,
	.single-product main.body-wrapper .ImageArea_tileItem__8WoF9 [class*="VideoTile_videoTileWrapper"] {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		border-radius: 3px !important;
		display: block !important;
	}

	/* 7. Hide expand icon inside thumbnails */
	.single-product main.body-wrapper .ImageArea_tileItem__8WoF9 [class*="ImageArea_expandWrap"] {
		display: none !important;
	}
}

/* Map Nova Typography to Botanical Theme */
.textelement.nova {
    font-family: "Hanken Grotesk", sans-serif !important;
}
.textelement.nova.Title-30-Super-Normal, 
.textelement.nova.Title-10-Super-Normal {
    font-family: "Source Serif 4", serif !important;
    font-weight: 400 !important;
}
.text-nova-base-black { color: #041C1B !important; }
.text-white, .text-nova-base-white { color: #ffffff !important; }
.bg-nova-base-black,
.bg-nova-base-solid-90,
.bg-nova-base-solid-100,
[class*="RootCausesAnimated"],
[class*="RootCause"],
[class*="Ingredients_wrapper"],
[class*="Ingredients_cardWrapper"],
[class*="IngredientCard"],
[class*="ResultsStats"] { 
    background-color: #043330 !important; 
}
[class*="animationArea"]:before,
[class*="animationArea"]:after,
.RootCausesAnimated_animationArea__x7o0Q:before,
.RootCausesAnimated_animationArea__x7o0Q:after,
.QuizBannerMen_animationArea__ZQ9Gy:after {
    background: linear-gradient(180deg, rgba(4, 28, 27, 0.2) 15.57%, #043330) !important;
}
.bg-nova-base-black p,
.bg-nova-base-black h1,
.bg-nova-base-black h2,
.bg-nova-base-black h3,
.bg-nova-base-black h4,
.bg-nova-base-black span,
.bg-nova-base-black .textelement.text-white,
.bg-nova-base-black .textelement.text-nova-base-white {
    color: #ffffff !important;
}

/* ==========================================================================
   ROOT CAUSES INTERACTIVE SECTION (LEFT SIDE WHITE BG + BLACK TEXT FIX)
   ========================================================================== */

/* 1. Left Accordion container: White background */
[class*="RootCauses_accordion"],
[class*="RootCauses_accordionSection"] {
    background-color: #ffffff !important;
}

/* Right Animation Wave Chart area: Dark Green #043330 */
[class*="RootCauses_animationArea"],
[class*="RootCauses_slideWrapper"],
[class*="RootCauses_animationWrapper"] {
    background-color: #043330 !important;
}

/* 2. Text colors on left accordion list: Black / Dark Teal text */
[class*="RootCauses_accordion"] button span,
[class*="RootCauses_accordionSection"] button span,
[class*="RootCauses_accordionSection"] span,
[class*="RootCauses_accordionBody"] span,
[class*="RootCauses_accordionBody"] p {
    color: #041C1B !important;
}

[class*="RootCauses_accordionBody"] span,
[class*="RootCauses_accordionBody"] p {
    color: rgba(4, 28, 27, 0.8) !important;
}

/* Accordion section subtle borders */
[class*="RootCauses_accordionSection"] {
    border-color: rgba(4, 28, 27, 0.15) !important;
}

/* 3. Golden Dot / Square Active & Inactive Icons */
/* Active Accordion Item (Hormones, etc.) -> Golden Accent #FFC942 */
[class*="RootCauses_expanded"] button svg,
[class*="RootCauses_accordionSection"].RootCauses_expanded__saXQI button svg,
[class*="RootCauses_accordionSection"] button svg.text-nova-brand-accent-80 {
    color: #FFC942 !important;
    fill: #FFC942 !important;
}

[class*="RootCauses_expanded"] button svg path,
[class*="RootCauses_accordionSection"].RootCauses_expanded__saXQI button svg path,
[class*="RootCauses_accordionSection"] button svg.text-nova-brand-accent-80 path {
    fill: #FFC942 !important;
}

/* Inactive Accordion Items -> Subtle Light Gray Icon */
[class*="RootCauses_accordionSection"]:not([class*="expanded"]) button svg,
[class*="RootCauses_accordionSection"]:not(.RootCauses_expanded__saXQI) button svg,
[class*="RootCauses_accordionSection"] button svg.text-nova-base-solid-20 {
    color: rgba(4, 28, 27, 0.2) !important;
    fill: rgba(4, 28, 27, 0.2) !important;
}

[class*="RootCauses_accordionSection"]:not([class*="expanded"]) button svg path,
[class*="RootCauses_accordionSection"]:not(.RootCauses_expanded__saXQI) button svg path,
[class*="RootCauses_accordionSection"] button svg.text-nova-base-solid-20 path {
    fill: rgba(4, 28, 27, 0.2) !important;
}

/* 4. Top Wave Animation Dot Markers */
[class*="RootCauses_dot"],
[class*="RootCausesAnimated_dot"],
.RootCauses_dot__8jq1e,
.RootCausesAnimated_dot__Y3QTY {
    background-color: #FFC942 !important;
    z-index: 6 !important;
}

/* 5. Continuous Thin Vertical Dotted Line Fix for Wave Chart Animation */
[class*="divider"],
[class*="RootCauses_divider"],
[class*="RootCausesAnimated_divider"],
.RootCauses_divider__XOCFg,
.RootCausesAnimated_divider__4aabr {
    pointer-events: none !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    width: 1px !important;
    left: 50% !important;
    margin-left: 0px !important;
    background: repeating-linear-gradient(180deg, transparent 0 4px, rgba(255, 255, 255, 0.4) 4px 8px) 50%/1px 100% no-repeat !important;
    opacity: 0.4 !important;
    z-index: 5 !important;
    display: block !important;
}

/* Cause text above wave animation line */
[class*="causeText"] p,
.RootCauses_causeText__2RSWp p,
.RootCausesAnimated_causeText__P_6t3 p {
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    position: relative !important;
    z-index: 6 !important;
}

/* FIX LIGHT BACKGROUND CONTAINERS & SUBSCRIPTION OPTIONS (NORMAL, HOVER, ACTIVE STATES) */
.bg-nova-base-solid-20,
.bg-nova-base-solid-20:hover,
.bg-nova-base-solid-20:focus,
.bg-nova-base-solid-20:active,
.bg-nova-base-solid-10,
.bg-nova-base-solid-10:hover,
.bg-nova-base-solid-30,
.bg-nova-base-solid-30:hover,
button.bg-nova-base-solid-20,
button.bg-nova-base-solid-20:hover,
label.bg-nova-base-solid-20,
label.bg-nova-base-solid-20:hover,
select.bg-nova-base-solid-20,
select.bg-nova-base-solid-20:hover,
[class*="subscriptionOption"],
[class*="subscriptionOption"]:hover,
[class*="SubscriptionOption"],
[class*="SubscriptionOption"]:hover,
[class*="subscription-option"],
[class*="subscription-option"]:hover {
    color: #041C1B !important;
}

.bg-nova-brand-primary-60 { background-color: #043330 !important; }
.text-nova-brand-primary-60 { color: #043330 !important; }
.border-nova-brand-primary-60 { border-color: #043330 !important; }
.bg-nova-base-solid-10 { background-color: #e2ecea !important; }

/* SAVE BADGES INSIDE LIGHT CONTAINERS HAVE GREEN BG & WHITE TEXT EVEN ON HOVER */
.bg-nova-brand-accent-80,
.bg-nova-brand-accent-80 *,
.bg-nova-brand-accent-80:hover,
.bg-nova-brand-accent-80:hover *,
.bg-nova-brand-primary-60,
.bg-nova-brand-primary-60 *,
.bg-nova-brand-primary-60:hover,
.bg-nova-brand-primary-60:hover * {
    color: #ffffff !important;
}

/* GLOBAL PRIMARY BOTANICAL GREEN BUTTON OVERRIDES (#075954) */
.bg-nova-brand-primary-80,
.bg-nova-brand-primary-100,
button.single_add_to_cart_button,
.single_add_to_cart_button,
a.add_to_cart_button,
.add_to_cart_button,
a.ajax_add_to_cart,
.ajax_add_to_cart,
.shop-card-cta-btn,
.shop-cta-btn,
button[name="add-to-cart"],
form.cart button,
form.cart button[type="submit"],
form.cart input[type="submit"],
.featured-product-card .single_add_to_cart_button,
.featured-product-card .add_to_cart_button,
.checkout-button,
.button.alt,
[class*="AtcButton"] button,
button[class*="AtcButton"],
button[class*="ButtonNova"],
.btn-add-to-cart,
button.bg-nova-brand-accent-80,
.atc-button,
.atc-btn,
.nutraify-woo-cart-wrapper button,
.nutraify-woo-cart-wrapper .single_add_to_cart_button,
.nutraify-woo-cart-wrapper .add_to_cart_button {
    background: #075954 !important;
    background-color: #075954 !important;
    color: #ffffff !important;
    border-color: #075954 !important;
}

.bg-nova-brand-primary-80 *,
.bg-nova-brand-primary-100 *,
button.single_add_to_cart_button *,
.single_add_to_cart_button *,
a.add_to_cart_button *,
.add_to_cart_button *,
a.ajax_add_to_cart *,
.ajax_add_to_cart *,
.shop-card-cta-btn *,
.shop-cta-btn *,
button[name="add-to-cart"] *,
form.cart button *,
form.cart button[type="submit"] *,
form.cart input[type="submit"] *,
.featured-product-card .single_add_to_cart_button *,
.featured-product-card .add_to_cart_button *,
.checkout-button *,
.button.alt *,
[class*="AtcButton"] button *,
button[class*="AtcButton"] *,
button[class*="ButtonNova"] *,
.btn-add-to-cart *,
button.bg-nova-brand-accent-80 *,
.atc-button *,
.atc-btn *,
.nutraify-woo-cart-wrapper button *,
.nutraify-woo-cart-wrapper .single_add_to_cart_button *,
.nutraify-woo-cart-wrapper .add_to_cart_button * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* ==========================================================================
   BUTTON-NOVA FIXES — restore correct SVG arrow button appearance
   The global rule above previously caught .button-nova and .button-nova *,
   which broke Tertiary/Secondary arrow buttons on all PDP pages.
   ========================================================================== */

/* Tertiary button-nova: transparent container, no forced background */
.button-nova.Tertiary,
a.button-nova.Tertiary,
button.button-nova.Tertiary {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: #075954 !important;
    padding: 0 !important;
}

/* Tertiary SVG arrow: path.bg = yellow, path.arrow = green */
.button-nova.Tertiary .button-arrow-wrap path.bg,
.button-nova.Tertiary .button-arrow-wrap .arrow-right-button_svg__bg {
    fill: #ffc942 !important;
}
.button-nova.Tertiary .button-arrow-wrap path.arrow,
.button-nova.Tertiary .button-arrow-wrap .arrow-right-button_svg__arrow {
    fill: #075954 !important;
}

/* Tertiary label text = green */
.button-nova.Tertiary .label,
.button-nova.Tertiary .textelement {
    color: #075954 !important;
    fill: unset !important;
}

/* Secondary button-nova: white bg, green border/text */
.button-nova.Secondary,
a.button-nova.Secondary,
button.button-nova.Secondary {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #075954 !important;
    color: #075954 !important;
}
.button-nova.Secondary .label {
    color: #075954 !important;
}
.button-nova.Secondary path.bg,
.button-nova.Secondary .arrow-right-button_svg__bg {
    fill: transparent !important;
}
.button-nova.Secondary path.arrow,
.button-nova.Secondary .arrow-right-button_svg__arrow {
    fill: #075954 !important;
}

/* Primary (add-to-cart style) button-nova: green bg, white text */
.button-nova.Primary {
    background: #075954 !important;
    background-color: #075954 !important;
    color: #ffffff !important;
}
.button-nova.Primary .label,
.button-nova.Primary .textelement {
    color: #ffffff !important;
}
.button-nova.Primary path.bg,
.button-nova.Primary .arrow-right-button_svg__bg {
    fill: #075954 !important;
}
.button-nova.Primary path.arrow,
.button-nova.Primary .arrow-right-button_svg__arrow {
    fill: #ffffff !important;
}

/* Link-style button-nova (e.g. FAQ "See All FAQs") */
a.link.button-nova,
.button-nova.Textlink {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: #075954 !important;
}
a.link.button-nova .label,
a.link.button-nova .textelement,
.button-nova.Textlink .label {
    color: #075954 !important;
    fill: unset !important;
}
a.link.button-nova path.bg,
a.link.button-nova .arrow-right-button_svg__bg {
    fill: #ffc942 !important;
}
a.link.button-nova path.arrow,
a.link.button-nova .arrow-right-button_svg__arrow {
    fill: #075954 !important;
}

.bg-nova-brand-primary-80:hover,
.bg-nova-brand-primary-100:hover,
button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover,
button[name="add-to-cart"]:hover,
form.cart button:hover,
form.cart button[type="submit"]:hover,
form.cart input[type="submit"]:hover,
.featured-product-card .single_add_to_cart_button:hover,
.checkout-button:hover,
.button.alt:hover,
[class*="AtcButton"] button:hover,
button[class*="AtcButton"]:hover,
button[class*="ButtonNova"]:hover,
.btn-add-to-cart:hover,
button.bg-nova-brand-accent-80:hover,
.atc-button:hover,
.atc-btn:hover,
.nutraify-woo-cart-wrapper button:hover,
.nutraify-woo-cart-wrapper .single_add_to_cart_button:hover {
    background: #064844 !important;
    background-color: #064844 !important;
    color: #ffffff !important;
    border-color: #064844 !important;
}

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVE SYSTEM
   Covers all pages: homepage, shop, PDP, account, cart, checkout, about,
   FAQ, science, ingredients, contact, customer-reviews.
   Breakpoints: 1023px (tablet), 767px (mobile), 480px (small phone).
   ========================================================================== */

/* ── 1. Prevent horizontal scroll site-wide ── */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}
*, *::before, *::after {
    box-sizing: border-box;
}

/* ── 2. Global container safety on mobile ── */
@media (max-width: 767px) {
    .container, .col-full, .max-w-7xl, .max-w-5xl, .max-w-4xl {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Section vertical rhythm on mobile */
    .py-16 { padding-top: 40px !important; padding-bottom: 40px !important; }
    .py-20 { padding-top: 48px !important; padding-bottom: 48px !important; }
    .md\:py-20 { padding-top: 48px !important; padding-bottom: 48px !important; }

    /* ── Footer ── */
    .nl-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .nl-footer-bottom {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }
    .nl-footer-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    /* ── Trust bar on homepage hero ── */
    .nl-trust-bar {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .nutraify-global-sticky-cart-wrapper {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99990 !important;
        display: block !important;
    }
    .nutraify-global-sticky-cart:not(.empty) {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        border-top: 1px solid rgba(4, 28, 27, 0.15) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12) !important;
    }

    /* ── WooCommerce notices on mobile: move up above sticky cart ── */
    .woocommerce-notices-wrapper {
        bottom: 80px !important;
        width: calc(100% - 32px) !important;
        left: 16px !important;
        transform: none !important;
    }

    /* ── Cart page ── */
    .woocommerce-cart table.cart thead { display: none !important; }
    .woocommerce-cart table.cart td {
        display: block !important;
        width: 100% !important;
        border: none !important;
        padding: 8px 0 !important;
    }
    .woocommerce-cart table.cart td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #555;
    }
    .woocommerce-cart .cart-collaterals { width: 100% !important; }
    .woocommerce-cart .cart-totals { width: 100% !important; }

    /* ── Checkout ── */
    .woocommerce-checkout #customer_details .col-1,
    .woocommerce-checkout #customer_details .col-2 {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    /* ── My Account ── */
    .woocommerce-MyAccount-content { width: 100% !important; }
    .woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none !important;
    }

    /* ── PDP plan selector (Mobile) ── */
    .nutraify-plan-selector {
        border-radius: 10px !important;
        border: 1px solid #E5E7EB !important;
        overflow: hidden !important;
        margin-bottom: 20px !important;
    }
    .nutraify-plan-option {
        background: #ffffff !important;
        border-bottom: 1px solid #E5E7EB !important;
    }
    .nutraify-plan-option.is-selected {
        background: #EEF5F4 !important;
    }
    .nutraify-plan-option-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 14px 12px !important;
    }
    .nutraify-plan-option-left {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .nutraify-plan-option-left input[type="radio"] {
        accent-color: #075954 !important;
        width: 18px !important;
        height: 18px !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }
    .nutraify-plan-title {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 4px 6px !important;
        font-family: 'Hanken Grotesk', sans-serif !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #041C1B !important;
        line-height: 1.25 !important;
    }
    .nutraify-plan-badge {
        font-size: 9.5px !important;
        padding: 2px 7px !important;
        border-radius: 999px !important;
        letter-spacing: 0.03em !important;
    }
    .nutraify-plan-badge.recommended-badge {
        background-color: #075954 !important;
        color: #ffffff !important;
        font-size: 9px !important;
        padding: 2px 6px !important;
    }
    .nutraify-plan-blurb {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
        color: #6B7280 !important;
        margin-top: 3px !important;
    }
    .nutraify-plan-price {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        margin-top: 1px !important;
    }
    .nutraify-plan-price-now {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #041C1B !important;
        line-height: 1.2 !important;
    }
    .nutraify-plan-price-was {
        font-size: 12px !important;
        color: #9CA3AF !important;
        text-decoration: line-through !important;
        margin-top: 1px !important;
    }

    /* ── Science/Ingredients cards ── */
    .nl-science-grid,
    .nl-ingredient-grid,
    .nl-standard-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── Clinical studies / Before-After grid ── */
    .nl-ba-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    /* ── Reviews page: testimonial cards ── */
    .nl-reviews-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── Timeline on homepage ── */
    .timeline-section .hidden.md\:block {
        display: block !important;
    }
}

/* ── 3. Small phones (≤ 480px) ── */
@media (max-width: 480px) {
    /* PDP hero two-column → single column */
    .nl-pdp-hero__inner {
        grid-template-columns: 1fr !important;
    }
    .nl-pdp-hero__gallery {
        order: 1 !important;
        max-height: 340px !important;
    }
    .nl-pdp-hero__info {
        order: 2 !important;
    }

    /* Before/After grid → single column */
    .nl-ba-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer: legal links stack */
    .nl-footer-legal {
        flex-direction: column !important;
        gap: 8px !important;
    }

    /* Toast notice smaller text */
    .woocommerce-message, .woocommerce-info, .woocommerce-error {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }
}

/* ── 4. Tablet adjustments (768–1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Footer: 2 col on tablet */
    .nl-footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* PDP hero: reduced side-by-side */
    .nl-pdp-hero__inner {
        gap: 32px !important;
    }

    /* Container padding */
    .container, .max-w-7xl {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}
