/**
 * WellLeaf brand — lighter teal, commerce-ready.
 * Soft surfaces + white product cards; mid teal for CTAs (readable white text).
 */
:root {
	--wl-primary: #1a9b91;
	--wl-primary-dark: #158780;
	--wl-primary-deep: #0f766e;
	--wl-accent: #b8f3ea;
	--wl-accent-strong: #5eead4;
	--wl-accent-hover: #2dd4bf;
	--wl-on-primary: #ffffff;
	--wl-surface: #f9fcfb;
	--wl-surface-warm: #eef9f6;
	--wl-muted: #5b7d78;
	--wl-ink: #1a524c;
	--wl-card-bg: #ffffff;
	--wl-card-border: rgba(26, 155, 145, 0.14);
	--wl-card-shadow: 0 8px 24px rgba(15, 118, 110, 0.07);

	--wl-pdp-green: #1a9b91;
	--wl-pdp-lime: #b8f3ea;
}

/* ── Header ── */
.wl-header__bar {
	background: var(--wl-primary) !important;
}

.wl-header__link,
.wl-header__drawer a,
.wl-header__icon {
	color: var(--wl-primary) !important;
}

.wl-header__count {
	background: var(--wl-primary) !important;
	color: var(--wl-on-primary) !important;
}

/* ── Footer ── */
.footer.kv-footer,
.footer.kv-footer.gradient,
.wl-footer {
	background: #0f766e !important;
}

.wl-footer__wave {
	color: #0f766e !important;
}

.wl-infobox__social {
	background: var(--wl-accent-strong) !important;
	color: var(--wl-primary-deep) !important;
}

.wl-infobox__social:hover {
	background: var(--wl-accent-hover) !important;
}

.wl-footer a:hover,
.wl-footer a:focus-visible {
	color: var(--wl-accent) !important;
}

/* ── Primary buttons (sitewide) ── */
.ctr-hero__button,
.ctr-pcard__buy,
.ctr-featured__card-cta,
.ctr-support__cta,
.wl-sci-btn,
.wl-legal__submit,
.wl-contact__submit,
.wl-about__cta,
.wl-collection__filter-btn.is-active,
.wl-checkout .button.alt,
.wl-checkout #place_order,
.wl-account .woocommerce-Button,
.wl-pdp .single_add_to_cart_button,
.wl-pdp__atc,
.wl-nmn__info .product-form__submit,
.wl-nmn__info .kv-add-to-cart,
.wl-nmn__info button[type="submit"],
.wl-cart-drawer__checkout,
.wl-cart-drawer__view-cart {
	background: var(--wl-primary) !important;
	color: var(--wl-on-primary) !important;
	border-color: var(--wl-primary) !important;
}

.ctr-hero__button:hover,
.ctr-pcard__buy:hover,
.ctr-support__cta:hover,
.wl-sci-btn:hover,
.wl-legal__submit:hover,
.wl-contact__submit:hover,
.wl-checkout .button.alt:hover,
.wl-checkout #place_order:hover,
.wl-nmn__info .product-form__submit:hover,
.wl-nmn__info .kv-add-to-cart:hover,
.wl-cart-drawer__checkout:hover {
	background: var(--wl-primary-dark) !important;
	border-color: var(--wl-primary-dark) !important;
	color: var(--wl-on-primary) !important;
	opacity: 1 !important;
}

/* ── Homepage text (non-product bands) ── */
.ctr-hero__content,
.ctr-hero__heading,
.ctr-hero__heading .ctr-hero__star,
.ctr-hero__subheading .ctr-hero__star,
.ctr-support__heading,
.ctr-support__subheading,
.ctr-support__feature-label,
.ctr-support__feature-text,
.ctr-founder__heading,
.ctr-founder__para {
	color: var(--wl-ink) !important;
}

.ctr-founder__attribution {
	background: rgba(15, 118, 110, 0.88) !important;
}

.ctr-founder__attribution .ctr-founder__name,
.ctr-founder__attribution .ctr-founder__role {
	color: var(--wl-on-primary) !important;
}

/* ── Featured products: soft shop band + product plate ── */
.ctr-featured {
	background:
		radial-gradient(ellipse 70% 80% at 100% 0%, rgba(26, 155, 145, 0.1), transparent 55%),
		linear-gradient(180deg, #eef8f5 0%, #e6f4f0 48%, #f4faf8 100%) !important;
}

.ctr-featured__heading {
	color: var(--wl-ink) !important;
}

.ctr-featured__fact-text {
	color: var(--wl-muted) !important;
}

.ctr-featured__fact-text strong {
	color: var(--wl-primary) !important;
}

.ctr-featured__shopall {
	background: var(--wl-primary) !important;
	color: var(--wl-on-primary) !important;
}

.ctr-featured__shopall-label,
.ctr-featured__shopall-arrow {
	color: var(--wl-on-primary) !important;
}

@media (hover: hover) {
	.ctr-featured__shopall:hover {
		background: var(--wl-primary-dark) !important;
	}

	.ctr-featured__shopall:hover .ctr-featured__shopall-label,
	.ctr-featured__shopall:hover .ctr-featured__shopall-arrow {
		color: var(--wl-on-primary) !important;
	}
}

.ctr-featured__dots.swiper-pagination-bullets .swiper-pagination-bullet {
	color: rgba(26, 155, 145, 0.35) !important;
}

.ctr-featured__dots.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
	color: var(--wl-primary) !important;
}

/* Product cards — white shelf tile + tinted image well */
.ctr-pcard {
	background: #fff !important;
	border: 1px solid rgba(26, 155, 145, 0.16) !important;
	box-shadow: 0 10px 28px rgba(15, 118, 110, 0.08) !important;
	border-radius: 16px !important;
}

.ctr-pcard__media {
	border-radius: 14px !important;
	background:
		radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.75) 0%, transparent 55%),
		linear-gradient(160deg, #d8f3ee 0%, #c5ebe4 45%, #b7e4db 100%) !important;
}

.ctr-pcard__badge {
	background: rgba(255, 255, 255, 0.92) !important;
	color: var(--wl-primary) !important;
	border: 1px solid rgba(26, 155, 145, 0.22);
}

.ctr-pcard__title,
.ctr-pcard__subtitle,
.ctr-pcard__nsf {
	color: var(--wl-ink) !important;
}

.ctr-pcard__subtitle {
	color: var(--wl-muted) !important;
}

.ctr-pcard__price {
	color: var(--wl-primary) !important;
	font-weight: 700 !important;
}

.ctr-pcard__stars,
.ctr-pcard__stars-base,
.ctr-pcard__stars-fill {
	color: #1a9b91 !important;
}

.ctr-pcard__stars-base {
	color: rgba(26, 155, 145, 0.28) !important;
}

.ctr-pcard__buy {
	display: inline-flex !important;
	background: var(--wl-primary) !important;
	color: #fff !important;
}

@media (hover: hover) {
	.ctr-pcard:hover {
		border-color: rgba(26, 155, 145, 0.32) !important;
		box-shadow: 0 16px 36px rgba(15, 118, 110, 0.14) !important;
		background: #fff !important;
		transform: translateY(-2px);
	}

	.ctr-pcard:hover .ctr-pcard__title,
	.ctr-pcard:hover .ctr-pcard__subtitle,
	.ctr-pcard:hover .ctr-pcard__nsf {
		color: var(--wl-ink) !important;
	}

	.ctr-pcard:hover .ctr-pcard__subtitle {
		color: var(--wl-muted) !important;
	}

	.ctr-pcard:hover .ctr-pcard__price {
		color: var(--wl-primary-dark) !important;
	}

	.ctr-pcard:hover .ctr-pcard__buy,
	.ctr-pcard__buy:hover {
		background: var(--wl-primary-dark) !important;
		color: #fff !important;
	}
}

.ctr-hero__dots .swiper-pagination-bullet-active {
	background: var(--wl-primary) !important;
}

.ctr-featured__card-badge {
	background: var(--wl-primary) !important;
	color: var(--wl-on-primary) !important;
}

/* ── Longevity support: soft teal wash (replace lime #d9edbb) ── */
.ctr-support {
	background: var(--wl-surface-warm) !important;
}

.ctr-support__bg-img {
	opacity: 0.35 !important;
	mix-blend-mode: multiply;
}

.ctr-support__content {
	color: var(--wl-ink) !important;
}

.ctr-support__feature-icon {
	color: #99f6e4 !important;
}

.ctr-support__cta {
	background: var(--wl-primary) !important;
	color: var(--wl-on-primary) !important;
}

@media (hover: hover) {
	.ctr-support__cta:hover {
		background: var(--wl-primary-dark) !important;
		color: var(--wl-on-primary) !important;
	}
}

/* ── Founder band: cooler neutral ── */
.ctr-founder {
	background:
		radial-gradient(120% 110% at 50% 25%, #f7faf9, #e8efed) !important;
}

/* ── Product / collection pages ── */
.wl-nmn__info .product__title h1,
.wl-nmn__info .kv-bundle-quantity,
.wl-nmn-info__heading,
.wl-pdp__title,
.wl-collection__title,
.wl-science .wl-sci-card__name a {
	color: var(--wl-primary) !important;
}

.wl-nmn__info .kv-bundle-option:has(.kv-bundle-radio:checked),
.wl-nmn__info label.kv-bundle-option.kv-bundle-best-value {
	background-color: var(--wl-primary) !important;
}

.wl-nmn__info .kv-badge,
.wl-nmn__info label.kv-bundle-option.kv-bundle-best-value .kv-badge {
	background: var(--wl-accent-strong) !important;
	color: var(--wl-primary-deep) !important;
}

.wl-nmn__info .kv-bundle-option:has(.kv-bundle-radio:checked) .kv-bundle-quantity {
	color: var(--wl-on-primary) !important;
}

.wl-pdp__mg,
.wl-pdp__pill,
.wl-pdp__bundle-badge,
.wl-nmn__badge {
	background: var(--wl-accent-strong) !important;
	color: var(--wl-primary-deep) !important;
}

/* ── About hero ── */
.wl-about-hero,
.wl-about-hero__content,
.wl-about-hero__media {
	background: var(--wl-primary) !important;
}

.wl-about-hero__title,
.wl-about h1.wl-about-hero__title {
	color: var(--wl-on-primary) !important;
}

.wl-about-hero__text {
	color: var(--wl-on-primary) !important;
}

.wl-about-hero__cta:hover {
	color: var(--wl-primary) !important;
	border-color: var(--wl-primary);
	outline-color: var(--wl-primary);
}

/* ── Links & headings on inner pages ── */
.wl-about a,
.wl-contact a,
.wl-legal a,
.wl-science a,
.wl-account a {
	color: var(--wl-primary);
}

.wl-about h1,
.wl-about h2,
.wl-contact h1,
.wl-legal h1,
.wl-science h2 {
	color: var(--wl-primary);
}

/* ── Cart drawer accent ── */
.wl-cart-drawer__bar-fill {
	background: var(--wl-primary) !important;
}

.wl-cart-drawer__progress-label strong {
	color: var(--wl-primary) !important;
}

/* ── Hero without product images ── */
.ctr-hero--no-product .ctr-hero__scrim {
	display: none !important;
}

.ctr-hero--no-product .ctr-hero__inner {
	justify-content: flex-start;
}

.ctr-hero--no-product .ctr-hero__content {
	max-width: min(640px, 100%);
}
