/**
 * Lebonchoix — mobile header (mockup: simple bar + off-canvas categories).
 */

:root {
	--lbc-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--lbc-header-bg: #ffffff;
	--lbc-header-border: #eeeeee;
	--lbc-header-icon: #111111;
	--lbc-header-height: 64px;
}

/* ── Mobile header bar ───────────────────────────────────── */
@media (max-width: 921px) {
	#ast-mobile-header,
	#ast-mobile-header button,
	#ast-mobile-header a {
		font-family: var(--lbc-font);
	}

	#ast-mobile-header .ast-main-header-wrap,
	#ast-mobile-header .ast-primary-header-bar {
		background-color: var(--lbc-header-bg) !important;
		border-bottom: 1px solid var(--lbc-header-border);
		min-height: var(--lbc-header-height);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
	}

	#ast-mobile-header .ast-builder-grid-row {
		align-items: center;
		min-height: var(--lbc-header-height);
		padding-left: 14px;
		padding-right: 14px;
	}

	/* Center logo */
	#ast-mobile-header .site-header-primary-section-center {
		flex: 1 1 auto;
		justify-content: center;
	}

	#ast-mobile-header .ast-site-identity {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		margin: 0;
	}

	#ast-mobile-header .site-title,
	#ast-mobile-header .site-title a {
		margin: 0;
		color: #090909 !important;
		font-family: var(--lbc-font);
		font-size: 1rem;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1;
		text-decoration: none;
	}

	/* Uploaded logo: SVG is white — invert on white bar for contrast */
	#ast-mobile-header .custom-logo-link img,
	#ast-mobile-header .ast-mobile-header-logo,
	#ast-mobile-header .site-logo-img img {
		display: none;
		max-width: 148px;
		max-height: 28px;
		width: auto;
		height: auto;
		filter: brightness(0);
		object-fit: contain;
	}

	#ast-mobile-header .custom-logo-link::after,
	#ast-mobile-header .site-logo-img a::after {
		content: "Lebonchoix";
		display: block;
		color: #090909;
		font-family: var(--lbc-font);
		font-size: 1rem;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1;
	}

	/* Hamburger + search + cart icons */
	#ast-mobile-header .ast-mobile-menu-trigger-minimal,
	#ast-mobile-header .ast-header-search-icon,
	#ast-mobile-header .ast-header-search-icon a,
	#ast-mobile-header .ast-site-header-cart .ast-cart-menu-wrap,
	#ast-mobile-header .ast-site-header-cart .ast-cart-menu-wrap .astra-icon {
		color: var(--lbc-header-icon) !important;
		fill: var(--lbc-header-icon) !important;
	}

	#ast-mobile-header .ast-mobile-menu-trigger-minimal .ast-mobile-svg {
		fill: var(--lbc-header-icon) !important;
	}

	/* Right column: search + cart side by side */
	#ast-mobile-header .site-header-primary-section-right {
		gap: 2px;
		align-items: center;
	}

	#ast-mobile-header .site-header-primary-section-left,
	#ast-mobile-header .site-header-primary-section-right {
		min-width: 76px;
	}

	#ast-mobile-header .site-header-primary-section-left {
		justify-content: flex-start;
	}

	#ast-mobile-header .site-header-primary-section-right {
		justify-content: flex-end;
	}

	#ast-mobile-header .ast-mobile-menu-trigger-minimal,
	#ast-mobile-header .ast-header-search-icon,
	#ast-mobile-header .ast-site-header-cart {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		margin: 0;
		padding: 0;
		border-radius: 50%;
		transition: background-color 0.18s ease;
	}

	#ast-mobile-header .ast-mobile-menu-trigger-minimal:hover,
	#ast-mobile-header .ast-header-search-icon:hover,
	#ast-mobile-header .ast-site-header-cart:hover {
		background: #f6f6f6;
	}

	#ast-mobile-header .menu-toggle {
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	/* Cart count badge */
	#ast-mobile-header .ast-site-header-cart .count,
	#ast-mobile-header .ast-site-header-cart .ast-count-text {
		background-color: #111 !important;
		color: #fff !important;
		font-size: 10px;
		font-weight: 700;
		min-width: 16px;
		height: 16px;
		line-height: 16px;
		border-radius: 50%;
	}

	#ast-mobile-header .ast-site-header-cart .count:empty,
	#ast-mobile-header .ast-site-header-cart .ast-count-text:empty,
	#ast-mobile-header .ast-site-header-cart .count[data-cart-total="0"],
	#ast-mobile-header .ast-site-header-cart .ast-count-text[data-cart-total="0"],
	#ast-mobile-header .ast-site-header-cart .count[data-count="0"],
	#ast-mobile-header .ast-site-header-cart .ast-count-text[data-count="0"],
	#ast-mobile-header .ast-site-header-cart .count[aria-label^="0"],
	#ast-mobile-header .ast-site-header-cart .ast-count-text[aria-label^="0"] {
		display: none !important;
	}
}

/* Full custom child-theme homepage template. */
.lbc-home {
	background: #fff;
	color: #090909;
	font-family: var(--lbc-font);
}

.lbc-home-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(430px, 45vw, 620px);
	padding: 64px max(32px, calc((100vw - 1320px) / 2)) 68px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 42%, rgba(255, 255, 255, 0.76) 58%, rgba(255, 255, 255, 0.42) 100%),
		linear-gradient(135deg, #f7f7f7 0%, #ededed 58%, #f9f9f9 100%);
}

.lbc-home-hero__content {
	position: relative;
	z-index: 2;
	max-width: 560px;
}

.lbc-home-hero__content span {
	display: inline-block;
	margin-bottom: 14px;
	color: #1b1b1b;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.lbc-home-hero__content h1 {
	margin: 0 0 16px;
	color: #050505;
	font-family: var(--lbc-font) !important;
	font-size: clamp(2.45rem, 4.6vw, 4.85rem);
	font-style: normal !important;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 0.98;
}

.lbc-home-hero__content p {
	max-width: 510px;
	margin: 0 0 26px;
	color: #4f4f4f;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.7;
}

.lbc-home-hero__content a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	color: #fff;
	background: #050505;
	border: 1px solid #050505;
	border-radius: 4px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.lbc-home .lebonchoix-home-categories {
	margin-top: 34px;
	margin-bottom: 54px;
}

.lbc-home-section {
	width: min(1320px, calc(100% - 56px));
	margin: 0 auto 58px;
}

.lbc-home-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 20px;
}

.lbc-home-section__head h2 {
	margin: 0;
	color: #070707;
	font-family: var(--lbc-font) !important;
	font-size: clamp(1.65rem, 2.3vw, 2.2rem);
	font-style: normal !important;
	font-weight: 800;
	line-height: 1.1;
}

.lbc-home-section__head a {
	color: #111;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.lbc-home-section__more {
	display: none;
}

.lbc-home-popular-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.lbc-home-popular-row {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-height: 104px;
	padding: 8px;
	color: #050505;
	background: #f8f8f8;
	border: 1px solid #ededed;
	border-radius: 6px;
	text-decoration: none;
}

.lbc-home-popular-row:hover {
	color: #050505;
	border-color: #d8d8d8;
}

.lbc-home-popular-row__media {
	display: block;
	overflow: hidden;
	background: #fff;
	border-radius: 5px;
}

.lbc-home-popular-row__media img {
	display: block;
	width: 86px;
	height: 86px;
	object-fit: cover;
}

.lbc-home-popular-row__body {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.lbc-home-popular-row strong {
	display: -webkit-box;
	overflow: hidden;
	color: #050505;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.lbc-home-popular-row__price {
	color: #050505;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
}

.lbc-home-popular-row__price del {
	color: #9b9b9b;
	font-weight: 700;
	opacity: 0.75;
}

.lbc-home-popular-row__price ins {
	color: #050505;
	text-decoration: none;
}

.lbc-home-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.lbc-home-product {
	display: block;
	padding: 12px;
	color: #090909;
	background: #f8f8f8;
	border: 1px solid #ededed;
	border-radius: 6px;
	text-decoration: none;
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.lbc-home-product:hover {
	border-color: #d8d8d8;
	color: #090909;
	transform: translateY(-2px);
}

.lbc-home-product__media {
	display: block;
	margin-bottom: 0.72rem;
	overflow: hidden;
	background: #fff;
	border-radius: 5px;
}

.lbc-home-product__media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.lbc-home-product:hover .lbc-home-product__media img {
	transform: scale(1.035);
}

.lbc-home-product__cat {
	display: block;
	margin-bottom: 0.3rem;
	color: #9a9a9a;
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.25;
}

.lbc-home-product strong {
	display: block;
	margin-bottom: 0.35rem;
	color: #050505;
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.28;
}

.lbc-home-product__price {
	color: #555;
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.25;
}

.lbc-home-product__price del {
	color: #9b9b9b;
	font-weight: 700;
	opacity: 0.75;
}

.lbc-home-product__price ins {
	color: #050505;
	text-decoration: none;
}

.lbc-home .lebonchoix-home-trust {
	margin-top: 0;
}

@media (max-width: 921px) {
	.lbc-home-hero {
		min-height: 520px;
		padding: 72px 24px 52px;
		text-align: center;
		background:
			linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.58)),
			url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1200&q=78") center / cover;
	}

	.lbc-home-hero__content {
		max-width: none;
	}

	.lbc-home-hero__content span,
	.lbc-home-hero__content h1,
	.lbc-home-hero__content p {
		color: #fff;
	}

	.lbc-home-hero__content h1 {
		font-size: clamp(2.1rem, 10vw, 3.15rem);
		line-height: 1.05;
	}

	.lbc-home-hero__content p {
		max-width: 340px;
		margin-right: auto;
		margin-left: auto;
		font-size: 0.92rem;
	}

	.lbc-home-hero__content a {
		background: transparent;
		border-color: rgba(255, 255, 255, 0.88);
	}

	.lbc-home-section {
		width: calc(100% - 36px);
		margin-bottom: 44px;
	}

	.lbc-home-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.lbc-home-product {
		display: grid;
		grid-template-rows: auto auto 2.55em auto;
		min-height: 198px;
		padding: 6px;
	}

	.lbc-home-product__media {
		margin-bottom: 0.45rem;
	}

	.lbc-home-product__media img {
		aspect-ratio: 1 / 0.82;
	}

	.lbc-home-product strong {
		display: -webkit-box;
		overflow: hidden;
		margin-bottom: 0.25rem;
		font-size: 0.68rem;
		line-height: 1.24;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.lbc-home-product__cat,
	.lbc-home-product__price {
		align-self: end;
		margin-top: auto;
		font-size: 0.6rem;
	}

	.lbc-home-section--popular .lbc-home-section__head {
		margin-bottom: 12px;
	}

	.lbc-home-popular-list {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.lbc-home-popular-row {
		display: grid;
		grid-template-columns: 74px minmax(0, 1fr);
		column-gap: 12px;
		min-height: 88px;
		padding: 8px;
	}

	.lbc-home-popular-row__media img {
		width: 74px;
		height: 74px;
		object-fit: cover;
	}

	.lbc-home-popular-row strong {
		font-size: 0.76rem;
		line-height: 1.22;
	}

	.lbc-home-popular-row__price {
		font-size: 0.72rem;
	}

	.lbc-home-section__more {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		margin-top: 12px;
		color: #fff;
		background: #050505;
		border-radius: 4px;
		font-size: 0.72rem;
		font-weight: 800;
		letter-spacing: 0.08em;
		text-decoration: none;
		text-transform: uppercase;
	}
}

/* ── Off-canvas / flyout menu (CATÉGORIES) ───────────────── */
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
.ast-mobile-popup-drawer .ast-mobile-popup-content {
	background: #fff;
}

.ast-mobile-popup-drawer .ast-mobile-popup-inner {
	box-shadow: 18px 0 48px rgba(0, 0, 0, 0.1);
}

.ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile {
	padding: 1.25rem 1.4rem;
}

.ast-mobile-popup-drawer .main-header-menu .menu-item > a,
.ast-mobile-popup-drawer .main-navigation .menu-item > a {
	color: #111;
	font-size: 0.96rem;
	font-family: var(--lbc-font);
	font-weight: 500;
	letter-spacing: 0;
	padding: 16px 0;
	border-bottom: 1px solid #eeeeee;
}

.ast-mobile-popup-drawer .main-header-menu .menu-item.promotions > a,
.ast-mobile-popup-drawer .main-navigation .menu-item.promotions > a {
	color: #111 !important;
	font-weight: 700;
}

.ast-mobile-popup-drawer .main-header-menu .menu-item > a::after,
.ast-mobile-popup-drawer .ast-arrow-svg {
	opacity: 0.35;
}

/* Close button */
.ast-mobile-popup-drawer .menu-toggle-close {
	color: #111;
}

/* ── Desktop: keep logo visible on light headers ─────────── */
@media (min-width: 922px) {
	#ast-desktop-header,
	#ast-desktop-header a,
	#ast-desktop-header button {
		font-family: var(--lbc-font);
	}

	#ast-desktop-header .ast-primary-header-bar,
	#ast-desktop-header .main-header-bar {
		min-height: 68px;
		background: #fff !important;
		border-bottom: 1px solid var(--lbc-header-border);
		box-shadow: none;
	}

	#ast-desktop-header .ast-builder-grid-row {
		width: 100%;
		display: flex;
		align-items: center;
		max-width: 1320px;
		min-height: 68px;
		margin: 0 auto;
		padding-right: 24px;
		padding-left: 24px;
	}

	#ast-desktop-header .site-header-primary-section-left,
	#ast-desktop-header .site-header-primary-section-center,
	#ast-desktop-header .site-header-primary-section-right {
		display: flex;
		align-items: center;
		flex: 1 1 0;
		min-width: 172px;
	}

	#ast-desktop-header [class*="site-header-primary-section-"]:has(.site-branding),
	#ast-desktop-header [class*="site-header-primary-section-"]:has(.site-logo-img) {
		order: 1;
		justify-content: flex-start;
	}

	#ast-desktop-header [class*="site-header-primary-section-"]:has(.main-header-menu),
	#ast-desktop-header [class*="site-header-primary-section-"]:has(.main-navigation) {
		order: 2;
		justify-content: center;
		flex: 0 1 auto;
	}

	#ast-desktop-header [class*="site-header-primary-section-"]:has(.ast-site-header-cart),
	#ast-desktop-header [class*="site-header-primary-section-"]:has(.ast-header-search-icon) {
		order: 3;
		justify-content: flex-end;
		gap: 4px;
	}

	#ast-desktop-header .custom-logo-link img,
	#ast-desktop-header .site-logo-img img {
		display: none;
	}

	#ast-desktop-header .custom-logo-link::after,
	#ast-desktop-header .site-logo-img a::after {
		content: "Lebonchoix";
		display: block;
		color: #090909;
		font-family: var(--lbc-font);
		font-size: 1.12rem;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1;
	}

	#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
		height: 68px;
		padding: 0 14px;
		color: #151515;
		font-size: 0.84rem;
		font-weight: 500;
		letter-spacing: 0;
	}

	#ast-desktop-header .main-header-menu > .menu-item.current-menu-item > .menu-link,
	#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover {
		color: #050505;
		font-weight: 600;
	}

	#ast-desktop-header .ast-header-search-icon,
	#ast-desktop-header .ast-site-header-cart {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		color: #111 !important;
	}

	#ast-desktop-header .ast-header-search-icon:hover,
	#ast-desktop-header .ast-site-header-cart:hover {
		background: #f6f6f6;
	}

	#ast-desktop-header .ast-site-header-cart .count:empty,
	#ast-desktop-header .ast-site-header-cart .ast-count-text:empty,
	#ast-desktop-header .ast-site-header-cart .count[data-cart-total="0"],
	#ast-desktop-header .ast-site-header-cart .ast-count-text[data-cart-total="0"],
	#ast-desktop-header .ast-site-header-cart .count[data-count="0"],
	#ast-desktop-header .ast-site-header-cart .ast-count-text[data-count="0"],
	#ast-desktop-header .ast-site-header-cart .count[aria-label^="0"],
	#ast-desktop-header .ast-site-header-cart .ast-count-text[aria-label^="0"],
	#ast-desktop-header .ast-site-header-cart:has(.astra-icon[data-cart-total="0"]) {
		display: none !important;
	}
}

/* Sticky / transparent header: logo stays readable */
.ast-theme-transparent-header #ast-mobile-header .custom-logo-link img {
	filter: none;
}

/* Clean static pages such as Contact Us. */
@media (min-width: 922px) {
	body.page:not(.home):not(.woocommerce-page) .site-content .ast-container {
		max-width: 760px;
		margin: 0 auto;
		padding: 52px 24px 72px;
	}

	body.page:not(.home):not(.woocommerce-page) #primary {
		margin: 0;
	}

	body.page:not(.home):not(.woocommerce-page) .entry-content {
		font-family: var(--lbc-font);
		color: #101010;
	}

	body.page:not(.home):not(.woocommerce-page) .entry-content h1,
	body.page:not(.home):not(.woocommerce-page) .entry-content h2,
	body.page:not(.home):not(.woocommerce-page) .entry-content h3 {
		margin: 0 0 1rem;
		color: #080808;
		font-family: var(--lbc-font) !important;
		font-size: clamp(1.8rem, 2.2vw, 2.25rem) !important;
		font-style: normal !important;
		font-weight: 700 !important;
		letter-spacing: 0;
		line-height: 1.25;
		text-align: left !important;
		text-transform: none;
	}

	body.page:not(.home):not(.woocommerce-page) .entry-content p {
		margin-bottom: 1.1rem;
		color: #5f6368;
		font-family: var(--lbc-font) !important;
		font-size: 0.97rem;
		font-style: normal !important;
		font-weight: 400;
		line-height: 1.7;
		text-align: left !important;
	}

	body.page:not(.home):not(.woocommerce-page) .entry-content p.has-large-font-size,
	body.page:not(.home):not(.woocommerce-page) .entry-content p.has-x-large-font-size {
		margin-bottom: 1rem;
		color: #080808;
		font-size: clamp(1.8rem, 2.2vw, 2.25rem) !important;
		font-weight: 700 !important;
		line-height: 1.3;
	}

body.page:not(.home):not(.woocommerce-page) .entry-content input,
	body.page:not(.home):not(.woocommerce-page) .entry-content textarea {
		border: 1px solid #dedede;
		border-radius: 6px;
		color: #111;
		font-family: var(--lbc-font);
		font-size: 0.95rem;
	}
}

/* Home page: retail storefront polish. */
body.home,
body.home button,
body.home input {
	font-family: var(--lbc-font);
}

body.home .site-content .ast-container {
	max-width: none;
	padding: 0;
}

body.home #primary {
	margin: 0;
}

body.home .entry-content {
	color: #0b0b0b;
	font-family: var(--lbc-font);
}

body.home .entry-content h1,
body.home .entry-content h2,
body.home .entry-content h3,
body.home .wp-block-heading {
	color: #080808;
	font-family: var(--lbc-font) !important;
	font-style: normal !important;
	font-weight: 800 !important;
	letter-spacing: 0;
	line-height: 1.1;
	text-transform: none;
}

body.home .wp-block-cover {
	min-height: clamp(520px, 62vw, 720px);
	margin: 0;
}

body.home .wp-block-cover::before {
	opacity: 0.52;
}

body.home .wp-block-cover .wp-block-cover__inner-container {
	width: min(920px, calc(100% - 48px));
	margin: 0 auto;
	text-align: center;
}

body.home .wp-block-cover h1,
body.home .wp-block-cover h2 {
	max-width: 780px;
	margin: 0 auto 1rem;
	color: #fff;
	font-size: clamp(2.45rem, 5vw, 4.8rem) !important;
	line-height: 1.03;
}

body.home .wp-block-cover p {
	max-width: 720px;
	margin: 0 auto 1.55rem;
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--lbc-font) !important;
	font-size: clamp(1rem, 1.3vw, 1.16rem);
	font-style: normal !important;
	font-weight: 600;
	line-height: 1.6;
}

body.home .wp-block-button__link,
body.home .wp-element-button {
	min-width: 190px;
	padding: 16px 28px;
	border: 1px solid #fff;
	border-radius: 4px;
	background: #fff;
	color: #050505;
	font-family: var(--lbc-font) !important;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.home .entry-content > h2,
body.home .entry-content > .wp-block-heading {
	width: min(1320px, calc(100% - 56px));
	margin: 72px auto 26px;
	font-size: clamp(1.75rem, 2.5vw, 2.45rem) !important;
	text-align: left;
}

.lebonchoix-home-categories {
	width: min(1320px, calc(100% - 56px));
	margin: 38px auto 62px;
}

.lebonchoix-home-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 18px;
}

.lebonchoix-home-section-head h2 {
	margin: 0;
	color: #080808;
	font-family: var(--lbc-font) !important;
	font-size: clamp(1.4rem, 2vw, 1.8rem) !important;
	font-style: normal !important;
	font-weight: 800 !important;
	letter-spacing: 0;
	line-height: 1.1;
}

.lebonchoix-home-section-head a {
	color: #141414;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.lebonchoix-home-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.lebonchoix-home-category {
	display: grid;
	gap: 0.35rem;
	padding: 14px;
	color: #0b0b0b;
	background: #f8f8f8;
	border: 1px solid #ededed;
	border-radius: 6px;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.lebonchoix-home-category:hover {
	border-color: #d8d8d8;
	color: #0b0b0b;
	transform: translateY(-2px);
}

.lebonchoix-home-category img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	margin-bottom: 0.45rem;
	object-fit: cover;
	border-radius: 5px;
	background: #eeeeee;
}

.lebonchoix-home-category__name {
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.2;
}

.lebonchoix-home-category__subtitle {
	color: #777;
	font-size: 0.76rem;
	font-weight: 500;
	line-height: 1.35;
}

body.home .woocommerce,
body.home .wc-block-grid {
	width: min(1320px, calc(100% - 56px));
	margin: 0 auto 74px;
}

body.home .woocommerce ul.products,
body.home .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
	margin: 0 !important;
	padding: 0;
}

body.home .woocommerce ul.products li.product,
body.home .wc-block-grid__product {
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	text-align: left;
}

body.home .woocommerce ul.products li.product:first-child:last-child {
	max-width: 360px;
	justify-self: center;
}

body.home .woocommerce ul.products li.product a img,
body.home .wc-block-grid__product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin: 0 0 0.95rem !important;
	object-fit: cover;
	border-radius: 6px;
	background: #f3f3f3;
}

body.home .woocommerce ul.products li.product .ast-woo-product-category,
body.home .woocommerce ul.products li.product .posted_in,
body.home .wc-block-grid__product-category {
	display: block;
	margin: 0 0 0.4rem;
	color: #8c8c8c;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	text-align: left;
}

body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.home .wc-block-grid__product-title {
	margin: 0 0 0.45rem;
	color: #090909;
	font-family: var(--lbc-font) !important;
	font-size: 0.98rem;
	font-style: normal !important;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

body.home .woocommerce ul.products li.product .price,
body.home .wc-block-grid__product-price {
	color: #737373;
	font-family: var(--lbc-font) !important;
	font-size: 0.98rem;
	font-weight: 800;
	text-align: left;
}

.lebonchoix-home-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	width: min(1320px, calc(100% - 56px));
	margin: -28px auto 70px;
	padding: 0;
}

.lebonchoix-home-trust__item {
	display: grid;
	grid-template-columns: 34px 1fr;
	column-gap: 12px;
	align-items: center;
	min-height: 92px;
	padding: 18px;
	background: #fafafa;
	border: 1px solid #ededed;
	border-radius: 6px;
}

.lebonchoix-home-trust__icon {
	grid-row: span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: #fff;
	background: #050505;
	border-radius: 50%;
	font-size: 0.78rem;
	font-weight: 800;
}

.lebonchoix-home-trust__item strong {
	color: #070707;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.25;
}

.lebonchoix-home-trust__item span:last-child {
	color: #777;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.4;
}

@media (max-width: 921px) {
	body.home .wp-block-cover {
		min-height: 520px;
	}

	body.home .wp-block-cover .wp-block-cover__inner-container,
	body.home .entry-content > h2,
	body.home .entry-content > .wp-block-heading,
	body.home .woocommerce,
	body.home .wc-block-grid {
		width: calc(100% - 32px);
	}

	body.home .entry-content > h2,
	body.home .entry-content > .wp-block-heading {
		margin-top: 44px;
	}

	.lebonchoix-home-categories {
		width: calc(100% - 32px);
		margin: 24px auto 40px;
	}

	.lebonchoix-home-section-head {
		margin-bottom: 14px;
	}

	.lebonchoix-home-categories__grid {
		grid-template-columns: repeat(4, minmax(78px, 1fr));
		gap: 8px;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: none;
	}

	.lebonchoix-home-categories__grid::-webkit-scrollbar {
		display: none;
	}

	.lebonchoix-home-category {
		min-width: 78px;
		padding: 7px;
	}

	.lebonchoix-home-category img {
		aspect-ratio: 1 / 1;
		margin-bottom: 0.32rem;
	}

	.lebonchoix-home-category__name {
		font-size: 0.68rem;
	}

	.lebonchoix-home-category__subtitle {
		font-size: 0.58rem;
	}

	body.home .woocommerce ul.products,
	body.home .wc-block-grid__products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.lebonchoix-home-trust {
		grid-template-columns: 1fr;
		width: calc(100% - 32px);
		margin: -22px auto 54px;
	}

	.lebonchoix-home-trust__item {
		min-height: 84px;
	}
}

/* Final mobile storefront override: popular products become a compact list. */
@media (max-width: 921px) {
	body.home .lbc-home-section--popular .lbc-home-products {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	body.home .lbc-home-section--popular .lbc-home-product {
		display: grid !important;
		grid-template-columns: 74px minmax(0, 1fr) !important;
		grid-template-rows: auto auto auto !important;
		column-gap: 12px !important;
		align-items: start !important;
		min-height: 88px !important;
		padding: 8px !important;
	}

	body.home .lbc-home-section--popular .lbc-home-product__media {
		grid-row: 1 / span 3 !important;
		margin: 0 !important;
	}

	body.home .lbc-home-section--popular .lbc-home-product__media img {
		width: 74px !important;
		height: 74px !important;
		aspect-ratio: auto !important;
		object-fit: cover !important;
	}

	body.home .lbc-home-section--popular .lbc-home-product__cat {
		display: none !important;
	}

	body.home .lbc-home-section--popular .lbc-home-product strong {
		display: -webkit-box !important;
		overflow: hidden !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
		margin: 0 0 0.28rem !important;
		font-size: 0.76rem !important;
		line-height: 1.22 !important;
	}

	body.home .lbc-home-section--popular .lbc-home-product__price {
		align-self: start !important;
		margin: 0 !important;
		color: #050505 !important;
		font-size: 0.72rem !important;
		line-height: 1.2 !important;
	}

	body.home .lbc-home-section--popular .lbc-home-product::after {
		content: none !important;
	}
}

body.ast-header-break-point.home .lbc-home-section--popular .lbc-home-products {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
}

body.ast-header-break-point.home .lbc-home-section--popular .lbc-home-product {
	display: grid !important;
	grid-template-columns: 74px minmax(0, 1fr) !important;
	grid-template-rows: auto auto auto !important;
	column-gap: 12px !important;
	align-items: start !important;
	min-height: 88px !important;
	padding: 8px !important;
}

body.ast-header-break-point.home .lbc-home-section--popular .lbc-home-product__media {
	grid-row: 1 / span 3 !important;
	margin: 0 !important;
}

body.ast-header-break-point.home .lbc-home-section--popular .lbc-home-product__media img {
	width: 74px !important;
	height: 74px !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
}

body.ast-header-break-point.home .lbc-home-section--popular .lbc-home-product__cat {
	display: none !important;
}

body.ast-header-break-point.home .lbc-home-section--popular .lbc-home-product strong {
	display: -webkit-box !important;
	overflow: hidden !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	margin: 0 0 0.28rem !important;
	font-size: 0.76rem !important;
	line-height: 1.22 !important;
}

body.ast-header-break-point.home .lbc-home-section--popular .lbc-home-product__price {
	align-self: start !important;
	margin: 0 !important;
	color: #050505 !important;
	font-size: 0.72rem !important;
	line-height: 1.2 !important;
}

body.ast-header-break-point.home .lbc-home-section--popular .lbc-home-product::after {
	content: none !important;
}

body.ast-header-break-point.home .lbc-home-popular-list {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
}

body.ast-header-break-point.home .lbc-home-popular-row {
	display: grid !important;
	grid-template-columns: 74px minmax(0, 1fr) !important;
	column-gap: 12px !important;
	align-items: center !important;
	min-height: 88px !important;
	padding: 8px !important;
}

body.ast-header-break-point.home .lbc-home-popular-row__media img {
	width: 74px !important;
	height: 74px !important;
	object-fit: cover !important;
}

body.ast-header-break-point.home .lbc-home-popular-row strong {
	font-size: 0.76rem !important;
	line-height: 1.22 !important;
}

body.ast-header-break-point.home .lbc-home-popular-row__price {
	font-size: 0.72rem !important;
}

/* Fallback for cached/older homepage markup: the section after Categories is Popular. */
@media (max-width: 921px) {
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-products {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product {
		display: grid !important;
		grid-template-columns: 74px minmax(0, 1fr) !important;
		grid-template-rows: auto auto auto !important;
		column-gap: 12px !important;
		align-items: start !important;
		min-height: 88px !important;
		padding: 8px !important;
	}

	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__media {
		grid-row: 1 / span 3 !important;
		margin: 0 !important;
	}

	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__media img {
		width: 74px !important;
		height: 74px !important;
		aspect-ratio: auto !important;
		object-fit: cover !important;
	}

	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__cat {
		display: none !important;
	}

	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product strong {
		display: -webkit-box !important;
		overflow: hidden !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
		margin: 0 0 0.28rem !important;
		font-size: 0.76rem !important;
		line-height: 1.22 !important;
	}

	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__price {
		align-self: start !important;
		margin: 0 !important;
		color: #050505 !important;
		font-size: 0.72rem !important;
		line-height: 1.2 !important;
	}

	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product::after {
		content: none !important;
	}
}

body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-products {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
}

body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product {
	display: grid !important;
	grid-template-columns: 74px minmax(0, 1fr) !important;
	grid-template-rows: auto auto auto !important;
	column-gap: 12px !important;
	align-items: start !important;
	min-height: 88px !important;
	padding: 8px !important;
}

body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__media {
	grid-row: 1 / span 3 !important;
	margin: 0 !important;
}

body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__media img {
	width: 74px !important;
	height: 74px !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
}

body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__cat {
	display: none !important;
}

body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product strong {
	display: -webkit-box !important;
	overflow: hidden !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	margin: 0 0 0.28rem !important;
	font-size: 0.76rem !important;
	line-height: 1.22 !important;
}

body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__price {
	align-self: start !important;
	margin: 0 !important;
	color: #050505 !important;
	font-size: 0.72rem !important;
	line-height: 1.2 !important;
}

body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product::after {
	content: none !important;
}

/* Mobile list layout for New Products, including older cached markup. */
@media (max-width: 921px) {
	body.home .lbc-home-section--new .lbc-home-products,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-products {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	body.home .lbc-home-section--new .lbc-home-product,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product {
		display: grid !important;
		grid-template-columns: 74px minmax(0, 1fr) !important;
		grid-template-rows: auto auto auto !important;
		column-gap: 12px !important;
		align-items: start !important;
		min-height: 88px !important;
		padding: 8px !important;
	}

	body.home .lbc-home-section--new .lbc-home-product__media,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__media {
		grid-row: 1 / span 3 !important;
		margin: 0 !important;
	}

	body.home .lbc-home-section--new .lbc-home-product__media img,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__media img {
		width: 74px !important;
		height: 74px !important;
		aspect-ratio: auto !important;
		object-fit: cover !important;
	}

	body.home .lbc-home-section--new .lbc-home-product__cat,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__cat {
		display: none !important;
	}

	body.home .lbc-home-section--new .lbc-home-product strong,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product strong {
		display: -webkit-box !important;
		overflow: hidden !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
		margin: 0 0 0.28rem !important;
		font-size: 0.76rem !important;
		line-height: 1.22 !important;
	}

	body.home .lbc-home-section--new .lbc-home-product__price,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__price {
		align-self: start !important;
		margin: 0 !important;
		color: #050505 !important;
		font-size: 0.72rem !important;
		line-height: 1.2 !important;
	}
}

body.ast-header-break-point.home .lbc-home-section--new .lbc-home-products,
body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-products {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
}

body.ast-header-break-point.home .lbc-home-section--new .lbc-home-product,
body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product {
	display: grid !important;
	grid-template-columns: 74px minmax(0, 1fr) !important;
	grid-template-rows: auto auto auto !important;
	column-gap: 12px !important;
	align-items: start !important;
	min-height: 88px !important;
	padding: 8px !important;
}

body.ast-header-break-point.home .lbc-home-section--new .lbc-home-product__media,
body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__media {
	grid-row: 1 / span 3 !important;
	margin: 0 !important;
}

body.ast-header-break-point.home .lbc-home-section--new .lbc-home-product__media img,
body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__media img {
	width: 74px !important;
	height: 74px !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
}

body.ast-header-break-point.home .lbc-home-section--new .lbc-home-product__cat,
body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__cat {
	display: none !important;
}

body.ast-header-break-point.home .lbc-home-section--new .lbc-home-product strong,
body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product strong {
	display: -webkit-box !important;
	overflow: hidden !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	margin: 0 0 0.28rem !important;
	font-size: 0.76rem !important;
	line-height: 1.22 !important;
}

body.ast-header-break-point.home .lbc-home-section--new .lbc-home-product__price,
body.ast-header-break-point.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__price {
	align-self: start !important;
	margin: 0 !important;
	color: #050505 !important;
	font-size: 0.72rem !important;
	line-height: 1.2 !important;
}

body.home .lbc-home-product::after,
body.home .lbc-home-popular-row::after {
	content: none !important;
}

/* Mobile storefront polish: compact list rhythm closer to the reference mockup. */
@media (max-width: 921px) {
	body.home .lbc-home-section {
		width: calc(100% - 34px) !important;
		margin-bottom: 34px !important;
	}

	body.home .lbc-home-section__head {
		align-items: center !important;
		margin-bottom: 14px !important;
	}

	body.home .lbc-home-section__head h2 {
		font-size: 0.9rem !important;
		font-weight: 900 !important;
		letter-spacing: 0 !important;
		line-height: 1.15 !important;
		text-transform: uppercase !important;
	}

	body.home .lbc-home-section__head a {
		font-size: 0.68rem !important;
		font-weight: 700 !important;
	}

	body.home .lbc-home-popular-list,
	body.home .lbc-home-section--new .lbc-home-products,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-products,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-products {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 0 !important;
		background: #fff !important;
		border: 1px solid #f0f0f0 !important;
		border-radius: 6px !important;
		overflow: hidden !important;
	}

	body.home .lbc-home-popular-row,
	body.home .lbc-home-section--new .lbc-home-product,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product {
		display: grid !important;
		grid-template-columns: 64px minmax(0, 1fr) !important;
		grid-template-rows: auto auto !important;
		column-gap: 12px !important;
		align-items: center !important;
		min-height: 82px !important;
		padding: 9px !important;
		background: #fff !important;
		border: 0 !important;
		border-bottom: 1px solid #f1f1f1 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	body.home .lbc-home-popular-row:last-child,
	body.home .lbc-home-section--new .lbc-home-product:last-child,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product:last-child,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product:last-child {
		border-bottom: 0 !important;
	}

	body.home .lbc-home-popular-row__media,
	body.home .lbc-home-section--new .lbc-home-product__media,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__media,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__media {
		grid-row: 1 / span 2 !important;
		margin: 0 !important;
		background: #f7f7f7 !important;
		border-radius: 5px !important;
	}

	body.home .lbc-home-popular-row__media img,
	body.home .lbc-home-section--new .lbc-home-product__media img,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__media img,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__media img {
		width: 64px !important;
		height: 64px !important;
		aspect-ratio: auto !important;
		object-fit: cover !important;
	}

	body.home .lbc-home-section--new .lbc-home-product__cat,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__cat,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__cat {
		display: none !important;
	}

	body.home .lbc-home-popular-row__body {
		align-self: center !important;
		gap: 4px !important;
	}

	body.home .lbc-home-popular-row strong,
	body.home .lbc-home-section--new .lbc-home-product strong,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product strong,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product strong {
		display: -webkit-box !important;
		overflow: hidden !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
		margin: 0 0 4px !important;
		color: #050505 !important;
		font-size: 0.72rem !important;
		font-weight: 850 !important;
		line-height: 1.22 !important;
	}

	body.home .lbc-home-popular-row__price,
	body.home .lbc-home-section--new .lbc-home-product__price,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__price,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__price {
		margin: 0 !important;
		color: #050505 !important;
		font-size: 0.7rem !important;
		font-weight: 850 !important;
		line-height: 1.2 !important;
	}

	body.home .lbc-home-popular-row__price del,
	body.home .lbc-home-section--new .lbc-home-product__price del,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section .lbc-home-product__price del,
	body.home .lbc-home > .lebonchoix-home-categories + .lbc-home-section + .lbc-home-section .lbc-home-product__price del {
		color: #9b9b9b !important;
		font-size: 0.66rem !important;
		font-weight: 700 !important;
	}
}
