/* Cosylueur homepage 1.2.0 — warm boutique layout.
   Palette: linen #faf7f2 · warm sand #f3ece2 · espresso #251e18 · amber #9c562c.
   Desktop 1440px and mobile 390px are first-class. */

.cl-home {
	--cl-bg: #faf7f2;
	--cl-bg-soft: #f3ece2;
	--cl-ink: #251e18;
	--cl-muted: #6b5d51;
	--cl-line: rgba(37, 30, 24, 0.1);
	--cl-border: #e7dccd;
	--cl-accent: #9c562c;
	--cl-light: #fffdf9;
	--cl-cream: #f7f2eb;
	--cl-max: 1200px;
	--cl-radius: 14px;
	background: var(--cl-bg);
	color: var(--cl-ink);
	font-size: 16px;
	line-height: 1.6;
}

.cl-home a {
	color: inherit;
}

.cl-wrap {
	width: min(var(--cl-max), calc(100% - 48px));
	margin: 0 auto;
}

.cl-kicker {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #f1dcc6;
}

.cl-kicker--dark {
	color: var(--cl-accent);
}

.cl-lead {
	max-width: 38em;
	margin: 0 auto 40px;
	text-align: center;
	color: var(--cl-muted);
	font-size: 1.02rem;
}

.cl-home h1,
.cl-home h2,
.cl-home h3 {
	color: var(--cl-ink);
	letter-spacing: -0.02em;
	line-height: 1.15;
	font-weight: 500;
}

.cl-home h2 {
	margin: 0 0 14px;
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	text-align: center;
}

.cl-home h3 {
	margin: 0 0 8px;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* Buttons — high specificity: .cl-home a { color: inherit } and theme
   button rules would otherwise win. */
.cl-home a.cl-btn,
.cl-hero a.cl-btn,
.cl-cta a.cl-btn,
.cl-home a.cl-btn--solid {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.9rem 2rem;
	border: 1px solid #251e18;
	border-radius: 999px;
	background: #251e18 !important;
	color: #f7f2eb !important;
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(20, 14, 10, 0.25);
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cl-home a.cl-btn--cream,
.cl-cta a.cl-btn--cream {
	background: #f7f2eb !important;
	border-color: #f7f2eb;
	color: #251e18 !important;
}

.cl-home a.cl-btn:hover,
.cl-home a.cl-btn:focus-visible,
.cl-hero a.cl-btn:hover,
.cl-hero a.cl-btn:focus-visible,
.cl-cta a.cl-btn:hover,
.cl-cta a.cl-btn:focus-visible {
	background: #9c562c !important;
	border-color: #9c562c;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.cl-home a.cl-btn:focus-visible,
.cl-home .cl-card:focus-visible,
.cl-home a:focus-visible {
	outline: 2px solid #9c562c;
	outline-offset: 3px;
}

/* ---------- Hero ---------- */
.cl-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(540px, 74vh, 760px);
	overflow: hidden;
	color: var(--cl-cream);
	background: #251e18;
}

.cl-hero__media,
.cl-hero__media img,
.cl-hero__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
}

.cl-hero__media img,
.cl-hero__img {
	object-fit: cover;
	object-position: 62% 50%;
}

.cl-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(26, 18, 12, 0.86) 0%, rgba(26, 18, 12, 0.66) 34%, rgba(26, 18, 12, 0.22) 62%, rgba(26, 18, 12, 0.05) 100%),
		linear-gradient(0deg, rgba(26, 18, 12, 0.35) 0%, rgba(26, 18, 12, 0) 35%);
}

.cl-hero__content {
	position: relative;
	z-index: 1;
	width: min(var(--cl-max), calc(100% - 48px));
	margin: 0 auto;
	padding: 72px 0;
	text-align: left;
}

.cl-hero__content > * {
	max-width: 560px;
}

.cl-hero h1 {
	margin: 0 0 18px;
	color: #fffaf3;
	font-size: clamp(2.3rem, 4.6vw, 3.7rem);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -0.025em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.cl-hero__sub {
	margin: 0 0 30px;
	max-width: 30em;
	color: rgba(255, 250, 243, 0.92);
	font-size: clamp(1.02rem, 1.4vw, 1.18rem);
	line-height: 1.55;
}

.cl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cl-hero__note {
	margin: 18px 0 0;
	font-size: 0.88rem;
	color: rgba(255, 250, 243, 0.82);
	letter-spacing: 0.01em;
}

/* ---------- Trust bar ---------- */
.cl-reassurance {
	background: var(--cl-light);
	border-bottom: 1px solid var(--cl-border);
}

.cl-reassurance__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding: 0;
}

.cl-reassurance__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 26px 22px;
	text-align: left;
}

.cl-reassurance__item + .cl-reassurance__item {
	border-left: 1px solid var(--cl-border);
}

.cl-reassurance__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #f3ece2;
	color: #9c562c;
}

.cl-reassurance__ico .cl-ico {
	width: 22px;
	height: 22px;
}

.cl-reassurance__title {
	margin: 0 0 2px;
	font-size: 0.97rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	color: #251e18;
}

.cl-reassurance__text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.4;
	color: #5c5047;
}

.cl-reassurance__text a {
	color: #5c5047;
	text-decoration: none;
	border-bottom: 1px solid rgba(156, 86, 44, 0.35);
}

.cl-reassurance__text a:hover {
	color: #9c562c;
}

/* ---------- Product grid ---------- */
.cl-bestsellers {
	padding: 84px 0 32px;
}

.cl-bestsellers .cl-kicker,
.cl-ambiance .cl-kicker,
.cl-why .cl-kicker {
	text-align: center;
}

.cl-bestsellers__grid,
.cl-bestsellers__grid .woocommerce,
.cl-bestsellers__grid .woocommerce.columns-3 {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0;
}

.cl-home .cl-bestsellers__grid ul.products,
.cl-home ul.products.em-flex,
.cl-home .products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 28px 24px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.cl-home .products::before,
.cl-home .products::after {
	display: none !important;
	content: none !important;
}

.cl-home .cl-bestsellers__grid ul.products li.product,
.cl-home ul.products.columns-3 li.product,
.cl-home .products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100% !important;
	max-width: none !important;
	flex: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--cl-light);
	border: 1px solid var(--cl-border);
	border-radius: var(--cl-radius);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(37, 30, 24, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cl-home .products li.product:hover {
	transform: translateY(-4px);
	border-color: #d9c6b0;
	box-shadow: 0 16px 34px rgba(37, 30, 24, 0.1);
}

.cl-home .products li.product .product-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.cl-home .products li.product .product-thumbnail {
	background: #ffffff;
	overflow: hidden;
}

.cl-home .products li.product img,
.cl-home .products li.product .product-thumbnail img {
	border-radius: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	display: block;
	transition: transform 0.5s ease;
}

.cl-home .products li.product:hover .product-thumbnail img {
	transform: scale(1.03);
}

.cl-home .woocommerce-badges,
.cl-home .onsale,
.cl-home .badge-new,
.cl-home .product-loop-button,
.cl-home .product-featured-icons,
.cl-home .ecomus-quickview-button,
.cl-home .ecomus-rating {
	display: none !important;
}

.cl-home .products li.product .product-summary {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 20px 20px !important;
}

.cl-home .woocommerce-loop-product__title,
.cl-home li.product h2,
.cl-home li.product h2.woocommerce-loop-product__title,
.cl-home ul.products li.product .woocommerce-loop-product__title {
	font-size: 17.5px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	padding: 0 !important;
	margin: 0 0 6px !important;
	text-align: left;
	letter-spacing: -0.005em;
}

.cl-home .woocommerce-loop-product__title a {
	color: #251e18 !important;
	text-decoration: none;
}

.cl-home li.product .price,
.cl-home ul.products li.product .price {
	display: block !important;
	padding: 0 !important;
	margin: 0 0 14px !important;
	color: #251e18 !important;
	font-size: 17px !important;
	line-height: 1.35 !important;
	font-weight: 700 !important;
}

.cl-home li.product .price .woocommerce-price-suffix {
	font-size: 12px;
	font-weight: 500;
	color: #7a6c60;
}

.cl-home li.product > a.button,
.cl-home li.product .added_to_cart {
	display: none !important;
}

.cl-home li.product .cl-discover {
	margin-top: auto;
	align-self: flex-start;
}

.cl-bestsellers__more {
	margin: 34px 0 0;
	text-align: center;
}

.cl-home a.cl-link-arrow {
	display: inline-flex;
	gap: 6px;
	font-weight: 600;
	color: #9c562c;
	text-decoration: none;
	border-bottom: 1px solid rgba(156, 86, 44, 0.35);
	padding-bottom: 2px;
}

.cl-home a.cl-link-arrow:hover {
	color: #251e18;
	border-color: #251e18;
}

/* ---------- Ambiance cards ---------- */
.cl-ambiance {
	padding: 64px 0 32px;
}

.cl-ambiance h2 {
	margin-bottom: 40px;
}

.cl-ambiance__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.cl-home a.cl-card {
	display: flex;
	flex-direction: column;
	background: var(--cl-light);
	border: 1px solid var(--cl-border);
	border-radius: var(--cl-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--cl-ink);
	box-shadow: 0 1px 2px rgba(37, 30, 24, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cl-home a.cl-card:hover,
.cl-home a.cl-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(37, 30, 24, 0.12);
	color: var(--cl-ink);
}

/* Fixed aspect box + absolutely positioned image: always fills the frame,
   even before the lazy image has loaded (warm gradient placeholder). */
.cl-card__media {
	position: relative;
	aspect-ratio: 4 / 3.4;
	overflow: hidden;
	background: linear-gradient(135deg, #3a2c21 0%, #6b4a33 55%, #9c562c 100%);
}

.cl-card__media img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center 55%;
	display: block;
	transition: transform 0.6s ease;
}

.cl-home a.cl-card:hover .cl-card__media img {
	transform: scale(1.05);
}

.cl-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 22px 22px 24px;
}

.cl-card__body p {
	margin: 0 0 16px;
	color: var(--cl-muted);
	font-size: 0.95rem;
}

.cl-card__link {
	margin-top: auto;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--cl-accent);
}

/* ---------- Why Cosylueur ---------- */
.cl-why {
	padding: 72px 0 24px;
}

.cl-why h2 {
	margin-bottom: 40px;
}

.cl-why__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.cl-why__item {
	padding: 30px 28px 30px;
	background: #f3ece2;
	border: 1px solid var(--cl-border);
	border-radius: var(--cl-radius);
}

.cl-why__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: #fffdf9;
	color: #9c562c;
	box-shadow: 0 1px 2px rgba(37, 30, 24, 0.06);
}

.cl-why__item h3 {
	margin-bottom: 10px;
}

.cl-why__item p {
	margin: 0;
	color: #4a3f37;
	font-size: 0.97rem;
	line-height: 1.6;
}

.cl-why__item a {
	color: #251e18;
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-word;
}

/* ---------- Final CTA ---------- */
.cl-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 460px;
	margin-top: 72px;
	overflow: hidden;
	color: var(--cl-cream);
	text-align: center;
	background: #251e18;
}

.cl-cta__media,
.cl-cta__media img,
.cl-cta__overlay {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
}

.cl-cta__media img {
	object-fit: cover;
	object-position: center 40%;
}

.cl-cta__overlay {
	background:
		radial-gradient(ellipse 60% 75% at center, rgba(30, 20, 13, 0.62) 0%, rgba(30, 20, 13, 0.38) 70%, rgba(30, 20, 13, 0.25) 100%),
		linear-gradient(180deg, rgba(60, 34, 18, 0.05), rgba(26, 18, 12, 0.45));
}

.cl-cta__content {
	position: relative;
	z-index: 1;
	width: min(660px, calc(100% - 40px));
	padding: 72px 0;
}

.cl-cta h2 {
	color: #fffaf3;
	margin-bottom: 14px;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.cl-cta p {
	margin: 0 auto 30px;
	max-width: 32em;
	color: rgba(255, 250, 243, 0.9);
}

.cl-cta .cl-kicker {
	margin-bottom: 12px;
}

.cl-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 22px;
}

.cl-home a.cl-cta__ghost {
	color: #f7f2eb;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-bottom: 1px solid rgba(247, 242, 235, 0.5);
	padding-bottom: 2px;
}

.cl-home a.cl-cta__ghost:hover {
	border-color: #f7f2eb;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.cl-reassurance__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cl-reassurance__item:nth-child(3) {
		border-left: 0;
	}

	.cl-reassurance__item:nth-child(n+3) {
		border-top: 1px solid var(--cl-border);
	}

	.cl-ambiance__grid,
	.cl-why__grid {
		grid-template-columns: 1fr 1fr;
	}

	.cl-home .cl-bestsellers__grid ul.products,
	.cl-home ul.products.em-flex,
	.cl-home .products {
		grid-template-columns: 1fr 1fr !important;
	}

	.cl-hero__overlay {
		background: linear-gradient(90deg, rgba(26, 18, 12, 0.85) 0%, rgba(26, 18, 12, 0.55) 55%, rgba(26, 18, 12, 0.2) 100%);
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 639px) {
	.cl-wrap {
		width: calc(100% - 32px);
	}

	.cl-hero {
		align-items: flex-end;
		min-height: 560px;
	}

	.cl-hero__media img,
	.cl-hero__img {
		object-position: 58% 40%;
	}

	.cl-hero__overlay {
		background: linear-gradient(180deg, rgba(26, 18, 12, 0.08) 0%, rgba(26, 18, 12, 0.35) 38%, rgba(26, 18, 12, 0.9) 100%);
	}

	.cl-hero__content {
		width: calc(100% - 32px);
		padding: 0 0 40px;
	}

	.cl-hero h1 {
		font-size: 2.15rem;
	}

	.cl-hero__sub {
		margin-bottom: 24px;
	}

	.cl-hero__actions .cl-btn {
		width: 100%;
	}

	.cl-reassurance__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 18px 14px;
	}

	.cl-reassurance__ico {
		flex: 0 0 38px;
		width: 38px;
		height: 38px;
	}

	.cl-reassurance__title {
		font-size: 0.9rem;
	}

	.cl-reassurance__text {
		font-size: 0.82rem;
	}

	.cl-bestsellers,
	.cl-ambiance,
	.cl-why {
		padding-top: 52px;
	}

	.cl-home .cl-bestsellers__grid ul.products,
	.cl-home ul.products.em-flex,
	.cl-home .products {
		grid-template-columns: 1fr 1fr !important;
		gap: 14px 12px !important;
	}

	.cl-home .products li.product .product-summary {
		padding: 12px 12px 14px !important;
	}

	.cl-home ul.products li.product .woocommerce-loop-product__title {
		font-size: 15px !important;
	}

	.cl-home ul.products li.product .price {
		font-size: 15px !important;
		margin-bottom: 10px !important;
	}

	.cl-ambiance__grid,
	.cl-why__grid {
		grid-template-columns: 1fr !important;
		gap: 18px;
	}

	.cl-why__item {
		padding: 24px 22px;
	}

	.cl-cta {
		min-height: 420px;
		margin-top: 52px;
	}

	.cl-lead {
		margin-bottom: 28px;
	}
}

@media (min-width: 1440px) {
	.cl-hero {
		min-height: 720px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cl-btn,
	.cl-card,
	.cl-card__media img,
	.cl-home .products li.product,
	.cl-home .products li.product img {
		transition: none !important;
	}
}
