/* Alexa : page d'accueil. */

.alx-home {
	padding: 0;
	max-width: none;
	overflow-x: clip;
}

.alx-sec {
	padding-top: 34px;
}

.alx-sh {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--alx-sp-4);
	margin-bottom: var(--alx-sp-4);
}

.alx-sh h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.alx-link {
	padding-bottom: 1px;
	border-bottom: 1px solid var(--alx-ink);
	color: var(--alx-ink);
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

/* Bloc du haut (bannières et tuiles) : assets/css/home-hero.css */

/* Tuiles de la rangée « Tendances » */

.alx-card-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 120px;
	padding: 22px;
	overflow: hidden;
	border-radius: 14px;
	background: var(--alx-tile-bg, var(--alx-soft));
	color: var(--alx-ink);
	text-decoration: none;
}

.alx-card-tile b,
.alx-card-tile span {
	position: relative;
	z-index: 1;
}

.alx-card-tile b {
	font-size: 20px;
	font-weight: 600;
}

.alx-card-tile span {
	margin-top: 3px;
	color: var(--alx-text-soft);
	font-size: 13.5px;
}

.alx-card-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.3s;
}

.alx-card-tile.has-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 60%);
}

.alx-card-tile.has-img b,
.alx-card-tile.has-img span {
	color: #fff;
}

.alx-card-tile.has-img:hover .alx-card-tile__img {
	transform: scale(1.03);
}

/* Ronds de catégories -------------------------------------------------- */

.alx-cats-row {
	padding-top: 26px;
}

.alx-rounds {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.alx-rounds::-webkit-scrollbar {
	display: none;
}

.alx-rounds li {
	flex: 1 0 92px;
	min-width: 0;
	margin: 0;
}

.alx-round {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	color: var(--alx-ink);
	font-size: 13px;
	text-align: center;
	text-decoration: none;
}

.alx-round__pic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--alx-round-bg, var(--alx-soft));
	transition: transform 0.15s;
}

.alx-round__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.alx-round:hover .alx-round__pic {
	transform: scale(1.04);
}

.alx-round em {
	font-style: normal;
	font-weight: 500;
	line-height: 1.25;
}

.alx-round--promo {
	color: var(--alx-promo);
}

.alx-round--promo .alx-round__pic {
	background: color-mix(in srgb, var(--alx-promo) 14%, #fff);
}

/* Bandeau --------------------------------------------------------------- */

.alx-band {
	margin-top: 28px;
	background: var(--alx-lilac);
}

.alx-band .alx-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 52px;
	font-size: 14px;
}

/* Rangées de produits ---------------------------------------------------- */

.alx-chips-row {
	display: flex;
	gap: 8px;
	margin-bottom: var(--alx-sp-4);
}

.alx-chips-row button {
	flex: none;
	height: 34px;
	padding: 0 16px;
	border: 1px solid var(--alx-line);
	border-radius: var(--alx-radius-pill);
	background: none;
	color: var(--alx-ink);
	font: inherit;
	font-size: 13.5px;
	cursor: pointer;
}

.alx-chips-row button.is-on {
	border-color: var(--alx-ink);
	background: var(--alx-ink);
	color: #fff;
}

.alx-rw {
	position: relative;
}

.alx-rw.is-loading .alx-rail {
	opacity: 0.45;
	transition: opacity 0.15s;
}

.alx-home ul.products.alx-rail,
.alx-home .swe-rv ul.products {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.alx-home ul.products.alx-rail::-webkit-scrollbar,
.alx-home .swe-rv ul.products::-webkit-scrollbar {
	display: none;
}

.alx-home ul.products li.product {
	display: block;
	flex: none;
	width: calc((100% - 48px) / 5);
	min-width: 0;
	margin: 0;
	container-type: inline-size;
	scroll-snap-align: start;
	--swe-badge-new-bg: #fff;
	--swe-badge-new-fg: var(--alx-ink);
	--swe-badge-best-bg: #fff;
	--swe-badge-best-fg: var(--alx-ink);
	--swe-badge-low-bg: #fff;
	--swe-badge-low-fg: var(--alx-ink);
	--swe-badge-soldout-bg: var(--alx-ink);
	--swe-badge-soldout-fg: #fff;
	--swe-badge-discount-bg: var(--alx-promo);
	--swe-badge-discount-fg: #fff;
	--swe-badge-radius: 999px;
	--swe-badge-padding: 5px 8px;
	--swe-badge-font-size: 11px;
	--swe-badge-offset: 8px;
}

.alx-home ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	color: var(--alx-ink);
	text-decoration: none;
}

.alx-home ul.products li.product img {
	border-radius: 0;
	margin: 0;
}

.alx-home ul.products li.product .woocommerce-loop-product__title {
	margin: 9px 0 0;
	overflow: hidden;
	color: #222;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.alx-home ul.products li.product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	margin: 3px 0 0;
	color: var(--alx-ink);
	font-size: 14px;
	font-weight: 600;
}

.alx-home ul.products li.product .price ins {
	order: 1;
	color: var(--alx-promo);
	text-decoration: none;
}

.alx-home ul.products li.product .price del {
	order: 2;
	color: #8a8a90;
	font-size: 12.5px;
	font-weight: 400;
}

.alx-home ul.products li.product .button,
.alx-home ul.products li.product .added_to_cart,
.alx-home ul.products li.product .star-rating {
	display: none;
}

.alx-home ul.products li.product .swe-badges--shift {
	top: var(--swe-badge-offset);
	max-width: calc(100% - 56px);
}

.alx-home ul.products li.product button.swe-wl-btn--overlay {
	top: 8px;
	right: 8px;
	left: auto;
	width: 32px;
	height: 32px;
	box-shadow: none;
}

.alx-home ul.products li.product button.swe-qv-btn--overlay {
	top: calc(133.333cqw - 40px);
	right: 8px;
	width: 32px;
	height: 32px;
	box-shadow: none;
}

.alx-empty {
	flex: 1;
	padding: 40px 0;
	color: var(--alx-text-soft);
	text-align: center;
}

.alx-ar {
	position: absolute;
	top: 34%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
	color: var(--alx-ink);
	cursor: pointer;
}

.alx-ar[hidden] {
	display: none;
}

.alx-ar--l {
	left: -14px;
}

.alx-ar--r {
	right: -14px;
}

/* Vus récemment (shortcode du plugin) ------------------------------------ */

.alx-home .swe-rv {
	margin: 0;
}

.alx-home .swe-rv .swe-rv__title {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* Services -------------------------------------------------------------- */

.alx-services__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--alx-sp-4);
}

.alx-service {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	min-height: 200px;
	padding: 22px;
	border-radius: 14px;
	background: var(--alx-soft);
	color: var(--alx-ink);
	text-decoration: none;
}

.alx-service:only-child {
	grid-column: 1 / -1;
}

.alx-service--gift {
	background: var(--alx-lilac-strong);
}

.alx-service--pickup {
	background: #f3f1ec;
}

.alx-service b {
	font-size: 24px;
	font-weight: 600;
}

.alx-service span {
	max-width: 380px;
	margin: 3px 0 16px;
	color: var(--alx-text-soft);
	font-size: 13.5px;
}

.alx-service b:last-child {
	margin-bottom: 0;
}

.alx-service .alx-btn {
	font-size: 14px;
	font-style: normal;
}

.alx-service {
	position: relative;
	overflow: hidden;
}

.alx-service__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.alx-service.has-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 60%);
}

.alx-service.has-img b,
.alx-service.has-img span,
.alx-service.has-img .alx-btn {
	position: relative;
	z-index: 1;
}

.alx-service.has-img b,
.alx-service.has-img span {
	color: #fff;
}

.alx-service--pickup .alx-btn {
	border: 1.5px solid var(--alx-ink);
	background: none;
	color: var(--alx-ink);
}

/* Tendances, boutiques, réassurance -------------------------------------- */

.alx-tg {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--alx-sp-4);
}

.alx-tg .alx-card-tile {
	min-height: 200px;
}

/* Mobile ------------------------------------------------------------------ */

@media (max-width: 767px) {
	.alx-sec {
		padding-top: 24px;
	}

	.alx-sh {
		margin-bottom: 12px;
	}

	.alx-sh h2,
	.alx-home .swe-rv .swe-rv__title {
		font-size: 18px;
	}

	.alx-card-tile {
		min-height: 84px;
		padding: 14px;
		border-radius: 12px;
	}

	.alx-card-tile.has-img {
		min-height: 120px;
	}

	.alx-card-tile b {
		font-size: 15px;
	}

	.alx-card-tile span {
		font-size: 12px;
	}

	.alx-cats-row {
		padding-top: 18px;
	}

	.alx-cats-row .alx-wrap {
		padding: 0;
	}

	/* Deux rangées qui défilent ensemble (colonnes qui s'enchaînent), environ 4,5 ronds visibles par rangée. */
	.alx-rounds {
		display: grid;
		grid-auto-flow: column;
		grid-template-rows: repeat(2, auto);
		grid-auto-columns: calc((100vw - 16px - 36px) / 4.5);
		gap: 14px 9px;
		padding: 0 16px;
		overscroll-behavior-x: contain;
	}

	.alx-rounds li {
		flex: none;
		width: auto;
	}

	.alx-round {
		gap: 6px;
		font-size: 12px;
	}

	.alx-round__pic {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
	}

	.alx-round__pic svg {
		width: 26px;
		height: 26px;
	}

	.alx-round em {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		max-width: 100%;
		overflow: hidden;
		line-height: 1.2;
		overflow-wrap: anywhere;
	}

	.alx-band {
		margin-top: 20px;
	}

	.alx-band .alx-wrap {
		justify-content: space-between;
		gap: 12px;
		min-height: 42px;
		font-size: 12.5px;
	}

	.alx-chips-row {
		margin: 0 -16px 12px;
		padding: 0 16px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.alx-chips-row::-webkit-scrollbar {
		display: none;
	}

	.alx-chips-row button {
		height: 32px;
		padding: 0 14px;
		font-size: 13px;
	}

	.alx-home ul.products.alx-rail,
	.alx-home .swe-rv ul.products {
		gap: 10px;
		margin: 0 -16px;
		padding: 0 16px;
		scroll-padding-left: 16px;
	}

	.alx-home ul.products li.product {
		width: 41vw;
	}

	.alx-home ul.products li.product button.swe-qv-btn--overlay,
	.alx-ar {
		display: none;
	}

	.alx-tg {
		display: flex;
		gap: 10px;
		margin: 0 -16px;
		padding: 0 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.alx-tg::-webkit-scrollbar {
		display: none;
	}

	.alx-tg .alx-card-tile {
		flex: none;
		width: 62vw;
		min-height: 130px;
		padding: 16px;
		scroll-snap-align: start;
	}

	.alx-tg .alx-card-tile b {
		font-size: 17px;
	}

	.alx-services__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.alx-service {
		min-height: 0;
		padding: 20px;
	}

	.alx-service.has-img {
		min-height: 180px;
	}

	.alx-service b {
		font-size: 19px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.alx-home ul.products.alx-rail,
	.alx-home .swe-rv ul.products {
		scroll-behavior: auto;
	}
}

