/* PDP Layout */
.nl-pdp {
	padding-bottom: 80px;
}
.nl-pdp-hero {
	padding: 40px 0;
	background: #fff;
}
.nl-pdp-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: flex-start;
}

/* Gallery */
.nl-pdp-gallery .woocommerce-product-gallery__image {
	border: 1px solid var(--nl-border);
	border-radius: 12px;
	overflow: hidden;
}

/* Info */
.nl-pdp-info h1.product_title {
	font-size: 40px;
	margin-bottom: 8px;
	color: var(--nl-ink);
}
.nl-pdp-info .price {
	font-size: 24px !important;
	color: var(--nl-ink) !important;
	font-weight: 700;
	margin-bottom: 24px;
}
.nl-pdp-info .woocommerce-product-details__short-description {
	font-size: 16px;
	color: var(--nl-muted);
	line-height: 1.6;
	margin-bottom: 32px;
}

/* Trust Mini */
.nl-pdp-trust-mini {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--nl-border);
	display: flex;
	gap: 24px;
	color: var(--nl-muted);
	font-size: 14px;
}
.nl-pdp-trust-mini span {
	display: flex;
	align-items: center;
	gap: 8px;
}
.nl-pdp-trust-mini .dashicons {
	color: var(--nl-success);
}

/* Benefits Shortcode Styles */
.nl-pdp-benefits {
	background: var(--nl-mint);
	padding: 80px 0;
}
.nl-pdp-benefits__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.nl-grid--3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.nl-benefit-card {
	background: #fff;
	padding: 32px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.nl-benefit-card h3 {
	margin-bottom: 12px;
	font-size: 20px;
}

/* Ingredients */
.nl-pdp-ingredients {
	padding: 80px 0;
	background: #fff;
}
.nl-pdp-ingredients__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.nl-ingredient-list {
	list-style: none;
	padding: 0;
	margin-top: 24px;
}
.nl-ingredient-list li {
	padding: 16px 0;
	border-bottom: 1px solid var(--nl-border);
	line-height: 1.5;
}
.nl-ingredient-list li:last-child {
	border-bottom: none;
}
.nl-pdp-ingredients__image img {
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* How to use */
.nl-pdp-how-to-use {
	padding: 80px 0;
	background: var(--nl-cream);
	text-align: center;
}
.nl-pdp-how-to-use__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 24px;
}
.nl-pdp-how-to-use h2 {
	margin-bottom: 48px;
	font-size: 32px;
}
.step-icon {
	width: 48px;
	height: 48px;
	background: var(--nl-gold);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: bold;
	margin: 0 auto 24px auto;
}

/* Sticky Add to Cart (Mobile) */
@media (max-width: 767px) {
	.nl-pdp-hero__inner, .nl-pdp-ingredients__inner, .nl-grid--3 {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   Real subscription plan selector (see NUTRAIFY_Subscriptions::render_selector())
   ============================================================ */
.nutraify-plan-selector {
	border: 1px solid #E5E7EB;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 20px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.nutraify-plan-option {
	display: block;
	cursor: pointer;
	background: #ffffff;
	border-bottom: 1px solid #E5E7EB;
	transition: all 0.15s ease;
	position: relative;
}
.nutraify-plan-option:last-child {
	border-bottom: none;
}
.nutraify-plan-option:hover {
	background: #f9fafb;
}
.nutraify-plan-option.is-selected {
	background: #EEF5F4 !important;
}
.nutraify-plan-option-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
}
.nutraify-plan-option-left {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.nutraify-plan-option-left input[type="radio"] {
	margin-top: 3px;
	width: 20px;
	height: 20px;
	accent-color: #075954;
	cursor: pointer;
	flex-shrink: 0;
}
.nutraify-plan-title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	font-weight: 700;
	font-size: 16px;
	color: #111827;
	line-height: 1.25;
}
.nutraify-plan-badge {
	background: #EAB308;
	color: #111827;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 2px 9px;
	border-radius: 999px;
	white-space: nowrap;
	flex-shrink: 0;
}
.nutraify-plan-badge.recommended-badge {
	background-color: #075954 !important;
	color: #ffffff !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	padding: 3px 10px !important;
	border-radius: 999px !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
}
.nutraify-plan-blurb {
	display: block;
	font-size: 13px;
	color: #6B7280;
	margin-top: 4px;
	font-weight: 400;
}
.nutraify-plan-price {
	text-align: right;
	white-space: nowrap;
	flex-shrink: 0;
}
.nutraify-plan-price-now {
	display: block;
	font-weight: 700;
	font-size: 18px;
	color: #111827;
	line-height: 1.2;
}
.nutraify-plan-price-was {
	display: block;
	font-size: 13px;
	color: #9CA3AF;
	text-decoration: line-through;
	margin-top: 2px;
	text-align: right;
}

.nutraify-buy-once { text-align: center; margin: 0 0 20px; }
.nutraify-buy-once-link { color: #075954; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nutraify-buy-once-link:hover { color: #064844; }

form.cart .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,
button.bg-nova-brand-accent-80,
[class*="AtcButton"] button,
button[class*="AtcButton"],
button[class*="ButtonNova"],
.button-nova,
.atc-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	background: #075954 !important;
	background-color: #075954 !important;
	color: #ffffff !important;
	font-family: 'Hanken Grotesk', sans-serif !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	padding: 16px 24px !important;
	border-radius: 8px !important;
	border: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
}
form.cart .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"] *,
button.bg-nova-brand-accent-80 *,
[class*="AtcButton"] button *,
button[class*="ButtonNova"] *,
.button-nova * {
	color: #ffffff !important;
}
form.cart .single_add_to_cart_button:hover,
.single_add_to_cart_button:hover,
a.add_to_cart_button:hover,
.add_to_cart_button:hover,
.shop-card-cta-btn:hover,
.shop-cta-btn:hover,
button[name="add-to-cart"]:hover,
form.cart button:hover,
button.bg-nova-brand-accent-80:hover,
[class*="AtcButton"] button:hover,
.button-nova:hover {
	background: #064844 !important;
	background-color: #064844 !important;
	color: #ffffff !important;
}
form.cart .single_add_to_cart_button::after,
.single_add_to_cart_button::after,
a.add_to_cart_button::after,
.add_to_cart_button::after { content: ' →'; font-size: 16px; margin-left: 4px; }

/* Root-causes wave: the two marker dots share a bare `bottom:0` rule with
   nothing distinguishing them, so they render stacked on top of each other.
   The first one should sit up at the peak's apex, the second stays at the
   base — matching the reference (dot-at-peak, dot-at-base, dotted line
   between them). */
.RootCauses_dots__FHBB8 .RootCauses_dot__8jq1e:first-child {
	bottom: 161px; /* fallback before JS measures the actual peak per cause */
	transition: bottom 700ms ease-in-out;
}

/* The theme's generic `button:hover` rule (dark green background, white
   text, lift + shadow — meant for CTA buttons) was bleeding onto the
   root-causes accordion toggles, since they're plain <button> elements with
   nothing more specific overriding it. Neutralize it back to the accordion's
   own look on hover. */
.RootCauses_accordionSection__AIdsM button:hover {
	background-color: transparent !important;
	color: inherit !important;
	transform: none !important;
	box-shadow: none !important;
}

/* Root-causes wave slides: 3 at a time on desktop (matches the accordion
   list breakpoint), but a single centered peak below 1024px — 3 cramped
   peaks don't fit a phone-width wave viewport. */
.rootcauses-wave-slide {
	flex: 0 0 33.3334%;
	box-sizing: border-box;
}
@media (max-width: 1023px) {
	.rootcauses-wave-slide {
		flex-basis: 100%;
	}
}

/* Fix for Ingredients Tab Buttons Hover */
/* Overrides the global CTA button:hover in style.css so these act like native Tailwind tabs */
button.bg-nova-transparency-white-10:hover {
	background-color: rgba(255, 255, 255, 0.2) !important;
	color: inherit !important;
	transform: none !important;
	box-shadow: none !important;
}

button.bg-nova-base-solid-20:hover {
	background-color: rgb(236, 241, 245) !important;
	color: inherit !important;
	transform: none !important;
	box-shadow: none !important;
}
