/* ==========================================================================
   DIRECT OFFICE — Thème
   Système graphique : charte du groupe Direct
   Rouge Direct #C8121B · Grenat #8E0B12 · Blanc cassé #F6F3EE · Anthracite
   Titres : Encode Sans SemiCondensed 700/800 · Texte : IBM Plex Sans 400/500/600
   ========================================================================== */

:root {
	/* Couleurs de marque */
	--red: #c8121b;
	--red-hover: #8e0b12;
	--red-active: #6a0a0f;
	--red-group: #f70000;
	--laterite: #d9822b;

	/* Neutres */
	--ink: #1f2226;
	--ink-2: #383c42;
	--slate: #6b6f76;
	--line: #e8e3db;
	--field: #d9d4cc;
	--offwhite: #f6f3ee;
	--offwhite-2: #efeae2;
	--white: #ffffff;
	--disabled-bg: #d9d4cc;
	--disabled-fg: #8c9098;

	/* Statuts */
	--success: #1e8e5a; --success-bg: #e3f3ea;
	--pending: #d99a06; --pending-bg: #fbf1d6;
	--error: #9b1c1c;   --error-bg: #f8e3e3;
	--info: #2f6fd6;    --info-bg: #e4edfb;

	/* Typographie */
	--f-display: "Encode Sans Semi Condensed", "Arial Narrow", Arial, sans-serif;
	--f-body: "IBM Plex Sans", Arial, Helvetica, sans-serif;

	/* Formes */
	--r-xs: 4px;
	--r-sm: 6px;
	--r: 10px;
	--r-lg: 16px;
	--r-pill: 999px;
	--cut: 18px; /* coin coupé à 45° */

	/* Ombres (réservées aux états de survol) */
	--sh-hover: 0 10px 28px rgba(31, 34, 38, .10);
	--sh-btn: 0 6px 16px rgba(142, 11, 18, .28);
	--sh-pop: 0 18px 50px rgba(31, 34, 38, .16);

	--container: 1320px;
	--gutter: 24px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--header-h: 0px;

	/* Motif de marque (vagues en écailles) */
	--motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M0 24a12 12 0 0 1 24 0H0Zm24 0a12 12 0 0 1 24 0H24ZM-12 48a12 12 0 0 1 24 0H-12Zm24 0a12 12 0 0 1 24 0H12Zm24 0a12 12 0 0 1 24 0H36Z' fill='%23ffffff' fill-opacity='.07'/%3E%3C/svg%3E");
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--offwhite);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "tnum" 0;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-display);
	font-weight: 700;
	line-height: 1.12;
	margin: 0 0 .5em;
	color: var(--ink);
	letter-spacing: -.01em;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: var(--r-xs); }
.do-icon { flex: none; display: inline-block; vertical-align: middle; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 12px 18px; background: var(--ink); color: var(--white); border-radius: var(--r-sm);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Boutons (charte p.14 : 4 états) ---------- */
.btn, .button, button.button, input[type="submit"].button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.1;
	border-radius: var(--r-sm); border: 1.5px solid transparent;
	background: var(--red); color: var(--white);
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:hover, .button:hover { background: var(--red-hover); color: var(--white); box-shadow: var(--sh-btn); }
.btn:active, .button:active { background: var(--red-active); box-shadow: none; transform: translateY(1px); }
.btn[disabled], .btn.is-disabled, .button:disabled, .button.disabled {
	background: var(--disabled-bg) !important; color: var(--disabled-fg) !important; border-color: transparent !important;
	box-shadow: none !important; cursor: not-allowed;
}
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { background: var(--offwhite); color: var(--red-hover); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); box-shadow: none; }
.btn--whatsapp { background: #fff; color: #128c4b; border-color: #b9e3c9; }
.btn--whatsapp:hover { background: #128c4b; color: #fff; border-color: #128c4b; box-shadow: none; }
.btn--link { background: none; border: 0; padding: 0; min-height: 0; color: var(--red); }
.btn--link:hover { background: none; color: var(--red-hover); box-shadow: none; text-decoration: underline; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }

.link-more {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; font-size: 15px; color: var(--ink);
	border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.link-more .do-icon { transition: transform .25s var(--ease); color: var(--red); }
.link-more:hover { color: var(--red); }
.link-more:hover .do-icon { transform: translateX(4px); }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; background: transparent; border-radius: var(--r-sm); color: var(--ink);
}
.icon-btn:hover { background: var(--offwhite); color: var(--red); }

/* ---------- Étiquettes, statuts ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }

.status, .badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px; border-radius: var(--r-pill);
	font-size: 13px; font-weight: 600; line-height: 1.3;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--success { color: var(--success); background: var(--success-bg); }
.status--pending { color: #8a6203; background: var(--pending-bg); }
.status--error   { color: var(--error); background: var(--error-bg); }
.status--info    { color: var(--info); background: var(--info-bg); }
.badge--dark { background: var(--ink); color: var(--white); }
.badge--muted { background: var(--offwhite-2); color: var(--slate); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .82); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__msg { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__msg .do-icon { color: var(--laterite); }
.topbar__links, .topbar__menu { display: flex; align-items: center; gap: 22px; list-style: none; }
.topbar a:hover { color: var(--white); }
.topbar__wa { display: inline-flex; align-items: center; gap: 6px; color: #7fd6a5; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--white); transition: box-shadow .25s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(31, 34, 38, .08); }
.header-main { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.header-burger { display: none; margin-left: -10px; }
.site-logo { display: inline-flex; align-items: center; flex: none; }
.site-logo__img { width: auto; max-height: 56px; }
.site-logo__text { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.site-logo--sm .site-logo__img { max-height: 40px; }

.header-search {
	flex: 1; display: flex; align-items: stretch; max-width: 720px; height: 50px;
	background: var(--white); border: 1.5px solid var(--field); border-radius: var(--r-sm);
	transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 18, 27, .1); }
.header-search__cat { position: relative; display: flex; align-items: center; border-right: 1px solid var(--line); }
.header-search__cat select {
	appearance: none; -webkit-appearance: none; height: 100%; padding: 0 34px 0 16px; border: 0; background: transparent;
	font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; max-width: 190px; outline: none;
}
.header-search__cat .do-icon { position: absolute; right: 12px; pointer-events: none; color: var(--slate); }
.header-search input[type="search"] {
	flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; font-size: 15px; outline: none;
}
.header-search input::placeholder { color: #9a9ea5; }
.header-search__submit {
	display: grid; place-items: center; width: 56px; margin: 4px; border: 0; border-radius: var(--r-xs);
	background: var(--red); color: var(--white); transition: background .2s;
}
.header-search__submit:hover { background: var(--red-hover); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-action {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink);
}
.header-action:hover { background: var(--offwhite); color: var(--ink); }
.header-action__icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.header-action__icon--ring { border: 1.5px solid var(--line); border-radius: 50%; color: var(--red); }
.header-action__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-action__text small { font-size: 12px; color: var(--slate); }
.header-action__text strong { font-size: 14px; font-weight: 600; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.header-action .woocommerce-Price-amount { font-feature-settings: "tnum" 1; }
.cart-count {
	position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px;
	display: grid; place-items: center; border-radius: var(--r-pill);
	background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; border: 2px solid var(--white);
}
.cart-count[data-count="0"] { background: var(--slate); }
.header-search-toggle { display: none; }

/* Barre de navigation */
.header-nav { border-top: 1px solid var(--line); background: var(--white); }
.header-nav__inner { display: flex; align-items: center; gap: 22px; min-height: 56px; }
.main-menu { display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; min-width: 0; }
.main-menu > li > a {
	position: relative; display: block; padding: 17px 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.main-menu > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 2px; border-radius: 2px;
	background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-menu > li > a:hover, .main-menu > .current-menu-item > a { color: var(--ink); }
.main-menu > li > a:hover::after, .main-menu > .current-menu-item > a::after { transform: scaleX(1); }
.main-menu .sub-menu { display: none; }
.header-nav__ctas { display: flex; gap: 10px; flex: none; }

/* Bouton & méga-menu Catégories */
.cat-dropdown { position: relative; flex: none; }
.cat-dropdown__toggle {
	display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 6px; min-width: 250px;
	border: 0; border-radius: var(--r-sm); background: var(--ink); color: var(--white);
	font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: .01em;
}
.cat-dropdown__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-xs); background: var(--red); }
.cat-dropdown__caret { margin-left: auto; transition: transform .25s var(--ease); }
.cat-dropdown.is-open .cat-dropdown__caret { transform: rotate(180deg); }
.cat-dropdown__panel {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 95; width: 290px;
	background: var(--white); border-radius: var(--r); box-shadow: var(--sh-pop); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.cat-dropdown.is-open .cat-dropdown__panel,
.cat-dropdown:focus-within .cat-dropdown__panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1100px) {
	.cat-dropdown:hover .cat-dropdown__panel { opacity: 1; visibility: visible; transform: none; }
	.cat-dropdown:hover .cat-dropdown__caret { transform: rotate(180deg); }
}
.cat-menu { list-style: none; }
.cat-menu--mega { padding: 8px 0; }
.cat-menu--mega > li > a {
	display: flex; align-items: center; gap: 10px; padding: 11px 18px; font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.cat-menu--mega > li > a .cat-menu__caret { margin-left: auto; color: #b5b0a8; }
.cat-menu--mega > li:hover > a, .cat-menu--mega > li:focus-within > a { background: var(--offwhite); color: var(--red); }
.cat-menu--mega > li:hover > a .cat-menu__caret { color: var(--red); }
.cat-menu--mega .sub-menu {
	position: absolute; top: -1px; left: 100%; min-height: calc(100% + 2px); width: 560px;
	display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 4px; padding: 18px; list-style: none;
	background: var(--white); border: 1px solid var(--line); border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--sh-pop);
	opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.cat-menu--mega > li:hover > .sub-menu, .cat-menu--mega > li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.cat-menu--mega .sub-menu__head { grid-column: 1 / -1; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.cat-menu--mega .sub-menu__head a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.cat-menu--mega .sub-menu__head a .do-icon { color: var(--red); }
.cat-menu--mega .sub-menu .menu-item a {
	display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
	padding: 8px; border-radius: var(--r-sm);
}
.cat-menu--mega .sub-menu .menu-item a:hover { background: var(--offwhite); }
.sub-menu__icon { grid-row: 1 / 3; width: 44px; height: 44px; object-fit: contain; border-radius: var(--r-sm); background: var(--offwhite); padding: 4px; }
.cat-menu--mega .sub-menu span { font-weight: 600; font-size: 14px; line-height: 1.25; }
.cat-menu--mega .sub-menu small { font-size: 12px; color: var(--slate); }
.cat-menu--mega .sub-menu a:not(:has(img)) { grid-template-columns: 1fr; }

/* Tiroir mobile */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; }
.mobile-drawer[hidden] { display: none; }
.mobile-drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 22, 25, .5); opacity: 0; transition: opacity .25s; }
.mobile-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px);
	display: flex; flex-direction: column; background: var(--white);
	transform: translateX(-100%); transition: transform .3s var(--ease);
}
.mobile-drawer.is-open .mobile-drawer__backdrop { opacity: 1; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: none; }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mobile-drawer__body { flex: 1; overflow-y: auto; padding: 8px 0 20px; }
.mobile-drawer__label { margin: 18px 20px 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.mobile-drawer .cat-menu > li > a, .mobile-drawer .main-menu > li > a {
	display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; font-weight: 500; font-size: 16px;
}
.mobile-drawer .main-menu { display: block; }
.mobile-drawer .main-menu > li > a::after { display: none; }
.mobile-drawer .cat-menu .sub-menu { display: none; list-style: none; padding: 4px 0 10px; background: var(--offwhite); }
.mobile-drawer .cat-menu li.is-open > .sub-menu { display: block; }
.mobile-drawer .cat-menu li.is-open > a .cat-menu__caret { transform: rotate(90deg); color: var(--red); }
.mobile-drawer .cat-menu .sub-menu a { display: flex; justify-content: space-between; padding: 10px 20px 10px 34px; font-size: 15px; color: var(--ink-2); }
.mobile-drawer .cat-menu .sub-menu small { color: var(--slate); }
.mobile-drawer__foot { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--line); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 22px 0; }
.section--soft { background: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head__titles { min-width: 0; }
.section-title { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.section-title--sm { font-size: 24px; margin: 36px 0 18px; }

/* ---------- Bannières ---------- */
.do-banner { display: block; overflow: hidden; border-radius: var(--r); background: var(--offwhite-2); }
.do-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
a.do-banner:hover img { transform: scale(1.03); }

/* ---------- Diaporama ---------- */
.slider { position: relative; overflow: hidden; border-radius: var(--r); background: var(--offwhite-2); }
.slider__track { display: flex; height: 100%; transition: transform .6s var(--ease); will-change: transform; }
.slider__slide { flex: 0 0 100%; min-width: 0; }
.slider__slide .do-banner { height: 100%; border-radius: 0; }
.slider__arrow {
	position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink);
	opacity: 0; transition: opacity .25s, background .2s, color .2s;
}
.slider:hover .slider__arrow, .slider:focus-within .slider__arrow { opacity: 1; }
.slider__arrow:hover { background: var(--red); color: var(--white); }
.slider__arrow--prev { left: 14px; }
.slider__arrow--next { right: 14px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.slider__dot {
	width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .65); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); transition: width .3s var(--ease), background .3s;
}
.slider__dot[aria-selected="true"] { width: 26px; background: var(--red); }

/* ---------- Accueil ---------- */
.home-hero { padding: 24px 0 8px; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 20px; }
.hero-slider { aspect-ratio: 955 / 583; }
.hero-slider .do-banner img { object-position: center; }
.home-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 0; }
.home-hero__side-banner { position: relative; height: 100%; min-height: 0; }
.home-hero__side-banner img { position: absolute; inset: 0; }

.usp-bar { padding: 22px 0 8px; }
.usp-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.usp { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.usp + .usp { border-left: 1px solid var(--line); }
.usp__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--offwhite); color: var(--red); }
.usp p { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.usp strong { font-family: var(--f-display); font-size: 17px; font-weight: 700; }
.usp span { font-size: 14px; color: var(--slate); }

.cat-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.cat-tile {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
	padding: 18px 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
	transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.cat-tile:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh-hover); color: var(--ink); }
.cat-tile__img { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 8px; border-radius: 50%; background: var(--offwhite); overflow: hidden; }
.cat-tile__img img { width: 60px; height: 60px; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.cat-tile:hover .cat-tile__img img { transform: scale(1.08); }
.cat-tile__name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.cat-tile__count { font-size: 12px; color: var(--slate); }

/* Onglets */
.section-head--tabs { align-items: center; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--offwhite); border-radius: var(--r-pill); }
.tab {
	padding: 9px 16px; border: 0; border-radius: var(--r-pill); background: transparent;
	font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s;
}
.tab:hover { color: var(--red); }
.tab.is-active { background: var(--ink); color: var(--white); }

/* Carrousel de produits */
.rail { position: relative; }
.rail ul.rail__track {
	display: grid !important; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5);
	gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px;
	margin: 0 !important;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > li { scroll-snap-align: start; }
.rail__arrow {
	position: absolute; top: 38%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--sh-hover);
	transition: background .2s, color .2s, opacity .2s;
}
.rail__arrow:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.rail__arrow--prev { left: -18px; }
.rail__arrow--next { right: -18px; }
.rail__arrow[disabled] { opacity: 0; pointer-events: none; }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 20px; }
.promo-grid__item { aspect-ratio: 421 / 370; }
.promo-grid__item--wide { aspect-ratio: auto; }

/* Rayon mis en avant */
.dept { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.dept__head {
	position: relative; display: flex; align-items: center; gap: 24px; padding: 0 22px 0 0; min-height: 60px;
	border-bottom: 1px solid var(--line);
}
.dept__title {
	position: relative; align-self: stretch; display: flex; align-items: center; margin: 0; padding: 0 44px 0 24px;
	background: var(--ink); color: var(--white); font-size: 22px; font-weight: 700;
	clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
}
.dept__title::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.dept__subs { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; flex: 1; min-width: 0; }
.dept__subs a { font-size: 14px; font-weight: 500; color: var(--slate); }
.dept__subs a:hover { color: var(--red); }
.dept__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.dept__more .do-icon { color: var(--red); }
.dept__body { display: grid; grid-template-columns: 1fr; }
.dept__body.has-banner { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.dept__banner { border-radius: 0; height: 100%; }
.dept__banner img { height: 100%; }
.products.products--dept { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.products--dept .product-card { border-radius: 0; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.products--dept .product-card:nth-child(4n) { border-right: 0; }
.products--dept .product-card:nth-last-child(-n+4) { border-bottom: 0; }
.products--dept .product-card:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: none; }

.wide-slider { aspect-ratio: 2.8 / 1; }
.review-slider { aspect-ratio: 2.8 / 1; background: var(--white); border: 1px solid var(--line); }
.review-slider .do-banner img { object-fit: contain; background: var(--white); }

/* Bandeau entreprises */
.b2b {
	position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
	padding: 56px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); overflow: hidden;
}
.b2b::after {
	content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
	background: var(--motif); background-size: 44px 44px; opacity: .9;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
	pointer-events: none;
}
.b2b > * { position: relative; z-index: 1; }
.b2b h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; margin-bottom: 14px; }
.b2b__intro p { color: rgba(255, 255, 255, .78); max-width: 520px; margin-bottom: 26px; }
.b2b__steps { list-style: none; display: grid; gap: 14px; }
.b2b__steps li {
	display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r);
}
.b2b__num {
	display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%;
	background: var(--red); font-family: var(--f-display); font-weight: 800; font-size: 18px;
}
.b2b__steps strong { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 700; margin-bottom: 2px; }
.b2b__steps p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }

/* Marques */
.logo-strip { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; }
.logo-strip__item {
	display: grid; place-items: center; height: 76px; padding: 12px; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--r);
}
.logo-strip__item img { max-height: 38px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logo-strip__item:hover img { filter: none; opacity: 1; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 28px; background: var(--offwhite); border-radius: var(--r); position: relative; }
.review::before {
	content: "“"; position: absolute; right: 24px; top: 6px; font-family: var(--f-display); font-size: 96px; line-height: 1; color: var(--red); opacity: .15;
}
.review__stars { display: flex; gap: 2px; color: var(--pending); margin-bottom: 12px; }
.review__stars .do-icon { fill: currentColor; }
.review blockquote { margin: 0 0 18px; font-size: 16px; color: var(--ink-2); }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; font-size: 15px; }
.review figcaption small { color: var(--slate); font-size: 13px; }
.review__avatar {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 800;
}

/* Partenaires (défilement continu) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: do-marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: grid; place-items: center; width: 140px; height: 110px; flex: none; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.marquee__item img { max-width: 100%; max-height: 90px; object-fit: contain; }
@keyframes do-marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* ---------- Pré-pied de page ---------- */
.prefooter { padding: 56px 0 0; }
.prefooter__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.prefooter__help {
	position: relative; padding: 40px 44px; border-radius: var(--r-lg); background: var(--red); color: var(--white); overflow: hidden;
	clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}
.prefooter__help::after {
	content: ""; position: absolute; inset: 0; background: var(--motif); background-size: 40px 40px;
	-webkit-mask-image: linear-gradient(110deg, transparent 45%, #000); mask-image: linear-gradient(110deg, transparent 45%, #000);
}
.prefooter__help > * { position: relative; z-index: 1; }
.prefooter__help h2 { color: var(--white); font-size: clamp(24px, 2.6vw, 32px); max-width: 520px; }
.prefooter__help p { color: rgba(255, 255, 255, .85); max-width: 520px; }
.prefooter__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.prefooter__news { padding: 40px 44px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.prefooter__news h3 { font-size: 24px; }
.prefooter__news p { color: var(--slate); }
.newsletter-form { display: flex; gap: 10px; margin: 18px 0 10px; }
.newsletter-form input {
	flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--field); border-radius: var(--r-sm); background: var(--white);
}
.newsletter-form input:focus { outline: none; border: 2px solid var(--red); padding: 0 15px; }
.prefooter__news small { color: var(--slate); font-size: 13px; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; margin-top: 56px; padding: 0 0 0; background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer-assurance { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-assurance > div { display: flex; gap: 16px; align-items: flex-start; padding: 34px 28px 30px 0; }
.footer-assurance > div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.footer-assurance .do-icon { color: var(--red); margin-top: 2px; }
.footer-assurance p { margin: 0; font-size: 14px; }
.footer-assurance strong { display: block; color: var(--white); font-family: var(--f-display); font-size: 17px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 2px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; padding: 48px 0 40px; }
.footer-brand p { margin: 18px 0; font-size: 14px; max-width: 320px; }
.site-logo--footer { padding: 10px 14px; background: var(--white); border-radius: var(--r-sm); }
.site-logo--footer .site-logo__img { max-height: 44px; }
.footer-contact { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .do-icon { color: var(--red); }
.footer-contact a:hover { color: var(--white); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-col h3 { color: var(--white); font-size: 17px; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer-links a { position: relative; transition: color .2s, padding .25s var(--ease); }
.footer-links a:hover { color: var(--white); padding-left: 10px; }
.footer-links a::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 2px; margin-top: -1px; background: var(--red);
	opacity: 0; transition: opacity .2s;
}
.footer-links a:hover::before { opacity: 1; }
.footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
	padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px;
}
.footer-bottom p { margin: 0; }
.footer-bottom .footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }
.footer-bottom .footer-links a:hover { padding-left: 0; }
.footer-bottom .footer-links a::before { display: none; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pay-methods li { padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-xs); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.footer-motif { height: 10px; background: var(--red); }

/* Boutons flottants */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 56px; height: 56px;
	border-radius: 50%; background: #128c4b; color: var(--white); box-shadow: 0 10px 24px rgba(18, 140, 75, .35);
	transition: transform .25s var(--ease);
}
.wa-float:hover { color: var(--white); transform: scale(1.07); }
.to-top {
	position: fixed; right: 26px; bottom: 88px; z-index: 80; display: grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.to-top .do-icon { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; padding: 34px 0 38px; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after {
	content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 34%; max-width: 460px;
	background: var(--red) var(--motif); background-size: 40px 40px;
	clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
	opacity: .95;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { margin: 6px 0 0; max-width: 62%; font-size: clamp(30px, 4vw, 48px); }
.page-hero__intro { margin-top: 10px; max-width: 60%; color: var(--slate); font-size: 17px; }
.page-hero__intro p { margin: 0; }
.page-hero__title::first-letter { text-transform: uppercase; }
/* Blocs propres à l'ancien thème XStore : masqués (ils ne fonctionnent pas sans lui). */
.page-body [data-widget_type^="etheme"], .page-body [data-widget_type*="etheme_"] { display: none !important; }
.page-hero--compact { padding: 26px 0 28px; }
.page-hero--compact .page-hero__title { font-size: clamp(28px, 3.4vw, 40px); }
.page-hero--article::after { display: none; }
.page-hero--article .page-hero__title { max-width: none; }
.article-meta { display: flex; gap: 10px; margin: 14px 0 0; color: var(--slate); font-size: 14px; }

.woocommerce-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--slate); margin-bottom: 6px; }
.woocommerce-breadcrumb a { color: var(--slate); }
.woocommerce-breadcrumb a:hover { color: var(--red); }
.woocommerce-breadcrumb .sep { color: #c3bdb3; }

.page-body { padding-top: 40px; padding-bottom: 20px; }
.entry { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); }
.entry__cover { margin: calc(-1 * clamp(24px, 4vw, 56px)) calc(-1 * clamp(24px, 4vw, 56px)) 32px; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.entry__cover img { width: 100%; }
.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.entry__tags a { padding: 5px 12px; border-radius: var(--r-pill); background: var(--offwhite); font-size: 13px; }

.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 760px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--red); font-size: 19px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; font-feature-settings: "tnum" 1; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--offwhite); font-weight: 600; }
.prose img { border-radius: var(--r); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--offwhite-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: #c3bdb3; background: var(--offwhite); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; gap: 12px; font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.post-card__cat { color: var(--red); font-weight: 600; }
.post-card__title { font-size: 21px; margin-bottom: 8px; }
.post-card__excerpt { color: var(--slate); font-size: 15px; flex: 1; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.post-nav a { display: block; height: 100%; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.post-nav a:hover { border-color: var(--ink); color: var(--ink); }
.post-nav small { display: block; color: var(--slate); font-size: 13px; }
.post-nav strong { font-family: var(--f-display); font-size: 17px; }
.post-nav__next { text-align: right; grid-column: 2; }

/* Pagination */
.pagination, .woocommerce-pagination { margin: 40px 0 10px; }
.pagination .nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; border: 0 !important; }
.page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-weight: 600; font-size: 15px; font-feature-settings: "tnum" 1;
}
a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.page-numbers.dots { border: 0; background: none; }

/* Formulaire de recherche */
.search-form {
	position: relative; display: flex; gap: 8px; max-width: 620px; margin: 22px auto; padding: 6px;
	background: var(--white); border: 1.5px solid var(--field); border-radius: var(--r);
}
.search-form:focus-within { border-color: var(--red); }
.search-form__icon { position: absolute; left: 18px; top: 50%; margin-top: -10px; color: var(--slate); }
.search-form input[type="search"] { flex: 1; min-width: 0; padding: 0 12px 0 42px; border: 0; background: transparent; outline: none; font-size: 16px; }

/* États vides & 404 */
.empty-state { max-width: 640px; margin: 20px auto 40px; padding: 48px 32px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.empty-state__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 16px; border-radius: 50%; background: var(--offwhite); color: var(--red); }
.empty-state h2 { font-size: 26px; }
.empty-state p { color: var(--slate); }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.error-404 { padding: 70px 0 30px; text-align: center; }
.error-404__inner { max-width: 820px; }
.error-404 .error-404__code {
	margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(110px, 20vw, 220px); line-height: .9; letter-spacing: -.04em;
	color: var(--red); background: var(--red) var(--motif); background-size: 30px 30px; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.error-404 h1 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 16px; }
.error-404 p { color: var(--slate); font-size: 17px; }
.error-404__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 10px 0 30px; }

/* Commentaires */
.comments { margin-top: 32px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.comment-list { list-style: none; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .avatar { border-radius: 50%; float: left; margin-right: 14px; }
.comment-respond { margin-top: 20px; }

/* Pastilles (catégories) */
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin-bottom: 20px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 6px 14px 6px 6px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
	font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s;
}
.chip:not(:has(img)) { padding-left: 14px; }
.chip img { width: 30px; height: 30px; object-fit: contain; border-radius: 50%; background: var(--offwhite); mix-blend-mode: multiply; }
.chip small { color: var(--slate); font-size: 12px; font-feature-settings: "tnum" 1; }
.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Formulaires génériques (charte p.14) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"],
input[type="number"], input[type="search"], input[type="date"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px;
	font-size: 15px; background: var(--white); color: var(--ink);
	border: 1px solid var(--field); border-radius: var(--r-sm);
	transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.header-search input, .search-form input, .newsletter-form input, .header-search select { box-shadow: none !important; min-height: 0; }
label { display: inline-block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--red); width: 18px; height: 18px; vertical-align: -3px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 0 0 20px; }
legend { padding: 0 8px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.header-phone { display: none; }
	.cat-dropdown__toggle { min-width: 210px; }
	.main-menu > li > a { padding: 17px 9px; }
	.cat-tiles { grid-template-columns: repeat(6, 1fr); }
	.logo-strip { grid-template-columns: repeat(5, 1fr); }
	.rail ul.rail__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}
@media (max-width: 1100px) {
	.header-nav__ctas .btn--dark { display: none; }
	.main-menu > li > a { padding: 17px 9px; font-size: 14px; }
	.cat-dropdown__toggle { min-width: 0; }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.dept__body.has-banner { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
	.products.products--dept { grid-template-columns: repeat(3, 1fr); }
	.products--dept .product-card:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
	.products--dept .product-card:nth-child(3n) { border-right: 0; }
	.products--dept .product-card:nth-child(n+7) { display: none; }
	.products--dept .product-card:nth-child(n+4) { border-bottom: 0; }
	.b2b { grid-template-columns: 1fr; padding: 40px; gap: 28px; }
	.post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	:root { --gutter: 18px; }
	.topbar__links a:not(.topbar__wa) { display: none; }
	.header-main { gap: 12px; min-height: 68px; flex-wrap: wrap; }
	.header-burger { display: inline-grid; }
	.site-logo__img { max-height: 44px; }
	.header-search { order: 5; flex-basis: 100%; max-width: none; height: 46px; margin-bottom: 12px; }
	.header-search__cat { display: none; }
	.header-action__text { display: none; }
	.header-action { padding: 4px; }
	.header-nav { display: none; }
	.home-hero__grid { grid-template-columns: 1fr; }
	.home-hero__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 12px; }
	.home-hero__side-banner { aspect-ratio: 3 / 2; }
	.usp-bar__grid { grid-template-columns: 1fr 1fr; }
	.usp:nth-child(3) { border-left: 0; }
	.usp:nth-child(n+3) { border-top: 1px solid var(--line); }
	.cat-tiles { grid-template-columns: repeat(4, 1fr); }
	.rail ul.rail__track { grid-auto-columns: calc((100% - 2 * 12px) / 2.6); gap: 12px; }
	.rail__arrow { display: none; }
	.promo-grid { grid-template-columns: 1fr 1fr; }
	.promo-grid__item--wide { grid-column: 1 / -1; aspect-ratio: 865 / 370; }
	.dept__head { flex-wrap: wrap; padding: 0; }
	.dept__subs { display: none; }
	.dept__more { margin-left: auto; padding-right: 16px; }
	.dept__body.has-banner { grid-template-columns: 1fr; }
	.dept__banner { display: none; }
	.prefooter__grid { grid-template-columns: 1fr; }
	.footer-assurance { grid-template-columns: 1fr; }
	.footer-assurance > div, .footer-assurance > div + div { padding: 20px 0; border-left: 0; }
	.footer-assurance > div + div { border-top: 1px solid rgba(255, 255, 255, .1); }
	.page-hero::after { width: 18%; }
	.page-hero__title, .page-hero__intro { max-width: 80%; }
	.section { padding: 40px 0; }
	.section-head { flex-wrap: wrap; align-items: flex-start; }
	.admin-bar .site-header { top: 0; }
}
@media (max-width: 640px) {
	.topbar__msg span { font-size: 12px; }
	.cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.cat-tile { padding: 14px 6px; }
	.cat-tile__img { width: 60px; height: 60px; }
	.cat-tile__img img { width: 46px; height: 46px; }
	.cat-tile__count { display: none; }
	.logo-strip { grid-template-columns: repeat(3, 1fr); }
	.cat-tile:nth-child(n+16) { display: none; }
	.usp { padding: 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
	.usp__icon { width: 40px; height: 40px; }
	.usp strong { font-size: 15px; }
	.usp span { font-size: 12px; }
	.products.products--dept { grid-template-columns: 1fr 1fr; }
	.products--dept .product-card:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; }
	.products--dept .product-card:nth-child(2n) { border-right: 0; }
	.products--dept .product-card:nth-child(n+5) { display: none; }
	.products--dept .product-card:nth-child(n+3) { border-bottom: 0; }
	.dept__title { font-size: 19px; padding: 14px 36px 14px 18px; }
	.b2b { padding: 28px 22px; }
	.prefooter__help, .prefooter__news { padding: 28px 22px; }
	.newsletter-form { flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.post-grid { grid-template-columns: 1fr; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: auto; }
	.page-hero::after { display: none; }
	.page-hero__title, .page-hero__intro { max-width: none; }
	.section-head--tabs .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: var(--r); }
	.tab { flex: none; }
	.wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
	.to-top { right: 18px; bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
