/* ==========================================================================
   Ferravelli — WooCommerce : cartes produits, catalogue & filtres, fiche produit,
   panier latéral, aperçu rapide, panier, checkout, compte client, messages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Carte produit
   -------------------------------------------------------------------------- */
.fv-card {
	position: relative;
	min-width: 0;
}

.fv-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--fv-sand);
}

.fv-card__link {
	position: absolute;
	inset: 0;
	display: block;
}

.fv-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 600ms var(--fv-ease), transform 1.4s var(--fv-ease);
}

.fv-card__img--alt {
	opacity: 0;
}

@media (hover: hover) {
	.fv-card:hover .fv-card__img--alt {
		opacity: 1;
	}

	.fv-card:hover .fv-card__img {
		transform: scale(1.035);
	}
}

.fv-card__badges {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	display: grid;
	justify-items: start;
	gap: 0.35rem;
	pointer-events: none;
}

.fv-badge {
	display: inline-block;
	padding: 0.35rem 0.6rem;
	background: var(--fv-ivory);
	color: var(--fv-ink);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.2;
}

.fv-badge--sale {
	background: var(--fv-leather);
	color: var(--fv-ivory);
}

.fv-badge--muted {
	background: var(--fv-muted);
	color: var(--fv-ivory);
}

.fv-wish {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(246 241 233 / 92%);
	color: var(--fv-ink);
	cursor: pointer;
	transition: transform var(--fv-t), color var(--fv-t);
}

.fv-wish:hover {
	transform: scale(1.08);
}

.fv-wish[aria-pressed="true"] {
	color: var(--fv-leather);
}

.fv-wish[aria-pressed="true"] svg {
	fill: currentColor;
}

.fv-card__actions {
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	gap: 0.4rem;
	opacity: 0;
	transform: translateY(0.75rem);
	transition: opacity var(--fv-t), transform var(--fv-t);
}

.fv-card:hover .fv-card__actions,
.fv-card:focus-within .fv-card__actions {
	opacity: 1;
	transform: none;
}

.fv-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.75rem;
	padding: 0 0.75rem;
	border: 0;
	background: rgb(246 241 233 / 94%);
	color: var(--fv-ink);
	font-size: 0.65625rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background-color var(--fv-t), color var(--fv-t);
}

.fv-card__action:hover {
	background: var(--fv-ink);
	color: var(--fv-ivory);
}

.fv-card__action--primary {
	background: var(--fv-ink);
	color: var(--fv-ivory);
}

.fv-card__action--primary:hover {
	background: var(--fv-leather);
}

/* Écrans tactiles ou étroits : un seul bouton rond, toujours visible. */
@media (hover: none), (pointer: coarse), (max-width: 599px) {
	.fv-card__actions {
		left: auto;
		opacity: 1;
		transform: none;
		grid-template-columns: auto;
	}

	.fv-card__action:not(.fv-card__action--primary) {
		display: none;
	}

	.fv-card__action--primary {
		width: 2.5rem;
		min-height: 2.5rem;
		padding: 0;
		border-radius: 50%;
	}

	.fv-card__action span {
		position: absolute;
		clip-path: inset(50%);
		width: 1px;
		height: 1px;
		overflow: hidden;
	}
}

.fv-card__body {
	padding-top: 1rem;
}

.fv-card__cat {
	margin: 0 0 0.35rem;
	font-size: 0.65625rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fv-muted);
}

.fv-card__title {
	margin: 0 0 0.35rem;
	font-family: var(--fv-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.fv-card__title a {
	color: var(--fv-ink);
	text-decoration: none;
}

.fv-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.fv-card__title a:focus-visible {
	outline: none;
}

.fv-card__title a:focus-visible::after {
	outline: 1px solid var(--fv-leather);
	outline-offset: 4px;
}

.fv-card__price {
	font-size: 0.875rem;
	color: var(--fv-ink);
}

.fv-card__price del,
.fv-product__price del,
.fv-quickview__price del {
	color: var(--fv-muted);
	margin-right: 0.35rem;
	font-weight: 400;
}

.fv-card__price ins,
.fv-product__price ins,
.fv-quickview__price ins {
	text-decoration: none;
	color: var(--fv-leather);
	font-weight: 500;
}

.fv-card__swatches {
	display: flex;
	gap: 0.35rem;
	list-style: none;
	margin: 0.7rem 0 0;
	padding: 0;
}

.fv-card__swatches li {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--fv-swatch);
	box-shadow: 0 0 0 1px rgb(18 17 16 / 18%);
}

/* --------------------------------------------------------------------------
   En-tête boutique / collection
   -------------------------------------------------------------------------- */
.fv-shop-head {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem;
	text-align: center;
}

.fv-shop-head__title {
	font-family: var(--fv-serif);
	font-size: clamp(2.5rem, 5.5vw, 4.25rem);
	font-weight: 400;
	line-height: 1.02;
	margin: 0.75rem 0 0;
}

.fv-shop-head__desc {
	max-width: 38rem;
	margin: 1rem auto 0;
	color: var(--fv-muted);
}

.fv-shop-head__desc p {
	margin: 0;
}

.fv-shop-head--banner {
	display: grid;
	align-items: center;
	gap: 0;
	margin-top: 1.5rem;
	padding: 0;
	background: var(--fv-sand);
	text-align: left;
}

.fv-shop-head--banner .fv-shop-head__content {
	padding: clamp(2rem, 5vw, 4.5rem);
}

.fv-shop-head--banner .fv-shop-head__desc {
	margin-inline: 0;
}

.fv-shop-head__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.fv-shop-head__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 782px) {
	.fv-shop-head--banner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.fv-shop-head__media {
		aspect-ratio: auto;
		height: clamp(320px, 34vw, 460px);
	}
}

.fv-breadcrumb,
.wc-block-breadcrumbs,
.woocommerce-breadcrumb {
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--fv-muted);
}

.fv-breadcrumb a,
.wc-block-breadcrumbs a,
.woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.fv-breadcrumb a:hover,
.wc-block-breadcrumbs a:hover {
	color: var(--fv-ink);
}

.fv-breadcrumb span[aria-hidden],
.fv-breadcrumb__sep {
	margin-inline: 0.5rem;
	opacity: 0.6;
}

.fv-cat-nav {
	display: flex;
	justify-content: center;
	margin: 1.5rem 0 clamp(2rem, 4vw, 3rem);
}

.fv-cat-nav .fv-chips {
	max-width: 100%;
}

/* --------------------------------------------------------------------------
   Catalogue & filtres
   -------------------------------------------------------------------------- */
.fv-catalog {
	display: grid;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.fv-catalog {
		grid-template-columns: 250px minmax(0, 1fr);
		gap: clamp(2rem, 4vw, 4rem);
		align-items: start;
	}
}

.fv-toolbar {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 0.75rem;
	margin-bottom: 2rem;
	border-block: 1px solid var(--fv-line);
}

.fv-toolbar__filter {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border: 0;
	background: none;
	font-size: 0.71875rem;
	font-weight: 500;
	letter-spacing: var(--fv-caps);
	text-transform: uppercase;
	color: var(--fv-ink);
	cursor: pointer;
}

.fv-toolbar__count {
	flex: 1;
	margin: 0;
	font-size: 0.8125rem;
	color: var(--fv-muted);
}

.fv-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.fv-toolbar__sort label {
	font-size: 0.75rem;
	color: var(--fv-muted);
}

.fv-toolbar__sort select {
	border: 0;
	background: transparent;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fv-ink);
	cursor: pointer;
	padding: 0.4rem 0;
}

@media (min-width: 1024px) {
	.fv-toolbar__filter {
		display: none;
	}
}

@media (max-width: 599px) {
	.fv-toolbar {
		flex-wrap: wrap;
	}

	.fv-toolbar__count {
		order: 3;
		flex-basis: 100%;
	}

	.fv-toolbar__sort {
		margin-left: auto;
	}

	.fv-toolbar__sort label {
		position: absolute;
		clip-path: inset(50%);
		width: 1px;
		height: 1px;
		overflow: hidden;
	}
}

.fv-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	list-style: none;
	margin: -0.75rem 0 2rem;
	padding: 0;
}

.fv-chip--remove {
	background: var(--fv-sand);
	border-color: var(--fv-sand);
}

/* Panneau de filtres : tiroir sur mobile, colonne collante sur desktop */
.fv-filters {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	width: min(380px, 90vw);
	display: flex;
	flex-direction: column;
	background: var(--fv-ivory);
	transform: translateX(-100%);
	visibility: hidden;
	transition: transform 420ms var(--fv-ease), visibility 0s linear 420ms;
}

.fv-filters.is-open {
	transform: none;
	visibility: visible;
	transition: transform 420ms var(--fv-ease), visibility 0s;
}

.fv-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1rem 1rem 1.5rem;
	border-bottom: 1px solid var(--fv-line);
}

.fv-filters__title {
	font-family: var(--fv-serif);
	font-size: 1.5rem;
	font-weight: 400;
	margin: 0;
}

.fv-filters__form {
	flex: 1;
	overflow-y: auto;
	padding: 0 1.5rem;
}

@media (min-width: 1024px) {
	.fv-filters {
		position: static;
		z-index: 1;
		width: auto;
		transform: none;
		visibility: visible;
		background: transparent;
	}

	.fv-filters__actions {
		position: static;
		background: transparent;
	}

	.fv-filters__head {
		padding: 0 0 1rem;
	}

	.fv-filters__close {
		display: none;
	}

	.fv-filters__form {
		padding: 0;
		overflow: visible;
	}
}

.fv-filter {
	border-bottom: 1px solid var(--fv-line);
}

.fv-filter summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.1rem;
	list-style: none;
	font-size: 0.71875rem;
	font-weight: 500;
	letter-spacing: var(--fv-caps);
	text-transform: uppercase;
	cursor: pointer;
}

.fv-filter summary::-webkit-details-marker {
	display: none;
}

.fv-filter summary .fv-icon {
	transition: transform var(--fv-t);
}

.fv-filter[open] summary .fv-icon {
	transform: rotate(180deg);
}

.fv-filter > :not(summary) {
	margin-bottom: 1.25rem;
}

.fv-filter__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.fv-filter__links a {
	font-size: 0.875rem;
	color: var(--fv-ink);
	text-decoration: none;
}

.fv-filter__links a span {
	color: var(--fv-muted);
	font-size: 0.75rem;
}

.fv-filter__links a.is-active {
	color: var(--fv-leather);
	font-weight: 500;
}

.fv-filter__price {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.fv-filter__price label {
	display: grid;
	gap: 0.3rem;
	font-size: 0.75rem;
	color: var(--fv-muted);
}

.fv-filter__price span.fv-input-suffix {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--fv-ink);
}

.fv-filter__price input {
	width: 100%;
	min-width: 0;
	padding: 0.6rem 0.65rem;
	border: 1px solid var(--fv-line);
	background: var(--fv-white);
	font-size: 0.875rem;
	border-radius: 0;
}

.fv-filter__options {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.fv-filter__options--couleur {
	grid-template-columns: 1fr 1fr;
}

.fv-option {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.875rem;
	cursor: pointer;
}

.fv-option input {
	accent-color: var(--fv-ink);
	width: 1rem;
	height: 1rem;
	margin: 0;
}

.fv-option__swatch {
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--fv-swatch);
	box-shadow: 0 0 0 1px rgb(18 17 16 / 18%);
}

.fv-filter__options--taille {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.fv-filter__options--taille .fv-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.fv-filter__options--taille .fv-option__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--fv-line);
	font-size: 0.8125rem;
	transition: background-color var(--fv-t), color var(--fv-t), border-color var(--fv-t);
}

.fv-filter__options--taille .fv-option:has(input:checked) .fv-option__label {
	background: var(--fv-ink);
	border-color: var(--fv-ink);
	color: var(--fv-ivory);
}

.fv-filter__options--taille .fv-option:has(input:focus-visible) .fv-option__label {
	outline: 1px solid var(--fv-leather);
	outline-offset: 2px;
}

.fv-filters__actions {
	position: sticky;
	bottom: 0;
	display: grid;
	gap: 0.75rem;
	justify-items: center;
	padding-block: 1.25rem;
	background: var(--fv-ivory);
}

/* Pagination */
.fv-pagination {
	margin-top: clamp(3rem, 6vw, 4.5rem);
}

.fv-pagination ul {
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fv-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	border: 1px solid transparent;
	font-size: 0.875rem;
	color: var(--fv-ink);
	text-decoration: none;
}

.fv-pagination a.page-numbers:hover {
	border-color: var(--fv-line);
}

.fv-pagination .page-numbers.current {
	border-color: var(--fv-ink);
}

/* --------------------------------------------------------------------------
   Fiche produit
   -------------------------------------------------------------------------- */
.fv-product__top {
	padding-top: 1.5rem;
}

.fv-product__top .wc-block-breadcrumbs {
	margin: 0;
}

.fv-product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4.5rem);
	padding-block: 1.5rem clamp(3rem, 6vw, 5rem);
}

@media (min-width: 782px) {
	.fv-product {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: start;
	}
}

@media (min-width: 1024px) {
	.fv-product {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	}

	.fv-product__summary {
		position: sticky;
		top: calc(var(--fv-header-h) + 1.5rem);
	}
}

.fv-product__gallery,
.fv-product__summary {
	min-width: 0;
}

.fv-product .flex-viewport,
.fv-product .woocommerce-product-gallery__image {
	overflow: hidden;
}

/* Galerie WooCommerce (flexslider + zoom + lightbox) */
.fv-product .wp-block-woocommerce-product-image-gallery {
	max-width: none;
	width: 100%;
}

.fv-product .woocommerce-product-gallery {
	position: relative;
	margin: 0;
	width: 100% !important;
	float: none !important;
}

.fv-product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.fv-product .woocommerce-product-gallery__image img,
.fv-product .woocommerce-product-gallery__image a img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--fv-sand);
}

.fv-product .flex-viewport {
	background: var(--fv-sand);
}

.fv-product .flex-control-thumbs {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.fv-product .flex-control-thumbs li {
	flex: 0 0 4.5rem;
	width: 4.5rem !important;
	float: none !important;
	margin: 0 !important;
	cursor: pointer;
}

.fv-product .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	opacity: 0.55;
	border: 1px solid transparent;
	transition: opacity var(--fv-t), border-color var(--fv-t);
}

.fv-product .flex-control-thumbs img.flex-active,
.fv-product .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--fv-ink);
}

@media (min-width: 1024px) {
	.fv-product .woocommerce-product-gallery {
		display: grid;
		grid-template-columns: 5.5rem minmax(0, 1fr);
		gap: 1rem;
	}

	.fv-product .woocommerce-product-gallery > .flex-viewport,
	.fv-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
		grid-column: 2;
		grid-row: 1;
	}

	.fv-product .flex-control-thumbs {
		grid-column: 1;
		grid-row: 1;
		flex-direction: column;
		margin: 0;
		max-height: 100%;
		overflow-y: auto;
	}

	.fv-product .flex-control-thumbs li {
		flex: none;
	}
}

.fv-product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: rgb(246 241 233 / 92%);
	font-size: 0;
	text-decoration: none;
}

.fv-product .woocommerce-product-gallery__trigger::before {
	content: "";
	width: 1.1rem;
	height: 1.1rem;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121110' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E");
}

.fv-product .woocommerce-product-gallery__trigger img,
.fv-product .woocommerce-product-gallery__trigger span {
	display: none !important;
}

.fv-product .flex-direction-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fv-product .flex-direction-nav a {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-top: -1.375rem;
	border-radius: 50%;
	background: rgb(246 241 233 / 92%);
	font-size: 0;
	color: var(--fv-ink);
	text-decoration: none;
	opacity: 0;
	transition: opacity var(--fv-t);
}

.fv-product .woocommerce-product-gallery:hover .flex-direction-nav a,
.fv-product .flex-direction-nav a:focus-visible {
	opacity: 1;
}

.fv-product .flex-direction-nav .flex-prev {
	left: 1rem;
}

.fv-product .flex-direction-nav .flex-next {
	right: 1rem;
}

@media (min-width: 1024px) {
	.fv-product .flex-direction-nav .flex-prev {
		left: calc(5.5rem + 2rem);
	}
}

.fv-product .flex-direction-nav a::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: currentColor;
	mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M19 12H5m5-5-5 5 5 5'/%3E%3C/svg%3E");
}

.fv-product .flex-direction-nav .flex-next::before {
	transform: rotate(180deg);
}

.fv-product .flex-direction-nav .flex-disabled {
	display: none;
}

/* Résumé */
.fv-product__collection {
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fv-leather);
	margin: 0;
}

.fv-product__collection a {
	color: inherit;
	text-decoration: none;
}

.fv-product__title {
	font-family: var(--fv-serif);
	font-size: clamp(2rem, 3.4vw, 3rem);
	font-weight: 400;
	line-height: 1.08;
	margin: 0.75rem 0 0.9rem !important;
}

.fv-product__price,
.fv-product .woocommerce-variation-price .price {
	font-size: 1.25rem;
	margin: 0;
}

.fv-product__excerpt {
	color: var(--fv-muted);
	margin-top: 1.5rem !important;
	font-size: 0.9375rem;
	line-height: 1.75;
}

.fv-product__excerpt p {
	margin: 0;
}

.fv-product__form {
	margin-top: 2rem !important;
}

.fv-product form.cart {
	margin: 0;
}

.fv-product table.variations {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0 0 1rem;
}

.fv-product table.variations tr {
	display: block;
	margin-bottom: 1.4rem;
}

.fv-product table.variations th,
.fv-product table.variations td {
	display: block;
	padding: 0 !important;
	margin: 0;
	border: 0;
	line-height: 1.4;
	text-align: left;
	background: none;
}

.fv-product table.variations td.value {
	position: relative;
}

.fv-product table.variations th label {
	display: block;
	margin-bottom: 0.7rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: var(--fv-caps);
	text-transform: uppercase;
}

.fv-swatches__chosen {
	text-transform: none;
	letter-spacing: 0.02em;
	color: var(--fv-muted);
	font-weight: 400;
	font-size: 0.8125rem;
}

.fv-product .reset_variations[style*="hidden"] {
	display: none !important;
}

.fv-product .reset_variations {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.75rem;
	color: var(--fv-muted);
}

/* Pastilles (fiche produit et aperçu rapide) */
.fv-swatches__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.fv-swatch-btn,
.fv-swatch > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	height: 2.75rem;
	padding: 0 0.9rem;
	border: 1px solid var(--fv-line);
	background: transparent;
	color: var(--fv-ink);
	font-size: 0.8125rem;
	cursor: pointer;
	transition: background-color var(--fv-t), color var(--fv-t), border-color var(--fv-t), box-shadow var(--fv-t);
}

.fv-swatch-btn:hover,
.fv-swatch > span:hover {
	border-color: var(--fv-ink);
}

.fv-swatch-btn[aria-checked="true"],
.fv-swatch input:checked + span {
	background: var(--fv-ink);
	border-color: var(--fv-ink);
	color: var(--fv-ivory);
}

.fv-swatch-btn:disabled {
	opacity: 0.35;
	text-decoration: line-through;
	cursor: not-allowed;
}

.fv-swatch-btn--color,
.fv-swatches--color .fv-swatch > span {
	min-width: 0;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: var(--fv-swatch);
	box-shadow: inset 0 0 0 1px rgb(18 17 16 / 15%), 0 0 0 0 var(--fv-ivory), 0 0 0 0 var(--fv-ink);
}

.fv-swatch-btn--color[aria-checked="true"],
.fv-swatches--color .fv-swatch input:checked + span {
	background: var(--fv-swatch);
	box-shadow: inset 0 0 0 1px rgb(18 17 16 / 15%), 0 0 0 3px var(--fv-ivory), 0 0 0 4px var(--fv-ink);
}

.fv-swatch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.fv-swatch input:focus-visible + span {
	outline: 1px solid var(--fv-leather);
	outline-offset: 3px;
}

.fv-swatches {
	border: 0;
	padding: 0;
	margin: 0 0 1.25rem;
}

.fv-swatches legend {
	padding: 0;
	margin-bottom: 0.7rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: var(--fv-caps);
	text-transform: uppercase;
}

.fv-swatches legend span {
	text-transform: none;
	letter-spacing: 0.02em;
	color: var(--fv-muted);
	font-weight: 400;
}

/* Quantité & bouton d'ajout */
.fv-product .woocommerce-variation-add-to-cart,
.fv-product form.cart:not(.variations_form) {
	display: flex;
	gap: 0.75rem;
	align-items: stretch;
}

.fv-product .woocommerce-variation-add-to-cart {
	margin-top: 1rem;
}

.fv-product .single_variation_wrap .woocommerce-variation:empty,
.fv-product .woocommerce-variation.single_variation:not(:has(*:not(:empty))) {
	display: none !important;
}

.fv-product .woocommerce-variation-price {
	margin-bottom: 0.5rem;
}

.fv-qty {
	display: inline-flex;
	align-items: center;
	height: 3.25rem;
	border: 1px solid var(--fv-line);
	background: transparent;
}

.fv-qty button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 100%;
	border: 0;
	background: none;
	color: var(--fv-ink);
	cursor: pointer;
}

.fv-qty button:disabled {
	opacity: 0.3;
	cursor: default;
}

.fv-qty input,
.fv-qty .qty {
	width: 2.5rem;
	height: 100%;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 0.9375rem;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

.fv-qty--small {
	height: 2.25rem;
}

.fv-qty--small button {
	width: 2rem;
}

.fv-qty--small input {
	width: 2rem;
	font-size: 0.8125rem;
}

.fv-product .single_add_to_cart_button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0 2rem;
	border: 1px solid var(--fv-ink);
	border-radius: 0;
	background: var(--fv-ink);
	color: var(--fv-ivory);
	font-family: var(--fv-sans);
	font-size: 0.71875rem;
	font-weight: 500;
	letter-spacing: var(--fv-caps);
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--fv-t), border-color var(--fv-t);
}

.fv-product .woocommerce-variation-add-to-cart {
	width: 100%;
}

.fv-product .single_add_to_cart_button {
	flex: 1 1 11rem;
	max-width: none;
	min-width: 0;
	white-space: nowrap;
	padding-inline: 1.25rem;
}

.fv-product .woocommerce-variation-add-to-cart,
.fv-product form.cart:not(.variations_form) {
	flex-wrap: wrap;
}

@media (max-width: 599px) {
	.fv-product .fv-qty button {
		width: 2.25rem;
	}

	.fv-product .fv-qty input {
		width: 2.25rem;
	}
}

.fv-product .single_add_to_cart_button:hover,
.woocommerce .button:hover {
	background: var(--fv-leather);
	border-color: var(--fv-leather);
	color: var(--fv-ivory);
}

.fv-product .single_add_to_cart_button.disabled {
	opacity: 0.45;
}

.fv-product .stock {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	color: var(--fv-muted);
	margin: 0 0 1rem;
}

.fv-product .stock::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: #5f7a4f;
}

.fv-product .stock.out-of-stock::before {
	background: #9b4a3c;
}

.fv-product .woocommerce-variation-description {
	font-size: 0.875rem;
	color: var(--fv-muted);
}

/* Extras (souhaits, guide des tailles, réassurance) */
.fv-pextras {
	margin-top: 1.5rem;
}

.fv-pextras__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.75rem;
	padding-bottom: 1.5rem;
}

.fv-pextras__btn {
	position: static;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-size: 0.8125rem;
	color: var(--fv-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--fv-line);
	cursor: pointer;
}

.fv-pextras__btn:hover {
	transform: none;
	text-decoration-color: currentColor;
}

.fv-pextras__trust {
	list-style: none;
	margin: 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--fv-line);
	display: grid;
	gap: 0.75rem;
}

.fv-pextras__trust li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.8125rem;
	color: var(--fv-muted);
}

.fv-pextras__trust .fv-icon {
	color: var(--fv-leather);
}

.fv-pextras__pay {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 1.25rem;
}

.fv-pextras__pay p {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.75rem;
	color: var(--fv-muted);
}

.fv-pextras .fv-payments li,
.fv-cart .fv-payments li {
	border-color: var(--fv-line);
	color: var(--fv-muted);
}

/* Accordéons */
.fv-accordions {
	margin-top: 2rem;
	border-top: 1px solid var(--fv-line);
}

.fv-accordion {
	border-bottom: 1px solid var(--fv-line);
}

.fv-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.2rem;
	list-style: none;
	font-size: 0.71875rem;
	font-weight: 500;
	letter-spacing: var(--fv-caps);
	text-transform: uppercase;
	cursor: pointer;
}

.fv-accordion summary::-webkit-details-marker {
	display: none;
}

.fv-accordion__icon {
	position: relative;
	width: 12px;
	height: 12px;
}

.fv-accordion__icon::before,
.fv-accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 12px;
	height: 1px;
	background: currentColor;
	transition: transform var(--fv-t);
}

.fv-accordion__icon::after {
	transform: rotate(90deg);
}

.fv-accordion[open] .fv-accordion__icon::after {
	transform: rotate(0deg);
}

.fv-accordion__body {
	padding-bottom: 1.5rem;
	font-size: 0.875rem;
	line-height: 1.75;
	color: var(--fv-muted);
}

.fv-accordion__body a {
	color: var(--fv-ink);
}

.fv-specs {
	display: grid;
	margin: 1rem 0 0;
}

.fv-specs > div {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 1rem;
	padding-block: 0.6rem;
	border-top: 1px solid var(--fv-line);
}

.fv-specs dt {
	color: var(--fv-ink);
}

.fv-specs dd {
	margin: 0;
}

/* Barre d'achat fixe */
.fv-sticky-cart {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem var(--fv-gutter);
	background: var(--fv-ivory);
	border-top: 1px solid var(--fv-line);
	box-shadow: 0 -10px 30px rgb(18 17 16 / 8%);
	transform: translateY(110%);
	transition: transform 380ms var(--fv-ease);
}

.fv-sticky-cart.is-visible {
	transform: none;
}

.fv-sticky-cart[hidden] {
	display: none;
}

.fv-sticky-cart__product {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-width: 0;
}

.fv-sticky-cart__product img {
	width: 3rem;
	height: 3.75rem;
	object-fit: cover;
	background: var(--fv-sand);
}

.fv-sticky-cart__product > div {
	min-width: 0;
}

.fv-sticky-cart__name {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fv-sticky-cart__price {
	margin: 0.15rem 0 0;
	font-size: 0.8125rem;
	color: var(--fv-muted);
}

.fv-sticky-cart .fv-btn {
	min-height: 2.875rem;
	flex: none;
}

@media (max-width: 599px) {
	.fv-sticky-cart__product img {
		display: none;
	}

	.fv-sticky-cart .fv-btn {
		padding-inline: 1.25rem;
	}
}

/* Avis (dans l'accordéon) */
.fv-accordion #reviews .commentlist {
	list-style: none;
	padding: 0;
}

.fv-accordion #review_form input:not([type="checkbox"]),
.fv-accordion #review_form textarea {
	width: 100%;
	border: 1px solid var(--fv-line);
	padding: 0.75rem;
	background: var(--fv-white);
}

/* --------------------------------------------------------------------------
   Panier latéral
   -------------------------------------------------------------------------- */
.fv-cart.is-busy .fv-drawer__body,
.fv-cart.is-busy .fv-drawer__foot {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity var(--fv-t);
}

.fv-cart__status {
	font-size: 0.8125rem;
	color: var(--fv-muted);
	padding-top: 0.5rem;
}

.fv-cart__status:empty {
	display: none;
}

.fv-cart__status.is-error {
	color: #9b4a3c;
}

.fv-cart__items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fv-cart__items[hidden],
.fv-cart__empty[hidden] {
	display: none;
}

.fv-citem {
	position: relative;
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	gap: 1rem;
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--fv-line);
	transition: opacity var(--fv-t);
}

.fv-citem.is-removing {
	opacity: 0.35;
}

.fv-citem__img img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--fv-sand);
}

.fv-citem__body {
	min-width: 0;
	padding-right: 1.75rem;
}

.fv-citem__name {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--fv-ink);
	text-decoration: none;
}

.fv-citem__meta {
	display: grid;
	margin: 0.3rem 0 0;
	font-size: 0.75rem;
	color: var(--fv-muted);
}

.fv-citem__unit {
	margin: 0.3rem 0 0;
	font-size: 0.8125rem;
	color: var(--fv-muted);
}

.fv-citem__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.85rem;
}

.fv-citem__total {
	font-size: 0.9375rem;
	font-weight: 500;
	white-space: nowrap;
}

.fv-citem__remove {
	position: absolute;
	top: 1.1rem;
	right: -0.4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	background: none;
	color: var(--fv-muted);
	cursor: pointer;
}

.fv-citem__remove:hover {
	color: var(--fv-ink);
}

.fv-cart__empty {
	text-align: center;
	padding-block: 2.5rem 1rem;
}

.fv-cart__empty > .fv-icon {
	margin: 0 auto 1.25rem;
	color: var(--fv-leather);
}

.fv-cart__empty-title {
	font-family: var(--fv-serif);
	font-size: 1.75rem;
	margin: 0;
}

.fv-cart__empty-text {
	color: var(--fv-muted);
	font-size: 0.875rem;
	margin: 0.5rem 0 1.5rem;
}

.fv-cart__suggest {
	margin-top: 2.75rem;
	text-align: left;
}

.fv-mini-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.fv-mini-list a {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 1rem;
	align-items: center;
	color: var(--fv-ink);
	text-decoration: none;
}

.fv-mini-list img {
	width: 4.5rem;
	height: 5.625rem;
	object-fit: cover;
	background: var(--fv-sand);
}

.fv-mini-list a > span {
	display: grid;
	gap: 0.2rem;
}

.fv-mini-list__name {
	font-size: 0.875rem;
	font-weight: 500;
}

.fv-mini-list__price {
	font-size: 0.8125rem;
	color: var(--fv-muted);
}

.fv-cart__coupon {
	border-bottom: 1px solid var(--fv-line);
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.fv-cart__coupon summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.fv-cart__coupon summary::-webkit-details-marker {
	display: none;
}

.fv-cart__coupon[open] summary .fv-icon {
	transform: rotate(180deg);
}

.fv-inline-form {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.9rem;
}

.fv-inline-form input {
	flex: 1;
	min-width: 0;
	padding: 0 0.9rem;
	height: 2.875rem;
	border: 1px solid var(--fv-line);
	background: var(--fv-white);
	font-size: 0.875rem;
	text-transform: uppercase;
	border-radius: 0;
}

.fv-inline-form .fv-btn {
	min-height: 2.875rem;
	padding-inline: 1.25rem;
}

.fv-cart__coupons {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.fv-cart__coupons .fv-chip {
	background: var(--fv-sand);
	border-color: var(--fv-sand);
	font-weight: 500;
}

.fv-cart__totals {
	margin: 0;
	display: grid;
	gap: 0.4rem;
}

.fv-cart__totals > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.fv-cart__totals dt {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fv-cart__totals dd {
	margin: 0;
	font-family: var(--fv-serif);
	font-size: 1.5rem;
}

.fv-cart__note {
	margin: 0.25rem 0 1.1rem;
	font-size: 0.75rem;
	color: var(--fv-muted);
}

.fv-cart__foot .fv-link-btn {
	display: block;
	margin: 0.9rem auto 0;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Aperçu rapide
   -------------------------------------------------------------------------- */
.fv-quickview {
	display: grid;
}

@media (min-width: 782px) {
	.fv-quickview {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	}
}

.fv-quickview__loading {
	padding: 5rem 2rem;
	text-align: center;
	color: var(--fv-muted);
	grid-column: 1 / -1;
}

.fv-quickview__gallery {
	background: var(--fv-sand);
}

.fv-quickview__main img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.fv-quickview__thumbs {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem;
}

.fv-quickview__thumbs button {
	width: 3.5rem;
	padding: 0;
	border: 1px solid transparent;
	background: none;
	cursor: pointer;
	opacity: 0.6;
}

.fv-quickview__thumbs button.is-active {
	border-color: var(--fv-ink);
	opacity: 1;
}

.fv-quickview__thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.fv-quickview__summary {
	padding: clamp(1.75rem, 4vw, 3rem);
	display: flex;
	flex-direction: column;
}

.fv-quickview__title {
	font-family: var(--fv-serif);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 0.75rem;
}

.fv-quickview__price {
	font-size: 1.125rem;
}

.fv-quickview__desc {
	color: var(--fv-muted);
	font-size: 0.875rem;
	line-height: 1.7;
	margin: 1.25rem 0 1.75rem;
}

.fv-quickview__msg {
	min-height: 1.25rem;
	font-size: 0.8125rem;
	color: #9b4a3c;
	margin: 0 0 0.5rem;
}

.fv-quickview__buy {
	display: flex;
	gap: 0.75rem;
}

.fv-quickview__buy .fv-btn {
	flex: 1;
}

.fv-quickview .fv-link-arrow {
	align-self: flex-start;
	margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   Liste de souhaits
   -------------------------------------------------------------------------- */
.fv-wishlist .fv-grid:empty {
	display: none;
}

/* --------------------------------------------------------------------------
   Panier & checkout (blocs WooCommerce)
   -------------------------------------------------------------------------- */
.fv-main--cart .wp-block-woocommerce-cart,
.fv-main--checkout .wp-block-woocommerce-checkout {
	margin-top: 0;
}

.wc-block-components-main,
.wc-block-components-sidebar {
	box-sizing: border-box;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar,
.wp-block-woocommerce-checkout .wc-block-components-sidebar {
	background: var(--fv-sand);
	padding: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.wc-block-components-title,
.wc-block-cart__totals-title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
	font-family: var(--fv-serif) !important;
	font-weight: 400 !important;
	text-transform: none !important;
	font-size: 1.5rem !important;
	letter-spacing: 0 !important;
}

.wc-block-components-checkout-step__title {
	font-family: var(--fv-serif) !important;
	font-size: 1.625rem !important;
	font-weight: 400 !important;
}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: 3.25rem;
	border-radius: 0 !important;
	background: var(--fv-ink) !important;
	color: var(--fv-ivory) !important;
	border: 1px solid var(--fv-ink) !important;
	font-family: var(--fv-sans);
	font-size: 0.71875rem !important;
	font-weight: 500 !important;
	letter-spacing: var(--fv-caps) !important;
	text-transform: uppercase;
	transition: background-color var(--fv-t), border-color var(--fv-t);
}

.wc-block-components-button:not(.is-link):hover {
	background: var(--fv-leather) !important;
	border-color: var(--fv-leather) !important;
}

.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-blocks-components-select__select,
.wc-block-components-textarea,
.wc-block-components-combobox .components-combobox-control input {
	border-radius: 0 !important;
	border-color: var(--fv-line) !important;
	background: var(--fv-white) !important;
}

.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus {
	border-color: var(--fv-ink) !important;
	box-shadow: none !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.wc-block-components-radio-control__input {
	border-color: var(--fv-line) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	background: var(--fv-ink) !important;
	border-color: var(--fv-ink) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: var(--fv-ivory) !important;
}

.wc-block-components-product-name {
	font-weight: 500;
	color: var(--fv-ink);
	text-decoration: none;
}

.wc-block-cart-items__header,
.wc-block-cart-items th {
	font-size: 0.6875rem !important;
	letter-spacing: var(--fv-caps) !important;
	text-transform: uppercase;
	color: var(--fv-muted);
	font-weight: 500 !important;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--fv-sand);
}

.wc-block-components-quantity-selector {
	border-radius: 0 !important;
	border-color: var(--fv-line) !important;
}

.wc-block-components-quantity-selector::after {
	border-radius: 0 !important;
	border-color: var(--fv-line) !important;
}

.wc-block-components-totals-item__label {
	font-size: 0.875rem;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-family: var(--fv-serif);
	font-size: 1.5rem !important;
	font-weight: 400 !important;
}

.wc-block-components-sale-badge,
.wc-block-components-product-badge {
	border-radius: 0 !important;
	border: 0 !important;
	background: var(--fv-leather) !important;
	color: var(--fv-ivory) !important;
	font-size: 0.625rem !important;
	letter-spacing: 0.12em;
}

.wc-block-components-panel__button,
.wc-block-components-totals-coupon-link {
	font-size: 0.8125rem;
}

.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button {
	color: var(--fv-muted);
	font-size: 0.8125rem;
}

/* Panier vide (bloc) */
.wp-block-woocommerce-empty-cart-block {
	text-align: center;
	padding-block: 2rem 0;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	font-family: var(--fv-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	content: "";
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0 auto 1.25rem;
	background: var(--fv-leather);
	-webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E");
	mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E");
}

.wp-block-woocommerce-empty-cart-block .fv-products {
	text-align: left;
}

/* --------------------------------------------------------------------------
   Messages WooCommerce
   -------------------------------------------------------------------------- */
.wc-block-components-notice-banner {
	border-radius: 0 !important;
	border: 0 !important;
	border-left: 3px solid var(--fv-leather) !important;
	background: var(--fv-sand) !important;
	color: var(--fv-ink) !important;
	font-size: 0.875rem !important;
	padding: 1rem 1.25rem !important;
}

.wc-block-components-notice-banner.is-error {
	border-left-color: #9b4a3c !important;
}

.wc-block-components-notice-banner.is-success {
	border-left-color: #5f7a4f !important;
}

.wc-block-components-notice-banner > svg {
	background: transparent !important;
	fill: currentColor !important;
}

.wc-block-components-notice-banner .wc-forward,
.wc-block-components-notice-banner a {
	color: var(--fv-ink) !important;
	text-decoration: underline;
	opacity: 1 !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--fv-leather);
	background: var(--fv-sand);
	font-size: 0.875rem;
}

.woocommerce-error {
	border-left-color: #9b4a3c;
}

.woocommerce-message .button,
.woocommerce-info .button {
	flex: none;
	min-height: 2.5rem;
	order: 2;
}

/* --------------------------------------------------------------------------
   Mon compte (gabarits classiques WooCommerce)
   -------------------------------------------------------------------------- */
.fv-main--account .woocommerce {
	max-width: var(--fv-wide);
	margin-inline: auto;
}

.fv-main--account .wp-block-post-content > .woocommerce {
	margin-top: 0;
}

@media (min-width: 1024px) {
	.fv-main--account .wp-block-post-content:has(> .woocommerce-MyAccount-navigation) {
		display: grid;
		grid-template-columns: 240px minmax(0, 1fr);
		column-gap: 4rem;
		align-items: start;
	}

	.fv-main--account .wp-block-post-content > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) {
		grid-column: 1 / -1;
	}

	.fv-main--account .wp-block-post-content > * {
		margin-block-start: 0;
	}
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	border-top: 1px solid var(--fv-line);
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--fv-line);
	font-size: 0.71875rem;
	font-weight: 500;
	letter-spacing: var(--fv-caps);
	text-transform: uppercase;
	color: var(--fv-muted);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
	color: var(--fv-ink);
}

.woocommerce-MyAccount-navigation li.is-active a {
	border-bottom-color: var(--fv-ink);
}

.woocommerce-MyAccount-content {
	font-size: 0.9375rem;
}

#customer_login {
	display: grid;
	gap: 1.5rem;
}

#customer_login::before,
#customer_login::after {
	display: none;
}

.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
	border: 0;
	padding: 0;
	margin: 0;
	border-radius: 0;
}

@media (min-width: 900px) {
	#customer_login {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

#customer_login .u-column1,
#customer_login .u-column2,
.fv-main--account .woocommerce > form.login,
.fv-main--account .woocommerce-ResetPassword {
	padding: clamp(1.75rem, 4vw, 3rem);
	background: var(--fv-sand);
	width: auto;
	float: none;
	max-width: none;
}

#customer_login h2,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	font-family: var(--fv-serif);
	font-size: 1.875rem;
	font-weight: 400;
	margin: 0 0 1.5rem;
}

.woocommerce form .form-row {
	display: grid;
	gap: 0.45rem;
	margin: 0 0 1.1rem;
	padding: 0;
}

.woocommerce form .form-row label {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.875rem;
	font-weight: 400;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce-MyAccount-content input.input-text {
	width: 100%;
	height: 3.125rem;
	padding: 0 1rem;
	border: 1px solid var(--fv-line);
	border-radius: 0;
	background: var(--fv-white);
	font-size: 0.9375rem;
}

.woocommerce form .form-row .input-text:focus {
	border-color: var(--fv-ink);
	outline: none;
}

.woocommerce .password-input {
	display: flex;
	position: relative;
}

.woocommerce .show-password-input {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: none;
	cursor: pointer;
}

.woocommerce .woocommerce-form-login__submit,
.woocommerce .woocommerce-form-register__submit {
	width: 100%;
	margin-top: 0.5rem;
}

.woocommerce-LostPassword,
.lost_password {
	font-size: 0.8125rem;
	margin: 1rem 0 0;
}

.woocommerce form.register > p:not(.form-row):not(.woocommerce-privacy-policy-text) {
	font-size: 0.875rem;
	color: var(--fv-muted);
}

.woocommerce-privacy-policy-text {
	font-size: 0.8125rem;
	color: var(--fv-muted);
}

.woocommerce table.shop_table,
.woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 1rem 0.5rem;
	border-bottom: 1px solid var(--fv-line);
	text-align: left;
}

.woocommerce table.shop_table th {
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fv-muted);
	font-weight: 500;
}

.woocommerce-Addresses {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 782px) {
	.woocommerce-Addresses {
		grid-template-columns: 1fr 1fr;
	}
}

.woocommerce-Address {
	padding: 1.75rem;
	background: var(--fv-sand);
}

/* Confirmation de commande */
.wc-block-order-confirmation-status {
	font-family: var(--fv-serif);
}
