/* Science page — matches catakor.com/pages/science-benefits */

/* Kill Woodmart page padding */
body.ck-catakor-science .main-page-wrapper,
body.ck-catakor-science #main-content,
body.ck-catakor-science .wd-content-layout,
body.ck-catakor-science .wd-page-content,
body.ck-catakor-science .entry-content,
body.ck-catakor-science .wd-entry-content {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	padding-block: 0 !important;
	margin: 0 !important;
}

body.ck-catakor-science .wd-page-title,
body.ck-catakor-science .page-title {
	display: none !important;
}

.ck-science {
	--ck-sci-cream: #f3f1ed;
	--ck-sci-green: #375b2b;
	--ck-sci-green-deep: #1b352a;
	--ck-sci-lime: #e4f69d;
	background: #fff;
	color: #121212;
	font-family: Teachers, "Space Grotesk", Georgia, serif;
	overflow-x: clip;
}

/* Page-width padding: 100 / 40 / 20, max ~1440 */
.ck-sci-hero__inner,
.ck-sci-split__inner,
.ck-sci-quality__inner,
.ck-sci-reviews__inner,
.ck-sci-video__inner,
.ck-sci-faq__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 100px;
	box-sizing: border-box;
}

/* ---------- Shared ---------- */
.ck-sci-kicker {
	margin: 0;
	display: flex;
	align-items: center;
	font-family: Teachers, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: 0;
	color: var(--ck-sci-green);
}

.ck-sci-kicker::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 1px;
	background-color: var(--ck-sci-green);
	margin-right: 10px;
	flex-shrink: 0;
}

.ck-sci-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: 232px;
	border: 0;
	background-color: var(--ck-sci-green);
	color: #fff !important;
	text-decoration: none !important;
	text-transform: uppercase;
	font-family: Teachers, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, outline 0.2s ease;
	box-sizing: border-box;
}

.ck-sci-btn:hover,
.ck-sci-btn--primary:hover {
	background-color: #fff;
	color: var(--ck-sci-green) !important;
	outline: 2px solid var(--ck-sci-green);
}

.ck-sci-btn--primary {
	background-color: var(--ck-sci-green);
	color: #fff !important;
}

/* ---------- Scroll animations (match catakor: slow slide-up reveal) ---------- */
.scroll-trigger.animate--slide-in {
	opacity: 0;
	transform: translateY(2rem);
}

.scroll-trigger.scroll-trigger--offscreen.animate--slide-in {
	opacity: 0;
	transform: translateY(2rem);
	animation: none;
}

.scroll-trigger:not(.scroll-trigger--offscreen).animate--slide-in {
	animation: ck-slide-in 0.75s cubic-bezier(0, 0, 0.3, 1) forwards;
	animation-delay: calc(var(--animation-order, 0) * 100ms);
}

@keyframes ck-slide-in {
	from {
		opacity: 0;
		transform: translateY(2rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.scroll-trigger.animate--slide-in,
	.scroll-trigger.scroll-trigger--offscreen.animate--slide-in,
	.scroll-trigger:not(.scroll-trigger--offscreen).animate--slide-in {
		opacity: 1;
		transform: none;
		animation: none;
	}
}

/* ---------- Hero: products + COA (reverse like ref) ---------- */
.ck-sci-hero {
	padding: 75px 0 15px;
	background: var(--ck-sci-cream);
}

.ck-sci-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	/* reverse: COA copy left, products right (ref image-with-text__grid--reverse) */
	direction: rtl;
}

.ck-sci-hero__grid > * {
	direction: ltr;
}

.ck-sci-hero__products {
	display: flex;
	gap: 40px;
	align-items: stretch;
}

.ck-sci-card {
	flex: 1;
	max-width: 50%;
	padding: 12px;
	background: #fff;
	border-radius: 16px;
	box-sizing: border-box;
}

.ck-sci-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 12px;
	background: var(--ck-sci-cream);
	text-decoration: none;
}

.ck-sci-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ck-sci-card__badge {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 5px 12px 6px;
	border-radius: 4px;
	border: 1px solid rgba(30, 30, 30, 0.1);
	background: #f6f5f1;
	color: #1e1e1e;
	font-family: Teachers, "Space Grotesk", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0.06em;
}

.ck-sci-card__body {
	padding: 10px 0 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	text-align: left;
}

.ck-sci-card__name {
	margin: 0;
	font-family: Teachers, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #121212;
}

.ck-sci-card__name a {
	color: inherit;
	text-decoration: none;
}

.ck-sci-card__desc {
	margin: 0;
	font-family: Teachers, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #121212;
}

.ck-sci-card__title {
	margin: 4px 0 0;
	font-family: Teachers, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: #121212;
}

.ck-sci-card__sub {
	margin: 0;
	font-family: Teachers, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.7);
}

.ck-sci-card .ck-sci-btn {
	margin-top: 8px;
}

.ck-sci-hero__coa {
	max-width: 49rem;
}

.ck-sci-hero__heading {
	margin: 12px 0 0;
	font-family: Adieu, "Space Grotesk", sans-serif;
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 400;
	line-height: 1.23;
	letter-spacing: 0;
	color: #121212;
}

.ck-sci-hero__text {
	margin: 16px 0 0;
	font-family: Teachers, sans-serif;
	font-size: 20px;
	line-height: 1.6;
	letter-spacing: 0;
	color: #000;
}

/* ---------- Split: NMN / AKG (~1fr 2fr) ---------- */
.ck-sci-split {
	padding: 36px 0;
	background: #fff;
}

.ck-sci-split__inner {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 2rem;
	align-items: center;
}

.ck-sci-split--reverse .ck-sci-split__inner {
	direction: rtl;
}

.ck-sci-split--reverse .ck-sci-split__inner > * {
	direction: ltr;
}

.ck-sci-split__media img {
	display: block;
	width: 100%;
	height: auto;
	background: var(--ck-sci-cream);
}

.ck-sci-split__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.ck-sci-split--nmn .ck-sci-split__content {
	margin-left: 50px;
}

.ck-sci-split__title {
	margin: 0;
	font-family: Adieu, "Space Grotesk", sans-serif;
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 400;
	line-height: 1.2;
	color: #121212;
}

.ck-sci-split__text {
	margin: 0;
	font-family: Teachers, sans-serif;
	font-size: 20px;
	line-height: 1.6;
	color: #000;
}

/* ---------- Science & Quality (reverse: image + text) ---------- */
.ck-sci-quality {
	padding: 48px 0 32px;
	background: var(--ck-sci-cream);
}

.ck-sci-quality__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	direction: rtl;
}

.ck-sci-quality__inner > * {
	direction: ltr;
}

.ck-sci-quality__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	background: #fff;
}

.ck-sci-quality__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.ck-sci-quality__title {
	margin: 0;
	font-family: Adieu, "Space Grotesk", sans-serif;
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 400;
	line-height: 1.2;
	color: #121212;
}

.ck-sci-quality__text {
	margin: 0;
	font-family: Teachers, sans-serif;
	font-size: 20px;
	line-height: 1.6;
	color: #000;
}

/* ---------- Reviews / experts ---------- */
.ck-sci-reviews {
	padding: 20px 0 40px;
	background-color: var(--ck-sci-cream);
	position: relative;
}

.ck-sci-reviews__carousel {
	overflow: hidden;
}

.ck-sci-reviews__carousel .swiper-slide {
	width: auto;
	max-width: 300px;
	height: auto;
}

.ck-sci-review {
	max-width: 300px;
	display: flex;
	flex-direction: column;
	gap: 0;
	box-sizing: border-box;
}

.ck-sci-review__photo {
	border-radius: 15px;
	overflow: hidden;
	background: #ddd;
}

.ck-sci-review__photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 15px;
}

.ck-sci-review__meta {
	margin-top: 10px;
}

.ck-sci-review__name {
	margin: 10px 0;
	max-height: 45px;
	font-weight: 700;
	font-size: 25px;
	line-height: 1.2;
	color: #1e1e1e;
	font-family: Teachers, "Space Grotesk", sans-serif;
}

.ck-sci-review__icon {
	padding-top: 10px;
}

.ck-sci-review__icon img {
	display: block;
	width: 14px;
	height: 14px;
	object-fit: contain;
}

.ck-sci-review__role {
	margin: 20px 0 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #d7d7d7;
	min-height: 35px;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 1;
	color: #375b2b;
	font-family: Teachers, "Space Grotesk", sans-serif;
}

.ck-sci-review__quote {
	margin: 14px 0 0;
	padding: 0;
	border: 0;
	color: #121212;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.4;
	font-family: Teachers, sans-serif;
	font-style: normal;
}

.ck-sci-reviews__nav {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 16px;
	margin-top: 15px;
	position: relative;
	z-index: 20;
}

.ck-sci-reviews__prev,
.ck-sci-reviews__next {
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ck-sci-green);
	color: var(--ck-sci-lime);
	cursor: pointer;
	position: relative;
	pointer-events: auto;
	padding: 0;
}

.ck-sci-reviews__prev::before,
.ck-sci-reviews__next::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

.ck-sci-reviews__prev::before {
	transform: translateX(2px) rotate(135deg);
}

.ck-sci-reviews__next::before {
	transform: translateX(-2px) rotate(-45deg);
}

.ck-sci-reviews__dots.swiper-pagination {
	position: relative;
	top: unset;
	bottom: unset;
	margin: 0;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.ck-sci-reviews__dots .swiper-pagination-bullet {
	width: 27px;
	height: 8px;
	margin: 0 !important;
	border-radius: 10px;
	background-color: rgba(0, 0, 0, 0.2);
	opacity: 1;
	transition: all 0.3s ease;
}

.ck-sci-reviews__dots .swiper-pagination-bullet-active {
	width: 95px;
	height: 8px;
	border-radius: 10px;
	background-color: var(--ck-sci-green);
}

.ck-sci-reviews__note {
	margin: 24px 0 0;
	font-size: 14px;
	font-style: italic;
	line-height: 1.45;
	color: #121212;
}

/* ---------- Video ---------- */
.ck-sci-video {
	padding: 40px 0;
	background: #fff;
}

.ck-sci-video__media {
	--ratio-percent: 40.98%;
	position: relative;
	width: 100%;
	aspect-ratio: 1464 / 600;
	padding-bottom: 0;
	overflow: hidden;
	border-radius: 12px;
	/* Match poster green so no black flash before image paints */
	background-color: #1e3d14;
	background-image: var(--ck-video-poster);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@supports not (aspect-ratio: 1) {
	.ck-sci-video__media {
		height: 0;
		padding-bottom: var(--ratio-percent);
		aspect-ratio: auto;
	}
}

.ck-sci-video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
	display: block;
	border-radius: inherit;
	z-index: 1;
}

.ck-sci-video__poster img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.ck-sci-video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.ck-sci-video__play svg {
	display: block;
	width: 75px;
	height: 75px;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.ck-sci-video__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #1e3d14;
	border: 0;
	z-index: 3;
}

.ck-sci-video__media.is-playing .ck-sci-video__poster {
	display: none;
}

.ck-sci-video__media.is-playing {
	background-image: none;
}

/* ---------- FAQ ---------- */
.ck-sci-faq {
	padding: 36px 0 100px;
	background: #fff;
}

.ck-sci-faq__layout {
	display: flex;
	gap: 19px;
	align-items: stretch;
}

.ck-sci-faq__aside {
	max-width: 32rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
	flex-shrink: 0;
	position: relative;
	text-align: left;
}

.ck-sci-faq__header {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ck-sci-faq__title {
	margin: 0;
	font-family: Adieu, "Space Grotesk", sans-serif;
	font-size: clamp(30px, 9vw, 50px);
	font-weight: 600;
	line-height: 1.27;
	letter-spacing: -2.2px;
	color: #121212;
}

.ck-sci-faq__vector {
	position: relative;
	min-height: 80px;
	flex: 1;
}

.ck-sci-faq__vector svg {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 25%;
}

.ck-sci-faq__all {
	display: inline-block;
	width: fit-content;
	padding: 14px 37px;
	background-color: var(--ck-sci-green);
	color: #fff !important;
	text-decoration: none !important;
	font-family: Teachers, serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.275;
	letter-spacing: 0;
	border-radius: 232px;
	transition: background-color 0.2s ease, color 0.2s ease, outline 0.2s ease;
}

.ck-sci-faq__all:hover {
	background-color: #fff;
	color: var(--ck-sci-green) !important;
	outline: 2px solid var(--ck-sci-green);
}

.ck-sci-faq__list {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.ck-sci-faq__card {
	border-radius: 16px;
	border: 1px solid #e5e5e5;
	overflow: hidden;
	background: #fff;
}

.ck-sci-faq__card details {
	margin: 0;
}

.ck-sci-faq__card summary {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 27px 33px 27px 27px;
	cursor: pointer;
	list-style: none;
	position: relative;
}

.ck-sci-faq__card summary::-webkit-details-marker {
	display: none;
}

.ck-sci-faq__card details[open] summary {
	padding-bottom: 46px;
}

.ck-sci-faq__num {
	flex-shrink: 0;
	margin-right: 0;
	font-family: Teachers, serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.275;
	color: #121212;
}

.ck-sci-faq__q {
	flex: 1;
	font-family: Teachers, serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.275;
	letter-spacing: -0.2px;
	color: #121212;
	padding-right: 24px;
}

.ck-sci-faq__caret {
	position: absolute;
	right: 33px;
	top: 50%;
	transform: translateY(-50%);
	width: 10px;
	height: 6px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.ck-sci-faq__card details[open] .ck-sci-faq__caret {
	transform: translateY(-50%) rotate(180deg);
}

.ck-sci-faq__a {
	padding: 0;
}

.ck-sci-faq__a p {
	margin: 0 auto 26px;
	padding: 16px 43px 0;
	border-top: 1px solid #e5e5e5;
	width: calc(100% - 60px);
	box-sizing: border-box;
	font-family: Teachers, serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5625;
	color: #121212;
}

/* ---------- COA popup (from coa_popup_rules.css) ---------- */
.card_product-coa-popup {
	position: fixed;
	width: 100vw;
	height: 100%;
	background: #000000b3;
	padding: 16px;
	z-index: 9999999;
	left: 0;
	top: 0;
	display: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.card_product-coa-popup.is-open {
	display: flex;
}

.card_product-coa-popup-inner {
	max-width: 600px;
	padding: 16px;
	border-radius: 12px;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

.card_product-coa-image {
	max-height: 65vh;
	height: 100%;
	overflow-y: scroll;
	box-shadow: 0 0 3px #0003;
	border-radius: 6px;
	margin-top: 12px;
	position: relative;
}

.card_product-coa-image img {
	width: 100%;
	display: block;
}

.card_product-coa-close {
	width: 20px;
	height: 20px;
	margin-left: auto;
	cursor: pointer;
	background: #375b2b;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 0;
}

.card_product-coa-close svg {
	fill: #fff;
	width: 14px;
	height: 14px;
	display: block;
}

.card_product-coa-btns {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 12px;
}

.card_product-coa-btn {
	display: inline-block;
	padding: 12px 16px;
	border: 1px solid #375b2b;
	border-radius: 8px;
	cursor: pointer;
	background: #fff;
	box-sizing: border-box;
}

.card_product-coa-btn p {
	margin: 0;
	text-align: center;
	line-height: 1.3em;
	font-weight: 600;
	font-size: 14px;
	color: #375b2b;
}

.card_product-coa-btn.active {
	background: #375b2b;
	color: #fff;
}

.card_product-coa-btn.active p {
	color: #fff;
}

/* ---------- Responsive ≤989 ---------- */
@media screen and (max-width: 989px) {
	.ck-sci-hero__inner,
	.ck-sci-split__inner,
	.ck-sci-quality__inner,
	.ck-sci-reviews__inner,
	.ck-sci-video__inner,
	.ck-sci-faq__inner {
		padding: 0 40px;
	}

	.ck-sci-hero {
		padding: 48px 0 12px;
	}

	.ck-sci-hero__grid {
		grid-template-columns: 1fr;
		direction: ltr;
		gap: 2rem;
	}

	.ck-sci-hero__products {
		gap: 24px;
	}

	.ck-sci-split__inner,
	.ck-sci-quality__inner {
		grid-template-columns: 1fr;
		direction: ltr;
		gap: 24px;
	}

	.ck-sci-split--reverse .ck-sci-split__inner {
		direction: ltr;
	}

	.ck-sci-split--nmn .ck-sci-split__content {
		margin-left: 0;
	}

	.ck-sci-faq__layout {
		flex-direction: column;
		gap: 30px;
	}

	.ck-sci-faq__aside {
		max-width: 100%;
	}

	.ck-sci-faq__vector {
		display: none;
	}

	.ck-sci-reviews__prev,
	.ck-sci-reviews__next {
		width: 32px;
		height: 32px;
	}

	.ck-sci-review__name {
		font-size: 24px;
	}

	.ck-sci-review__role {
		font-size: 16px;
	}

	.ck-sci-review__quote {
		font-size: 18px;
	}

	.ck-sci-reviews__note {
		font-size: 12px;
	}
}

/* ---------- Responsive ≤749 ---------- */
@media screen and (max-width: 749px) {
	.ck-sci-hero__inner,
	.ck-sci-split__inner,
	.ck-sci-quality__inner,
	.ck-sci-reviews__inner,
	.ck-sci-video__inner,
	.ck-sci-faq__inner {
		padding: 0 20px;
	}

	.ck-sci-hero {
		padding-top: 40px;
	}

	.ck-sci-hero__products {
		flex-direction: column;
		gap: 25px;
		width: 100%;
	}

	.ck-sci-card {
		max-width: 100%;
	}

	.ck-sci-hero__heading {
		font-size: clamp(20px, 9vw, 44px);
	}

	.ck-sci-hero__text,
	.ck-sci-split__text,
	.ck-sci-quality__text {
		font-size: 16px;
	}

	.ck-sci-faq__title {
		font-size: clamp(20px, 9vw, 44px);
		line-height: 1.11;
		letter-spacing: 0.135px;
	}

	.ck-sci-faq__card summary {
		padding: 24px 16px 24px 25px;
	}

	.ck-sci-faq__caret {
		right: 15px;
	}

	.ck-sci-faq__a p {
		padding: 16px 0 0 40px;
		width: calc(100% - 20px);
		font-size: 16px;
	}

	.ck-sci-faq__list {
		gap: 10px;
	}

	.ck-sci-reviews__carousel .swiper-slide {
		max-width: 94%;
		width: 94%;
	}

	.ck-sci-review {
		max-width: none;
	}

	.ck-sci-video__play svg {
		width: 56px;
		height: 56px;
	}

	.card_product-coa-btn p {
		font-size: 12px;
	}

	.card_product-coa-btn {
		padding: 8px 12px;
		border-radius: 6px;
	}

	.card_product-coa-btns {
		gap: 6px;
	}
}

@media screen and (max-width: 426px) {
	.ck-sci-review__name {
		font-size: 18px;
	}

	.ck-sci-review__role {
		font-size: 14px;
	}

	.ck-sci-review__quote {
		font-size: 16px;
	}

	.ck-sci-reviews__note {
		font-size: 10px;
	}
}
