/* ==========================================================================
   Frixa — composants : bandeau, en-tête, tiroirs, recherche, pied de page,
   cartes, badges, sections d'accueil, collections.
   ========================================================================== */

/* Bandeau d'annonce ------------------------------------------------------- */
.announcement-bar {
	background: rgb(var(--color-accent));
	color: rgb(var(--color-background));
}

.announcement-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 3.8rem;
}

.announcement-bar__slider {
	flex: 0 1 50rem;
	text-align: center;
}

.announcement-bar__message {
	margin: 0;
	padding: 1rem 0;
	font-size: 1.2rem;
	letter-spacing: 0.1rem;
	line-height: 1.5;
}

.announcement-bar__message.is-active {
	animation: frixa-fade-in var(--duration-long) ease;
}

.announcement-bar__arrow {
	background: none;
	border: 0;
	color: inherit;
	padding: 0.6rem;
	display: flex;
	opacity: 0.8;
}

.announcement-bar__arrow:hover {
	opacity: 1;
}

.announcement-bar__arrow .icon {
	width: 1.4rem;
	height: 1.4rem;
}

@keyframes frixa-fade-in {
	from {
		opacity: 0;
		transform: translateY(0.4rem);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* En-tête ------------------------------------------------------------------ */
.section-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgb(var(--color-background));
	border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
	transition: transform 0.15s ease-out;
}

.admin-bar .section-header {
	top: 46px;
}

@media screen and (min-width: 783px) {
	.admin-bar .section-header {
		top: 32px;
	}
}

.section-header.is-hidden {
	transform: translateY(-105%);
}

.header {
	display: grid;
	grid-template-areas: "left-icon heading icons";
	grid-template-columns: 1fr 2fr 1fr;
	align-items: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
	min-height: var(--header-height);
}

@media screen and (min-width: 990px) {
	.header {
		grid-template-areas: "heading navigation icons";
		/* Logo à gauche, menu centré sur la page, icônes à droite. */
		grid-template-columns: 1fr auto 1fr;
		column-gap: 2rem;
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}

.header__heading {
	grid-area: heading;
	justify-self: center;
	margin: 0;
	line-height: 0;
}

@media screen and (min-width: 990px) {
	.header__heading {
		justify-self: start;
	}
}

.header__heading-link,
.custom-logo-link {
	display: inline-block;
	padding: 0.75rem;
	text-decoration: none;
	color: rgb(var(--color-foreground));
}

.custom-logo {
	display: block;
	height: 2rem;
	width: auto;
	max-width: 100%;
}

@media screen and (min-width: 750px) {
	.custom-logo {
		height: 2.4rem;
	}
}

.header__wordmark {
	font-size: 2.6rem;
	font-weight: 600;
	letter-spacing: 0.4rem;
	text-transform: uppercase;
	line-height: 1;
}

.header__inline-menu {
	grid-area: navigation;
	display: none;
}

@media screen and (min-width: 990px) {
	.header__inline-menu {
		display: block;
		justify-self: center;
	}

	.header__inline-menu .list-menu--inline {
		justify-content: center;
	}
}

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

.list-menu--inline {
	display: inline-flex;
	flex-wrap: wrap;
}

.list-menu--inline > li {
	position: relative;
}

.list-menu--inline > li > a {
	display: block;
	padding: 1.2rem;
	font-size: 1.5rem;
	letter-spacing: 0.06rem;
	color: rgba(var(--color-foreground), 0.75);
	text-decoration: none;
	line-height: 1.8;
}

.list-menu--inline > li > a:hover,
.list-menu--inline > .current-menu-item > a,
.list-menu--inline > .current-product_cat-ancestor > a {
	color: rgb(var(--color-foreground));
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.list-menu--inline .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 20rem;
	padding: 2rem 0;
	margin: 0;
	list-style: none;
	background: rgb(var(--color-background));
	border: 0.1rem solid rgba(var(--color-foreground), 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.6rem);
	transition: opacity var(--duration-default) ease, transform var(--duration-default) ease;
	z-index: 2;
}

.list-menu--inline li:hover > .sub-menu,
.list-menu--inline li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.list-menu--inline .sub-menu a {
	display: block;
	padding: 0.8rem 2rem;
	font-size: 1.4rem;
	color: rgba(var(--color-foreground), 0.75);
	text-decoration: none;
}

.list-menu--inline .sub-menu a:hover {
	color: rgb(var(--color-foreground));
	text-decoration: underline;
}

.header__icons {
	grid-area: icons;
	justify-self: end;
	display: flex;
	padding-right: 0.8rem;
}

.header__icon {
	color: rgb(var(--color-foreground));
	height: 4.4rem;
	width: 4.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 0;
	position: relative;
	text-decoration: none;
}

.header__icon .icon {
	width: 2.2rem;
	height: 2.2rem;
	transition: transform var(--duration-short) ease;
}

.header__icon:hover .icon {
	transform: scale(1.07);
}

.header__icon--menu {
	grid-area: left-icon;
	justify-self: start;
	margin-left: -1.2rem;
}

@media screen and (min-width: 990px) {
	.header__icon--menu {
		display: none;
	}
}

.cart-count-bubble {
	position: absolute;
	background-color: rgb(var(--color-button));
	color: rgb(var(--color-button-text));
	height: 1.7rem;
	min-width: 1.7rem;
	padding: 0 0.4rem;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 0.9rem;
	bottom: 0.8rem;
	left: 2.2rem;
	line-height: 1;
}

.cart-count-bubble.is-bump {
	animation: frixa-bump 0.4s ease;
}

@keyframes frixa-bump {
	50% {
		transform: scale(1.35);
	}
}

/* Tiroirs & modales -------------------------------------------------------- */
.drawer,
.modal,
.search-modal,
.product-media-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(var(--color-foreground), 0.5);
	opacity: 0;
	transition: opacity var(--duration-default) ease;
}

.is-open .drawer__overlay {
	opacity: 1;
}

.drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40rem;
	max-width: 100vw;
	background: rgb(var(--color-background));
	display: flex;
	flex-direction: column;
	transition: transform var(--duration-default) ease;
	outline: none;
	box-shadow: 0 0 3rem rgba(var(--color-foreground), 0.1);
}

.drawer--right .drawer__panel {
	right: 0;
	transform: translateX(100%);
}

.drawer--left .drawer__panel {
	left: 0;
	transform: translateX(-100%);
}

.is-open .drawer__panel {
	transform: none;
}

.drawer__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 2rem;
	position: relative;
}

.drawer--left .drawer__header {
	justify-content: flex-end;
	border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.drawer__heading {
	margin: 0;
	font-size: 2rem;
}

.drawer__close,
.modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.4rem;
	height: 4.4rem;
	margin-right: -1.2rem;
	padding: 0;
	background: none;
	border: 0;
	color: rgb(var(--color-foreground));
}

.drawer__close .icon,
.modal__close .icon {
	width: 2rem;
	height: 2rem;
}

/* Menu mobile */
.menu-drawer__navigation {
	padding: 2rem 0;
	overflow-y: auto;
	flex: 1;
}

.menu-drawer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-drawer__menu a {
	display: block;
	padding: 1.1rem 3rem;
	font-size: 1.8rem;
	color: rgb(var(--color-foreground));
	text-decoration: none;
}

.menu-drawer__menu a:hover,
.menu-drawer__menu .current-menu-item > a {
	background: rgb(var(--color-background-2));
}

.menu-drawer__menu .sub-menu {
	list-style: none;
	padding: 0 0 0 1.5rem;
	margin: 0;
}

.menu-drawer__menu .sub-menu a {
	font-size: 1.5rem;
	color: rgba(var(--color-foreground), 0.75);
}

.menu-drawer__utility-links {
	padding: 2rem 3rem;
	background: rgba(var(--color-foreground), 0.03);
}

.menu-drawer__account {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	font-size: 1.4rem;
	color: rgb(var(--color-foreground));
	text-decoration: none;
}

/* Modale générique */
.modal {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

.modal__panel {
	position: relative;
	background: rgb(var(--color-background));
	width: 100%;
	max-width: 64rem;
	max-height: calc(100vh - 4rem);
	overflow-y: auto;
	padding: 4rem 3rem 3rem;
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity var(--duration-default) ease, transform var(--duration-default) ease;
	outline: none;
}

.is-open .modal__panel {
	opacity: 1;
	transform: none;
}

.modal__close {
	position: absolute;
	top: 0.6rem;
	right: 1.8rem;
}

.modal__title {
	margin-bottom: 1rem;
}

.size-table {
	margin-top: 2rem;
	font-size: 1.4rem;
	text-align: center;
}

.size-table th,
.size-table td {
	padding: 1rem 0.8rem;
	border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.size-table th {
	color: rgb(var(--color-foreground));
	font-weight: 600;
}

/* Ajout rapide */
.quick-add__panel {
	max-width: 86rem;
	padding: 0;
}

.quick-add__grid {
	display: grid;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 750px) {
	.quick-add__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.quick-add__media img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

@media screen and (max-width: 749px) {
	.quick-add__media {
		display: none;
	}
}

.quick-add__info {
	padding: 4rem 3rem 3rem;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	justify-content: center;
}

.quick-add__title {
	font-size: 2.4rem;
}

.quick-add__details {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.4rem;
	align-self: flex-start;
}

.quick-add__details .icon {
	width: 1.4rem;
	height: 1.4rem;
}

/* Recherche ---------------------------------------------------------------- */
.search-modal__content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: rgb(var(--color-background));
	padding: 2rem 0;
	transform: translateY(-100%);
	transition: transform var(--duration-default) ease;
	max-height: 100vh;
	overflow-y: auto;
	border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.is-open .search-modal__content {
	transform: none;
}

.search-modal__inner {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.search-modal__form {
	flex: 1;
	max-width: 74rem;
	margin: 0 auto;
	position: relative;
}

.search-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.4rem;
	height: 4.4rem;
	background: none;
	border: 0;
	padding: 0;
	color: rgb(var(--color-foreground));
}

.predictive-search {
	margin-top: 1rem;
	border: 0.1rem solid rgba(var(--color-foreground), 0.1);
	background: rgb(var(--color-background));
	padding: 1.5rem 0;
}

.predictive-search__heading {
	font-size: 1rem;
	letter-spacing: 0.13rem;
	text-transform: uppercase;
	color: rgba(var(--color-foreground), 0.7);
	padding: 0 2rem 1rem;
	margin: 0 2rem 1rem;
	border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
	padding-left: 0;
}

.predictive-search__list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.predictive-search__item {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 1rem 2rem;
	text-decoration: none;
	color: rgb(var(--color-foreground));
}

.predictive-search__item:hover,
.predictive-search__item:focus {
	background: rgba(var(--color-foreground), 0.04);
}

.predictive-search__item:hover .predictive-search__item-heading {
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.predictive-search__image {
	width: 5rem;
	height: 6.6rem;
	object-fit: cover;
	flex-shrink: 0;
}

.predictive-search__item-content {
	display: flex;
	flex-direction: column;
	font-size: 1.4rem;
}

.predictive-search__item-content .price {
	font-size: 1.3rem;
	color: rgba(var(--color-foreground), 0.75);
}

.predictive-search__all {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 2rem 0.5rem;
	margin: 0 0;
	border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
	color: rgb(var(--color-foreground));
	text-decoration: none;
	font-size: 1.4rem;
}

.predictive-search__all:hover {
	text-decoration: underline;
}

.predictive-search__empty {
	padding: 0 2rem;
	margin: 0;
	font-size: 1.4rem;
}

/* Pied de page ------------------------------------------------------------ */
.footer {
	border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
	margin-top: auto;
	background: rgb(var(--color-background-2));
}

.footer__content-top {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.footer__blocks-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
}

@media screen and (min-width: 750px) {
	.footer__content-top {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}

	.footer__blocks-wrapper {
		grid-template-columns: repeat(2, 1fr);
		gap: 4rem 3rem;
	}
}

@media screen and (min-width: 990px) {
	.footer__blocks-wrapper {
		grid-template-columns: 1fr 1fr 1fr 1fr 1.6fr;
		gap: 4rem 2.4rem;
	}
}

.footer-block__heading--logo {
	display: flex;
	align-items: center;
	min-height: calc(1.8rem * 1.3);
	line-height: 0;
}

.footer-logo {
	display: inline-block;
}

.footer-logo__image {
	height: 2rem;
	width: auto;
	max-width: 100%;
}

.footer-contact {
	font-size: 1.4rem;
	line-height: 1.9;
	color: rgba(var(--color-foreground), 0.75);
}

.footer-contact a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.footer-contact a:hover {
	color: rgb(var(--color-foreground));
}

.footer-block__heading {
	font-size: 1.8rem;
	margin-bottom: 2rem;
}

.footer-block__details-content {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-block__details-content li {
	margin-bottom: 0.6rem;
}

.footer-block__details-content a {
	color: rgba(var(--color-foreground), 0.75);
	text-decoration: none;
	font-size: 1.4rem;
	transition: text-decoration-thickness var(--duration-short) ease;
}

.footer-block__details-content a:hover {
	color: rgb(var(--color-foreground));
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.newsletter-form {
	max-width: 36rem;
}

.newsletter-form--section {
	max-width: 36rem;
	margin: 3rem auto 0;
}

.newsletter-form__message {
	justify-content: flex-start;
}

.newsletter-form--section .newsletter-form__message {
	justify-content: center;
}

.list-social {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 2rem 0 0 -1.1rem;
}

.list-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.1rem;
	color: rgb(var(--color-foreground));
}

.list-social__link .icon {
	width: 1.8rem;
	height: 1.8rem;
	transition: transform var(--duration-short) ease;
}

.list-social__link:hover .icon {
	transform: scale(1.07);
}

.footer__content-bottom {
	border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.footer__column--info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.6rem;
	text-align: center;
}

.list-payment {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.payment-icon {
	width: 3.8rem;
	height: 2.4rem;
}

.footer__copyright {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.4rem 1.6rem;
	max-width: 46rem;
}

.copyright__content {
	flex-basis: 100%;
	font-size: 1.1rem;
	color: rgba(var(--color-foreground), 0.75);
	white-space: nowrap;
}

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

/* Les liens deviennent des éléments de la même ligne que le copyright. */
.policies {
	display: contents;
}

.policies li {
	font-size: 1.1rem;
	color: rgba(var(--color-foreground), 0.75);
	white-space: nowrap;
}

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

.policies a:hover {
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

/* Ordinateur : une ligne — copyright et mentions à gauche (séparés par « · »),
   moyens de paiement à droite. Le « · » d'un élément en début de ligne est masqué. */
@media screen and (min-width: 990px) {
	.footer__column--info {
		flex-direction: row-reverse;
		justify-content: space-between;
		align-items: center;
		gap: 4rem;
		text-align: left;
		/* Masque le « · » d'un lien placé en début de ligne (il tombe dans la marge négative). */
		overflow: hidden;
	}

	.footer__copyright {
		flex: 1;
		min-width: 0;
		max-width: none;
		justify-content: flex-start;
		gap: 0.4rem 0;
		margin-left: -1.6rem;
	}

	.copyright__content,
	.policies li {
		position: relative;
		flex-basis: auto;
		margin-left: 1.6rem;
	}

	.policies li::before {
		content: "\00B7";
		position: absolute;
		left: -1rem;
	}

	.list-payment {
		flex-wrap: nowrap;
		justify-content: flex-end;
		flex-shrink: 0;
	}
}

/* Badges ------------------------------------------------------------------ */
.badge {
	display: inline-block;
	border: 0.1rem solid transparent;
	border-radius: var(--badge-radius);
	font-size: 1.2rem;
	letter-spacing: 0.1rem;
	line-height: 1;
	padding: 0.5rem 1.3rem 0.6rem;
	text-align: center;
	background-color: rgb(var(--color-background));
	color: rgb(var(--color-foreground));
	word-break: break-word;
}

.badge--sale {
	background-color: rgb(var(--color-sale));
	color: rgb(var(--color-background));
}

.badge--soldout {
	background-color: rgb(var(--color-background-2));
	color: rgb(var(--color-foreground));
	border-color: rgba(var(--color-foreground), 0.04);
}

/* Prix -------------------------------------------------------------------- */
.price {
	font-size: 1.6rem;
	letter-spacing: 0.1rem;
	line-height: 1.5;
	color: rgb(var(--color-foreground));
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 1rem;
}

.price s,
.price del,
.price-item--regular {
	color: rgba(var(--color-foreground), 0.75);
	font-size: 1.3rem;
	text-decoration-thickness: 0.1rem;
}

.price ins {
	text-decoration: none;
}

.price .badge {
	margin-left: 0.4rem;
}

.price--large {
	font-size: 1.6rem;
}

@media screen and (min-width: 750px) {
	.price--large {
		font-size: 1.8rem;
	}

	.price--large .price-item--regular {
		font-size: 1.6rem;
	}
}

/* Cartes produit ---------------------------------------------------------- */
.card-wrapper {
	height: 100%;
	position: relative;
	color: inherit;
}

.card {
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	text-decoration: none;
}

.card__inner {
	position: relative;
	overflow: hidden;
	background: rgb(var(--color-background-2));
	aspect-ratio: 3 / 4;
	border-radius: var(--media-radius);
}

.card__media,
.card__media .media {
	position: absolute;
	inset: 0;
}

.card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: opacity var(--duration-extra-long) ease, transform var(--duration-extra-long) ease;
}

.media--hover-effect > img + img {
	opacity: 0;
}

@media screen and (hover: hover) and (min-width: 990px) {
	.card-wrapper:hover .media--hover-effect > img:first-child:not(:only-child) {
		opacity: 0;
	}

	.card-wrapper:hover .media--hover-effect > img + img {
		opacity: 1;
		transform: scale(1.03);
	}

	.card-wrapper:hover .media:not(.media--hover-effect) > img {
		transform: scale(1.03);
	}
}

.card__badge {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	z-index: 1;
	display: flex;
	gap: 0.4rem;
}

.card__content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 1.3rem 0 0;
	gap: 0.4rem;
}

.card__information {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.card__heading {
	font-size: 1.3rem;
	line-height: 1.4;
	margin: 0;
}

@media screen and (min-width: 750px) {
	.card__heading {
		font-size: 1.5rem;
	}
}

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

.card-wrapper:hover .card__heading a,
.card__heading a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.card__heading .icon {
	display: inline-block;
	width: 1.4rem;
	height: 1.4rem;
	margin-left: 0.6rem;
	vertical-align: middle;
	transition: transform var(--duration-short) ease;
}

.card-wrapper:hover .card__heading .icon,
.collection-card:hover .card__heading .icon {
	transform: translateX(0.4rem);
}

.card-information .price {
	font-size: 1.3rem;
}

@media screen and (min-width: 750px) {
	.card-information .price {
		font-size: 1.5rem;
	}
}

.card-information .price-item--regular {
	font-size: 1.2rem;
}

.quick-add {
	position: relative;
	z-index: 2;
	margin-top: auto;
	padding-top: 1rem;
}

.quick-add__submit {
	min-height: 3.6rem;
	font-size: 1.2rem;
	padding: 0 1rem;
	min-width: 0;
}

@media screen and (max-width: 749px) {
	.quick-add__submit {
		font-size: 1.1rem;
		letter-spacing: 0.05rem;
	}
}

/* Sections d'accueil ------------------------------------------------------- */
.section-title {
	margin: 0 0 3rem;
}

.title-wrapper-with-link {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 3rem;
}

.title-wrapper-with-link .section-title,
.title-wrapper-with-link .title {
	margin: 0;
}

.title-wrapper-with-link a {
	font-size: 1.4rem;
	flex-shrink: 0;
}

.collection__view-all {
	margin-top: 3rem;
}

@media screen and (min-width: 750px) {
	.collection__view-all {
		display: none;
	}
}

/* Bannière */
.banner {
	position: relative;
	display: flex;
	min-height: 56rem;
	overflow: hidden;
	background: rgb(var(--color-background-2));
}

@media screen and (min-width: 750px) {
	.banner {
		min-height: 72rem;
	}
}

.banner__media {
	position: absolute;
	inset: 0;
}

.banner--split .banner__media {
	right: 50%;
}

.banner--split .banner__media--second {
	left: 50%;
	right: 0;
}

@media screen and (max-width: 749px) {
	.banner--split .banner__media {
		right: 0;
	}
}

.banner__media picture {
	display: block;
	width: 100%;
	height: 100%;
}

.banner__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

/* Bannière avec image mobile dédiée (format vertical) : texte en bas, sujet dégagé. */
@media screen and (max-width: 749px) {
	.banner--has-mobile {
		min-height: min(88svh, 76rem);
	}

	.banner--has-mobile .banner__media img {
		object-position: center 45%;
	}
}

@media screen and (min-width: 750px) {
	.banner--has-mobile .banner__media img {
		object-position: center 35%;
	}

	.banner--has-mobile .banner__content {
		align-items: flex-end;
		padding-bottom: 7rem;
	}
}

.banner__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(42, 33, 30, 0.05) 0%, rgba(42, 33, 30, 0.45) 100%);
}

.banner__content {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

@media screen and (min-width: 750px) {
	.banner__content {
		align-items: center;
	}
}

.banner__box {
	max-width: 71rem;
	text-align: center;
	color: rgb(var(--color-background));
	padding: 1rem 0;
}

.banner__heading {
	color: inherit;
	font-size: 3.6rem;
	line-height: 1.1;
	margin-bottom: 1.6rem;
}

@media screen and (min-width: 750px) {
	.banner__heading {
		font-size: 5.6rem;
	}
}

.banner__text {
	font-size: 1.6rem;
	margin-bottom: 3rem;
	color: rgba(var(--color-background), 0.9);
}

@media screen and (min-width: 750px) {
	.banner__text {
		font-size: 1.8rem;
	}
}

.banner--placeholder .banner__box {
	color: rgb(var(--color-foreground));
}

/* Image avec texte */
.image-with-text__grid {
	display: grid;
	grid-template-columns: 1fr;
	background: rgb(var(--color-background-2));
}

@media screen and (min-width: 750px) {
	.image-with-text__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.image-with-text__media img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.image-with-text__content {
	padding: 4rem 3rem 5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 1.6rem;
}

@media screen and (min-width: 750px) {
	.image-with-text__content {
		padding: 6rem 7rem;
	}
}

.image-with-text__heading {
	font-size: 3rem;
}

@media screen and (min-width: 750px) {
	.image-with-text__heading {
		font-size: 4rem;
	}
}

.image-with-text__text {
	margin-bottom: 1rem;
}

/* Liste des collections */
.collection-card .card__inner {
	aspect-ratio: 3 / 4;
}

.collection-card .card__heading {
	font-size: 1.6rem;
}

@media screen and (min-width: 750px) {
	.collection-card .card__heading {
		font-size: 1.8rem;
	}
}

/* Texte riche */
.rich-text__inner {
	max-width: 78rem;
}

.rich-text__heading {
	font-size: 3rem;
	margin-bottom: 2rem;
}

@media screen and (min-width: 750px) {
	.rich-text__heading {
		font-size: 4rem;
	}
}

/* Réassurance */
.multicolumn-list__item {
	padding: 1rem 1.5rem;
}

.multicolumn-card__icon {
	width: 3.2rem !important;
	height: 3.2rem !important;
	margin: 0 auto 1.6rem;
	color: rgb(var(--color-accent));
	stroke-width: 1.2;
}

.multicolumn-card__title {
	font-size: 1.7rem;
	margin-bottom: 0.8rem;
}

.multicolumn-card__text {
	font-size: 1.4rem;
	margin: 0;
}

/* Newsletter */
.newsletter__heading {
	font-size: 3rem;
	margin-bottom: 1.6rem;
}

@media screen and (min-width: 750px) {
	.newsletter__heading {
		font-size: 4rem;
	}
}

/* Collection ---------------------------------------------------------------- */
.collection-hero {
	padding-top: 3.6rem;
	padding-bottom: 1rem;
}

@media screen and (min-width: 750px) {
	.collection-hero {
		padding-top: 5rem;
		padding-bottom: 2rem;
	}
}

.collection-hero__title {
	margin: 0 0 1.5rem;
}

.collection-hero__description {
	max-width: 66rem;
	font-size: 1.5rem;
}

.collection {
	padding-bottom: 6rem;
}

.facets-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 2rem;
	padding-bottom: 2.6rem;
}

.facets__form {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	width: 100%;
}

.facets__wrapper,
.facets__sort {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem 2.5rem;
}

.facets__heading {
	font-size: 1.4rem;
	color: rgba(var(--color-foreground), 0.85);
	margin: 0;
}

.facets__disclosure {
	position: relative;
}

.facets__summary {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.4rem;
	color: rgba(var(--color-foreground), 0.75);
	cursor: pointer;
	list-style: none;
	padding: 0.6rem 0;
}

.facets__summary::-webkit-details-marker {
	display: none;
}

.facets__summary:hover span {
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.facets__summary .icon {
	width: 1.4rem;
	height: 1.4rem;
	transition: transform var(--duration-short) ease;
}

.facets__disclosure[open] .facets__summary .icon {
	transform: rotate(180deg);
}

.facets__display {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: -1.2rem;
	z-index: 5;
	background: rgb(var(--color-background));
	border: 0.1rem solid rgba(var(--color-foreground), 0.2);
	padding: 1.5rem 2rem;
	min-width: 22rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	box-shadow: 0 0.4rem 1.6rem rgba(var(--color-foreground), 0.06);
}

.facets__price {
	flex-direction: row;
	min-width: 30rem;
	gap: 1.6rem;
}

.facet-checkbox {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.4rem;
	cursor: pointer;
	color: rgb(var(--color-foreground));
}

.facet-checkbox input {
	width: 1.6rem;
	height: 1.6rem;
	accent-color: rgb(var(--color-foreground));
	margin: 0;
}

.facets__reset {
	font-size: 1.4rem;
}

.facets__sort .select__select {
	box-shadow: none;
	height: auto;
	min-height: 0;
	padding: 0.6rem 2.6rem 0.6rem 0;
	font-size: 1.4rem;
	color: rgba(var(--color-foreground), 0.75);
	background: transparent;
}

.facets__sort .select .icon-caret {
	right: 0;
	width: 1.4rem;
	height: 1.4rem;
}

.product-count {
	font-size: 1.4rem;
	color: rgba(var(--color-foreground), 0.75);
}

.facets__drawer-header,
.facets__drawer-footer {
	padding: 1.5rem 2rem;
}

.facets__drawer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.facets__drawer-title {
	margin: 0;
	font-size: 1.8rem;
	color: rgb(var(--color-foreground));
}

.facets-drawer > .drawer__overlay {
	display: none;
}

@media screen and (max-width: 989px) {
	.facets-container > .facets-drawer {
		position: fixed;
		inset: 0;
		z-index: 100;
		visibility: hidden;
	}

	.facets-drawer.is-open {
		visibility: visible;
	}

	.facets-drawer > .drawer__overlay {
		display: block;
	}

	.facets__form {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 36rem;
		max-width: 90vw;
		background: rgb(var(--color-background));
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		transform: translateX(100%);
		transition: transform var(--duration-default) ease;
		overflow-y: auto;
	}

	.facets-drawer.is-open .facets__form {
		transform: none;
	}

	.facets__wrapper,
	.facets__sort {
		flex-direction: column;
		align-items: stretch;
		padding: 1rem 2rem;
		gap: 0;
	}

	.facets__heading.small-hide {
		display: none;
	}

	.facets__disclosure {
		border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
	}

	.facets__summary {
		justify-content: space-between;
		padding: 1.5rem 0;
		font-size: 1.5rem;
		color: rgb(var(--color-foreground));
	}

	.facets__display {
		position: static;
		border: 0;
		box-shadow: none;
		padding: 0 0 1.5rem;
		min-width: 0;
	}

	.facets__sort {
		padding-top: 2rem;
	}

	.facets__sort .select__select {
		box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.55);
		padding: 1.2rem 4rem 1.2rem 1.5rem;
		margin-top: 0.8rem;
	}

	.facets__sort .select .icon-caret {
		right: 1.5rem;
		top: calc(50% + 0.4rem);
	}

	.facets__sort .product-count {
		display: none;
	}

	.facets__drawer-footer {
		margin-top: auto;
		border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
	}

	.facets__reset {
		padding: 1.5rem 0 0;
	}
}

/* Pagination */
.woocommerce-pagination {
	margin-top: 4rem;
}

.woocommerce-pagination ul.page-numbers,
.nav-links {
	display: flex;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 0.4rem;
}

.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 4.4rem;
	height: 4.4rem;
	font-size: 1.4rem;
	color: rgb(var(--color-foreground));
	text-decoration: none;
}

a.page-numbers:hover {
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.page-numbers.current {
	position: relative;
}

.page-numbers.current::after {
	content: "";
	position: absolute;
	bottom: 0.8rem;
	left: 50%;
	width: 1.6rem;
	height: 0.1rem;
	transform: translateX(-50%);
	background: rgb(var(--color-foreground));
}

.collection--empty {
	text-align: center;
	padding: 4rem 0;
}

.collection--empty__title {
	margin-bottom: 1rem;
}

.collection--empty .button {
	margin-top: 2rem;
}

/* Notification (toast) ---------------------------------------------------- */
.toast {
	position: fixed;
	z-index: 120;
	left: 50%;
	bottom: 2rem;
	transform: translateX(-50%);
	background: rgb(var(--color-foreground));
	color: rgb(var(--color-background));
	padding: 1.2rem 2rem;
	font-size: 1.4rem;
	max-width: calc(100vw - 3rem);
	animation: frixa-fade-in var(--duration-default) ease;
}

/* Articles / pages ------------------------------------------------------- */
.page-title {
	text-align: left;
}

.blog-articles {
	display: grid;
	gap: 4rem 2rem;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 750px) {
	.blog-articles {
		grid-template-columns: repeat(3, 1fr);
	}
}

.article-card__image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	margin-bottom: 1.6rem;
}

.article-card {
	position: relative;
}

.article-card__title {
	font-size: 2rem;
	margin-bottom: 0.6rem;
}

.article-template__hero img {
	width: 100%;
	max-height: 60rem;
	object-fit: cover;
}

.article-template__header {
	padding-top: 4rem;
	padding-bottom: 2rem;
}

.article-template__content {
	padding-bottom: 6rem;
}

.template-404 .button {
	margin-top: 2rem;
}

@media screen and (min-width: 990px) {
	.facets-drawer {
		width: 100%;
	}
}

/* Touches de couleur ------------------------------------------------------- */
.caption-with-letter-spacing {
	color: rgb(var(--color-accent));
}

.image-with-text__grid,
.rich-text.color-scheme-2 {
	background: rgb(var(--color-accent-soft));
}

/* Formulaire de contact (Contact Form 7) ---------------------------------- */
.wpcf7 {
	max-width: 60rem;
	margin-top: 3rem;
}

.wpcf7 p {
	margin: 0 0 2rem;
}

.wpcf7 label {
	display: block;
	font-size: 1.4rem;
	color: rgb(var(--color-foreground));
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.6rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	display: block;
	width: 100%;
	min-height: 4.5rem;
	padding: 1.2rem 1.5rem;
	border: 0;
	border-radius: var(--inputs-radius);
	background: rgb(var(--color-background));
	color: rgb(var(--color-foreground));
	font-size: 1.6rem;
	box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.55);
	transition: box-shadow var(--duration-short) ease;
}

.wpcf7 textarea {
	min-height: 16rem;
	resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(var(--color-foreground), 0.75);
}

.wpcf7 .wpcf7-submit {
	width: auto;
}

.wpcf7 .wpcf7-spinner {
	vertical-align: middle;
}

.wpcf7-not-valid-tip {
	font-size: 1.3rem;
	color: rgb(var(--color-error));
	margin-top: 0.4rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2rem 0 0;
	padding: 1.2rem 1.6rem;
	font-size: 1.4rem;
	border: 0.1rem solid rgba(var(--color-foreground), 0.2);
}

/* Menu : indicateur de sous-menu */
.list-menu--inline > .menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.list-menu--inline > .menu-item-has-children > a::after {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-right: 0.1rem solid currentColor;
	border-bottom: 0.1rem solid currentColor;
	transform: translateY(-0.2rem) rotate(45deg);
	margin-left: 0.4rem;
	transition: transform var(--duration-short) ease;
}

.list-menu--inline > .menu-item-has-children:hover > a::after {
	transform: translateY(0.1rem) rotate(-135deg);
}

/* ==========================================================================
   Guide morphologie « Le jean qui vous va »
   ========================================================================== */
.fit-icon {
	flex-shrink: 0;
	width: 4rem;
	height: 5rem;
	color: rgb(var(--color-foreground));
	overflow: visible;
}

.fit-icon__letter {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 48px;
	fill: rgb(var(--color-accent));
	opacity: 0.85;
}

/* Section d'accueil */
.fit-finder__grid {
	display: grid;
	grid-template-columns: 1fr;
	background: rgb(var(--color-background-2));
}

@media screen and (min-width: 990px) {
	.fit-finder__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.fit-finder__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 5rem 2rem;
}

@media screen and (min-width: 750px) {
	.fit-finder__content {
		padding: 7rem 6rem;
	}
}

.fit-finder__title {
	font-size: 3rem;
	margin: 1rem 0 0;
}

@media screen and (min-width: 750px) {
	.fit-finder__title {
		font-size: 4rem;
	}
}

.fit-finder__rule {
	display: block;
	width: 2.4rem;
	height: 0.1rem;
	margin: 2rem auto;
	background: rgb(var(--color-foreground));
}

.fit-finder__text {
	max-width: 48rem;
	margin: 0 auto 3.2rem;
}

.fit-finder__media img {
	width: 100%;
	height: 100%;
	min-height: 40rem;
	object-fit: cover;
}

.fit-form--home {
	width: 100%;
	max-width: 50rem;
}

.fit-summary {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	margin-bottom: 3.2rem;
}

.fit-summary__row {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	width: 100%;
	padding: 1rem 1.6rem;
	text-align: left;
	background: rgb(var(--color-background));
	border: 0.1rem solid rgba(var(--color-foreground), 0.12);
	border-radius: 0.4rem;
	color: rgb(var(--color-foreground));
	font-size: 1.5rem;
	line-height: 1.4;
	transition: border-color var(--duration-short) ease;
}

.fit-summary__row:hover {
	border-color: rgba(var(--color-foreground), 0.4);
}

.fit-summary__row strong {
	font-weight: 600;
}

.fit-summary__text {
	flex: 1;
}

.fit-summary__row > .icon-caret {
	width: 1.6rem;
	height: 1.6rem;
}

.fit-summary__row:not(.is-filled) .fit-summary__text {
	color: rgba(var(--color-foreground), 0.7);
}

/* Panneau en deux étapes (feuille glissant du bas) */
.fit-modal {
	position: fixed;
	inset: 0;
	z-index: 110;
}

.fit-modal__sheet {
	text-align: left;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: 88vh;
	overflow-y: auto;
	background: rgb(var(--color-background));
	padding: 4rem 2rem 0;
	transform: translateY(100%);
	transition: transform 0.3s var(--ease);
	outline: none;
}

.is-open .fit-modal__sheet {
	transform: none;
}

.fit-modal__close {
	position: absolute;
	top: 1.2rem;
	right: 2rem;
}

.fit-step {
	border: 0;
	margin: 0 auto;
	padding: 0;
	max-width: 50rem;
	min-width: 0;
}

.fit-step__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-bottom: 2.4rem;
	text-align: center;
}

.fit-step__count {
	font-size: 1.3rem;
	color: rgba(var(--color-foreground), 0.75);
}

.fit-step__title {
	font-size: 2.6rem;
	color: rgb(var(--color-foreground));
	line-height: 1.3;
}

.fit-options {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-bottom: 2.4rem;
}

.fit-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.4rem;
	padding: 0.8rem 1.6rem;
	border: 0.1rem solid rgba(var(--color-foreground), 0.12);
	border-radius: 0.4rem;
	background: rgb(var(--color-background));
	cursor: pointer;
	font-size: 1.5rem;
	line-height: 1.4;
	color: rgb(var(--color-foreground));
	transition: border-color var(--duration-short) ease, background var(--duration-short) ease;
}

.fit-option:hover {
	border-color: rgba(var(--color-foreground), 0.4);
}

.fit-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.fit-option strong {
	font-weight: 600;
}

.fit-option__label {
	flex: 1;
	text-align: left;
}

.fit-option__radio {
	width: 1.8rem;
	height: 1.8rem;
	flex-shrink: 0;
	border-radius: 50%;
	border: 0.1rem solid rgba(var(--color-foreground), 0.3);
	position: relative;
}

.fit-option:has(input:checked) {
	border-color: rgb(var(--color-foreground));
	background: rgb(var(--color-background-2));
}

.fit-option input:checked ~ .fit-option__radio {
	border-color: rgb(var(--color-foreground));
}

.fit-option input:checked ~ .fit-option__radio::after {
	content: "";
	position: absolute;
	inset: 0.3rem;
	border-radius: 50%;
	background: rgb(var(--color-foreground));
}

.fit-option:has(input:focus-visible) {
	outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
	outline-offset: 0.2rem;
}

.fit-modal__footer {
	position: sticky;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin: 0 -2rem;
	padding: 1.6rem 2rem calc(1.6rem + env(safe-area-inset-bottom));
	background: rgb(var(--color-background));
	border-top: 0.1rem solid rgba(var(--color-foreground), 0.1);
}

.fit-nav {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.3rem;
	text-transform: uppercase;
	letter-spacing: 0.08rem;
	color: rgb(var(--color-foreground));
}

.fit-nav .icon {
	width: 1.4rem;
	height: 1.4rem;
}

.fit-nav--next {
	margin-left: auto;
}

.fit-modal__submit {
	margin-left: auto;
}

/* Bandeau sur la collection Jeans */
.fit-results {
	margin-top: 2.4rem;
}

.fit-results__box,
.fit-results__start {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	padding: 1.6rem 2rem;
	background: rgb(var(--color-background-2));
	border-radius: 0.4rem;
}

.fit-results__title {
	margin: 0;
	font-size: 1.5rem;
	color: rgb(var(--color-foreground));
	font-weight: 600;
}

.fit-results__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fit-chip {
	padding: 0.4rem 1.2rem;
	border-radius: 4rem;
	background: rgb(var(--color-accent));
	color: rgb(var(--color-background));
	font-size: 1.3rem;
}

.fit-results__cuts {
	flex-basis: 100%;
	margin: 0;
	font-size: 1.4rem;
}

.fit-results__actions {
	display: flex;
	gap: 2rem;
	font-size: 1.4rem;
}

.fit-results__start {
	width: 100%;
	border: 0;
	text-align: left;
	color: rgb(var(--color-foreground));
	font-size: 1.4rem;
	line-height: 1.5;
}

.fit-results__start > span {
	flex: 1;
}

.fit-results__start strong {
	font-size: 1.6rem;
	font-weight: 600;
}

.fit-results__start .icon-arrow {
	transition: transform var(--duration-short) ease;
}

.fit-results__start:hover .icon-arrow {
	transform: translateX(0.4rem);
}
