/*
 * Boutique CLECOD (page 12) — habillage du widget HighRev « product list ».
 *
 * Référence : page démo HighRev « Shop filter banner ». On garde son
 * anatomie (sidebar 285px, bannière en tête de grille, cartes blanches à
 * filet #e2e2e2, bande grise d'ajout au panier, tri dans une cellule
 * bordée) et on y ajoute les éléments CLECOD : onglets de catégories au
 * soulignement rouge (comme le menu principal), favoris, « + » d'ajout,
 * carte de conseil dans la sidebar et tiroir de filtres sur mobile.
 */

body.page-id-12 {
	--shop-ink: #000;
	--shop-muted: #6f6f6f;
	--shop-line: #e2e2e2;
	--shop-soft: #f5f5f5;
	--shop-red: var(--qode-main-color, #e20100);
	/* Police du thème HighRev (Archivo) pour tous les rôles, comme la démo. */
	--shop-body: "Archivo", sans-serif;
	--shop-display: "Archivo", sans-serif;
	--shop-sidebar: 285px;
}

body.page-id-12 #qodef-page-inner {
	padding-bottom: clamp(64px, 7vw, 110px);
}

body.page-id-12 .qodef-woo-product-list {
	font-family: var(--shop-body);
}

/* ======================================================================
   Bannière (démo : « Starting price from / titre / 380$ »)
   ====================================================================== */

body.page-id-12 .qodef-product-list-filter-holder.qodef-banner-holder {
	margin-bottom: 0 !important;
}

body.page-id-12 .qodef-banner-holder .qodef-banner {
	overflow: hidden;
	background: #111;
}

body.page-id-12 .qodef-banner-holder .qodef-m-image img {
	min-height: 294px !important;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.page-id-12 .qodef-banner-holder .qodef-banner:hover .qodef-m-image img {
	transform: scale(1.03);
}

/* Le visuel est clair à droite : un voile garantit la lecture du texte. */
body.page-id-12 .qodef-banner-holder .qodef-m-image::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.08) 100%);
	pointer-events: none;
}

body.page-id-12 .qodef-banner-holder .qodef-m-content {
	z-index: 2;
}

body.page-id-12 .qodef-banner-holder .qodef-m-subtitle {
	margin: 0 0 14px;
	color: #fff;
	font-family: var(--shop-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.page-id-12 .qodef-woo-product-list .qodef-banner-holder .qodef-banner .qodef-m-title {
	max-width: 360px !important;
	margin: 0 0 26px;
	color: #fff;
	font-family: var(--shop-display);
	font-size: 36px;
	font-weight: 600;
	line-height: 1.13;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

body.page-id-12 .qodef-banner-holder .clecod-nowrap {
	white-space: nowrap;
}

body.page-id-12 .qodef-banner-holder .qodef-m-bottom-text {
	color: #fff;
	font-family: var(--shop-body);
	font-size: 54px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.01em;
}

/* ======================================================================
   Nos univers : catégories mises en avant (cases « Categories » de la démo)
   ====================================================================== */

.clecod-shop-universes {
	float: right;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	width: calc(100% - var(--shop-sidebar));
	margin: 10px 0 8px;
}

.clecod-universe {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 138px;
	padding: 20px 20px 18px;
	border: 1px solid var(--shop-line);
	background: #fff;
	color: var(--shop-ink);
	transition: border-color 0.25s ease-out, box-shadow 0.25s ease-out;
}

.clecod-universe::after {
	position: absolute;
	right: -1px;
	bottom: -1px;
	left: -1px;
	height: 3px;
	content: "";
	background: var(--shop-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.clecod-universe__icon {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: color 0.25s ease-out, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.clecod-universe__name {
	margin-top: auto;
	padding-top: 18px;
	font-family: var(--shop-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.clecod-universe__meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	color: var(--shop-muted);
	font-family: var(--shop-body);
	font-size: 13px;
}

.clecod-universe__meta::after {
	color: var(--shop-red);
	content: "→";
	font-size: 15px;
	transition: transform 0.25s ease-out;
}

.clecod-universe:hover,
.clecod-universe:focus-visible {
	border-color: var(--shop-ink);
	color: var(--shop-ink);
	box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.35);
}

.clecod-universe:hover .clecod-universe__icon,
.clecod-universe:focus-visible .clecod-universe__icon {
	color: var(--shop-red);
	transform: translateY(-2px);
}

.clecod-universe:hover .clecod-universe__meta::after,
.clecod-universe:focus-visible .clecod-universe__meta::after {
	transform: translateX(4px);
}

.clecod-universe:focus-visible {
	outline: 2px solid var(--shop-red);
	outline-offset: 2px;
}

.clecod-universe.is-active {
	border-color: var(--shop-ink);
}

.clecod-universe.is-active::after {
	transform: scaleX(1);
}

.clecod-universe.is-active .clecod-universe__icon {
	color: var(--shop-red);
}

/* ======================================================================
   Barre d'outils : onglets à gauche, tri dans la cellule de la démo
   ====================================================================== */

body.page-id-12 .qodef-product-list-filter-holder.qodef-filter-top-bar {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	min-height: 65px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--shop-line);
	background: #fff;
}

body.page-id-12 .qodef-filter-top-bar .qodef-e-info-left {
	display: flex;
	align-items: stretch;
	min-width: 0;
	flex: 1 1 auto;
}

/* Les onglets donnent déjà le nombre d'articles et l'état des filtres. */
body.page-id-12 .qodef-filter-top-bar .qodef-layout-switcher-holder,
body.page-id-12 .qodef-filter-top-bar .qodef-product-list-result-count,
body.page-id-12 .qodef-filter-top-bar .qodef-e-info-center {
	display: none !important;
}

body.page-id-12 .qodef-filter-top-bar .qodef-e-info-right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	margin-left: 24px;
}

/* --- Tri ------------------------------------------------------------------
   Un champ, pas un onglet : étiquette « Trier par » au-dessus de la valeur,
   icône de tri, chevron vers le bas, sur le gris #f5f5f5 de la liste
   déroulante du thème. Détaché du filet de la barre (centré, cadre complet),
   il ne prolonge plus la grille des tuiles. Ouvert, champ et liste forment
   un seul bloc cerné de noir. */

body.page-id-12 .qodef-product-list-ordering {
	display: flex;
	align-items: center;
	height: auto;
	margin: 0;
	border: 0;
}

body.page-id-12 .qodef-product-list-ordering .select2-container {
	width: 256px !important;
}

body.page-id-12 .qodef-product-list-ordering .select2-container .select2-selection--single {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	height: 50px;
	min-height: 0;
	padding: 0 48px 0 16px !important;
	border: 1px solid;
	border-radius: 0;
	color: var(--shop-ink);
	transition: border-color 0.2s ease-out;
}

/* Le thème force fond et filet transparents (!important, 0-5-0). */
body.page-id-12 .qodef-woo-product-list .qodef-product-list-ordering .select2-container--default .select2-selection--single {
	border-color: var(--shop-soft) !important;
	background-color: var(--shop-soft) !important;
}

/* Icône de tri (barres décroissantes). */
body.page-id-12 .qodef-product-list-ordering .select2-selection--single::before {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	content: "";
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 4h12M2 8h8.5M2 12h5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 4h12M2 8h8.5M2 12h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.page-id-12 .qodef-woo-product-list .qodef-product-list-ordering .select2-container--default .select2-selection--single:hover,
body.page-id-12 .qodef-woo-product-list .qodef-product-list-ordering .select2-container--open .select2-selection--single {
	border-color: var(--shop-ink) !important;
}

body.page-id-12 .qodef-product-list-ordering .select2-selection--single:focus-visible {
	outline: 2px solid var(--shop-red);
	outline-offset: 2px;
}

body.page-id-12 .qodef-product-list-ordering .select2-selection__rendered {
	min-width: 0;
	padding: 0 !important;
	color: var(--shop-ink) !important;
	font-family: var(--shop-display);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15 !important;
	letter-spacing: 0.01em;
	text-align: left !important;
	text-transform: uppercase;
}

body.page-id-12 .qodef-product-list-ordering .select2-selection__rendered::before {
	display: block;
	margin-bottom: 3px;
	color: var(--shop-muted);
	content: "Trier par";
	font-family: var(--shop-body);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

/* Flèche du thème tournée vers le bas (rouge au survol, vers le haut une
   fois ouverte). La boîte reste fixe : seul le glyphe pivote. */
body.page-id-12 .qodef-product-list-ordering .select2-selection__arrow {
	top: 0 !important;
	right: 0 !important;
	display: flex !important;
	align-items: center;
	width: 48px !important;
	height: 100% !important;
	transform: none !important;
}

body.page-id-12 .qodef-product-list-ordering .select2-selection__arrow::before {
	transform: rotate(90deg);
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.page-id-12 .qodef-product-list-ordering .select2-container--open .select2-selection__arrow {
	color: var(--shop-red);
}

body.page-id-12 .qodef-product-list-ordering .select2-container--open .select2-selection__arrow::before {
	transform: rotate(-90deg);
}

/* Liste déroulante (ajoutée en fin de <body>). */
body.page-id-12 .select2-container--default .select2-dropdown.qodef-product-list-select2-dd {
	border-color: var(--shop-ink);
	background: var(--shop-soft);
}

body.page-id-12 .select2-container--default .select2-dropdown--below.qodef-product-list-select2-dd {
	border-top: 0;
}

body.page-id-12 .select2-container--default .select2-dropdown--above.qodef-product-list-select2-dd {
	border-bottom: 0;
}

body.page-id-12 .select2-container--default .qodef-product-list-select2-dd .select2-results > .select2-results__options {
	max-height: none;
	padding: 8px 0;
}

body.page-id-12 .select2-container--default .qodef-product-list-select2-dd .select2-results__option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 16px;
	font-family: var(--shop-display);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

/* Puce carrée rouge (celle des poignées de prix) devant le tri actif. */
body.page-id-12 .select2-container--default .qodef-product-list-select2-dd .select2-results__option::before {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	content: "";
	background: transparent;
	transition: background-color 0.2s ease-out;
}

body.page-id-12 .select2-container--default .qodef-product-list-select2-dd .select2-results__option[aria-selected="true"]::before,
body.page-id-12 .select2-container--default .qodef-product-list-select2-dd .select2-results__option--selected::before {
	background: var(--shop-red);
}

/* --- Onglets ------------------------------------------------------------ */

.clecod-shop-tabs {
	display: flex;
	align-items: stretch;
	gap: 30px;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.clecod-shop-tabs::-webkit-scrollbar {
	display: none;
}

.clecod-shop-tabs button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--shop-ink);
	font-family: var(--shop-display);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s ease-out;
}

/* Soulignement rouge du menu principal du thème. */
.clecod-shop-tabs button::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	content: "";
	background: var(--shop-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.clecod-shop-tabs button:hover::after,
.clecod-shop-tabs button:focus-visible::after,
.clecod-shop-tabs button.is-active::after {
	transform: scaleX(1);
}

.clecod-shop-tabs button:focus-visible {
	outline: 2px solid var(--shop-red);
	outline-offset: -2px;
}

.clecod-shop-tabs .clecod-tab-count {
	color: var(--shop-muted);
	font-family: var(--shop-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0;
}

.clecod-shop-tabs .clecod-tab-chevron {
	width: 9px;
	height: 9px;
	margin-left: 1px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	transition: transform 0.25s ease-out;
}

.clecod-shop-tabs button[aria-expanded="true"] .clecod-tab-chevron {
	transform: rotate(180deg);
}

.clecod-shop-tabs .clecod-tab-heart {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.clecod-shop-tabs .clecod-tab-favs .clecod-tab-heart {
	color: var(--shop-red);
}

.clecod-shop-tabs .clecod-tab-favs.has-items .clecod-tab-heart {
	fill: var(--shop-red);
}

/* --- Sous-catégories (famille ouverte) ---------------------------------- */

.clecod-shop-subtabs {
	float: right;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: calc(100% - var(--shop-sidebar));
	margin: -6px 0 22px;
}

.clecod-shop-subtabs[hidden] {
	display: none;
}

.clecod-shop-subtabs button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid var(--shop-line);
	border-radius: 0;
	background: #fff;
	color: var(--shop-ink);
	font-family: var(--shop-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.2s ease-out, background-color 0.2s ease-out, color 0.2s ease-out;
}

.clecod-shop-subtabs button:hover,
.clecod-shop-subtabs button:focus-visible {
	border-color: var(--shop-ink);
}

.clecod-shop-subtabs button.is-active {
	border-color: var(--shop-ink);
	background: var(--shop-ink);
	color: #fff;
}

.clecod-shop-subtabs .clecod-tab-count {
	color: var(--shop-muted);
	font-size: 12px;
}

.clecod-shop-subtabs button.is-active .clecod-tab-count {
	color: rgba(255, 255, 255, 0.6);
}

/* --- Favoris vides ------------------------------------------------------- */

.clecod-shop-empty {
	float: right;
	width: calc(100% - var(--shop-sidebar));
	margin: 0 0 24px;
	padding: 64px 24px;
	outline: 1px solid var(--shop-line);
	outline-offset: -1px;
	text-align: center;
}

.clecod-shop-empty svg {
	width: 30px;
	height: 30px;
	margin: 0 auto 18px;
	fill: none;
	stroke: var(--shop-red);
	stroke-width: 1.5;
}

.clecod-shop-empty strong {
	display: block;
	color: var(--shop-ink);
	font-family: var(--shop-display);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.clecod-shop-empty span {
	display: block;
	max-width: 360px;
	margin: 10px auto 0;
	color: var(--shop-muted);
	font-size: 15px;
	line-height: 1.55;
}

.clecod-shop-empty.is-filters svg {
	display: none;
}

.clecod-shop-empty button {
	min-height: 48px;
	margin: 24px 0 0;
	padding: 0 28px;
	border: 0;
	border-radius: 0;
	background: var(--shop-red);
	color: #fff;
	font-family: var(--shop-display);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease-out;
}

.clecod-shop-empty button:hover,
.clecod-shop-empty button:focus-visible {
	background: #000;
}

/* ======================================================================
   Grille et cartes produits (anatomie de la démo)
   ====================================================================== */

body.page-id-12 .qodef-woo-product-list > .qodef-grid-inner {
	transition: opacity 0.25s ease-out;
}

body.page-id-12 .qodef-woo-product-list.qodef--loading > .qodef-grid-inner,
body.page-id-12 .qodef-woo-product-list.qodef-filter--loading > .qodef-grid-inner {
	opacity: 0.45;
}

body.page-id-12 .qodef-woo-product-list li.product.clecod-tab-hidden {
	display: none !important;
}

body.page-id-12 .qodef-woo-product-list > .qodef-grid-inner > li.product {
	display: flex;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	background: #fff;
	outline: 0;
	transition: box-shadow 0.25s ease-out;
}

/* Filet de la démo, posé au-dessus des fonds blancs des blocs internes. */
body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner)::after {
	position: absolute;
	inset: 0;
	z-index: 5;
	content: "";
	border: 1px solid var(--shop-line);
	pointer-events: none;
	transition: border-color 0.25s ease-out;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner):hover {
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.3);
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner):hover::after {
	border-color: #cdcdcd;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .qodef-e-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	margin: 0;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-content-top {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 4;
	margin: 0;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-content-middle {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 0.86;
	margin: 0;
	padding: 34px 24px 10px;
	background: #fff;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-image-wrapper,
body.page-id-12 .qodef-woo-product-list .qodef-woo-product-image {
	width: 100%;
	height: 100%;
}

/* Les rendus produits ont un fond presque blanc (≈ #fbf9f7) qui dessinait
   un cadre gris sur la carte blanche : un léger éclaircissement l'efface. */
body.page-id-12 .qodef-woo-product-list .qodef-woo-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(1.02) contrast(1.02);
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.page-id-12 .qodef-woo-product-list li.product:hover .qodef-woo-product-image img {
	transform: scale(1.05);
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-content-bottom {
	flex: 1 1 auto;
	margin: 0;
	padding: 6px 20px 20px;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-info-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;
}

/* Une seule étiquette au-dessus du titre : la marque (le type de clé est
   déjà dans le nom du produit). */
body.page-id-12 .qodef-woo-product-list .qodef-woo-product-category {
	min-height: 16px;
	margin: 0 0 6px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-categories {
	display: block;
	margin: 0;
	line-height: 16px;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-categories a {
	display: none;
	color: var(--shop-ink);
	font-family: var(--shop-body);
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Sous-marque uniquement : après un filtrage AJAX, le thème renvoie aussi le
   terme parent « Marques » (…/categorie-produit/marques/). */
body.page-id-12 .qodef-woo-product-list .qodef-woo-product-categories a[href*="/marques/"]:not([href$="/marques/"]) {
	display: inline;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-categories .qodef-info-separator-single,
body.page-id-12 .qodef-woo-product-list .qodef-woo-product-category .qodef-info-separator-end {
	display: none;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-title {
	display: -webkit-box;
	min-height: 2.5em;
	margin: 0;
	overflow: hidden;
	color: var(--shop-ink);
	font-family: var(--shop-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-title-link {
	color: inherit;
	transition: color 0.2s ease-out;
}

body.page-id-12 .qodef-woo-product-list li.product:hover .qodef-woo-product-title-link,
body.page-id-12 .qodef-woo-product-list li.product:focus-within .qodef-woo-product-title-link {
	color: var(--shop-red);
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-price {
	margin: auto 0 0;
	padding-top: 14px;
	color: var(--shop-ink);
	font-family: var(--shop-body);
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}

body.page-id-12 .qodef-woo-product-list .qodef-woo-product-excerpt {
	display: none;
}

/* --- Bande « Ajouter au panier + » --------------------------------------- */

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	min-height: 60px;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background-color: var(--shop-soft) !important;
	color: var(--shop-ink) !important;
	font-family: var(--shop-display);
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	transition: background-color 0.25s ease-out, color 0.25s ease-out;
}

/* Libellé court, comme « Add to cart » dans la démo ; le nom complet de
   l'action reste dans l'aria-label du lien. */
body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-text {
	display: inline-flex;
	align-items: center;
	font-size: 0;
	line-height: 1;
	white-space: nowrap;
	opacity: 1 !important;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button.add_to_cart_button .qodef-m-text::before {
	content: "Ajouter";
	font-size: 13px;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button:not(.add_to_cart_button) .qodef-m-text {
	font-size: inherit;
}

/* Remonté d'1px : aligné sur le centre optique des capitales du libellé. */
body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-icon {
	position: relative;
	top: -1px;
	display: inline-block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-left: 12px;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-icon svg {
	display: none !important;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-icon::before,
body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-icon::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	content: "";
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button:hover,
body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button:focus-visible {
	background-color: var(--shop-red) !important;
	color: #fff !important;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button:hover .qodef-m-icon::after,
body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button:focus-visible .qodef-m-icon::after {
	transform: translate(-50%, -50%) rotate(180deg);
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button.loading .qodef-m-icon {
	animation: clecod-shop-spin 0.8s linear infinite;
}

/* Ajouté : le « + » devient une coche, dessinée comme un angle en L tourné
   (un seul trait continu, net à toutes les tailles), et « Ajouter » devient
   « Ajouté ». WooCommerce pose la classe .added après l'ajout AJAX. */
body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button.added .qodef-m-icon::before {
	width: 7px;
	height: 13px;
	background: none;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -62%) rotate(45deg);
	animation: clecod-check-in 0.3s cubic-bezier(0.2, 0.7, 0.2, 1.4);
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button.added .qodef-m-icon::after {
	display: none;
}

body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button.add_to_cart_button.added .qodef-m-text::before {
	content: "Ajouté";
}

@keyframes clecod-check-in {
	from {
		opacity: 0;
		transform: translate(-50%, -62%) rotate(45deg) scale(0.4);
	}
}

@keyframes clecod-shop-spin {
	to { transform: rotate(360deg); }
}

/* Le toast et le compteur du header suffisent : pas de second lien. */
body.page-id-12 .qodef-woo-product-list li.product .added_to_cart {
	display: none !important;
}

/* --- Cœur favori : angle haut droit de la carte -------------------------- */

/* La rangée d'icônes du thème (wishlist/comparateur) est vide : le cœur est
   posé directement dans la carte. */
body.page-id-12 .qodef-woo-product-list .qodef-woo-product-content-top {
	display: none;
}

.clecod-fav {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--shop-ink);
	cursor: pointer;
	transition: color 0.2s ease-out;
}

.clecod-fav svg {
	width: 21px;
	height: 21px;
	fill: transparent;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linejoin: round;
	transition: fill 0.2s ease-out, transform 0.2s ease-out;
}

.clecod-fav:hover svg {
	transform: scale(1.1);
}

.clecod-fav:hover,
.clecod-fav:focus-visible,
.clecod-fav.is-active {
	color: var(--shop-red);
}

.clecod-fav.is-active svg {
	fill: var(--shop-red);
}

.clecod-fav:focus-visible {
	outline: 2px solid var(--shop-red);
	outline-offset: -4px;
}

/* Neutralise l'infobulle globale [data-tip] du flux TikTok sur ce bouton. */
.clecod-fav::after {
	content: none !important;
}

/* Infobulle noire du thème, à gauche du cœur. */
.clecod-fav::before {
	position: absolute;
	top: 50%;
	right: calc(100% - 2px);
	padding: 7px 10px;
	content: attr(data-tip);
	background: #000;
	color: #fff;
	font-family: var(--shop-display);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translate(6px, -50%);
	transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.clecod-fav:hover::before,
.clecod-fav:focus-visible::before {
	opacity: 1;
	transform: translate(0, -50%);
}

@media (hover: none) {
	.clecod-fav::before {
		display: none;
	}
}

.clecod-fav.is-popping svg {
	animation: clecod-fav-pop 0.4s cubic-bezier(0.2, 0.7, 0.2, 1.4);
}

@keyframes clecod-fav-pop {
	40% { transform: scale(1.35); }
}

/* --- Pagination (carré rouge de la démo) --------------------------------- */

body.page-id-12 .qodef-woo-product-list .qodef-m-pagination-items {
	margin-left: var(--shop-sidebar);
}

/* ======================================================================
   Sidebar
   ====================================================================== */

/* Les filtres du thème (catégorie à choix unique, attributs vides, prix)
   sont remplacés par le panneau .clecod-filters (shop.js). */
body.page-id-12 .qodef-filter-items {
	display: none !important;
}

body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-product-list-filter-holder.qodef-filter-content {
	gap: 0;
	padding-top: 0;
	padding-right: 30px;
}

/* Le conteneur du thème est un flex en colonne aligné à gauche : ses
   enfants se rétractaient sur leur contenu. */
body.page-id-12 .qodef-product-list-filter-vertical,
body.page-id-12 .qodef-product-list-filter-holder.qodef-filter-content .qodef-e-widget-area {
	width: 100%;
}

body.page-id-12 .qodef-filter-items {
	padding: 0;
}

body.page-id-12 .qodef-filter-items .qodef-grid-item {
	width: 100%;
	padding: 0 0 26px;
	border-bottom: 1px solid var(--shop-line);
}

body.page-id-12 .qodef-filter-items .qodef-e-filter-title {
	margin: 0 0 16px;
	color: var(--shop-ink);
	font-family: var(--shop-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

body.page-id-12 .qodef-price-slider {
	color: var(--shop-ink);
	font-size: 15px;
}

body.page-id-12 .qodef-price-slider-actions .qodef-button {
	min-width: 120px;
}

/* --- Panneau de filtres : valeurs exactes des filtres HighRev --------------
   Titres = h4 du thème (Archivo 700, capitales, -0,025em), options 16px/500
   avec le nombre entre parenthèses dans la même couleur, groupes espacés de
   35px sans filet, « Voir plus » 13px/700 et sa croix rouge animée. */

.clecod-filters {
	width: 100%;
	font-family: var(--shop-body);
}

.clecod-facet + .clecod-facet {
	margin-top: 35px;
}

.clecod-facet__heading {
	margin: 0;
}

.clecod-facet__title {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--shop-ink);
	font-family: var(--shop-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1111em;
	letter-spacing: -0.025em;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
}

.clecod-facet__chevron {
	flex: 0 0 auto;
	width: 7px;
	height: 11px;
	margin: 0 10px 0 0;
	fill: currentColor;
	transform: rotate(90deg);
	transition: transform 0.25s ease-out;
}

.clecod-facet.is-collapsed .clecod-facet__chevron {
	transform: none;
}

.clecod-facet__body {
	padding-top: 15px;
}

.clecod-facet.is-collapsed .clecod-facet__body {
	display: none;
}

/* Case du thème : carré 16px à filet clair ; au survol et cochée, un
   contour rouge se trace (SVG « checkbox-border ») et la coche apparaît. */
.clecod-check {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 2px 0;
	color: var(--shop-ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5333em;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.clecod-check input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.clecod-check__box {
	position: relative;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-right: 10px;
	border: 1px solid var(--shop-line);
	background: #fff;
}

.clecod-check__ring {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 18px;
	height: 18px;
	fill: transparent;
	stroke: var(--shop-red);
	stroke-width: 2px;
	stroke-dasharray: 55;
	stroke-dashoffset: 55;
	pointer-events: none;
	transition: stroke-dashoffset 0.7s cubic-bezier(0.51, 0.56, 0.04, 0.9);
}

.clecod-check__tick {
	position: absolute;
	top: 3.5px;
	left: 2.4px;
	width: 9.2px;
	height: 7.1px;
	fill: var(--shop-red);
	opacity: 0;
	transition: opacity 0.2s ease-out;
}

.clecod-check:hover .clecod-check__ring,
.clecod-check input:checked + .clecod-check__box .clecod-check__ring {
	stroke-dashoffset: 0;
}

.clecod-check input:checked + .clecod-check__box .clecod-check__tick {
	opacity: 1;
}

.clecod-check input:focus-visible + .clecod-check__box {
	outline: 2px solid var(--shop-ink);
	outline-offset: 3px;
}

.clecod-check__count {
	margin-left: 5px;
}

.clecod-check.is-empty {
	cursor: default;
	opacity: 0.38;
}

.clecod-check.is-empty:hover .clecod-check__ring {
	stroke-dashoffset: 55;
}

/* Marques : 6 visibles, le reste derrière « Voir les N autres ». */
.clecod-facet[data-facet="brands"]:not(.is-expanded) .clecod-check.is-extra {
	display: none;
}

/* « Voir plus » du thème : la flèche rouge, étirée, dessine une croix qui
   se change en flèche au survol, puis en tiret une fois la liste ouverte. */
.clecod-facet__more {
	display: inline-flex;
	align-items: center;
	column-gap: 11px;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--shop-ink);
	font-family: var(--shop-display);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.0769em;
	letter-spacing: 0;
	text-transform: uppercase;
	cursor: pointer;
}

.clecod-facet__more-icon {
	position: relative;
	top: -1px;
	width: 7.07px;
	height: 11.31px;
	margin-left: 3px;
	overflow: visible;
	fill: var(--shop-red);
}

.clecod-facet__more-icon path {
	transition: transform 0.4s cubic-bezier(0.51, 0.56, 0.04, 0.9), clip-path 0.4s cubic-bezier(0.51, 0.56, 0.04, 0.9);
}

.clecod-facet__more-icon path:nth-of-type(1) {
	transform-origin: 75% 72%;
	transform: scaleX(1.4) rotate(45deg);
}

.clecod-facet__more-icon path:nth-of-type(2) {
	transform-origin: 11% 50%;
	transform: scaleY(1.4) rotate(45deg);
}

.clecod-facet__more:hover .clecod-facet__more-icon path:nth-of-type(1) {
	transform: rotate(88deg) translateY(2px);
}

.clecod-facet__more:hover .clecod-facet__more-icon path:nth-of-type(2) {
	transform: rotate(84deg) translateY(-5px) translateX(-1px);
}

.clecod-facet__more[aria-expanded="true"] .clecod-facet__more-icon path:nth-of-type(1) {
	transform: rotate(45deg) translateY(1px) translateX(-2px);
}

.clecod-facet__more[aria-expanded="true"] .clecod-facet__more-icon path:nth-of-type(2) {
	clip-path: inset(0 4px);
	transform: translateY(3px) translateX(3px);
}

.clecod-facet__more[aria-expanded="true"]:hover .clecod-facet__more-icon path:nth-of-type(1) {
	transform: translateY(-1px) translateX(-1px);
}

.clecod-facet__more[aria-expanded="true"]:hover .clecod-facet__more-icon path:nth-of-type(2) {
	clip-path: inset(0);
}

.clecod-facet__more:focus-visible {
	outline: 2px solid var(--shop-ink);
	outline-offset: 4px;
}

/* Le h4 du thème passe à 16px sous 1512px. */
@media (max-width: 1512px) {
	.clecod-facet__title {
		font-size: 16px;
		line-height: 1.31em;
	}
}

/* Prix : champs, curseur double (ligne rouge + poignées carrées du thème),
   raccourcis. */
.clecod-price__fields {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.clecod-price__fields label {
	position: relative;
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
	color: var(--shop-muted);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.clecod-price__fields input {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 26px 0 12px !important;
	border: 1px solid var(--shop-line) !important;
	border-radius: 0;
	background: #fff;
	color: var(--shop-ink);
	font-family: var(--shop-body);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.clecod-price__fields input::-webkit-outer-spin-button,
.clecod-price__fields input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.clecod-price__fields input:focus {
	border-color: var(--shop-ink) !important;
	outline: 0;
}

.clecod-price__fields i {
	position: absolute;
	right: 11px;
	bottom: 11px;
	color: var(--shop-muted);
	font-size: 14px;
	font-style: normal;
	letter-spacing: 0;
	text-transform: none;
}

.clecod-price__dash {
	flex: 0 0 10px;
	height: 1px;
	margin-bottom: 22px;
	background: var(--shop-muted);
}

.clecod-range {
	position: relative;
	height: 24px;
	margin: 18px 7px 4px;
}

.clecod-range__track {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 2px;
	background: var(--shop-line);
	transform: translateY(-50%);
}

.clecod-range__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	background: var(--shop-red);
}

.clecod-range input[type="range"] {
	position: absolute;
	top: 0;
	left: -7px;
	width: calc(100% + 14px);
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.clecod-range input[type="range"]::-webkit-slider-runnable-track {
	height: 24px;
	background: transparent;
}

.clecod-range input[type="range"]::-moz-range-track {
	background: transparent;
}

.clecod-range input[type="range"]::-webkit-slider-thumb {
	width: 14px;
	height: 14px;
	margin-top: 5px;
	border: 0;
	border-radius: 0;
	background: var(--shop-red);
	cursor: grab;
	pointer-events: auto;
	-webkit-appearance: none;
	transition: transform 0.15s ease-out;
}

.clecod-range input[type="range"]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 0;
	border-radius: 0;
	background: var(--shop-red);
	cursor: grab;
	pointer-events: auto;
}

.clecod-range input[type="range"]:active::-webkit-slider-thumb {
	cursor: grabbing;
	transform: scale(1.2);
}

.clecod-range input[type="range"]:focus-visible::-webkit-slider-thumb {
	outline: 2px solid var(--shop-ink);
	outline-offset: 2px;
}

.clecod-price__bands {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 16px;
}

.clecod-price__bands button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--shop-line);
	border-radius: 0;
	background: #fff;
	color: var(--shop-ink);
	font-family: var(--shop-body);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.15s ease-out, background-color 0.15s ease-out, color 0.15s ease-out;
}

.clecod-price__bands button:hover {
	border-color: var(--shop-ink);
}

.clecod-price__bands button.is-active {
	border-color: var(--shop-ink);
	background: var(--shop-ink);
	color: #fff;
}

.clecod-price__bands button.is-active .clecod-check__count {
	color: rgba(255, 255, 255, 0.6);
}

.clecod-price__bands button:disabled {
	cursor: default;
	opacity: 0.38;
}

.clecod-price__bands button:disabled:hover {
	border-color: var(--shop-line);
}

/* Pied du tiroir mobile : masqué en desktop (filtres appliqués en direct). */
.clecod-filters__footer {
	display: none;
}

/* --- Rangée « N produits · filtres actifs · Tout effacer » ----------------- */

.clecod-shop-active {
	float: right;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: calc(100% - var(--shop-sidebar));
	margin: -4px 0 20px;
	font-family: var(--shop-body);
}

.clecod-shop-active[hidden] {
	display: none;
}

.clecod-shop-active__count {
	margin-right: 8px;
	color: var(--shop-muted);
	font-size: 14px;
}

.clecod-shop-active__count strong {
	color: var(--shop-ink);
	font-weight: 600;
}

.clecod-shop-active button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 34px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--shop-ink);
	border-radius: 0;
	background: #fff;
	color: var(--shop-ink);
	font-family: var(--shop-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

.clecod-shop-active button svg {
	width: 9px;
	height: 9px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.clecod-shop-active button:hover,
.clecod-shop-active button:focus-visible {
	background: var(--shop-ink);
	color: #fff;
}

.clecod-shop-active .clecod-shop-active__reset {
	border-color: transparent;
	color: var(--shop-red);
	font-family: var(--shop-display);
	font-size: 12px;
	font-weight: 700;
	text-decoration: underline;
	text-transform: uppercase;
	text-underline-offset: 4px;
}

.clecod-shop-active .clecod-shop-active__reset:hover,
.clecod-shop-active .clecod-shop-active__reset:focus-visible {
	border-color: transparent;
	background: none;
	color: var(--shop-ink);
}

/* --- Carte « Besoin d'être guidé ? » ------------------------------------- */

.clecod-shop-help {
	margin: 28px 0;
	padding: 26px 24px 24px;
	background: #000;
	color: #fff;
}

.clecod-shop-help__kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--shop-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.clecod-shop-help__kicker::before {
	width: 22px;
	height: 2px;
	content: "";
	background: var(--shop-red);
}

.clecod-shop-help__title {
	margin: 0 0 10px;
	color: #fff;
	font-family: var(--shop-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.clecod-shop-help__text {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--shop-body);
	font-size: 14px;
	line-height: 1.55;
}

.clecod-shop-help__phone {
	display: block;
	color: #fff;
	font-family: var(--shop-body);
	font-size: 26px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.01em;
	transition: color 0.2s ease-out;
}

.clecod-shop-help__phone:hover,
.clecod-shop-help__phone:focus-visible {
	color: var(--shop-red);
}

.clecod-shop-help__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	color: #fff;
	font-family: var(--shop-display);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	transition: color 0.2s ease-out;
}

.clecod-shop-help__link::after {
	color: var(--shop-red);
	content: "→";
	font-size: 17px;
	font-weight: 400;
	transition: transform 0.25s ease-out;
}

.clecod-shop-help__link:hover,
.clecod-shop-help__link:focus-visible {
	color: var(--shop-red);
}

.clecod-shop-help__link:hover::after {
	transform: translateX(4px);
}

/* --- Bannière « Atelier CLECOD » de la sidebar ---------------------------- */

body.page-id-12 .qodef-e-widget-area .qodef-banner .qodef-m-image {
	position: relative;
}

body.page-id-12 .qodef-e-widget-area .qodef-banner .qodef-m-image::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 46%, rgba(0, 0, 0, 0) 70%);
	pointer-events: none;
}

body.page-id-12 .qodef-e-widget-area .qodef-banner .qodef-m-content {
	z-index: 2;
}

/* ======================================================================
   Toast d'ajout au panier
   ====================================================================== */

.clecod-shop-toast {
	position: fixed;
	bottom: 28px;
	left: 50%;
	z-index: 160;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: calc(100vw - 32px);
	padding: 0 0 0 20px;
	background: #000;
	color: #fff;
	font-family: var(--clecod-font-display, "Archivo", sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 16px);
	transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.clecod-shop-toast.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.clecod-shop-toast__text {
	padding: 17px 0;
	white-space: nowrap;
}

.clecod-shop-toast__text::before {
	margin-right: 10px;
	color: var(--qode-main-color, #e20100);
	content: "✓";
}

.clecod-shop-toast a,
.clecod-shop-toast button {
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 0;
	background: var(--qode-main-color, #e20100);
	color: #fff;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease-out;
}

.clecod-shop-toast a:hover,
.clecod-shop-toast a:focus-visible,
.clecod-shop-toast button:hover,
.clecod-shop-toast button:focus-visible {
	background: #b80000;
	color: #fff;
}

/* ======================================================================
   Tiroir de filtres (≤ 1024px) et bouton « Filtres »
   ====================================================================== */

.clecod-shop-filter-toggle,
.clecod-shop-filter-backdrop {
	display: none;
}

@media (max-width: 1368px) {
	body.page-id-12 .qodef-woo-product-list .qodef-banner-holder .qodef-banner .qodef-m-title {
		font-size: 32px;
	}
}

@media (max-width: 1024px) {
	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-product-list-filter-holder.qodef-banner-holder,
	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-product-list-filter-holder.qodef-filter-top-bar,
	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar > .qodef-grid-inner,
	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-m-top,
	.clecod-shop-subtabs,
	.clecod-shop-empty {
		float: none;
		width: 100% !important;
	}

	body.page-id-12 .qodef-woo-product-list .qodef-m-pagination-items {
		margin-left: 0;
	}

	.clecod-shop-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		height: 50px;
		margin: 0;
		padding: 0 18px;
		border: 1px solid var(--shop-ink);
		border-radius: 0;
		background: #fff;
		color: var(--shop-ink);
		font-family: var(--shop-display);
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.01em;
		text-transform: uppercase;
		cursor: pointer;
		transition: background-color 0.2s ease-out, color 0.2s ease-out;
	}

	.clecod-shop-filter-toggle svg {
		width: 16px;
		height: 16px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.7;
		stroke-linecap: round;
	}

	.clecod-shop-filter-toggle b {
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		border-radius: 9px;
		background: var(--shop-red);
		color: #fff;
		font-family: var(--shop-body);
		font-size: 10px;
		font-weight: 600;
		line-height: 18px;
		text-align: center;
	}

	.clecod-shop-filter-toggle b:empty {
		display: none;
	}

	.clecod-shop-filter-toggle:hover,
	.clecod-shop-filter-toggle:focus-visible {
		background: #000;
		color: #fff;
	}

	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-product-list-filter-holder.qodef-filter-content {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 132;
		display: block;
		width: min(400px, calc(100vw - 24px));
		margin: 0;
		padding: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
		visibility: hidden;
		transform: translate3d(105%, 0, 0);
		transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.35s;
	}

	body.page-id-12.clecod-shop-filter-open .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-product-list-filter-holder.qodef-filter-content {
		visibility: visible;
		transform: none;
	}

	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-filter-header {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 70px;
		padding: 0 24px;
		background: #000;
		color: #fff;
		font-family: var(--shop-display);
		font-size: 18px;
		font-weight: 700;
		text-transform: uppercase;
	}

	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-filter-header .qodef-svg--close {
		box-sizing: content-box;
		margin-right: -13px;
		padding: 13px;
		color: #fff;
		fill: currentColor;
		cursor: pointer;
		transition: color 0.2s ease-out;
	}

	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-filter-header .qodef-svg--close:hover,
	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-filter-header .qodef-svg--close:focus-visible {
		color: var(--shop-red);
		outline: 0;
	}

	body.page-id-12 .qodef-product-list-filter-vertical > .qodef-filter-items-wrapper {
		position: static;
		padding: 26px 24px 0;
	}

	body.page-id-12 .qodef-product-list-filter-holder.qodef-filter-content .qodef-e-widget-area {
		padding: 0 24px 32px;
	}

	/* Tiroir tactile : lignes d'options plus hautes. */
	.clecod-check {
		padding: 5px 0;
	}

	.clecod-shop-active,
	.clecod-shop-universes {
		float: none;
		width: 100% !important;
	}

	/* Pied collant du tiroir : réinitialiser / voir les résultats. */
	.clecod-filters__footer {
		position: sticky;
		bottom: 0;
		z-index: 3;
		display: flex;
		gap: 12px;
		padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--shop-line);
		background: #fff;
	}

	.clecod-filters__footer button {
		min-height: 50px;
		margin: 0;
		border: 0;
		border-radius: 0;
		font-family: var(--shop-display);
		font-size: 13px;
		font-weight: 700;
		text-transform: uppercase;
		cursor: pointer;
	}

	.clecod-filters__reset {
		flex: 0 0 auto;
		padding: 0 4px;
		background: none;
		color: var(--shop-ink);
		text-decoration: underline;
		text-underline-offset: 4px;
	}

	.clecod-filters__reset:disabled {
		cursor: default;
		opacity: 0.35;
	}

	.clecod-filters__apply {
		flex: 1 1 auto;
		padding: 0 18px;
		background: var(--shop-red);
		color: #fff;
		transition: background-color 0.2s ease-out;
	}

	.clecod-filters__apply:hover,
	.clecod-filters__apply:focus-visible {
		background: #000;
	}

	.clecod-shop-filter-backdrop {
		position: fixed;
		inset: 0;
		z-index: 131;
		display: block;
		border: 0;
		background: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease-out, visibility 0.25s;
	}

	body.page-id-12.clecod-shop-filter-open {
		overflow: hidden;
	}

	body.page-id-12.clecod-shop-filter-open .clecod-shop-filter-backdrop {
		opacity: 1;
		visibility: visible;
	}
}

/* ======================================================================
   Mobile
   ====================================================================== */

@media (max-width: 680px) {
	/* Pas de bannière sur mobile : retirée de l'affichage mais gardée pour
	   les lecteurs d'écran, car elle porte le H1 de la page. */
	body.page-id-12 .qodef-woo-product-list.qodef-filter-type--sidebar .qodef-product-list-filter-holder.qodef-banner-holder {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		margin: -1px !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		border: 0 !important;
		white-space: nowrap;
	}

	body.page-id-12 .qodef-banner-holder .qodef-m-image,
	body.page-id-12 .qodef-banner-holder .qodef-m-banner-link {
		display: none !important;
	}

	/* Fil d'Ariane : le thème fixe le bloc titre à 74px et y centre le fil,
	   ce qui laissait ~57px de vide avant les tuiles. Bloc à la hauteur du
	   fil, tuiles collées à la marge du contenu. */
	/* (padding sur le bloc : le thème force celui de .qodef-m-content à 0
	   sous 1200px.) */
	body.page-id-12 .qodef-page-title {
		height: auto;
		padding-top: 24px;
	}

	/* Onglets sur toute la largeur (défilants), filtres + tri dessous. Le
	   thème passe cette barre en colonne sur mobile : la base 100 % des
	   enfants visait alors la hauteur et les onglets élargissaient la page. */
	body.page-id-12 .qodef-product-list-filter-holder.qodef-filter-top-bar {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: stretch;
		min-height: 0;
		margin-bottom: 16px;
		border-bottom: 0;
	}

	body.page-id-12 .qodef-product-list-ordering select.qodef-orderby {
		min-width: 0 !important;
		max-width: 100%;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-selection__arrow {
		position: absolute !important;
		left: auto !important;
	}

	body.page-id-12 .qodef-filter-top-bar .qodef-e-info-left {
		flex: 1 1 100%;
		margin: 0 -16px;
		padding: 0 16px;
		border-bottom: 1px solid var(--shop-line);
	}

	.clecod-shop-tabs {
		gap: 24px;
		height: 54px;
		-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
		mask-image: linear-gradient(90deg, #000 85%, transparent);
	}

	.clecod-shop-tabs button {
		font-size: 12px;
	}

	/* « Filtres » et tri : deux colonnes strictement égales, quels que soient
	   le contenu, le navigateur ou le box-sizing du bouton (content-box dans
	   le thème). */
	body.page-id-12 .qodef-filter-top-bar .qodef-e-info-right {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		flex: 1 1 100%;
		margin: 0;
		padding-top: 12px;
	}

	.clecod-shop-filter-toggle {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		justify-content: center;
	}

	body.page-id-12 .qodef-product-list-ordering {
		min-width: 0;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-container {
		width: 100% !important;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-container .select2-selection--single {
		padding: 0 30px 0 12px !important;
	}

	/* Demi-largeur : l'étiquette suffit, l'icône laisse sa place au texte. */
	body.page-id-12 .qodef-product-list-ordering .select2-selection--single::before {
		display: none;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-selection__rendered {
		overflow: hidden;
		font-size: 12px;
		letter-spacing: 0;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-selection__rendered::before {
		font-size: 11px;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-selection__arrow {
		width: 30px !important;
	}

	body.page-id-12 .select2-container--default .qodef-product-list-select2-dd .select2-results__option {
		gap: 8px;
		padding: 10px 12px;
		font-size: 12px;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.clecod-shop-subtabs {
		flex-wrap: nowrap;
		margin: 0 -16px 18px;
		padding: 0 16px 2px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.clecod-shop-subtabs::-webkit-scrollbar {
		display: none;
	}

	.clecod-shop-subtabs button {
		flex: 0 0 auto;
		min-height: 38px;
		padding: 0 13px;
		font-size: 13px;
	}

	/* Univers en 2 × 2 */
	.clecod-shop-universes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin: 0 0 6px;
	}

	.clecod-universe {
		min-height: 112px;
		padding: 16px 14px 14px;
	}

	.clecod-universe__icon {
		width: 28px;
		height: 28px;
	}

	.clecod-universe__name {
		padding-top: 12px;
		font-size: 13px;
	}

	.clecod-universe__meta {
		font-size: 12px;
	}

	/* Cartes 2 colonnes */
	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-content-middle {
		padding: 30px 14px 6px;
	}

	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-content-bottom {
		padding: 4px 14px 16px;
	}

	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-categories a {
		font-size: 10px;
	}

	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-title {
		font-size: 14px;
		line-height: 1.3;
		min-height: 2.6em;
	}

	/* Fourchette d'un produit à options (« 19,50 € – 69,99 € »). Le prix est
	   un flex sur une seule ligne et la carte a overflow: hidden, donc le
	   second montant est coupé. On contraint le bloc à la largeur de la carte
	   et on laisse la fourchette passer à la ligne, chaque montant entier. */
	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-content-bottom,
	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-info-wrapper {
		min-width: 0;
		max-width: 100%;
	}

	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-price {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		column-gap: 6px;
		row-gap: 2px;
		padding-top: 12px;
		font-size: 19px;
		line-height: 1.15;
	}

	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-price > span,
	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-price > del,
	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-price > ins {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-price .woocommerce-Price-amount {
		white-space: nowrap;
	}

	/* Le « – » est un <span> entre les deux montants. On le retire du flux
	   et on le redessine dans le second montant, pour qu'il parte avec lui
	   à la ligne : « 19,50 € » puis « – 69,99 € », jamais un chiffre coupé. */
	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-price > span[aria-hidden="true"]:not(.woocommerce-Price-amount) {
		display: none;
	}

	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-price > .woocommerce-Price-amount ~ .woocommerce-Price-amount::before {
		content: "–\00a0";
	}

	body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button {
		min-height: 50px;
		padding: 0 14px !important;
		font-size: 11px !important;
	}

	body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-icon {
		width: 14px;
		height: 14px;
		margin-left: 8px;
	}

	body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-icon::before,
	body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button .qodef-m-icon::after {
		width: 14px;
	}

	.clecod-fav {
		width: 40px;
		height: 40px;
		margin: 2px 2px 0 0;
	}

	.clecod-fav svg {
		width: 18px;
		height: 18px;
	}

	.clecod-shop-empty {
		padding: 48px 20px;
	}

	.clecod-shop-toast {
		bottom: calc(86px + env(safe-area-inset-bottom));
	}
}

@media (max-width: 680px) {
	body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button.add_to_cart_button .qodef-m-text::before {
		font-size: 11px;
	}
}

@media (max-width: 374px) {
	.clecod-shop-filter-toggle {
		gap: 8px;
		padding: 0 10px;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-container .select2-selection--single {
		padding: 0 26px 0 10px !important;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-selection__rendered {
		font-size: 11px;
	}

	body.page-id-12 .qodef-product-list-ordering .select2-selection__arrow {
		width: 26px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.page-id-12 .qodef-banner-holder .qodef-m-image img,
	body.page-id-12 .qodef-woo-product-list .qodef-woo-product-image img,
	body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner,
	.clecod-shop-tabs button::after,
	.clecod-fav,
	.clecod-shop-toast,
	body.page-id-12 .qodef-product-list-filter-holder.qodef-filter-content,
	.clecod-shop-filter-backdrop {
		transition: none !important;
	}

	.clecod-fav.is-popping,
	body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button.loading .qodef-m-icon,
	body.page-id-12 .qodef-woo-product-list li.product > .qodef-e-inner:not(.qodef-e-alt-inner) > .button.added .qodef-m-icon::before {
		animation: none;
	}
}
