/* AFIWAI SmartShop front finishing layer — alpha.14. */
.afiwai-smart-shop-ecosystem{
	--ss-content-narrow:760px;
	--ss-content-medium:980px;
	--ss-content-wide:1240px;
	--ss-space-1:8px;
	--ss-space-2:12px;
	--ss-space-3:18px;
	--ss-space-4:24px;
	--ss-space-5:32px;
	--ss-space-6:48px;
	--ss-space-7:72px;
}

.afiwai-smart-shop-main{
	scroll-behavior:smooth;
}

.afiwai-smart-shop-main h1,
.afiwai-smart-shop-main h2,
.afiwai-smart-shop-main h3{
	color:var(--afiwai-shop-text);
	font-weight:800;
}

.afiwai-template-elegant .afiwai-smart-shop-main h1,
.afiwai-template-elegant .afiwai-smart-shop-main h2,
.afiwai-template-elegant .afiwai-smart-shop-main h3{
	font-family:Georgia,"Times New Roman",serif;
	font-weight:500;
}

.afiwai-smart-shop-main p,
.afiwai-smart-shop-main li,
.afiwai-smart-shop-main small{
	color:var(--afiwai-shop-muted);
}

.afiwai-smart-shop-main section{
	position:relative;
}

.afiwai-smart-shop-main>section:not(:first-child)::before{
	position:absolute;
	top:calc(var(--ss-section-space) / -2);
	left:0;
	width:100%;
	height:1px;
	background:linear-gradient(90deg,transparent,var(--ss-line),transparent);
	content:"";
}

.afiwai-smart-shop-home-hero,
.afiwai-smart-shop-page-hero{
	isolation:isolate;
}

.afiwai-smart-shop-home-hero::after,
.afiwai-smart-shop-page-hero::after{
	position:absolute;
	z-index:-1;
	right:-90px;
	bottom:-110px;
	width:280px;
	height:280px;
	border-radius:50%;
	background:color-mix(in srgb,var(--afiwai-shop-secondary) 10%,transparent);
	content:"";
	filter:blur(4px);
}

.afiwai-smart-shop-home-hero__content>span,
.afiwai-smart-shop-page-hero>div:first-child>span{
	display:inline-flex;
	align-items:center;
	gap:8px;
	min-height:30px;
	padding:0 11px;
	border-radius:999px;
	background:color-mix(in srgb,var(--afiwai-shop-primary) 10%,var(--afiwai-shop-surface));
	color:var(--afiwai-shop-primary);
	font-size:12px;
	font-weight:850;
	letter-spacing:.08em;
	text-transform:uppercase;
}

.afiwai-shop-section-heading>div>span{
	display:inline-flex;
	margin-bottom:4px;
}

.afiwai-shop-section-heading>a,
.afiwai-smart-section-heading>a{
	display:inline-flex;
	min-height:42px;
	padding:0 14px;
	align-items:center;
	border:1px solid color-mix(in srgb,var(--afiwai-shop-primary) 26%,transparent);
	border-radius:12px;
	background:var(--afiwai-shop-surface);
	color:var(--afiwai-shop-primary);
	font-weight:800;
	text-decoration:none;
}

.afiwai-shop-section-heading>a:hover,
.afiwai-smart-section-heading>a:hover{
	border-color:var(--afiwai-shop-primary);
	box-shadow:0 10px 24px color-mix(in srgb,var(--afiwai-shop-primary) 10%,transparent);
}

.afiwai-storefront-navigation-cards a,
.afiwai-shop-category-card,
.afiwai-shop-featured-card,
.afiwai-smart-shop-term-card,
.afiwai-account-overview article,
.afiwai-favorites-suggestions article,
.afiwai-product-information-grid article{
	transition:
		transform .18s ease,
		border-color .18s ease,
		box-shadow .18s ease,
		background .18s ease;
}

.afiwai-storefront-navigation-cards a:hover,
.afiwai-shop-category-card:hover,
.afiwai-shop-featured-card:hover,
.afiwai-smart-shop-term-card:hover,
.afiwai-account-overview article:hover,
.afiwai-favorites-suggestions article:hover,
.afiwai-product-information-grid article:hover{
	transform:translateY(-4px);
	border-color:color-mix(in srgb,var(--afiwai-shop-primary) 55%,transparent);
	box-shadow:0 22px 50px rgba(15,43,68,.12);
}

.afiwai-shop-category-card__number{
	box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--afiwai-shop-primary) 14%,transparent);
}

.afiwai-shop-category-card strong,
.afiwai-smart-shop-term-card strong,
.afiwai-account-overview strong,
.afiwai-favorites-suggestions strong{
	letter-spacing:-.012em;
}

.afiwai-shop-collection-card>div:last-child,
.afiwai-shop-featured-card>div:last-child{
	gap:10px;
}

.afiwai-shop-collection-card p,
.afiwai-shop-featured-card small{
	line-height:1.6;
}

.afiwai-smart-catalog-shell{
	overflow:visible;
}

.afiwai-smart-catalog-filters{
	box-shadow:0 14px 32px rgba(15,43,68,.08);
}

.afiwai-smart-catalog-filters input::placeholder{
	color:color-mix(in srgb,var(--afiwai-shop-muted) 76%,transparent);
}

.afiwai-product-card{
	min-height:100%;
}

.afiwai-product-card .afiwai-product-badge{
	box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.afiwai-product-card-footer{
	padding-top:var(--ss-space-2);
	border-top:1px solid color-mix(in srgb,var(--afiwai-shop-primary) 10%,transparent);
}

.afiwai-product-card-footer strong{
	white-space:nowrap;
}

.afiwai-product-buybox{
	position:relative;
	overflow:hidden;
}

.afiwai-product-buybox::before{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:4px;
	background:linear-gradient(90deg,var(--afiwai-shop-primary),var(--afiwai-shop-secondary));
	content:"";
}

.afiwai-product-description{
	max-width:var(--ss-content-narrow);
}

.afiwai-product-option-block{
	box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--afiwai-shop-primary) 5%,transparent);
}

.afiwai-product-purchase button,
.afiwai-smart-add-to-cart,
.afiwai-smart-checkout-submit{
	position:relative;
	overflow:hidden;
}

.afiwai-product-purchase button::after,
.afiwai-smart-add-to-cart::after,
.afiwai-smart-checkout-submit::after{
	position:absolute;
	top:0;
	left:-120%;
	width:70%;
	height:100%;
	background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
	content:"";
	transform:skewX(-18deg);
	transition:left .38s ease;
}

.afiwai-product-purchase button:hover::after,
.afiwai-smart-add-to-cart:hover::after,
.afiwai-smart-checkout-submit:hover::after{
	left:150%;
}

.afiwai-smart-cart-content,
.afiwai-smart-cart-summary,
.afiwai-smart-checkout-card,
.afiwai-smart-checkout-summary{
	overflow:hidden;
}

.afiwai-smart-cart-summary,
.afiwai-smart-checkout-summary{
	border-top:4px solid var(--afiwai-shop-primary);
}

.afiwai-smart-cart-line{
	transition:border-color .16s ease,background .16s ease;
}

.afiwai-smart-cart-line:hover{
	border-color:color-mix(in srgb,var(--afiwai-shop-primary) 42%,transparent);
	background:color-mix(in srgb,var(--afiwai-shop-primary) 4%,var(--afiwai-shop-surface));
}

.afiwai-smart-checkout-card__heading>span{
	box-shadow:0 10px 22px color-mix(in srgb,var(--afiwai-shop-primary) 24%,transparent);
}

.afiwai-smart-payment-choice label{
	transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.afiwai-smart-payment-choice label:hover{
	transform:translateY(-2px);
	border-color:color-mix(in srgb,var(--afiwai-shop-primary) 42%,transparent);
}

.afiwai-tracking-timeline article:not(:last-child)::after{
	background:linear-gradient(var(--afiwai-shop-primary),color-mix(in srgb,var(--afiwai-shop-primary) 12%,#dce6ee));
}

.afiwai-account-main__aside,
.afiwai-tracking-workspace__timeline{
	overflow:hidden;
}

.afiwai-account-main__aside::after,
.afiwai-tracking-workspace__timeline::after{
	position:absolute;
	right:-40px;
	bottom:-50px;
	width:150px;
	height:150px;
	border-radius:50%;
	background:color-mix(in srgb,var(--afiwai-shop-primary) 8%,transparent);
	content:"";
}

.afiwai-favorites-empty{
	position:relative;
	overflow:hidden;
}

.afiwai-favorites-empty::after{
	position:absolute;
	z-index:0;
	right:-80px;
	bottom:-100px;
	width:260px;
	height:260px;
	border-radius:50%;
	background:color-mix(in srgb,var(--afiwai-shop-primary) 6%,transparent);
	content:"";
}

.afiwai-favorites-empty>*{
	position:relative;
	z-index:1;
}

.afiwai-smart-shop-reassurance article{
	background:
		linear-gradient(180deg,color-mix(in srgb,var(--afiwai-shop-primary) 3%,var(--afiwai-shop-surface)),var(--afiwai-shop-surface));
}

.afiwai-template-backbar>.afiwai-template-back-link{
	letter-spacing:.01em;
}

.afiwai-template-backbar>.afiwai-template-back-link::after{
	margin-left:auto;
	color:color-mix(in srgb,var(--afiwai-shop-muted) 70%,transparent);
	font-size:11px;
	font-weight:650;
	content:"Écosystème AFIWAI";
}

@media(max-width:900px){
	.afiwai-smart-shop-main>section:not(:first-child)::before{
		top:-28px;
	}
	.afiwai-template-backbar>.afiwai-template-back-link::after{
		display:none;
	}
}

@media(max-width:700px){
	.afiwai-shop-section-heading>a,
	.afiwai-smart-section-heading>a{
		width:100%;
		justify-content:center;
	}
	.afiwai-smart-shop-reassurance article,
	.afiwai-account-overview article,
	.afiwai-favorites-suggestions article{
		min-height:0;
	}
	.afiwai-smart-cart-content,
	.afiwai-smart-cart-summary,
	.afiwai-smart-checkout-card,
	.afiwai-smart-checkout-summary{
		padding:22px 16px;
	}
	.afiwai-template-backbar>.afiwai-template-back-link{
		min-height:46px;
		font-size:12px;
	}
}
