/* Shop page - premium mobile first */
body.post-type-archive-product,
body.tax-product_cat {
	--shop-bg: #ffffff;
	--shop-surface: #ffffff;
	--shop-text: #0b0b0b;
	--shop-muted: #666;
	--shop-border: #e8e8e8;
	--shop-card-media: var(--surface-light, #f5f5f5);
	background: var(--shop-bg);
	color: var(--shop-text);
}

/* Bannière boutique — 1:1 rideon-2026/css/style-shop.css */
.shop-hero {
	position: relative;
	padding: clamp(44px, 7vw, 86px) 0 clamp(28px, 5vw, 50px);
	background-color: #f4f4f4;
	background-image: var(--shop-hero-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	isolation: isolate;
}

.shop-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		#f4f4f4 0%,
		rgba(244, 244, 244, 0.92) 28%,
		rgba(244, 244, 244, 0.55) 42%,
		rgba(244, 244, 244, 0) 52%
	);
}

.shop-hero__inner {
	position: relative;
	z-index: 1;
}

.shop-hero__kicker {
	margin: 0 0 12px;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #555;
}

.shop-hero__title {
	margin: 0;
	font-family: var(--font-headline);
	font-size: var(--h1-size);
	line-height: 0.92;
	word-spacing: var(--headline-word-spacing);
	text-transform: uppercase;
}

.shop-hero__subtitle {
	margin: 18px 0 0;
	max-width: 58ch;
	font-size: clamp(1rem, 2.7vw, 1.15rem);
	line-height: 1.6;
	color: #444;
}

.shop-hero-search {
	margin-top: 18px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--shop-border);
	border-radius: var(--pill-radius, 100px);
	padding: 6px;
	max-width: 760px;
	position: relative;
}

.shop-hero-search__input {
	flex: 1;
	height: 42px;
	border: 0;
	background: transparent;
	padding: 0 14px;
	font-size: 0.95rem;
	color: var(--black-pure, #000);
}

.shop-hero-search__input:focus {
	outline: none;
}

.shop-hero-search__button {
	width: 42px;
	height: 42px;
	min-height: 42px;
	border: 0;
	border-radius: var(--pill-radius, 100px);
	background: transparent;
	color: var(--black-pure, #000);
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.shop-hero-search__button svg.icon {
	width: 20px;
	height: 20px;
	display: block;
}

.shop-hero-search__button:hover {
	background: rgba(0, 0, 0, 0.06);
}

.shop-category-nav-wrap {
	/* Colle juste sous la pile sticky .site-top (annonces + masthead). */
	position: sticky;
	top: var(--shop-sticky-top, var(--site-top-offset));
	z-index: 40;
	padding: 18px 0 0;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid rgba(0, 0, 0, 0.04);
	border-bottom: 0;
}

body.admin-bar .shop-category-nav-wrap {
	/* .site-top est déjà décalé de 32px ; le sticky boutique doit suivre. */
	top: calc(32px + var(--shop-sticky-top, var(--site-top-offset)));
}

@media screen and (max-width: 782px) {
	body.admin-bar .shop-category-nav-wrap {
		top: calc(46px + var(--shop-sticky-top, var(--site-top-offset)));
	}
}

.shop-category-nav {
	--shop-cat-fade: 28px;
	display: flex;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	flex: 1;
	min-width: 0;
	/* padding-bottom 2px = style-shop 2026 ; 2px latéral évite le clip du border chip */
	padding: 2px 2px 2px;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	/* Défaut 2026 : pas de barre, pas de fade (évite flash au reload) */
	scrollbar-width: none;
	-ms-overflow-style: none;
	mask-image: none;
	-webkit-mask-image: none;
}

.shop-category-nav::-webkit-scrollbar {
	display: none;
}

.shop-category-nav[data-overflow="true"] {
	cursor: grab;
}

.shop-category-nav.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	scroll-snap-type: none;
	user-select: none;
}

/* Fades uniquement s’il y a un vrai overflow (posé par JS) */
.shop-category-nav[data-overflow="true"] {
	mask-image: linear-gradient(
		90deg,
		transparent 0,
		#000 var(--shop-cat-fade),
		#000 calc(100% - var(--shop-cat-fade)),
		transparent 100%
	);
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0,
		#000 var(--shop-cat-fade),
		#000 calc(100% - var(--shop-cat-fade)),
		transparent 100%
	);
}

.shop-category-nav[data-overflow="true"][data-at-start="true"] {
	mask-image: linear-gradient(
		90deg,
		#000 0,
		#000 calc(100% - var(--shop-cat-fade)),
		transparent 100%
	);
	-webkit-mask-image: linear-gradient(
		90deg,
		#000 0,
		#000 calc(100% - var(--shop-cat-fade)),
		transparent 100%
	);
}

.shop-category-nav[data-overflow="true"][data-at-end="true"] {
	mask-image: linear-gradient(
		90deg,
		transparent 0,
		#000 var(--shop-cat-fade),
		#000 100%
	);
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0,
		#000 var(--shop-cat-fade),
		#000 100%
	);
}

.shop-category-nav[data-overflow="true"][data-at-start="true"][data-at-end="true"] {
	mask-image: none;
	-webkit-mask-image: none;
}

.shop-category-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	min-height: 40px;
	padding: 10px 14px;
	border-radius: var(--pill-radius, 100px);
	border: 1px solid var(--shop-border);
	background: #fff;
	text-decoration: none;
	color: var(--shop-text);
	white-space: nowrap;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	scroll-snap-align: start;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-category-chip:hover,
.shop-category-chip:focus,
.shop-category-chip:focus-visible {
	/* Tue Bootstrap a:hover (bleu + underline) */
	color: var(--shop-text, #0b0b0b) !important;
	text-decoration: none !important;
	background: #f5f5f5;
	border-color: #cfcfcf;
}

.shop-category-chip.is-active {
	background: var(--black-pure, #000);
	color: #fff;
	border-color: var(--black-pure, #000);
}

.shop-category-chip.is-active:hover,
.shop-category-chip.is-active:focus,
.shop-category-chip.is-active:focus-visible {
	background: var(--black-pure, #000) !important;
	color: #fff !important;
	text-decoration: none !important;
	border-color: var(--black-pure, #000) !important;
}

.shop-category-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
}

.shop-filter-toggle {
	flex: 0 0 auto;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--black-pure, #000);
	border-radius: var(--pill-radius, 100px);
	background: #fff;
	color: var(--black-pure, #000);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: none;
	cursor: pointer;
}

.shop-filter-toggle[aria-expanded="true"] {
	background: var(--black-pure, #000);
	color: #fff;
}

/* Pas de contour pointillé navigateur au clic (chips / filtres / search boutique) */
.shop-category-chip:focus,
.shop-category-chip:focus-visible,
.shop-filter-toggle:focus,
.shop-filter-toggle:focus-visible,
.shop-hero-search__button:focus,
.shop-hero-search__button:focus-visible,
.shop-filter-submit:focus,
.shop-filter-submit:focus-visible,
.shop-filter-form select:focus,
.shop-filter-form select:focus-visible {
	outline: none !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
}

.shop-filter-wrap {
	padding: 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.28s ease, opacity 0.28s ease, padding 0.28s ease;
}

.shop-filter-wrap.is-open {
	padding: 12px 0 14px;
	max-height: 800px;
	opacity: 1;
}

.shop-category-nav-wrap .shop-category-toolbar {
	padding-bottom: 8px;
}

.shop-filter-form {
	display: grid;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--shop-border);
	border-radius: 16px;
	padding: 12px;
}

.shop-filter-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.shop-filter-form label {
	display: grid;
	gap: 6px;
}

.shop-filter-form span {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #666;
}

.shop-filter-form select {
	height: 40px;
	border: 1px solid var(--shop-border);
	border-radius: 10px;
	padding: 0 10px;
	font-size: 0.9rem;
	background: #fff;
}

.shop-filter-submit {
	min-height: 42px;
	border: 0;
	border-radius: var(--pill-radius, 100px);
	background: var(--black-pure, #000);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: none;
}

.shop-loop-wrap {
	padding-top: 14px;
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Réassurance light collée sous la loop */
body.post-type-archive-product .rideon-reassurance--light,
body.tax-product_cat .rideon-reassurance--light {
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-reassurance {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 16px;
}

.shop-reassurance span {
	display: inline-flex;
	justify-content: center;
	padding: 8px 10px;
	border-radius: var(--pill-radius, 100px);
	background: #fff;
	border: 1px solid var(--shop-border);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	display: none;
}

.woocommerce .woocommerce-ordering select {
	border: 1px solid var(--shop-border);
	border-radius: 10px;
	height: 40px;
	padding: 0 10px;
	background: #fff;
}

.woocommerce ul.products {
	/* Tokens carte aussi hors archive shop (404, /visual…) */
	--shop-text: #0b0b0b;
	--shop-muted: #666;
	--shop-border: #e8e8e8;
	list-style: none;
	margin: 0;
	padding: 14px 14px 0 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.woocommerce ul.products li.product {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 20px;
	overflow: visible;
	display: flex;
	flex-direction: column;
	position: relative;
	/* Hover card — style.css 2026 (--transition-smooth + scale 1.02) */
	transform-origin: center center;
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-decoration: none;
	color: var(--shop-text);
	flex: 1;
}

/* Zone image — calibrage collection landing (fond gris, 275px, contain). */
.woocommerce ul.products li.product .shop-card__media-panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 275px;
	min-height: 275px;
	max-height: 275px;
	margin: 0 0 1.5rem;
	padding: 10px;
	background: var(--surface-light, #f5f5f5);
	border-radius: 30px;
	overflow: hidden;
}

.shop-card-specs-top {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.woocommerce ul.products li.product .shop-card__media-panel img {
	display: block;
	max-width: 100%;
	max-height: 220px;
	width: auto;
	height: auto;
	margin: 0 auto;
	padding: 0;
	object-fit: contain;
	object-position: center;
	position: relative;
	z-index: 1;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 8px 4px;
	padding: 0;
	font-family: var(--font-main, system-ui, sans-serif);
	font-size: clamp(1.05rem, 2.75vw, 1.2rem);
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
	text-align: center;
	letter-spacing: 0.01em;
	word-spacing: 0.04em;
	text-wrap: balance;
}

/* Pas de note Woo (« Note x.xx sur 5 ») sur les cartes boutique. */
.woocommerce ul.products li.product .star-rating,
body.bf-shop-2026.woocommerce ul.products li.product .star-rating {
	display: none !important;
}

.shop-card-spec-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 9px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--pill-radius, 100px);
	font-size: 0.65rem;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.shop-card-spec-pill.is-usage {
	background: rgba(17, 17, 17, 0.9);
	color: #fff;
	border-color: rgba(17, 17, 17, 0.9);
}

/* 1:1 rideon-2026/css/style-shop.css */
.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 8px 0;
	padding: 0 0 4px;
	color: var(--shop-muted);
	font-size: 1.06rem;
	font-weight: 500;
	text-align: center;
}

.woocommerce ul.products li.product .price del {
	opacity: 0.55;
}

.woocommerce ul.products li.product .button {
	display: none !important;
}

.woocommerce nav.woocommerce-pagination {
	display: none !important;
}

.shop-infinite-sentinel {
	width: 100%;
	height: 48px;
	pointer-events: none;
	visibility: hidden;
}

.shop-infinite-status {
	margin: 18px 0 0;
	text-align: center;
	font-size: 0.92rem;
	color: color-mix(in srgb, var(--shop-text, #1a1a1a) 70%, transparent);
}

.woocommerce nav.woocommerce-pagination ul {
	border: 0;
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-top: 24px;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	border-radius: var(--pill-radius, 100px);
	background: #fff;
	border: 1px solid var(--shop-border);
}

@media (min-width: 768px) {
	.shop-filter-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.shop-reassurance {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 767px) {
	.shop-category-toolbar {
		align-items: stretch;
	}

	.shop-filter-toggle {
		min-height: 42px;
	}

	.shop-hero-search {
		border-radius: 16px;
	}

	.shop-hero-search__button {
		width: 42px;
	}
}

@media (min-width: 1024px) {
	.shop-loop-wrap {
		padding-top: 20px;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	/* Zoom image produit — style-shop 2026 (≥1024) */
	.woocommerce ul.products li.product .shop-card__media-panel img {
		transition: transform 0.55s ease;
		transform-origin: center center;
	}

	.woocommerce ul.products li.product:hover .shop-card__media-panel img:not(.rideon-new-badge):not(.rideon-promo-badge),
	.woocommerce ul.products li.product .shop-card__media-panel:hover img:not(.rideon-new-badge):not(.rideon-promo-badge) {
		transform: scale(1.03);
	}
}

/* Zoom card entière — style.css 2026 (tous viewports) */
.woocommerce ul.products li.product:hover {
	transform: scale(1.02);
	z-index: 2;
}
/* BF tokens + isolation legacy */
body.bf-shop-2026,
body.bf-shop-2026 .shop-shell,
body.bf-shop-2026 .shop-hero {
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	-webkit-font-smoothing: antialiased;
}

body.bf-shop-2026 .bgCat,
body.bf-shop-2026 .introCat,
body.bf-shop-2026 .productsContainer.row > .sidebar,
body.bf-shop-2026 .woocommerce-products-header {
	display: none !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	color: #0b0b0b !important;
	background: transparent !important;
}

body.bf-shop-2026.woocommerce ul.products {
	width: 100% !important;
	float: none !important;
}

/* Containers boutique = tokens 2026 (padding 20px, max 1440) — pas Bootstrap 1140.
   border-box obligatoire : sans ça le legacy content-box ajoute 20+20 hors du max-width
   (1480px vs 1440 sur 2026) et élargit cards / réduit les marges latérales. */
body.bf-shop-2026 .shop-loop-wrap.container,
body.bf-shop-2026 .shop-category-nav-wrap .container,
body.bf-shop-2026 .shop-hero .container,
body.bf-shop-2026 .shop-filter-wrap .container {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: var(--container-width, 1440px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	float: none !important;
}

/* ==========================================================================
   Isolation boutique BF — tue floats Woo + width:!important legacy rideon
   ========================================================================== */
body.bf-shop-2026 {
	--font-main: "Space Grotesk", sans-serif;
	--font-headline: "mono45-headline", Impact, sans-serif;
	--headline-word-spacing: 0;
	--pill-radius: 100px;
	background: #fff !important;
	color: #0b0b0b !important;
	font-family: var(--font-main) !important;
	font-size: 16px !important; /* base rem stable (évite body legacy 14px) */
	line-height: 1.5 !important;
}

body.bf-header-2026.bf-shop-2026 .main,
body.bf-shop-2026 .main {
	margin-top: 0 !important;
}

/* 2026 : `* { box-sizing: border-box }` global — sans ça height:275px + padding 10
   devient 295px (content-box) et fausse le ratio des cards. */
body.bf-shop-2026 .main,
body.bf-shop-2026 .main *,
body.bf-shop-2026 .main *::before,
body.bf-shop-2026 .main *::after,
body.bf-shop-2026 .contenuPAge,
body.bf-shop-2026 .contenuPAge *,
body.bf-shop-2026 .contenuPAge *::before,
body.bf-shop-2026 .contenuPAge *::after,
body.bf-shop-2026 .shop-shell,
body.bf-shop-2026 .shop-shell *,
body.bf-shop-2026 .shop-shell *::before,
body.bf-shop-2026 .shop-shell *::after,
body.bf-shop-2026 ul.products,
body.bf-shop-2026 ul.products *,
body.bf-shop-2026 ul.products *::before,
body.bf-shop-2026 ul.products *::after {
	box-sizing: border-box;
}

/* Bannière hero — isolation legacy, valeurs strictement 2026 (style-shop + h1 theme) */
body.bf-shop-2026 .shop-hero {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(44px, 7vw, 86px) 0 clamp(28px, 5vw, 50px) !important;
	background-color: #f4f4f4 !important;
	background-image: var(--shop-hero-bg) !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	isolation: isolate !important;
	box-shadow: none !important;
	border: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	overflow: visible !important;
}

body.bf-shop-2026 .shop-hero::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: 0 !important;
	pointer-events: none !important;
	background: linear-gradient(
		90deg,
		#f4f4f4 0%,
		rgba(244, 244, 244, 0.92) 28%,
		rgba(244, 244, 244, 0.55) 42%,
		rgba(244, 244, 244, 0) 52%
	) !important;
	opacity: 1 !important;
}

body.bf-shop-2026 .shop-hero__inner {
	position: relative !important;
	z-index: 1 !important;
}

body.bf-shop-2026 .shop-hero,
body.bf-shop-2026 .shop-hero__inner,
body.bf-shop-2026 .shop-hero__title,
body.bf-shop-2026 .shop-hero__subtitle {
	box-sizing: border-box !important;
}

body.bf-shop-2026 .shop-hero__title {
	/* = .shop-hero__title 2026 + h1 theme (weight 700 / mono45 n7) */
	position: static !important;
	left: auto !important;
	top: auto !important;
	display: block !important;
	background: transparent !important;
	color: var(--shop-text, #0b0b0b) !important;
	font-family: var(--font-headline, "mono45-headline", Impact, sans-serif) !important;
	font-size: var(--h1-size, clamp(2.5rem, 8vw, 6rem)) !important;
	font-weight: 700 !important;
	line-height: 0.92 !important;
	letter-spacing: normal !important;
	word-spacing: var(--headline-word-spacing, 0) !important;
	text-transform: uppercase !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.bf-shop-2026 .shop-hero__subtitle {
	margin: 18px 0 0 !important;
	max-width: 58ch !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: clamp(1rem, 2.7vw, 1.15rem) !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
	color: #444 !important;
	text-transform: none !important;
	background: transparent !important;
}

body.bf-shop-2026 .shop-hero-search {
	margin-top: 18px !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	background: #fff !important;
	border: 1px solid var(--shop-border, #e8e8e8) !important;
	border-radius: var(--pill-radius, 100px) !important;
	padding: 6px !important;
	max-width: 760px !important;
	position: relative !important;
	box-shadow: none !important;
}

body.bf-shop-2026 .shop-hero-search__input {
	flex: 1 !important;
	height: 42px !important;
	border: 0 !important;
	background: transparent !important;
	padding: 0 14px !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.5 !important;
	color: var(--black-pure, #000) !important;
	-webkit-text-fill-color: var(--black-pure, #000) !important;
	-webkit-font-smoothing: antialiased;
	box-shadow: none !important;
}

/* Annule ::placeholder legacy #D1D1D1 → défaut navigateur / 2026 (#757575) */
body.bf-shop-2026 .shop-hero-search__input::placeholder,
body.bf-shop-2026 .shop-hero .shop-hero-search__input::placeholder,
body.bf-header-2026.bf-shop-2026 .shop-hero-search__input::placeholder {
	color: #757575 !important;
	opacity: 1 !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.5 !important;
	-webkit-text-fill-color: #757575 !important;
}

body.bf-shop-2026 .shop-hero-search__input::-webkit-input-placeholder,
body.bf-shop-2026 .shop-hero .shop-hero-search__input::-webkit-input-placeholder,
body.bf-header-2026.bf-shop-2026 .shop-hero-search__input::-webkit-input-placeholder {
	color: #757575 !important;
	opacity: 1 !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 400 !important;
}

body.bf-shop-2026 .shop-hero-search__input::-moz-placeholder,
body.bf-shop-2026 .shop-hero .shop-hero-search__input::-moz-placeholder,
body.bf-header-2026.bf-shop-2026 .shop-hero-search__input::-moz-placeholder {
	color: #757575 !important;
	opacity: 1 !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 400 !important;
}

body.bf-shop-2026 .shop-hero-search__button {
	width: 42px !important;
	height: 42px !important;
	min-height: 42px !important;
	border: 0 !important;
	border-radius: var(--pill-radius, 100px) !important;
	background: transparent !important;
	color: var(--black-pure, #000) !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
}

body.bf-shop-2026 .shop-hero-search__button svg.icon {
	width: 20px !important;
	height: 20px !important;
	display: block !important;
}

body.bf-shop-2026 .shop-shell,
body.bf-shop-2026 #primary.content-area,
body.bf-shop-2026 #main.site-main {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
}

/* Grille produits : CSS grid 2026, pas floats Woo / width 28% legacy */
body.bf-shop-2026.woocommerce ul.products,
body.bf-shop-2026 ul.products {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 16px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 14px 14px 0 0 !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	clear: both !important;
}

body.bf-shop-2026.woocommerce ul.products::before,
body.bf-shop-2026.woocommerce ul.products::after,
body.bf-shop-2026 ul.products::before,
body.bf-shop-2026 ul.products::after {
	display: none !important;
	content: none !important;
}

body.bf-shop-2026.woocommerce ul.products li.product,
body.bf-shop-2026 ul.products li.product,
body.bf-shop-2026 li.product {
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-radius: 20px !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: visible !important;
	transform-origin: center center !important;
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

body.bf-shop-2026.woocommerce ul.products li.product.first,
body.bf-shop-2026.woocommerce ul.products li.product.last {
	clear: none !important;
	margin: 0 !important;
}

body.bf-shop-2026.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	text-decoration: none !important;
	color: #0b0b0b !important;
	flex: 1 !important;
	transform: none !important;
	opacity: 1 !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .shop-card__media-panel {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	height: 275px !important;
	min-height: 275px !important;
	max-height: 275px !important;
	margin: 0 0 1.5rem !important;
	padding: 10px !important;
	background: #f5f5f5 !important;
	border-radius: 30px !important;
	overflow: hidden !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .shop-card__media-panel img:not(.rideon-new-badge):not(.rideon-promo-badge),
body.bf-shop-2026.woocommerce ul.products li.product a img:not(.rideon-new-badge):not(.rideon-promo-badge) {
	display: block !important;
	width: auto !important;
	max-width: 100% !important;
	max-height: 220px !important;
	height: auto !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	object-fit: contain !important;
	object-position: center !important;
	aspect-ratio: auto !important;
	float: none !important;
	position: relative !important;
	transform-origin: center center !important;
	/* Tue legacy `img{transition:all}` qui fausse le scale hover 2026 */
	transition: transform 0.55s ease !important;
	opacity: 1 !important;
	filter: none !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .woocommerce-loop-product__title {
	position: static !important;
	left: auto !important;
	top: auto !important;
	margin: 0 8px 4px !important;
	padding: 0 !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: clamp(1.05rem, 2.75vw, 1.2rem) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-transform: none !important;
	text-align: center !important;
	letter-spacing: 0.01em !important;
	word-spacing: 0.04em !important;
	text-wrap: balance;
	color: #0b0b0b !important;
	background: transparent !important;
	width: auto !important;
	z-index: auto !important;
	border: 0 !important;
	box-shadow: none !important;
	transition: none !important;
	transform: none !important;
	/* Tue legacy Poppins bold / mono45 / navy title chrome */
	-webkit-text-stroke: 0 !important;
	text-shadow: none !important;
}

/*
 * Prix grille — 1:1 DEV style-shop.css (+ resets legacy BF / Woo).
 * DEV effectif : .price 500/#666 ; del opacity .55 ; ins 700 (Woo).
 */
body.bf-shop-2026.woocommerce ul.products li.product .price {
	display: block !important;
	align-items: initial !important;
	justify-content: initial !important;
	margin: 0 8px 0 !important;
	padding: 0 0 4px !important;
	color: var(--shop-muted, #666) !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 1.06rem !important;
	font-weight: 500 !important;
	line-height: normal !important;
	text-align: center !important;
	float: none !important;
	visibility: visible !important;
	height: auto !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .price .woocommerce-Price-amount,
body.bf-shop-2026.woocommerce ul.products li.product .price .woocommerce-Price-amount bdi,
body.bf-shop-2026.woocommerce ul.products li.product .price .amount {
	color: inherit !important;
	font-size: inherit !important;
	font-family: inherit !important;
	font-weight: inherit !important;
	display: inline !important;
	justify-content: initial !important;
	align-items: initial !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .price .woocommerce-Price-amount::before,
body.bf-shop-2026.woocommerce ul.products li.product .price .amount::before {
	content: none !important;
	display: none !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .price del,
body.bf-shop-2026.woocommerce ul.products li.product .price del .woocommerce-Price-amount,
body.bf-shop-2026.woocommerce ul.products li.product .price del .woocommerce-Price-amount bdi,
body.bf-shop-2026.woocommerce ul.products li.product .price del .amount {
	display: inline-block !important;
	visibility: visible !important;
	height: auto !important;
	opacity: 0.55 !important;
	color: inherit !important;
	font-size: inherit !important;
	font-family: inherit !important;
	font-weight: inherit !important;
	text-decoration: line-through !important;
	background: transparent !important;
	margin: 0 0.25em 0 0 !important;
	padding: 0 !important;
}

/* Comme Woo sur DEV : prix promo en gras */
body.bf-shop-2026.woocommerce ul.products li.product .price ins,
body.bf-shop-2026.woocommerce ul.products li.product .price ins .woocommerce-Price-amount,
body.bf-shop-2026.woocommerce ul.products li.product .price ins .woocommerce-Price-amount bdi,
body.bf-shop-2026.woocommerce ul.products li.product .price ins .amount {
	display: inline-block !important;
	background: transparent !important;
	color: inherit !important;
	font-size: inherit !important;
	font-family: inherit !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .onsale,
body.bf-shop-2026.woocommerce span.onsale {
	/* badge Woo rond legacy masqué — cards 2026 sans pastille verte */
	display: none !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .button,
body.bf-shop-2026.woocommerce ul.products li.product a.button {
	display: none !important;
}

body.bf-shop-2026 .woocommerce-result-count,
body.bf-shop-2026 .woocommerce-ordering,
body.bf-shop-2026 .woocommerce-products-header,
body.bf-shop-2026 .woocommerce-breadcrumb {
	display: none !important;
}

@media (min-width: 768px) {
	body.bf-shop-2026.woocommerce ul.products,
	body.bf-shop-2026 ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Zoom card entière — style.css 2026 */
body.bf-shop-2026.woocommerce ul.products li.product:hover,
body.bf-shop-2026 ul.products li.product:hover {
	transform: scale(1.02) !important;
	z-index: 2 !important;
}

@media (min-width: 1024px) {
	body.bf-shop-2026.woocommerce ul.products,
	body.bf-shop-2026 ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	/* Zoom image produit — style-shop 2026 */
	body.bf-shop-2026.woocommerce ul.products li.product:hover .shop-card__media-panel img:not(.rideon-new-badge):not(.rideon-promo-badge),
	body.bf-shop-2026.woocommerce ul.products li.product .shop-card__media-panel:hover img:not(.rideon-new-badge):not(.rideon-promo-badge),
	body.bf-shop-2026 ul.products li.product:hover .shop-card__media-panel img:not(.rideon-new-badge):not(.rideon-promo-badge),
	body.bf-shop-2026 ul.products li.product .shop-card__media-panel:hover img:not(.rideon-new-badge):not(.rideon-promo-badge) {
		transform: scale(1.03) !important;
	}
}

/* Colonnes Woo (columns-2/3/4) + img width:100% du woocommerce.css général */
body.bf-shop-2026.woocommerce ul.products.columns-2 li.product,
body.bf-shop-2026.woocommerce ul.products.columns-3 li.product,
body.bf-shop-2026.woocommerce ul.products.columns-4 li.product,
body.bf-shop-2026.woocommerce ul.products.columns-5 li.product,
body.bf-shop-2026.woocommerce ul.products.columns-6 li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

body.bf-shop-2026.woocommerce ul.products li.product a img:not(.rideon-new-badge):not(.rideon-promo-badge),
body.bf-shop-2026.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
	width: auto !important;
	max-width: 100% !important;
	margin: 0 auto !important;
}

/* Bootstrap .row / clearfix legacy éventuels autour de la boucle */
body.bf-shop-2026 .shop-loop-results,
body.bf-shop-2026 .shop-loop-wrap {
	float: none !important;
	width: 100% !important;
	display: block !important;
}

body.bf-shop-2026 .shop-shell .row {
	display: block !important;
	margin: 0 !important;
}


/* Sélecteurs body.woocommerce (pas de wrapper .woocommerce interne sur BF) */
body.bf-shop-2026.woocommerce ul.products li.product a img:not(.rideon-new-badge):not(.rideon-promo-badge),
body.bf-shop-2026 ul.products li.product a img:not(.rideon-new-badge):not(.rideon-promo-badge),
body.bf-shop-2026 ul.products li.product .shop-card__media-panel img:not(.rideon-new-badge):not(.rideon-promo-badge) {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.bf-shop-2026.woocommerce span.onsale,
body.bf-shop-2026 ul.products li.product .onsale,
body.bf-shop-2026 span.onsale {
	display: none !important;
}

body.bf-shop-2026 .shop-category-chip:focus,
body.bf-shop-2026 .shop-category-chip:focus-visible,
body.bf-shop-2026 .shop-filter-toggle:focus,
body.bf-shop-2026 .shop-filter-toggle:focus-visible,
body.bf-shop-2026 .shop-hero-search__button:focus,
body.bf-shop-2026 .shop-hero-search__button:focus-visible,
body.bf-shop-2026 .shop-filter-submit:focus,
body.bf-shop-2026 .shop-filter-submit:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Boutique : neutralise a:hover Bootstrap (bleu #0056b3 + underline) partout dans la page shop */
body.bf-shop-2026 .shop-hero a:hover,
body.bf-shop-2026 .shop-hero a:focus,
body.bf-shop-2026 .shop-shell a:hover,
body.bf-shop-2026 .shop-shell a:focus,
body.bf-shop-2026.woocommerce ul.products li.product a:hover,
body.bf-shop-2026.woocommerce ul.products li.product a:focus,
body.bf-shop-2026 ul.products li.product a:hover,
body.bf-shop-2026 ul.products li.product a:focus {
	color: inherit !important;
	text-decoration: none !important;
	background-color: transparent;
}

body.bf-shop-2026 .shop-category-chip:hover,
body.bf-shop-2026 .shop-category-chip:focus {
	color: var(--shop-text, #0b0b0b) !important;
	text-decoration: none !important;
	background: #f5f5f5 !important;
	border-color: #cfcfcf !important;
}

/* Chips : hauteur / typo strictement style-shop 2026 */
body.bf-shop-2026 .shop-category-chip,
body.bf-shop-2026 .shop-category-nav a.shop-category-chip {
	box-sizing: border-box !important;
	min-height: 40px !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.76rem !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	letter-spacing: 0.06em !important;
}

/* État actif « Tous » / catégorie — isole du bleu Bootstrap legacy */
body.bf-shop-2026 .shop-category-chip.is-active,
body.bf-shop-2026 .shop-shell .shop-category-chip.is-active,
body.bf-shop-2026 .shop-category-nav a.shop-category-chip.is-active {
	background: var(--black-pure, #000) !important;
	color: #fff !important;
	border-color: var(--black-pure, #000) !important;
	text-decoration: none !important;
}

body.bf-shop-2026 .shop-category-chip.is-active:hover,
body.bf-shop-2026 .shop-category-chip.is-active:focus,
body.bf-shop-2026 .shop-shell .shop-category-chip.is-active:hover,
body.bf-shop-2026 .shop-shell .shop-category-chip.is-active:focus {
	color: #fff !important;
	background: var(--black-pure, #000) !important;
	border-color: var(--black-pure, #000) !important;
	text-decoration: none !important;
}

body.bf-shop-2026 .woocommerce-loop-product__title,
body.bf-shop-2026 ul.products li.product a:hover .woocommerce-loop-product__title,
body.bf-shop-2026 ul.products li.product:hover .woocommerce-loop-product__title {
	color: #0b0b0b !important;
	text-decoration: none !important;
	background: transparent !important;
}

body.bf-shop-2026 ul.products li.product:hover .price,
body.bf-shop-2026 ul.products li.product a:hover .price {
	color: #666 !important;
	text-decoration: none !important;
}

/* Pastilles 2026 — Nouveau (haut-gauche) + Promo hex (haut-droite, hors panel) */
body.bf-shop-2026 ul.products li.product {
	overflow: visible !important;
}

body.bf-shop-2026.woocommerce ul.products li.product .rideon-new-badge,
body.bf-shop-2026 ul.products li.product .rideon-new-badge,
body.bf-shop-2026 .rideon-new-badge {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	bottom: auto !important;
	width: 84px !important;
	height: auto !important;
	max-width: 84px !important;
	max-height: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	object-position: center !important;
	z-index: 10 !important;
	pointer-events: none !important;
	display: block !important;
	filter: none !important;
	transform: none !important;
	box-shadow: none !important;
}

/* Badge Promo cartes — 1:1 rideon-2026/style.css (.rideon-promo-badge). */
body.bf-shop-2026.woocommerce ul.products li.product .rideon-promo-badge,
body.bf-shop-2026 ul.products li.product .rideon-promo-badge,
body.bf-shop-2026 .rideon-promo-badge {
	position: absolute !important;
	top: -22px !important;
	right: -12px !important;
	left: auto !important;
	bottom: auto !important;
	width: 72px !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	aspect-ratio: 116 / 127 !important;
	object-fit: contain !important;
	object-position: center !important;
	z-index: 12 !important;
	pointer-events: none;
	display: block !important;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
	transform: none !important;
}

@media (max-width: 768px) {
	body.bf-shop-2026.woocommerce ul.products li.product .rideon-new-badge,
	body.bf-shop-2026 .rideon-new-badge {
		width: 64px !important;
		max-width: 64px !important;
		top: 10px !important;
		left: 10px !important;
	}

	body.bf-shop-2026.woocommerce ul.products li.product .rideon-promo-badge,
	body.bf-shop-2026 .rideon-promo-badge {
		width: 58px !important;
		top: -16px !important;
		right: -8px !important;
	}
}
