/* ==========================================================================
   CLUSE — base layer
   Fonts bundled locally (Jost 400/600, Roboto Condensed 700), no external hosts.
   Values measured from the reference (cluse.com/fr) computed styles.
   ========================================================================== */

@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/jost-400.woff2') format('woff2');
}

@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/jost-600.woff2') format('woff2');
}

@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/roboto-condensed-700.woff2') format('woff2');
}

:root {
	--cluse-ink: #1c1d1d;
	--cluse-green: #144036;
	--cluse-green-dim: #0e2d26;
	--cluse-gold: #c3a972;
	--cluse-border: #e8e8e1;
	--cluse-bg: #ffffff;
	--cluse-white: #ffffff;
	--cluse-sale: #fd490c;
	--cluse-image-bg: #f0f0f0;
	--cluse-body-dim: #f5f5f5;
	--cluse-font-body: 'Jost', sans-serif;
	--cluse-font-heading: 'Roboto Condensed', sans-serif;
	--cluse-base-size: 14px;
	--cluse-base-spacing: 0.025em;
	--cluse-container: 1300px;
	--cluse-gutter: 30px;
	--cluse-announcement-h: 37px;
	--cluse-header-padding: 20px;
	--cluse-ease: cubic-bezier(0.2, 0.06, 0.05, 0.95);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--cluse-font-body);
	font-size: var(--cluse-base-size);
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: var(--cluse-base-spacing);
	color: var(--cluse-ink);
	background: var(--cluse-bg);
}

body.is-locked,
html.is-locked {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: inherit;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

ul.no-bullets,
.no-bullets {
	list-style: none;
	margin: 0;
	padding: 0;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

/* Typography ------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3 {
	font-family: var(--cluse-font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	color: var(--cluse-ink);
}

h1,
.h1 {
	font-size: 35px;
	letter-spacing: 0;
}

h2,
.h2 {
	font-size: 35px;
}

h3,
.h3 {
	font-size: 29.75px;
}

/* Layout ----------------------------------------------------------------- */

.page-width {
	margin: 0 auto;
	max-width: var(--cluse-container);
	padding: 0 20px;
}

.page-width--narrow {
	margin: 0 auto;
	max-width: 1000px;
	padding: 0 20px;
}

.page-width--wide {
	margin: 0 auto;
	max-width: var(--cluse-container);
	padding: 0 20px;
}

.page-content {
	padding-block: 30px;
}

.page-container {
	overflow-x: hidden;
}

.main-content {
	display: block;
}

.grid {
	list-style: none;
	margin: 0 0 0 -30px;
	padding: 0;
}

.grid::after {
	content: '';
	display: table;
	clear: both;
}

.grid__item {
	float: left;
	min-height: 1px;
	padding-left: 30px;
	width: 100%;
}

.grid--uniform .grid__item:nth-child(2n + 1) {
	clear: both;
}

.grid--no-gutters {
	margin-left: 0;
}

.grid--no-gutters .grid__item {
	padding-left: 0;
}

/* Utility ---------------------------------------------------------------- */

.visually-hidden,
.hidden-label {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	white-space: nowrap;
	width: 1px;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.text-left {
	text-align: left;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 100;
	background: #fff;
	color: var(--cluse-ink);
	padding: 10px 20px;
}

.skip-link:focus {
	top: 0;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	font-family: var(--cluse-font-heading);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.42;
	letter-spacing: 0;
	text-transform: uppercase;
	text-align: center;
	padding: 11px 20px;
	min-width: 90px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--cluse-green);
	color: #fff;
	cursor: pointer;
	white-space: normal;
	transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
	background: var(--cluse-green-dim);
	color: #fff;
}

.btn:active {
	opacity: 0.6;
}

.btn--small {
	font-size: 14px;
	padding: 8px 13px;
	min-width: 100px;
}

.btn--large {
	font-size: 18px;
	padding: 15px 20px;
}

.btn--secondary {
	background: var(--cluse-green);
	color: #fff;
	font-size: 14px;
	padding: 8px 13px;
}

.btn--secondary:hover {
	background: var(--cluse-green-dim);
	color: #fff;
}

.btn--inverse {
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
}

.btn--inverse:hover {
	background: #fff;
	color: #000;
}

.btn--outline {
	background: transparent;
	border: 1px solid var(--cluse-ink);
	color: var(--cluse-ink);
}

.btn--outline:hover {
	background: var(--cluse-ink);
	color: #fff;
}

.btn--gold {
	background: transparent;
	border: 1px solid var(--cluse-gold);
	color: var(--cluse-gold);
}

.btn--gold:hover {
	background: var(--cluse-gold);
	color: var(--cluse-green);
}

.btn--tertiary {
	background: transparent;
	border: 1px solid var(--cluse-border);
	color: var(--cluse-ink);
	font-size: 12px;
	padding: 6px 10px;
}

.btn--tertiary:hover {
	border-color: var(--cluse-ink);
	background: transparent;
	color: var(--cluse-ink);
}

.btn--full {
	width: 100%;
}

/* Rich text -------------------------------------------------------------- */

.rte {
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: var(--cluse-base-spacing);
}

.rte h1,
.rte h2,
.rte h3,
.rte h4 {
	font-family: var(--cluse-font-heading);
	line-height: 1.2;
}

.rte h2 {
	font-size: 29px;
}

.rte h3 {
	font-size: 27px;
}

.rte h4 {
	font-size: 21px;
}

.rte ul,
.rte ol {
	margin: 0 0 1.25em 1.2em;
	padding: 0;
}

.rte img {
	margin: 1.25em 0;
}

.rte a {
	text-decoration: underline;
}

/* Prices ----------------------------------------------------------------- */

.price {
	font-family: var(--cluse-font-body);
	font-size: 12.6px;
	line-height: 1.5;
	letter-spacing: 0.35px;
	color: var(--cluse-ink);
}

.price--sale .price__sale {
	color: var(--cluse-ink);
}

.price__compare {
	color: rgba(28, 29, 29, 0.45);
	margin-left: 5px;
	font-size: 12.6px;
}

.price__compare s {
	text-decoration: line-through;
}

.price__badge {
	display: inline-block;
	color: var(--cluse-sale);
	font-weight: 600;
	margin-left: 5px;
}

/* Product card (shared with the shop templates) -------------------------- */

.product-card {
	position: relative;
	text-align: left;
}

.product-card__media {
	position: relative;
	overflow: hidden;
}

.product-card__image-link {
	display: block;
}

.product-card__image-wrap {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--cluse-image-bg);
	aspect-ratio: 1 / 1;
}

.product-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.4s ease;
}

.product-card__image--hover {
	opacity: 0;
}

.product-card__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--cluse-image-bg);
}

.product-card:hover .product-card__image--hover {
	opacity: 1;
}

.product-card__badge {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	font-family: var(--cluse-font-body);
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 7px 8px 7px 10px;
	background: var(--cluse-sale);
	color: #fff;
}

.product-card__info {
	padding: 10px 0 6px;
	line-height: 1.5;
}

.product-card__title {
	font-family: var(--cluse-font-body);
	font-weight: 400;
	font-size: 16.52px;
	line-height: 1.5;
	letter-spacing: var(--cluse-base-spacing);
	margin: 0;
	color: var(--cluse-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-card__title a {
	text-decoration: none;
}

.product-card__price {
	margin-top: 6px;
}

.product-card__quick-add {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	margin: 0;
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.3s var(--cluse-ease), opacity 0.25s ease, visibility 0.25s ease;
}

.product-card:hover .product-card__quick-add,
.product-card:focus-within .product-card__quick-add {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

/* Forms ------------------------------------------------------------------ */

input[type='text'],
input[type='email'],
input[type='password'],
input[type='search'],
input[type='tel'],
textarea {
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: 1px solid var(--cluse-border);
	border-radius: 0;
	color: var(--cluse-ink);
	font-family: var(--cluse-font-body);
	font-size: 14px;
	line-height: 1.6;
	padding: 12px 15px;
	width: 100%;
}

input:focus,
textarea:focus,
select:focus {
	outline: 1px solid var(--cluse-ink);
	outline-offset: 0;
}

/* Breadcrumb ------------------------------------------------------------- */

.breadcrumb {
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.35px;
	margin: 0 0 20px;
	color: rgba(28, 29, 29, 0.7);
}

.breadcrumb a {
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

/* Page header ------------------------------------------------------------ */

.page-header {
	padding: 20px 0 10px;
}

.page-header__title {
	font-family: var(--cluse-font-heading);
	font-size: 35px;
	line-height: 1.2;
	font-weight: 700;
	margin: 0;
}

.page-empty {
	padding: 40px 0;
	text-align: center;
}

/* Responsive helpers ----------------------------------------------------- */

@media (min-width: 590px) {
	.page-width,
	.page-width--narrow,
	.page-width--wide {
		padding: 0 40px;
	}

	.grid__item {
		padding-left: 30px;
	}

	.one-half {
		width: 50%;
	}

	.one-third {
		width: 33.3333%;
	}

	.one-quarter {
		width: 25%;
	}

	.one-fifth {
		width: 20%;
	}

	.grid--uniform .grid__item:nth-child(2n + 1) {
		clear: none;
	}

	.grid--uniform .medium-up--one-quarter:nth-child(4n + 1) {
		clear: both;
	}

	.grid--uniform .medium-up--one-fifth:nth-child(5n + 1) {
		clear: both;
	}

	.medium-up--one-half {
		width: 50%;
	}

	.medium-up--one-quarter {
		width: 25%;
	}

	.medium-up--one-fifth {
		width: 20%;
	}

	.medium-up--hide {
		display: none !important;
	}

	.page-content {
		padding-block: 60px;
	}
}

@media (max-width: 589px) {
	.small--hide {
		display: none !important;
	}

	.btn {
		font-size: 14px;
		padding: 8px 18px;
	}

	.btn--small {
		font-size: 12px;
		padding: 7px 12px;
	}

	.small--one-half {
		width: 50%;
	}

	.grid {
		margin-left: -22px;
	}

	.grid__item {
		padding-left: 22px;
	}

	.product-card__title {
		font-size: 13.94px;
		line-height: 1.5;
	}

	.product-card__price .price {
		font-size: 11.592px;
		line-height: 1.5;
	}

	.product-card__quick-add {
		transform: none;
		opacity: 1;
		visibility: visible;
		position: static;
		margin-top: 10px;
	}
}


/* Shared green newsletter block (home + product archives) ----------------- */

.archive-newsletter {
	margin: 100px 0 0;
	padding: 0 0 60px;
}

/* Newsletter ------------------------------------------------------------- */

.home-sections > .section:last-child {
	margin-bottom: 0;
}

.section--newsletter {
	margin-bottom: 0;
}

.newsletter {
	max-width: 760px;
	margin: 0 auto;
	background: var(--cluse-green);
	color: #fff;
	padding: 60px 40px;
	text-align: center;
}

.newsletter__title {
	color: #fff;
	font-size: 31.5px;
	margin: 0 0 10px;
}

.newsletter__text {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 25px;
}

.newsletter__form {
	display: flex;
	align-items: stretch;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto;
}

.newsletter__input {
	flex: 1 1 auto;
	background: #fff;
	border: 1px solid #fff;
	color: var(--cluse-ink);
	font-size: 14px;
	padding: 12px 15px;
}

.newsletter__input:focus {
	outline: none;
}

.newsletter__submit {
	flex: 0 0 auto;
	background: transparent;
	border: 1px solid var(--cluse-gold);
	color: var(--cluse-gold);
}

.newsletter__submit:hover {
	background: var(--cluse-gold);
	color: var(--cluse-green);
}

.newsletter__message {
	margin-top: 16px;
	font-size: 13px;
	color: var(--cluse-gold);
	min-height: 1em;
}


@media (max-width: 768px) {
	.archive-newsletter {
		margin: 34px 0 0;
		padding-bottom: 34px;
	}
}


@media (max-width: 768px) {
	.newsletter {
		padding: 35px 20px;
	}

	.newsletter__title {
		font-size: 26.775px;
		line-height: 1.2;
	}

	.newsletter__form {
		flex-direction: column;
	}
}

/* Newsletter heading must stay white even where .section__title sets the ink colour. */
.section--newsletter .newsletter__title {
	color: #fff;
}
