/* ==========================================================================
   Chafery – homepage & product page
   ========================================================================== */

:root {
	--cf-bg: #faf6f2;
	--cf-cream: #f3ece5;
	--cf-blush: #fbf2ef;
	--cf-card: #ffffff;
	--cf-ink: #2a2420;
	--cf-muted: #7b6f68;
	--cf-line: #e9e0d7;
	--cf-accent: #a07c62;
	--cf-accent-dark: #86664f;
	--cf-dark: #2f2723;
	--cf-star: #c9a173;
	--cf-serif: "Cormorant Garamond", Georgia, serif;
	--cf-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--cf-script: "Allura", cursive;
	--cf-radius: 4px;
	--cf-wrap: 1200px;
}

/* ---------- Base ---------- */
.chafery-skin,
.chafery-skin #wrapper,
.chafery-skin #main {
	background: var(--cf-bg);
}
.chafery-skin {
	color: var(--cf-ink);
	font-family: var(--cf-sans);
	font-weight: 300;
}
.chafery-skin h1, .chafery-skin h2, .chafery-skin h3 {
	font-family: var(--cf-serif);
	font-weight: 600;
	color: var(--cf-ink);
	letter-spacing: 0;
}
.chafery-skin .header-main {
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--cf-line);
}
/* Main menu (all pages) */
.header-main .header-nav-main > li > a {
	font-size: 16px;
}
/* Center the menu on the page (desktop), logo stays left and icons right */
@media (min-width: 850px) {
	.header-main .header-inner { position: relative; }
	.header-main .header-inner > .flex-left.hide-for-medium {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		display: flex;
		align-items: center;
	}
	.header-main .header-nav-main { justify-content: center; }
}
.chafery-skin .header-main .nav > li > a {
	font-family: var(--cf-sans);
	font-weight: 400;
	font-size: 16px;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--cf-ink);
}
.chafery-skin #logo a {
	font-family: var(--cf-serif);
	font-weight: 600;
	font-size: 30px;
	letter-spacing: .04em;
	text-transform: none;
	color: var(--cf-ink);
}

.cf-wrap {
	max-width: var(--cf-wrap);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
.cf-icon { flex: none; display: inline-block; vertical-align: middle; }
.cf-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 60px;
	background: linear-gradient(135deg, #efe6dd, #e3d6c9);
}
.cf-hidden-select { display: none !important; }

.cf-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	font-family: var(--cf-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	border-radius: 2px;
	border: 1px solid transparent;
	transition: background .2s, color .2s;
}
.cf-btn--dark { background: var(--cf-dark); color: #fff; }
.cf-btn--dark:hover { background: #000; color: #fff; }
.cf-btn--outline { border-color: var(--cf-ink); color: var(--cf-ink); }
.cf-btn--outline:hover { background: var(--cf-ink); color: #fff; }
.cf-btn--sm { padding: 9px 16px; font-size: 11px; }

.cf-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--cf-ink);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.cf-link--caps {
	text-decoration: none;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}
.cf-link:hover { color: var(--cf-accent); }

.cf-round-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--cf-line);
	border-radius: 50%;
	color: var(--cf-accent);
	background: #fff;
	flex: none;
}
.cf-round-icon--sm { width: 26px; height: 26px; color: var(--cf-ink); }

.cf-avatar {
	display: inline-block;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--cf-cream);
	flex: none;
}
.cf-avatar img, .cf-avatar .cf-placeholder { width: 100%; height: 100%; object-fit: cover; min-height: 0; }

.cf-stars {
	position: relative;
	display: inline-block;
	width: 76px;
	height: 14px;
	vertical-align: -1px;
	background: linear-gradient(90deg, transparent, transparent);
}
.cf-stars::before,
.cf-stars__fill::before {
	content: "★★★★★";
	position: absolute;
	inset: 0;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 1px;
	color: #e3d8cc;
	font-family: Arial, sans-serif;
}
.cf-stars__fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	white-space: nowrap;
}
.cf-stars__fill::before { color: var(--cf-star); }

/* Section header */
.cf-section { padding: 36px 24px 8px; }
.cf-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 18px;
}
.cf-section-head h2 { font-size: 30px; line-height: 1.15; margin: 0; }
.cf-section-head p { margin: 4px 0 0; color: var(--cf-muted); font-size: 14px; }

/* ---------- Video card ---------- */
.cf-video {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: var(--cf-radius);
	overflow: hidden;
	background: var(--cf-cream);
	cursor: pointer;
	text-align: left;
	aspect-ratio: 4 / 3;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.3;
	min-height: 0;
}
.cf-video.is-empty { cursor: default; }
.cf-video--portrait { aspect-ratio: 4 / 5; }
.cf-video__poster, .cf-video__poster img, .cf-video__poster .cf-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s;
}
.cf-video:hover .cf-video__poster img { transform: scale(1.04); }
.cf-video__media { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .4s; }
.cf-video.is-playing .cf-video__media { opacity: 1; }
.cf-video__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-video__media iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	border: 0;
	pointer-events: none;
}
/* Hide the big play button while the video plays; it stays on cards that cannot autoplay. */
.cf-video.is-playing .cf-video__play { opacity: 0; transform: scale(.8); pointer-events: none; }
.cf-video__play { transition: transform .2s, opacity .3s; }
.cf-video:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 2px; }
.cf-video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55));
	pointer-events: none;
}
.cf-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: -28px 0 0 -28px;
	border-radius: 50%;
	background: rgba(20, 16, 14, .72);
	color: #fff;
	transition: transform .2s;
}
.cf-video__play svg { margin-left: 3px; }
.cf-video:hover .cf-video__play { transform: scale(1.08); }
.cf-video__duration {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	color: #fff;
	font-size: 12px;
}
.cf-video__badge {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	transform: translate(-50%, 34px);
	color: #fff;
	font-family: var(--cf-serif);
	font-size: 32px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}
.cf-video__caption {
	position: absolute;
	left: 14px;
	right: 60px;
	bottom: 12px;
	z-index: 2;
	color: #fff;
}
.cf-video__caption strong { display: block; font-family: var(--cf-serif); font-size: 17px; font-weight: 600; }
.cf-video__caption small { display: block; font-size: 11px; opacity: .85; }

/* ---------- Modal ---------- */
.cf-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.cf-modal.is-open { display: flex; }
.cf-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 16, 14, .82); }
.cf-modal__box { position: relative; width: min(960px, 100%); }
.cf-modal.is-portrait .cf-modal__box { width: min(420px, 100%); }
.cf-modal__media video,
.cf-modal__media iframe,
.cf-modal__media img {
	display: block;
	width: 100%;
	max-height: 86vh;
	border: 0;
	background: #000;
	object-fit: contain;
}
.cf-modal__media iframe { aspect-ratio: 16 / 9; height: auto; }
.cf-modal.is-portrait .cf-modal__media iframe { aspect-ratio: 9 / 16; }
.cf-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	margin: 0;
	padding: 0 6px;
	background: none;
	border: 0;
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}
body.cf-modal-open { overflow: hidden; }

/* ==========================================================================
   Homepage
   ========================================================================== */

.cf-hero {
	position: relative;
	background: #efe6dd;
	overflow: hidden;
}
/* Slides are stacked in one grid cell: the hero keeps the height of the tallest slide. */
.cf-hero__slides { display: grid; }
.cf-hero__slide {
	grid-area: 1 / 1;
	position: relative;
	min-height: 540px;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s ease, visibility 0s linear .9s;
}
.cf-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity .9s ease, visibility 0s;
}
.cf-hero__slide .cf-hero__content > * {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .6s ease, transform .6s ease;
}
.cf-hero__slide.is-active .cf-hero__content > * { opacity: 1; transform: none; }
.cf-hero__slide.is-active .cf-hero__content > :nth-child(2) { transition-delay: .1s; }
.cf-hero__slide.is-active .cf-hero__content > :nth-child(3) { transition-delay: .2s; }
.cf-hero__slide.is-active .cf-hero__content > :nth-child(4) { transition-delay: .3s; }
.cf-hero__media > img { transition: transform 7s ease; }
.cf-hero__slide.is-active .cf-hero__media > img { transform: scale(1.04); }

.cf-hero__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: -22px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .85);
	color: var(--cf-ink);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
	cursor: pointer;
	opacity: 0;
	transition: opacity .25s, background .2s;
}
.cf-hero:hover .cf-hero__nav,
.cf-hero__nav:focus-visible { opacity: 1; }
.cf-hero__nav:hover { background: #fff; }
.cf-hero__nav--prev { left: 20px; }
.cf-hero__nav--next { right: 20px; }
.cf-hero__dots {
	position: absolute;
	left: 75%;
	bottom: 22px;
	z-index: 3;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}
.cf-hero__dot {
	width: 10px;
	height: 10px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: rgba(42, 36, 32, .25);
	cursor: pointer;
	transition: width .3s, background .3s;
}
.cf-hero__dot.is-active { width: 28px; background: var(--cf-accent); }
.cf-hero__media {
	position: absolute;
	inset: 0 0 0 50%;
}
.cf-hero__media > img,
.cf-hero__media > .cf-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cf-hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(239, 230, 221, .55) 0%, rgba(239, 230, 221, 0) 14%);}
.cf-hero__script {
	position: absolute;
	right: 6%;
	bottom: 18%;
	color: #fff;
	font-family: var(--cf-script);
	font-size: 44px;
	line-height: 1;
	transform: rotate(-8deg);
	text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.cf-hero__inner { position: relative; width: 100%; }
.cf-hero__content { width: calc(50% - 56px); max-width: 520px; padding: 64px 0; }
.cf-hero__title {
	font-size: clamp(34px, 3.6vw, 54px);
    font-weight: 500;
	line-height: 1.08;
	margin: 0 0 18px;
}
.cf-hero__title span { display: block; }
.cf-hero p { font-size: 16px; color: var(--cf-muted); margin: 0 0 28px; }
.cf-hero__badges {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 12px 32px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}
.cf-hero__badges li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 12px;
	color: var(--cf-ink);
}

.cf-collections {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.cf-collection {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: var(--cf-radius);
	overflow: hidden;
	background: var(--cf-cream);
}
.cf-collection img, .cf-collection .cf-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s;
}
.cf-collection:hover img { transform: scale(1.05); }
.cf-collection::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .5));
}
.cf-collection__label {
	position: absolute;
	left: 18px;
	bottom: 16px;
	z-index: 1;
	color: #fff;
}
.cf-collection__label strong { display: block; font-family: var(--cf-serif); font-size: 26px; font-weight: 500; line-height: 1.1; }
.cf-collection__label small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px; }

.cf-highlight-box {
	margin-top: 36px;
	padding: 28px 28px 30px;
	border: 1px solid #efd4d1;
	border-radius: 6px;
	background: var(--cf-blush);
}
.cf-highlight-box .cf-wrap { padding: 0; }
.cf-creators__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.cf-creator { background: #fff; border-radius: var(--cf-radius); overflow: hidden; }
.cf-creators--home .cf-video { border-radius: 0; }
.cf-creator__quote { margin: 14px 14px 10px; font-size: 14px; font-weight: 400; }
.cf-creator__who { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; }
.cf-creator__who strong { display: block; font-size: 12px; font-weight: 500; }
.cf-creator__who small { display: block; font-size: 11px; color: var(--cf-muted); }

.cf-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cf-features li { display: flex; align-items: center; gap: 14px; margin: 0; }
.cf-features strong { display: block; font-size: 14px; font-weight: 500; }
.cf-features small { display: block; font-size: 12px; color: var(--cf-muted); }

.cf-inside {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 12px;
}
.cf-inside .cf-video { aspect-ratio: auto; height: 230px; }
.cf-inside .cf-video__caption strong { font-size: 16px; }

.cf-rating-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cf-moments {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 16px;
	align-items: stretch;
}
.cf-moments__track {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.cf-moments__track::-webkit-scrollbar { display: none; }
.cf-moments__item {
	flex: 0 0 calc((100% - 40px) / 5);
	aspect-ratio: 4 / 5;
	border-radius: var(--cf-radius);
	overflow: hidden;
	scroll-snap-align: start;
	background: var(--cf-cream);
}
.cf-moments__item img { width: 100%; height: 100%; object-fit: cover; }
.cf-scroll-btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-height: 0;
	margin: -17px 0 0;
	padding: 0;
	border: 1px solid var(--cf-line);
	border-radius: 50%;
	background: #fff;
	color: var(--cf-ink);
	cursor: pointer;
}
.cf-scroll-btn--prev { left: -14px; }
.cf-scroll-btn--next { right: 262px; }
.cf-quote {
	margin: 0;
	padding: 22px;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	background: #fff;
	font-family: var(--cf-sans);
	font-size: 14px;
	font-style: italic;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cf-quote p { margin: 0; line-height: 1.6; }
.cf-quote footer { display: flex; align-items: center; gap: 10px; font-style: normal; font-size: 13px; font-weight: 500; }

/* ==========================================================================
   Product page
   ========================================================================== */

.cf-product { padding-top: 28px; }
.cf-pp-top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

/* Gallery */
/* Main image/video on top, thumbnails in a horizontal row below it. */
.cf-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	position: sticky;
	top: 100px;
}
.cf-gallery__thumbs {
	order: 2;
	display: flex;
	flex-direction: row;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.cf-gallery__thumbs::-webkit-scrollbar { display: none; }
.cf-gallery__thumb {
	position: relative;
	flex: none;
	width: 84px;
	height: 84px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	overflow: hidden;
	background: #fff;
	cursor: pointer;
	opacity: .75;
	transition: opacity .2s, border-color .2s;
}
.cf-gallery__thumb img, .cf-gallery__thumb .cf-placeholder { width: 100%; height: 100%; object-fit: cover; }
.cf-gallery__thumb:hover, .cf-gallery__thumb.is-active { opacity: 1; border-color: var(--cf-ink); }
.cf-gallery__thumb--video::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.cf-gallery__thumb--video.is-empty { cursor: default; }
.cf-gallery__thumb-play {
	position: absolute;
	top: 18px;
	left: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-left: -15px;
	border-radius: 50%;
	background: rgba(20, 16, 14, .7);
	color: #fff;
}
.cf-gallery__thumb-label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	z-index: 1;
	color: #fff;
	font-family: var(--cf-serif);
	font-size: 17px;
	text-align: center;
}
.cf-gallery__main {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--cf-radius);
	overflow: hidden;
	background: #fff;
}
.cf-gallery__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s;
	cursor: zoom-in;
}
.cf-gallery__slide.is-active { opacity: 1; visibility: visible; }
.cf-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.cf-gallery__nav, .cf-gallery__zoom {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--cf-ink);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
	cursor: pointer;
}
.cf-gallery__nav { top: 50%; margin-top: -19px; }
.cf-gallery__nav--prev { left: 14px; }
.cf-gallery__nav--next { right: 14px; }
.cf-gallery__zoom { right: 14px; bottom: 14px; }
.cf-gallery__main .badge-container { z-index: 2; }

/* Product video as first slide: inline, muted autoplay */
.cf-gallery__slide--video { background: #0d0d0d; cursor: pointer; }
.cf-gallery__slide--video video,
.cf-gallery__slide--video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}
.cf-gallery__slide--video iframe { pointer-events: none; }
.cf-gallery__vplay {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: rgba(20, 16, 14, .65);
	color: #fff;
	pointer-events: none;
}
.cf-gallery__vplay svg { margin-left: 3px; }
.cf-gallery__slide--video.is-paused .cf-gallery__vplay { display: flex; }
.cf-gallery__zoom { display: flex; }
.cf-gallery__main.is-video .cf-gallery__zoom { display: none; }
.cf-gallery__sound {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(20, 16, 14, .65);
	color: #fff;
	cursor: pointer;
}
.cf-gallery__main.is-video .cf-gallery__sound { display: flex; }
.cf-gallery__sound-on { display: none; }
.cf-gallery__sound.is-on .cf-gallery__sound-on { display: flex; }
.cf-gallery__sound.is-on .cf-gallery__sound-off { display: none; }

/* Summary */
.cf-summary__head { display: block; }
.cf-summary__title {
	font-size: 34px;
	font-weight: 500;
	line-height: 1.12;
	margin: 0 0 8px;
}
.cf-summary__rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--cf-muted);
}
.cf-summary__price {
	margin: 14px 0 10px;
	font-family: var(--cf-sans);
	font-size: 28px;
	font-weight: 400;
	color: var(--cf-ink);
}
.cf-summary__price del { font-size: 18px; opacity: .5; }
.cf-summary__price ins { text-decoration: none; }
.cf-summary__excerpt { font-size: 13px; line-height: 1.65; color: var(--cf-muted); }

/* Today's Perks: full-width bar above the Add to cart button, offers side by side. */
.cf-offer {
	flex: 1 1 100%;
	width: 100%;
	margin: 4px 0 0;
	padding: 14px 16px;
	border-radius: var(--cf-radius);
	background: var(--cf-cream);
}
.cf-offer__title { font-family: var(--cf-sans); font-size: 13px; font-weight: 500; margin: 0 0 10px; }
.cf-offer ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 12px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cf-offer li { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--cf-accent); }
.cf-offer li .cf-icon { flex: none; }
.cf-offer strong { display: block; font-size: 12px; font-weight: 500; color: var(--cf-ink); }
.cf-offer small { display: block; font-size: 11px; color: var(--cf-muted); }

.cf-summary__form { margin-top: 22px; }
.cf-summary__form table.variations { margin: 0 0 6px; border: 0; }
.cf-summary__form table.variations tr { display: block; margin-bottom: 18px; }
.cf-summary__form table.variations th,
.cf-summary__form table.variations td {
	display: block;
	padding: 0;
	border: 0;
	line-height: 1.4;
}
.cf-summary__form table.variations th.label,
.cf-summary__form table.variations td.label {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: var(--cf-ink);
}
.cf-summary__form table.variations label { font-weight: 400; font-size: 13px; }
.cf-summary__form .reset_variations { font-size: 11px; color: var(--cf-muted); display: inline-block; margin-top: 8px; }

.cf-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 52px;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--cf-line);
	border-radius: 2px;
	background: #fff;
	color: var(--cf-ink);
	font-family: var(--cf-sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.cf-swatch:hover { border-color: var(--cf-muted); }
.cf-swatch.is-active { border-color: var(--cf-ink); box-shadow: inset 0 0 0 1px var(--cf-ink); }
.cf-swatch.is-disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.cf-swatches--color .cf-swatch { border-color: transparent; padding: 0 10px 0 0; background: none; }
.cf-swatches--color .cf-swatch.is-active { box-shadow: none; border-color: transparent; }
.cf-swatch__dot {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .12);
	outline: 1px solid var(--cf-line);
	outline-offset: 3px;
}
.cf-swatch.is-active .cf-swatch__dot { outline: 1.5px solid var(--cf-ink); }

.cf-summary__form .single_variation_wrap .woocommerce-variation-price { margin-bottom: 10px; font-size: 18px; }
.cf-summary__form form.cart { margin-bottom: 0; }
.cf-summary__form .woocommerce-variation-add-to-cart,
.cf-summary__form form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}
.cf-summary__form .quantity { margin: 0 !important; }

/* Checkout "Complete the set" (inc/checkout-upsell.php) */
.cf-xs { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--cf-line); font-family: var(--cf-sans); text-align: left; }
.cf-xs__title { margin: 0 0 4px; font-family: var(--cf-serif); font-size: 20px; font-weight: 600; color: var(--cf-ink); }
.cf-xs__sub { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--cf-muted); }
.cf-xs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cf-xs__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; margin: 0; padding: 10px; background: var(--cf-card); border: 1px solid var(--cf-line); border-radius: var(--cf-radius); }
.cf-xs__img img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: var(--cf-radius); }
.cf-xs__info { display: grid; gap: 3px; min-width: 0; }
.cf-xs__name { font-size: 13px; line-height: 1.35; color: var(--cf-ink); }
.cf-xs__name:hover { color: var(--cf-accent); }
.cf-xs__price { font-size: 13px; color: var(--cf-ink); }
.cf-xs__price del { color: var(--cf-muted); font-size: 12px; margin-right: 4px; }
.cf-xs__price ins { text-decoration: none; font-weight: 500; }
.cf-xs__variation { width: 100%; height: 32px; margin: 4px 0 0 !important; padding: 0 8px; font-size: 12px; border: 1px solid var(--cf-line); border-radius: var(--cf-radius); box-shadow: none; }
.cf-xs__add { margin: 0 !important; min-height: 0; padding: 8px 16px; font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--cf-accent); border: 0; border-radius: var(--cf-radius); cursor: pointer; }
.cf-xs__add:hover { background: var(--cf-accent-dark); }
.cf-xs__add.is-loading { opacity: .6; cursor: wait; }
.cf-xs__msg { margin: 8px 0 0; font-size: 12px; color: #b0413e; }
.cf-xs__msg:empty { display: none; }
@media (max-width: 480px) {
	.cf-xs__item { grid-template-columns: 56px 1fr; }
	.cf-xs__img img { width: 56px; height: 56px; }
	.cf-xs__add { grid-column: 1 / -1; width: 100%; }
}

/* Free message card form (inc/message-card.php) */
.cf-card-form { flex: 0 0 100%; width: 100%; display: grid; gap: 16px; margin: 0 0 6px; }
.cf-card-form__title { margin: 0; font-size: 13px; font-weight: 500; color: var(--cf-ink); }
.cf-card-form__sample { display: block; width: 130px; border: 1px solid var(--cf-line); border-radius: var(--cf-radius); overflow: hidden; }
.cf-card-form__sample img { display: block; width: 100%; height: auto; }
.cf-card-form__field { position: relative; display: grid; gap: 6px; margin: 0; font-weight: 400; }
.cf-card-form__field > span { font-size: 12px; font-weight: 500; color: var(--cf-ink); }
.cf-card-form__field input[type=text],
.cf-card-form__field textarea {
	width: 100%; max-width: 420px; margin: 0; padding: 10px 12px;
	font: 13px/1.5 var(--cf-sans); color: var(--cf-ink);
	background: var(--cf-card); border: 1px solid var(--cf-line); border-radius: var(--cf-radius); box-shadow: none;
}
.cf-card-form__field textarea { min-height: 120px; resize: vertical; }
.cf-card-form__field input:focus,
.cf-card-form__field textarea:focus { border-color: var(--cf-accent); outline: none; }
.cf-card-form__field input[type=file] { font-size: 12px; max-width: 420px; }
.cf-card-form__field small { font-size: 11px; color: var(--cf-muted); }
.cf-card-form__count { justify-self: start; }
.cf-card-form__note { margin: 0; max-width: 420px; font-size: 12px; line-height: 1.6; color: var(--cf-muted); }
.cf-summary__form .quantity::before {
	content: "Quantity";
	display: inline-block;
	margin-right: 14px;
	font-size: 13px;
	vertical-align: middle;
}
.cf-summary__form .quantity .button,
.cf-summary__form .quantity input[type=number] {
	height: 40px;
	min-height: 40px;
	border-color: var(--cf-line);
	background: #fff;
	box-shadow: none;
	color: var(--cf-ink);
}
.cf-summary__form .single_add_to_cart_button {
	flex: 1 1 100%;
	width: 100%;
	height: 52px;
	margin: 6px 0 0 !important;
	border: 0;
	border-radius: 2px;
	background: var(--cf-accent) !important;
	color: #fff;
	font-family: var(--cf-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.cf-summary__form .single_add_to_cart_button:hover { background: var(--cf-accent-dark) !important; }
.cf-summary__form .single_add_to_cart_button.disabled { opacity: .55; }
.cf-summary__form .stock { font-size: 12px; margin: 0 0 8px; }

.cf-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 18px 0 0;
	padding: 14px 10px;
	list-style: none;
	border: 1px dashed #d9c9bb;
	border-radius: var(--cf-radius);
}
.cf-trust li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; line-height: 1.35; color: var(--cf-ink); }
.cf-trust small { display: block; color: var(--cf-muted); font-size: 10.5px; }

/* Creator videos on product page */
.cf-creators--product {
	margin-top: 48px;
	padding: 40px 0 44px;
	background: var(--cf-cream);
}
.cf-creators--product .cf-section-head h2 { font-size: 34px; }
.cf-creators__note {
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid #e8dcd3;
	font-size: 14px;
	line-height: 1.75;
	color: var(--cf-muted);
}
.cf-creators__note p { margin: 0 0 12px; }
.cf-creators__note p:last-child { margin-bottom: 0; }

/* Section tabs */
.cf-tabs {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	gap: 36px;
	margin-top: 26px;
	padding-top: 6px;
	background: var(--cf-bg);
	border-bottom: 1px solid var(--cf-line);
	overflow-x: auto;
	scrollbar-width: none;
}
.cf-tabs { top: var(--cf-sticky-offset, 0px); transition: top .2s; }
.cf-tabs a {
	flex: none;
	padding: 12px 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	color: var(--cf-muted);
	font-family: var(--cf-serif);
	font-size: 18px;
	font-weight: 500;
	white-space: nowrap;
}
.cf-tabs a.is-active, .cf-tabs a:hover { color: var(--cf-ink); border-bottom-color: var(--cf-ink); }

/* Tab panels: text card | video card */
.cf-tabpanels { margin-top: 22px; }
.cf-tabpanel {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	scroll-margin-top: 140px;
}
.cf-tabpanel--single { grid-template-columns: minmax(0, 1fr); }
.cf-tabpanel[hidden] { display: none; }
.cf-tabpanel.is-active { animation: cfTabIn .35s ease; }
@keyframes cfTabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cf-tabvideo .cf-video { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.cf-size .cf-steps { margin-bottom: 18px; }

/* Detail cards */
.cf-pp-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 22px;
}
.cf-card {
	padding: 22px 24px;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	background: var(--cf-card);
	scroll-margin-top: 140px;
}
.cf-card__title { font-size: 22px; margin: 0 0 14px; }
.cf-card p { font-size: 14px; line-height: 1.7; color: #4b423d; }

.cf-desc__headline { font-family: var(--cf-serif); font-size: 22px !important; font-style: italic; color: var(--cf-ink) !important; margin-bottom: 10px; }
.cf-desc__body { max-height: 190px; overflow: hidden; position: relative; font-size: 14px; }
.cf-desc__body.is-open { max-height: none; }
.cf-desc__body:not(.is-open)::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50px;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.cf-desc__more { margin-top: 6px; }
.cf-desc__highlights {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}
.cf-desc__highlights li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; color: var(--cf-muted); }

.cf-360__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.cf-360__thumbs { display: flex; flex-direction: column; gap: 8px; }
.cf-360__thumbs span { aspect-ratio: 1; border: 1px solid var(--cf-line); border-radius: var(--cf-radius); overflow: hidden; }
.cf-360__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cf-video--360 { aspect-ratio: 4 / 3; height: 100%; }
/* Description tab: the whole video is shown (no zoom/crop), on a dark background. */
.cf-360 .cf-video--360 { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.cf-video[data-cf-fit="contain"] .cf-video__media { background: #0d0d0d; }
.cf-video[data-cf-fit="contain"] .cf-video__media video { object-fit: contain; }

.cf-specs__grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; }
.cf-specs__image { position: relative; margin: 0; }
.cf-specs__image img { width: 100%; border-radius: var(--cf-radius); }
.cf-specs__dim { position: absolute; font-size: 11px; color: var(--cf-muted); background: rgba(255, 255, 255, .85); padding: 2px 6px; }
.cf-specs__dim--0 { top: 8px; right: 0; }
.cf-specs__dim--1 { bottom: 8px; right: 0; }
.cf-specs__table { width: 100%; margin: 0; border-collapse: collapse; font-size: 13px; }
.cf-specs__table th, .cf-specs__table td {
	padding: 9px 10px;
	border: 0;
	border-bottom: 1px solid var(--cf-line);
	text-align: left;
	vertical-align: top;
	text-transform: none;
	letter-spacing: 0;
}
.cf-specs__table th { width: 38%; font-weight: 400; color: var(--cf-muted); }
.cf-specs__table td { color: var(--cf-ink); }

.cf-size__grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: center; }
.cf-size__image { aspect-ratio: 1; border-radius: var(--cf-radius); overflow: hidden; }
.cf-size__image img { width: 100%; height: 100%; object-fit: cover; }
.cf-size h3 { font-family: var(--cf-sans); font-size: 14px; font-weight: 500; margin: 0 0 10px; }
.cf-steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: cf-step; }
.cf-steps li {
	position: relative;
	margin: 0 0 9px;
	padding-left: 32px;
	font-size: 13px;
	color: #4b423d;
	counter-increment: cf-step;
}
.cf-steps li::before {
	content: counter(cf-step);
	position: absolute;
	left: 0;
	top: -1px;
	width: 22px;
	height: 22px;
	border: 1px solid var(--cf-line);
	border-radius: 50%;
	font-size: 11px;
	line-height: 20px;
	text-align: center;
}

.cf-photos__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cf-photos__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	border-radius: var(--cf-radius);
	overflow: hidden;
	background: var(--cf-cream);
	color: #cdbcae;
}
.cf-photos__item img { width: 100%; height: 100%; object-fit: cover; }
.cf-photos__item--more span {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(40, 32, 28, .6);
	color: #fff;
	font-family: var(--cf-serif);
	font-size: 24px;
}
.cf-photos__item--more small { font-family: var(--cf-sans); font-size: 10px; }
.cf-photos__meta { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12px !important; }

.cf-faq__item { border: 1px solid var(--cf-line); border-radius: var(--cf-radius); margin-bottom: 8px; }
.cf-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	font-size: 13px;
	cursor: pointer;
	list-style: none;
}
.cf-faq__item summary::-webkit-details-marker { display: none; }
.cf-faq__item summary svg { transition: transform .2s; }
.cf-faq__item[open] summary svg { transform: rotate(45deg); }
.cf-faq__item p { margin: 0; padding: 0 14px 12px; font-size: 13px; }

.cf-made { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: center; }
.cf-made__image { aspect-ratio: 4 / 3; border-radius: var(--cf-radius); overflow: hidden; }
.cf-made__image img { width: 100%; height: 100%; object-fit: cover; }
.cf-made .cf-card__title { font-size: 19px; margin-bottom: 6px; }
.cf-made p { font-size: 13px; margin-bottom: 8px; }

.cf-pay p { font-size: 13px; margin-bottom: 14px; }
.cf-pay__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cf-pay__list li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 56px;
	height: 34px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid var(--cf-line);
	border-radius: 4px;
	background: #fff;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
}
.cf-pay__visa { color: #1a1f71; font-style: italic; font-size: 15px !important; }
.cf-pay__mc span { width: 18px; height: 18px; border-radius: 50%; background: #eb001b; }
.cf-pay__mc span + span { margin-left: -10px; background: rgba(247, 158, 27, .9); }
.cf-pay__amex { background: #2e77bc !important; color: #fff; border-color: #2e77bc !important; }
.cf-pay__apple { color: #000; }
.cf-pay__gpay { color: #5f6368; }
.cf-pay__paypal { color: #003087; font-style: italic; }
.cf-pay__ssl { color: #2e7d32; }

/* WooCommerce reviews */
.cf-reviews { margin-top: 36px; }
.cf-reviews #reviews { padding: 26px; border: 1px solid var(--cf-line); background: #fff; border-radius: var(--cf-radius); }
.cf-reviews #reviews h2, .cf-reviews #reviews h3, .cf-reviews .comment-reply-title { font-family: var(--cf-serif); font-size: 22px; }
.cf-reviews #respond input#submit { background: var(--cf-dark); border-radius: 2px; letter-spacing: .1em; }

/* Why choose bar */
.cf-why-bar { margin-top: 36px; padding: 18px 0; background: var(--cf-cream); }
.cf-why-bar .cf-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.cf-why-bar strong { font-family: var(--cf-serif); font-size: 19px; font-weight: 600; }
.cf-why-bar span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.cf-why-bar svg { color: var(--cf-accent); }

.cf-related { margin-top: 40px; }
.cf-related .related > h3, .cf-related .product-section-title { font-family: var(--cf-serif); font-size: 28px; text-transform: none; letter-spacing: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.cf-trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 849px) {
	.cf-wrap { padding: 0 16px; }
	.cf-section { padding: 28px 16px 4px; }
	.cf-section-head h2 { font-size: 26px; }

	.cf-hero__slide { min-height: 0; flex-direction: column; align-items: stretch; }
	.cf-hero__nav { display: none; }
	.cf-hero__dots { bottom: 16px; left: 50%; }
    .cf-hero__media { position: relative; inset: auto; height: 340px; }
	.cf-hero__media::before { background: linear-gradient(0deg, #efe6dd 0%, rgba(239, 230, 221, 0) 35%); }
	.cf-hero__script { font-size: 34px; bottom: 26%; }
	.cf-hero__content { width: auto; max-width: none; padding: 4px 0 52px; }
	.cf-hero__badges { grid-template-columns: 1fr 1fr; }
    
	.cf-collections { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.cf-collection__label strong { font-size: 22px; }

	.cf-highlight-box { margin-top: 26px; padding: 20px 0 22px 16px; border-radius: 0; border-left: 0; border-right: 0; }
	.cf-highlight-box .cf-section-head { padding-right: 16px; }
	.cf-creators__grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-right: 16px;
		gap: 12px;
		scrollbar-width: none;
	}
	.cf-creators__grid > * { flex: 0 0 72%; scroll-snap-align: start; }

	.cf-features { grid-template-columns: 1fr 1fr; }
	.cf-inside { grid-template-columns: 1fr 1fr; }
	.cf-inside .cf-video { height: 170px; }
	.cf-inside .cf-video--wide { grid-column: 1 / -1; height: 210px; }
	.cf-moments { grid-template-columns: 1fr; }
	.cf-moments__item { flex-basis: 42%; }
	.cf-scroll-btn { display: none; }

	.cf-product { padding-top: 12px; }
	.cf-pp-top { grid-template-columns: 1fr; gap: 22px; }
	.cf-gallery { position: static; }
	.cf-gallery__thumb { width: 64px; height: 64px; }
	.cf-gallery__thumb-play { top: 8px; width: 24px; height: 24px; margin-left: -12px; }
	.cf-gallery__thumb-label { bottom: 6px; font-size: 14px; }
	.cf-summary__title { font-size: 28px; }
	.cf-creators--product { padding: 30px 0 32px; margin-top: 34px; }
	.cf-creators .cf-section-head h2 { font-size: clamp(16px, 4.9vw, 22px) !important; white-space: nowrap; }
	.cf-creators--product .cf-testimonials { padding-right: 0; }
	.cf-creators__note { margin-top: 22px; padding-top: 20px; font-size: 13px; }
	.cf-tabs { gap: 22px; }
	.cf-tabs a { font-size: 16px; }
	.cf-pp-details, .cf-tabpanel { grid-template-columns: 1fr; }
	/* Mobile: the video comes first in each tab, the text follows. */
	.cf-tabpanel > .cf-360, .cf-tabpanel > .cf-tabvideo { order: -1; }
	.cf-tabpanels { margin-top: 16px; }
	.cf-card { padding: 18px 16px; }
	.cf-desc__highlights { grid-template-columns: 1fr; }
	.cf-why-bar .cf-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 549px) {
	.cf-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.cf-features { grid-template-columns: 1fr; }
	.cf-specs__grid, .cf-size__grid, .cf-made { grid-template-columns: 1fr; }
	.cf-specs__image, .cf-size__image, .cf-made__image { max-width: 220px; }
	.cf-photos__grid { grid-template-columns: repeat(3, 1fr); }
	.cf-photos__grid > :nth-child(n+4):not(.cf-photos__item--more) { display: none; }
	.cf-trust { grid-template-columns: 1fr 1fr; }
	.cf-offer { padding: 12px 10px; }
	.cf-offer ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.cf-offer li { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
	.cf-360__grid { grid-template-columns: 1fr; }
}

/* ---------- Homepage testimonials: one slider row per group (4 per view) ---------- */
.cf-testimonials {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 44px;
}
.cf-tcol { position: relative; min-width: 0; }
.cf-tcol + .cf-tcol::before {
	content: "";
	position: absolute;
	top: -22px;
	left: 0;
	right: 0;
	border-top: 1px solid #efd4d1;
}
.cf-tcol__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.cf-tcol__head h3 { margin: 0; font-size: 22px; }
.cf-tcol__head small { font-family: var(--cf-sans); font-size: 12px; font-weight: 300; color: var(--cf-muted); }
/* Arrows on the sides of the slider, centred on the videos (4:5 cards).
   margin-top in % is relative to the stage WIDTH, so it can follow the card size: (card width x 5/4) / 2. */
.cf-tcol__stage { position: relative; --cf-per: 4; --cf-gap: 16px; }
.cf-tcol__btn {
	position: absolute;
	top: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: calc((100% - (var(--cf-per) - 1) * var(--cf-gap)) / var(--cf-per) * .625 - 20px) 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .6);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
	color: var(--cf-ink);
	cursor: pointer;
	opacity: .35; /* Faded by default so it does not cover the video... */
	transition: background .2s, color .2s, opacity .3s;
}
/* ...fully visible while the visitor touches / swipes the row (class set in chafery.js) or hovers it with a mouse. */
.cf-tcol__stage.is-touched .cf-tcol__btn { opacity: 1; background: rgba(255, 255, 255, .95); }
@media (hover: hover) {
	.cf-tcol__stage:hover .cf-tcol__btn { opacity: 1; background: rgba(255, 255, 255, .95); }
}
.cf-tcol__btn--prev { left: -20px; }
.cf-tcol__btn--next { right: -20px; }
.cf-tcol__btn:hover { background: var(--cf-ink); color: #fff; }
.cf-tcol__btn:disabled { opacity: 0 !important; pointer-events: none; }
.cf-tcol__track {
	display: flex;
	gap: var(--cf-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.cf-tcol__track::-webkit-scrollbar { display: none; }
.cf-tcol__track > .cf-creator {
	flex: 0 0 calc((100% - (var(--cf-per) - 1) * var(--cf-gap)) / var(--cf-per));
	scroll-snap-align: start;
}
.cf-tcol__dots button:only-child { display: none; }
.cf-tcol__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.cf-tcol__dots button {
	width: 7px;
	height: 7px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #e3cfc9;
	cursor: pointer;
	transition: width .2s, background .2s;
}
.cf-tcol__dots button.is-active { width: 20px; border-radius: 4px; background: var(--cf-accent); }

@media (min-width: 850px) and (max-width: 1023px) {
	.cf-tcol__stage { --cf-per: 3; }
}

@media (max-width: 849px) {
	.cf-testimonials { gap: 28px; padding-right: 16px; }
	.cf-tcol + .cf-tcol::before { top: -14px; }
	.cf-tcol__stage { --cf-per: 2; --cf-gap: 10px; }
	.cf-tcol__btn { width: 36px; height: 36px; margin-top: calc((100% - var(--cf-gap)) / 2 * .625 - 18px); }
	.cf-tcol__btn--prev { left: 6px; }
	.cf-tcol__btn--next { right: 6px; }
	.cf-tcol__head h3 { font-size: 20px; }
	.cf-tcol .cf-creator__quote { margin: 10px 10px 8px; font-size: 13px; }
	.cf-tcol .cf-creator__who { margin: 0 10px 10px; }
	.cf-tcol .cf-video__play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
}

/* Specs tab: free text from the product editor */
.cf-specs__content { font-size: 14px; line-height: 1.75; color: #4b423d; }
.cf-specs__content > :last-child { margin-bottom: 0; }
.cf-specs__content p { margin: 0 0 12px; }
.cf-specs__content ul, .cf-specs__content ol { margin: 0 0 14px; padding: 0; list-style: none; }
.cf-specs__content li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--cf-line); }
.cf-specs__content ol { list-style: decimal; padding-left: 20px; }
.cf-specs__content ol li { border: 0; padding: 4px 0; }
.cf-specs__content strong { font-weight: 500; color: var(--cf-ink); }
.cf-specs__content h3, .cf-specs__content h4 { font-family: var(--cf-sans); font-size: 15px; font-weight: 500; margin: 16px 0 8px; }
.cf-specs__content table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 13px; }
.cf-specs__content th, .cf-specs__content td { padding: 9px 8px; border-bottom: 1px solid var(--cf-line); text-align: left; vertical-align: top; }
.cf-specs__content img { max-width: 100%; height: auto; border-radius: var(--cf-radius); }
.cf-specs__content a { color: var(--cf-ink); text-decoration: underline; text-underline-offset: 3px; }
.cf-size__content h3:first-child { margin-top: 0; }
.cf-size__content ol li { padding: 6px 0; }
