/**
 * Liste de produits.
 * Chargé sur la boutique et les catégories, avec home-refonte.css.
 * Le hero et le pied de page restent ceux de l'accueil.
 */

.lokorn-home {
	--line: rgba(23, 56, 47, 0.18);
	--catalog-gold: #8d7543;
	--catalog-muted: #657169;
	--catalog-count: #77817c;
	--cream-deep: #e7e1d2;
}

.lokorn-home .lokorn-catalog {
	display: block;
	background: var(--cream);
	color: var(--ink);
}

.lokorn-home .catalogue-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
	align-items: end;
	gap: 8vw;
	max-width: 1440px;
	margin: 0 auto;
	padding: 110px 4.5vw 80px;
}

.lokorn-home .section-kicker {
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 600;
}

.lokorn-home .catalogue-heading .section-kicker {
	margin: 0 0 26px;
	color: var(--catalog-gold);
}

.lokorn-home .catalogue-heading h2 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(52px, 6.5vw, 92px);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.lokorn-home .catalogue-intro {
	max-width: 430px;
	margin: 0 0 7px;
	color: var(--catalog-muted);
	font-size: 14px;
	line-height: 1.9;
}

.lokorn-home .shop-layout {
	display: grid;
	grid-template-columns: 250px 1fr;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 4.5vw 130px;
	border-top: 1px solid var(--line);
}

.lokorn-home .filters {
	padding: 36px 38px 40px 0;
	border-right: 1px solid var(--line);
}

.lokorn-home .filters-title {
	display: flex;
	justify-content: space-between;
	margin-bottom: 48px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.lokorn-home .filter-close {
	display: none;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.lokorn-home .filters fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.lokorn-home .filters legend {
	margin-bottom: 21px;
	font-family: var(--serif);
	font-size: 22px;
}

.lokorn-home .filter-option {
	position: relative;
	display: grid;
	grid-template-columns: 17px 1fr auto;
	align-items: center;
	gap: 11px;
	margin: 18px 0;
	font-size: 13px;
	cursor: pointer;
}

.lokorn-home .filter-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.lokorn-home .custom-check {
	position: relative;
	width: 16px;
	height: 16px;
	border: 1px solid #98a19c;
}

.lokorn-home .filter-option input:checked + .custom-check {
	background: var(--ink);
	border-color: var(--ink);
}

.lokorn-home .filter-option input:checked + .custom-check::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 5px;
	width: 4px;
	height: 7px;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transform: rotate(40deg);
}

.lokorn-home .filter-option input:focus-visible + .custom-check {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}

.lokorn-home .filter-option small {
	color: #87918c;
	font-size: 11px;
}

.lokorn-home .reset-filters {
	margin-top: 18px;
	padding: 0 0 4px;
	border: 0;
	border-bottom: 1px solid var(--ink);
	background: none;
	font-size: 11px;
	cursor: pointer;
}

.lokorn-home .filters.no-filters .local-note {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.lokorn-home .local-note {
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

.lokorn-home .local-note span {
	color: var(--catalog-gold);
	font-family: var(--serif);
	font-size: 38px;
}

.lokorn-home .local-note p {
	margin: 10px 0 0;
	color: var(--catalog-muted);
	font-size: 11px;
	line-height: 1.65;
}

.lokorn-home .products-area {
	min-width: 0;
	padding-left: 42px;
}

.lokorn-home .products-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 89px;
}

.lokorn-home .products-toolbar p {
	margin: 0;
	color: var(--catalog-count);
	font-size: 12px;
}

.lokorn-home .products-toolbar strong {
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
}

.lokorn-home .toolbar-actions {
	display: flex;
	align-items: center;
	gap: 25px;
}

.lokorn-home .sort-control {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.lokorn-home .sort-control select {
	min-width: 145px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    height: inherit;
    margin: inherit;
}

.lokorn-home .sort-control svg {
	position: absolute;
	right: 3px;
	pointer-events: none;
}

.lokorn-home .mobile-filter {
	display: none;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.lokorn-home .filters-backdrop {
	display: none;
}

.lokorn-home .product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 57px 25px;
}

.lokorn-home .product-card {
	min-width: 0;
}

.lokorn-home .product-card[hidden] {
	display: none;
}

.lokorn-home .product-visual {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--cream-deep);
}

.lokorn-home .product-visual img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	aspect-ratio: 1 / 1.11;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.25, 1);
}

.lokorn-home .product-card:hover .product-visual img {
	transform: scale(1.035);
}

.lokorn-home .product-number {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--paper);
	font-size: 9px;
	letter-spacing: 0.12em;
}

.lokorn-home .view-product {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	padding: 17px 20px;
	background: var(--ink);
	color: #fff;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transform: translateY(100%);
	transition: transform 0.22s;
}

.lokorn-home .product-card:hover .view-product,
.lokorn-home .product-visual:focus-visible .view-product {
	transform: translateY(0);
}

.lokorn-home .view-product svg,
.lokorn-home .promise a svg {
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lokorn-home .view-product svg {
	width: 18px;
	height: 18px;
	color: var(--sun);
}

.lokorn-home .product-info {
	min-height: 160px;
	padding: 20px 4px 0;
}

.lokorn-home .product-category {
	margin: 0 0 9px;
	color: var(--catalog-gold);
	font-size: 9px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.lokorn-home .product-info h3 {
	margin: 0;
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.28;
	letter-spacing: -0.02em;
}

.lokorn-home .product-info h3 a {
	background-image: linear-gradient(var(--ink), var(--ink));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: background-size 0.2s;
}

.lokorn-home .product-info h3 a:hover {
	background-size: 100% 1px;
}

.lokorn-home .product-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
}

.lokorn-home .product-bottom strong,
.lokorn-home .product-bottom .woocommerce-Price-amount,
.lokorn-home .product-bottom bdi {
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	font-style: normal;
}

.lokorn-home .product-bottom del {
	margin-right: 6px;
	opacity: 0.55;
}

.lokorn-home .add-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: none;
	color: var(--ink);
	line-height: 0;
	cursor: pointer;
	transition: background 0.18s, color 0.18s;
}

.lokorn-home .add-button svg {
	width: 21px;
	height: 21px;
}

.lokorn-home .add-button:hover,
.lokorn-home .add-button.added {
	background: var(--ink);
	color: #fff;
}

.lokorn-home .catalog-empty {
	margin: 28px 0 0;
	color: var(--catalog-muted);
	font-size: 14px;
}

.lokorn-home .promise {
	padding: 110px 4.5vw 120px;
	background: var(--forest);
	color: var(--ink);
	text-align: center;
}

.lokorn-home .promise .section-kicker {
	color: var(--ink);
}

.lokorn-home .promise blockquote {
	max-width: 16em;
	margin: 42px auto 52px;
	font-family: var(--serif);
	font-size: clamp(34px, 5vw, 70px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.lokorn-home .promise blockquote em {
	font-weight: 500;
	font-style: italic;
}

.lokorn-home .promise a {
	display: inline-flex;
	align-items: center;
	gap: 30px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(23, 56, 47, 0.55);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.lokorn-home .promise a svg {
	width: 21px;
	height: 21px;
}

.woocommerce-notices-wrapper {
	max-width: 1440px;
	margin: 0 auto;
	padding: 24px 4.5vw 0;
}

.lokorn-refonte .xoo-wsc-items-count {
    background: #74503f!important;
}

.lokorn-refonte .xoo-wsc-bki {
	 color: #74503f!important
}

@media (max-width: 1050px) {
	.lokorn-home .shop-layout {
		grid-template-columns: 210px 1fr;
	}

	.lokorn-home .filters {
		padding-right: 25px;
	}

	.lokorn-home .products-area {
		padding-left: 28px;
	}

	.lokorn-home .product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.lokorn-home .catalogue-heading {
		display: block;
		padding: 0 22px 55px;
	}

	.lokorn-home .catalogue-heading h2 {
		font-size: 52px;
	}

	.lokorn-home .catalogue-intro {
		margin-top: 35px;
	}

	.lokorn-home .shop-layout {
		display: block;
		padding: 0 22px 85px;
	}

	.lokorn-home .filters {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 31;
		width: 90%;
		max-width: 390px;
		padding: 30px;
		border: 0;
		background: var(--paper);
		transform: translateX(100%);
		transition: transform 0.24s;
	}

	.lokorn-home .filters.is-open {
		transform: translateX(0);
	}

	.lokorn-home .filter-close {
		display: block;
	}

	.lokorn-home .filters-backdrop.is-open {
		position: fixed;
		inset: 0;
		z-index: 30;
		display: block;
		border: 0;
		background: rgba(23, 56, 47, 0.35);
		cursor: pointer;
	}

	.lokorn-home .products-area {
		padding-left: 0;
	}

	.lokorn-home .products-toolbar {
		height: auto;
		padding: 22px 0 30px;
	}

	.lokorn-home .mobile-filter {
		display: flex;
		font-size: 10px;
	}

	.lokorn-home .sort-control > span {
		display: none;
	}

	.lokorn-home .sort-control select {
		min-width: 132px;
	}

	.lokorn-home .product-grid {
		gap: 45px 13px;
	}

	.lokorn-home .product-visual img {
		aspect-ratio: 1 / 1.18;
	}

	.lokorn-home .product-number {
		width: 30px;
		height: 30px;
	}

	.lokorn-home .view-product {
		display: none;
	}

	.lokorn-home .product-info {
		min-height: 166px;
		padding: 15px 2px 0;
	}

	.lokorn-home .product-info h3 {
		font-size: 17px;
	}

	.lokorn-home .product-bottom {
		margin-top: 15px;
	}

	.lokorn-home .add-button {
		width: 34px;
		height: 34px;
	}

	.lokorn-home .promise {
		padding: 80px 22px 90px;
	}
}

.woocommerce-page .xoo-wsc-sc-cont {
    color: #74503f!important;
}

.woocommerce-page .xoo-wsc-sc-count{
    color: #f8f4e9!important;
}

@media (max-width: 390px) {
	.lokorn-home .product-grid {
		grid-template-columns: 1fr;
	}

	.lokorn-home .product-visual img {
		aspect-ratio: 1 / 1.05;
	}

	.lokorn-home .product-info {
		min-height: 0;
	}

	.lokorn-home .products-toolbar {
		align-items: start;
	}

	.lokorn-home .toolbar-actions {
		flex-direction: column;
		align-items: end;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lokorn-home .product-visual img,
	.lokorn-home .view-product,
	.lokorn-home .filters,
	.lokorn-home .add-button,
	.lokorn-home .product-info h3 a {
		transition: none;
	}
}
