/*
Theme Name: KISS DISTRIBUTIONS
Author: KISS DISTRIBUTIONS
Description: Thème e-commerce sur mesure de KISS DISTRIBUTIONS (Koumassi, Côte d'Ivoire) pour WooCommerce. Identité noir, blanc et jaune ; boutique, fiches produits, panier, commande et compte client personnalisés ; textes et images administrables depuis Apparence > Personnaliser. À utiliser avec l'extension « KISS DISTRIBUTIONS – Compagnon ».
Version: 1.1.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kiss-distributions
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, translation-ready, two-columns, left-sidebar
WC requires at least: 9.0
WC tested up to: 11.2
*/

/* ==========================================================================
   0. Police, variables, base
   Police d'interface : DM Sans (licence SIL OFL, fichier inclus) — choisie pour sa
   géométrie proche du logo. Ce n'est pas une typographie officielle de la marque.
   ========================================================================== */

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--kd-black: #000;
	--kd-ink: #141414;
	--kd-text: #2b2b2b;
	--kd-muted: #575757;
	--kd-line: #e3e3e0;
	--kd-line-strong: #c9c9c5;
	--kd-yellow: #ffe433;
	--kd-yellow-hover: #f5d800;
	--kd-yellow-pale: #fff8d6;
	--kd-yellow-soft: #fff1a3;
	--kd-grey: #f3f3f1;
	--kd-grey-2: #e9e9e6;
	--kd-dark: #111;
	--kd-success: #16703a;
	--kd-error: #b3261e;
	--kd-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--kd-container: 1176px;
	--kd-gutter: 24px;
	--kd-section: 96px;
	--kd-radius: 0;
	--kd-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	--kd-ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.kd-lock { overflow: hidden; }

body {
	margin: 0;
	font-family: var(--kd-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--kd-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
figure { margin: 0; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-weight: 700;
	line-height: 1.2;
	color: var(--kd-ink);
	letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.2vw, 1.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }

a { color: var(--kd-ink); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: #000; }
.kd-prose a, .woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-link { text-decoration: underline; text-decoration-color: var(--kd-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kd-prose a:hover { text-decoration-color: #000; }

:focus-visible { outline: 3px solid #000; outline-offset: 2px; box-shadow: 0 0 0 6px var(--kd-yellow); }

.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: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--kd-yellow);
	color: #000;
	font-weight: 700;
}

.kd-container {
	width: 100%;
	max-width: calc(var(--kd-container) + var(--kd-gutter) * 2);
	margin: 0 auto;
	padding-left: var(--kd-gutter);
	padding-right: var(--kd-gutter);
}
.kd-section { padding: var(--kd-section) 0 0; }
.kd-main > .kd-section:last-child,
.kd-main > .kd-container:last-child { padding-bottom: var(--kd-section); }
.kd-center { text-align: center; margin: 40px 0 0; }

.kd-icon { width: 24px; height: 24px; flex: none; }

/* --------------------------------------------------------------------------
   Boutons (angles droits, comme le gabarit ; jaune = action principale)
   -------------------------------------------------------------------------- */

.kd-btn,
.button,
button.button,
input.button,
.wp-element-button,
.wp-block-button__link,
.woocommerce #respond input#submit,
.kdc-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 30px;
	border: 1px solid var(--kd-yellow);
	border-radius: var(--kd-radius);
	background: var(--kd-yellow);
	color: #000;
	font: 600 1rem/1.2 var(--kd-font);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.kd-btn:hover,
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.kdc-submit:hover { background: #000; border-color: #000; color: var(--kd-yellow); }
.kd-btn .kd-icon, .button .kd-icon { width: 20px; height: 20px; }

.kd-btn--outline,
.button.kd-outline {
	background: transparent;
	border-color: #000;
	color: #000;
}
.kd-btn--outline:hover { background: var(--kd-yellow); border-color: #000; color: #000; }
.kd-btn--dark { background: #000; border-color: #000; color: #fff; }
.kd-btn--dark:hover { background: var(--kd-yellow); border-color: var(--kd-yellow); color: #000; }
.kd-btn--ghost { background: transparent; border-color: transparent; color: #000; padding-left: 8px; padding-right: 8px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.kd-btn--ghost:hover { background: transparent; border-color: transparent; color: #000; text-decoration-thickness: 2px; }
.kd-btn--wa { background: #157a3d; border-color: #157a3d; color: #fff; }
.kd-btn--wa:hover { background: #0f5c2e; border-color: #0f5c2e; color: #fff; }

/* Commander sur WhatsApp (panier et commande) */
.kd-wa-order { margin-top: 14px; }
.kd-wa-order__btn { display: flex; width: 100%; justify-content: center; gap: 10px; }
.kd-wa-order__btn .kd-icon { width: 20px; height: 20px; }
.kd-wa-order__note { margin: 8px 0 0; font-size: .875rem; color: var(--kd-muted); text-align: center; }
.wp-block-woocommerce-cart + .kd-wa-order, .wp-block-woocommerce-checkout + .kd-wa-order { max-width: 360px; margin: -24px 0 32px auto; }
.kd-btn--block { width: 100%; }
.button:disabled, .button.disabled, .button[disabled] { background: #e6e6e6; border-color: #e6e6e6; color: #4d4d4d; cursor: not-allowed; }
.button:disabled:hover, .button.disabled:hover { background: #e6e6e6; color: #4d4d4d; border-color: #e6e6e6; }

.kd-link-underline { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.kd-link-underline:hover { text-decoration-color: var(--kd-yellow); text-decoration-thickness: 3px; }
.kd-arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; border-bottom: 2px solid var(--kd-yellow); padding-bottom: 2px; }
.kd-arrow-link .kd-icon { width: 18px; height: 18px; transition: transform .2s var(--kd-ease); }
.kd-arrow-link:hover .kd-icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="date"], select, textarea,
.select2-container .select2-selection--single {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--kd-line-strong);
	border-radius: var(--kd-radius);
	background: #fff;
	color: var(--kd-ink);
	font: 400 1rem/1.4 var(--kd-font);
	transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 160px; resize: vertical; }
select {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px var(--kd-yellow); }
::placeholder { color: #8a8a8a; opacity: 1; }
label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--kd-ink); font-size: .9375rem; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: #000; vertical-align: middle; margin: 0 8px 0 0; }
fieldset { border: 1px solid var(--kd-line); padding: 20px; margin: 0 0 24px; }
legend { font-weight: 700; padding: 0 6px; }
.required { color: var(--kd-error); text-decoration: none; border: 0; }

/* Select2 (champ pays/région de WooCommerce) */
.select2-container .select2-selection--single { display: flex; align-items: center; height: 52px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--kd-ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; right: 10px; }
.select2-dropdown { border-color: #000; border-radius: 0; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--kd-yellow); color: #000; }

/* ==========================================================================
   1. En-tête
   ========================================================================== */

.kd-topbar { background: #fff; border-bottom: 1px solid var(--kd-line); font-size: .9375rem; }
.kd-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.kd-topbar__text { margin: 0; font-weight: 500; color: var(--kd-ink); }
.kd-topbar__menu { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.kd-topbar__menu a { font-weight: 500; color: var(--kd-ink); }
.kd-topbar__menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.kd-topbar__phone { display: inline-flex; align-items: center; gap: 6px; }
.kd-topbar__phone .kd-icon { width: 16px; height: 16px; }

.kd-header { background: #fff; }
.kd-header__inner { display: flex; align-items: center; gap: 32px; min-height: 92px; }
.kd-header__brand { display: flex; align-items: center; gap: 22px; flex: none; }
.kd-logo img, .custom-logo { width: auto; height: 52px; }
.kd-burger {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	background: none; border: 0; cursor: pointer; color: #000;
}
.kd-burger .kd-icon { width: 28px; height: 28px; }

.kd-search { display: flex; flex: 1; max-width: 740px; min-height: 52px; border: 1px solid var(--kd-line-strong); background: #fff; }
.kd-search:focus-within { border-color: #000; box-shadow: 0 0 0 3px var(--kd-yellow); }
.kd-search__cat {
	width: 228px; flex: none; min-height: 50px;
	border: 0; border-right: 1px solid var(--kd-line-strong);
	font-weight: 500; padding-left: 22px;
}
.kd-search__input { border: 0; min-height: 50px; padding-left: 20px; }
.kd-search__cat:focus, .kd-search__input:focus { box-shadow: none; }
.kd-search__btn { flex: none; width: 56px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #000; }
.kd-search__btn:hover { background: var(--kd-yellow); }
.kd-search__btn .kd-icon { width: 20px; height: 20px; }

.kd-header__actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.kd-action { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #000; padding: 6px 2px; }
.kd-action .kd-icon { width: 30px; height: 30px; }
.kd-action__label { font-size: .9375rem; font-weight: 500; }
.kd-action__label--two { max-width: 6.2em; line-height: 1.2; }
.kd-action:hover .kd-action__label { text-decoration: underline; text-underline-offset: 4px; }
.kd-action--wa .kd-icon { width: 28px; height: 28px; color: #1e9e50; }
.kd-cart-count {
	position: absolute; top: -2px; left: 20px;
	min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 10px;
	background: var(--kd-yellow); color: #000;
	border: 1px solid #000;
	font-size: .75rem; font-weight: 700; line-height: 18px; text-align: center;
}
.kd-cart-count.is-empty { display: none; }

/* Barre de navigation jaune (bande orange du gabarit) */
.kd-nav { background: var(--kd-yellow); position: relative; z-index: 40; }
.kd-nav__inner { display: flex; align-items: stretch; min-height: 54px; }

.kd-menu { display: flex; align-items: stretch; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.kd-menu > li { position: relative; display: flex; }
.kd-menu > li > a {
	display: flex; align-items: center; gap: 4px;
	padding: 0 15px;
	font-weight: 700; font-size: .9375rem; color: #000;
}
.kd-menu > li:first-child > a { padding-left: 0; }
.kd-menu > li > a:hover,
.kd-menu > .current-menu-item > a,
.kd-menu > .current-menu-ancestor > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kd-menu > .menu-item-has-children > a::after {
	content: ""; width: 8px; height: 8px; margin: -3px 0 0 4px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}
.kd-menu .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 50;
	min-width: 230px; margin: 0; padding: 12px 0;
	list-style: none; background: #fff;
	box-shadow: var(--kd-shadow); border-top: 3px solid #000;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.kd-menu li:hover > .sub-menu,
.kd-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kd-menu .sub-menu a { display: block; padding: 7px 22px; color: var(--kd-ink); font-size: .9375rem; }
.kd-menu .sub-menu a:hover { background: var(--kd-yellow-pale); }

/* Tiroir mobile */
.kd-drawer { position: fixed; inset: 0; z-index: 200; }
.kd-drawer[hidden] { display: none; }
.kd-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s; }
.kd-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0;
	width: min(380px, 88vw);
	display: flex; flex-direction: column;
	background: #fff; overflow-y: auto;
	transform: translateX(-100%); transition: transform .2s var(--kd-ease);
}
.kd-drawer.is-open .kd-drawer__backdrop { opacity: 1; }
.kd-drawer.is-open .kd-drawer__panel { transform: none; }
.kd-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 4px solid var(--kd-yellow); }
.kd-drawer__head img { height: 44px; width: auto; }
.kd-drawer__close { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.kd-drawer__menu { margin: 0; padding: 8px 0; list-style: none; }
.kd-drawer__menu li { position: relative; border-bottom: 1px solid var(--kd-line); }
.kd-drawer__menu a { display: block; padding: 14px 64px 14px 20px; font-weight: 600; color: #000; }
.kd-drawer__menu .sub-menu { list-style: none; margin: 0; padding: 0 0 10px; background: var(--kd-grey); }
.kd-drawer__menu .sub-menu li { border: 0; }
.kd-drawer__menu .sub-menu a { padding: 10px 20px 10px 36px; font-weight: 500; }
.kd-sub-toggle { position: absolute; right: 8px; top: 4px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.kd-sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.kd-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.kd-drawer__contact { display: grid; gap: 10px; margin-top: auto; padding: 20px; background: var(--kd-grey); }

/* ==========================================================================
   2. Bandeau des pages intérieures (fil d'Ariane + titre, image à droite)
   ========================================================================== */

.kd-pagehead { position: relative; overflow: hidden; background: var(--kd-yellow-pale); min-height: 204px; display: flex; align-items: center; }
.kd-pagehead__inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 48px; }
.kd-pagehead__text { max-width: 62%; }
.kd-pagehead__title { margin: 10px 0 0; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.kd-pagehead__media { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; }
.kd-pagehead__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.kd-pagehead__motif {
	position: absolute; top: 0; right: 0; bottom: 0; width: 34%;
	background:
		repeating-linear-gradient(135deg, transparent 0 26px, rgba(0, 0, 0, .9) 26px 30px) right / 100% 100% no-repeat;
	-webkit-mask: linear-gradient(90deg, transparent, #000 45%);
	mask: linear-gradient(90deg, transparent, #000 45%);
	opacity: .08;
}
.woocommerce-breadcrumb { font-size: .9375rem; color: var(--kd-ink); }
.woocommerce-breadcrumb a { color: var(--kd-ink); }
.woocommerce-breadcrumb a:hover { text-decoration: underline; }
.kd-bc-sep { margin: 0 8px; color: var(--kd-muted); }

/* ==========================================================================
   3. Accueil
   ========================================================================== */

.kd-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.kd-sec-title { margin: 0; font-size: clamp(1.5rem, 2.2vw, 1.75rem); font-weight: 700; }
.kd-kicker { margin: 0 0 18px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--kd-ink); }
.kd-kicker::before { content: ""; display: inline-block; width: 28px; height: 3px; margin: 0 10px 3px 0; background: #000; vertical-align: middle; }

/* Bannière principale */
.kd-hero { background: var(--kd-yellow-pale); overflow: hidden; }
.kd-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 620px; }
.kd-hero__text { padding: 64px 0; }
.kd-hero__title { margin: 0 0 22px; font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; font-weight: 700; letter-spacing: -.025em; color: #000; }
.kd-hero__lead { max-width: 30em; margin-bottom: 36px; font-size: 1.125rem; color: var(--kd-text); }
.kd-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.kd-hero__media { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.kd-hero__img { position: relative; z-index: 1; width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.kd-hero__ring {
	position: absolute; z-index: 0; top: 50%; left: 50%;
	width: 88%; aspect-ratio: 1;
	border-radius: 50%; background: #fff;
	transform: translate(-50%, -50%);
}
.kd-hero__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 520px; padding: 48px 0; }
.kd-hero__tile {
	display: flex; flex-direction: column; justify-content: space-between;
	aspect-ratio: 1; padding: 26px;
	background: #fff; color: #000;
	border: 1px solid #000;
	transition: transform .2s var(--kd-ease), background-color .2s;
}
.kd-hero__tile .kd-icon { width: 54px; height: 54px; stroke-width: 1.3; }
.kd-hero__tile span { font-size: 1.25rem; font-weight: 700; }
.kd-hero__tile.kd-tone-1 { background: #000; color: #fff; }
.kd-hero__tile.kd-tone-2 { background: var(--kd-yellow); }
.kd-hero__tile:hover { transform: translateY(-4px); }
.kd-hero__tile.kd-tone-1:hover { color: var(--kd-yellow); }

/* Catégories en cercles */
.kd-cats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.kd-cats__item { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.kd-cats__circle {
	position: relative; display: block;
	width: 100%; max-width: 134px; aspect-ratio: 1;
	border-radius: 50%; overflow: hidden;
	background: var(--kd-yellow);
}
.kd-cats__circle img, .kd-cats__circle .kd-ph { width: 100%; height: 100%; object-fit: cover; }
.kd-cats__circle .kd-ph { background: var(--kd-yellow); }
/* Clin d'œil au cercle ouvert du logo : un anneau s'ouvre au survol. */
.kd-cats__circle::after {
	content: ""; position: absolute; inset: 5px; border-radius: 50%;
	border: 2px solid #000; border-right-color: transparent;
	transform: rotate(35deg); opacity: 0; transition: opacity .2s, transform .3s var(--kd-ease);
}
.kd-cats__item:hover .kd-cats__circle::after,
.kd-cats__item:focus-visible .kd-cats__circle::after { opacity: 1; transform: rotate(0deg); }
.kd-cats__name { font-size: 1.0625rem; font-weight: 500; color: var(--kd-ink); }

/* Trois bannières */
.kd-banners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 56px; border-bottom: 1px solid var(--kd-line); }
.kd-banner { text-align: center; }
.kd-banner__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 26px; background: var(--kd-grey); }
.kd-banner__media img, .kd-banner__media .kd-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--kd-ease); }
.kd-banner:hover .kd-banner__media img { transform: scale(1.04); }
.kd-banner__title { margin: 0 0 12px; font-size: 1.25rem; font-weight: 500; }

/* Sélection (texte + 3 produits) */
.kd-select__inner { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.kd-select__title { font-size: clamp(1.75rem, 2.6vw, 2.125rem); line-height: 1.15; margin-bottom: 14px; }
.kd-select__text p { color: var(--kd-muted); margin-bottom: 26px; }

/* Mosaïque sur bande noire inclinée */
.kd-mosaic, .kd-band {
	position: relative;
	margin-top: var(--kd-section);
	padding: 150px 0 160px;
	background: #000; color: #fff;
	clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 88%);
	overflow: hidden;
}
.kd-mosaic__title, .kd-band__title { position: relative; z-index: 1; color: #fff; text-align: center; margin: 0 0 40px; }
.kd-mosaic__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 908px; margin: 0 auto; padding: 0; list-style: none; }
.kd-tile {
	position: relative; display: flex; flex-direction: column;
	height: 146px; padding: 18px 20px; overflow: hidden;
	background: #fff; color: #000;
	transition: transform .2s var(--kd-ease);
}
.kd-tile:hover { transform: translateY(-4px); color: #000; }
.kd-tile__name { position: relative; z-index: 1; font-size: 1.1875rem; font-weight: 600; line-height: 1.2; }
.kd-tile__count { position: relative; z-index: 1; margin-top: 4px; font-size: .8125rem; color: inherit; opacity: .75; }
.kd-tile__media { position: absolute; right: 0; bottom: 0; width: 58%; height: 62%; clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%); }
.kd-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.kd-tile__media .kd-ph { width: 100%; height: 100%; background: transparent; justify-content: flex-end; align-items: flex-end; padding: 0 14px 12px 0; }
.kd-tile__media .kd-ph .kd-icon { width: 46px; height: 46px; opacity: .9; }
.kd-tile--1 { background: var(--kd-yellow); }
.kd-tile--2 { background: #2a2a2a; color: #fff; }
.kd-tile--2:hover { color: var(--kd-yellow); }
.kd-tile--3 { background: var(--kd-grey); }
.kd-stripes { position: absolute; z-index: 0; width: 220px; color: var(--kd-yellow); }
.kd-stripes--top { top: 30px; right: -10px; }
.kd-stripes--bottom { bottom: 50px; left: -20px; transform: rotate(180deg); }
.kd-band .kd-stripes--bottom { bottom: 8px; width: 150px; }

/* Points de confiance */
.kd-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 72px; border-bottom: 1px solid var(--kd-line); text-align: center; }
.kd-trust__icon { width: 44px; height: 44px; margin: 0 auto 14px; display: block; stroke-width: 1.3; color: #000; }
.kd-trust__item h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 8px; }
.kd-trust__item p { margin: 0 auto; max-width: 24ch; color: var(--kd-muted); font-size: .9375rem; }
.kd-trust__item svg.kd-icon[viewBox="0 0 32 32"] { color: #1e9e50; }

/* Quatre blocs univers (titre + 3 boutons + image) */
.kd-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kd-split__item { display: grid; grid-template-columns: 1fr 1fr; min-height: 326px; background: var(--kd-grey); }
.kd-split__item--2, .kd-split__item--3 { background: var(--kd-yellow-pale); }
.kd-split__item--3 .kd-split__text, .kd-split__item--4 .kd-split__text { order: 2; }
.kd-split__text { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 34px 28px; text-align: center; }
.kd-split__title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 22px; }
.kd-split__links { display: grid; gap: 14px; width: 100%; max-width: 206px; margin: 0; padding: 0; list-style: none; }
.kd-split__links .kd-btn { min-height: 46px; padding: 8px 14px; font-weight: 500; font-size: .9375rem; text-transform: uppercase; letter-spacing: .02em; }
.kd-split__media { position: relative; overflow: hidden; }
.kd-split__media img, .kd-split__media .kd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kd-split__media .kd-ph { background: transparent; }
.kd-split__media .kd-ph .kd-icon { width: 96px; height: 96px; stroke-width: 1; opacity: .85; }

/* Présentation (grande image + texte) */
.kd-story__inner { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: end; }
.kd-story__media { position: relative; aspect-ratio: 785 / 480; overflow: hidden; background: var(--kd-yellow); }
.kd-story__media img { width: 100%; height: 100%; object-fit: cover; }
.kd-story__panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 40px; }
.kd-story__panel img { width: min(420px, 70%); height: auto; }
.kd-story__slogan { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 700; color: #000; }
.kd-story__title { font-size: clamp(1.625rem, 2.6vw, 2rem); line-height: 1.2; }
.kd-story__text { padding-bottom: 8px; }
.kd-story__text p { color: var(--kd-muted); margin-bottom: 26px; }

/* Articles */
.kd-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kd-post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--kd-grey); margin-bottom: 18px; }
.kd-post-card__media img, .kd-post-card__media .kd-ph { width: 100%; height: 100%; object-fit: cover; }
.kd-post-card__meta { margin: 0 0 6px; font-size: .875rem; color: var(--kd-muted); }
.kd-post-card__title { font-size: 1.25rem; font-weight: 500; margin-bottom: 10px; }
.kd-post-card p:last-child { color: var(--kd-muted); }

/* Bandeau contact (à la place des logos de marques du gabarit) */
.kd-contact-strip { margin-top: var(--kd-section); border-top: 1px solid var(--kd-line); }
.kd-contact-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kd-contact-strip__item { display: flex; align-items: center; gap: 16px; padding: 44px 24px; color: #000; border-right: 1px solid var(--kd-line); }
.kd-contact-strip__item:last-child { border-right: 0; }
.kd-contact-strip__item > .kd-icon { width: 36px; height: 36px; stroke-width: 1.4; }
.kd-contact-strip__item svg[viewBox="0 0 32 32"] { color: #1e9e50; }
.kd-contact-strip__label { display: block; font-size: .875rem; color: var(--kd-muted); }
.kd-contact-strip__item strong { font-size: 1.0625rem; font-weight: 600; }
a.kd-contact-strip__item:hover strong { text-decoration: underline; text-decoration-color: var(--kd-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Emplacement d'image neutre (aucune image choisie) */
.kd-ph {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; min-height: 100%;
	background: var(--kd-grey); color: #000;
}
.kd-ph .kd-icon { width: 30%; height: auto; max-width: 96px; stroke-width: 1.1; }
.kd-ph--yellow { background: var(--kd-yellow); }
.kd-ph--grey { background: var(--kd-grey-2); }
.kd-ph--soft { background: var(--kd-yellow-pale); }
.kd-ph--none { background: transparent; }

/* ==========================================================================
   4. Grille et cartes produits
   ========================================================================== */

ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 20px; margin: 0; padding: 0; list-style: none; }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { position: relative; display: flex; flex-direction: column; margin: 0; width: auto; }

.kd-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--kd-grey); margin-bottom: 16px; }
.kd-card__imglink { display: block; width: 100%; height: 100%; }
.kd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--kd-ease); }
li.product:hover .kd-card__media img { transform: scale(1.04); }
.kd-card__media .kd-ph .kd-icon { width: 34%; }
.onsale, .kd-badge {
	position: absolute; top: 18px; left: 18px; z-index: 2;
	padding: 3px 10px;
	background: #000; color: var(--kd-yellow);
	font-size: .875rem; font-weight: 700; line-height: 1.5;
}
.kd-badge--out { left: auto; right: 18px; background: #fff; color: #000; border: 1px solid #000; }
.kd-card__cta {
	position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
	opacity: 0; transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--kd-ease);
}
li.product:hover .kd-card__cta, li.product:focus-within .kd-card__cta { opacity: 1; transform: none; }
.kd-card__cta .button { width: 100%; min-height: 48px; background: #fff; border-color: #000; text-transform: uppercase; font-size: .875rem; letter-spacing: .03em; }
.kd-card__cta .button:hover { background: var(--kd-yellow); color: #000; border-color: #000; }
.kd-card__cta .button.loading { opacity: .7; }
.kd-card__cta .button.added::after { content: " ✓"; }
.kd-card__cta .added_to_cart { display: block; margin-top: 6px; padding: 8px; background: #000; color: #fff; text-align: center; font-size: .875rem; font-weight: 600; }

.kd-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.kd-card__cat { font-size: .8125rem; text-transform: uppercase; letter-spacing: .03em; color: var(--kd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { color: #000; font-weight: 700; }
.kd-card__meta .price { font-size: 1.0625rem; white-space: nowrap; text-align: right; }
.price del { color: var(--kd-muted); font-weight: 400; margin-right: 6px; opacity: 1; }
.price ins { text-decoration: none; background: var(--kd-yellow); padding: 0 4px; }
.woocommerce-loop-product__title { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.35; }
.woocommerce-loop-product__title a { color: var(--kd-ink); }
.woocommerce-loop-product__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kd-card__excerpt { display: none; }

/* Vue liste */
.kd-shop__main[data-view="list"] ul.products { grid-template-columns: 1fr; gap: 28px; }
.kd-shop__main[data-view="list"] li.product { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--kd-line); }
.kd-shop__main[data-view="list"] .kd-card__media { margin: 0; }
.kd-shop__main[data-view="list"] .kd-card__excerpt { display: block; margin-top: 10px; color: var(--kd-muted); font-size: .9375rem; }
.kd-shop__main[data-view="list"] .woocommerce-loop-product__title { font-size: 1.25rem; }

/* Notes (sans police d'icônes) */
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; font-size: .9375rem; line-height: 1; overflow: hidden; color: var(--kd-line-strong); letter-spacing: .08em; }
.star-rating::before { content: "★★★★★"; position: absolute; top: 0; left: 0; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; color: #000; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.woocommerce-review-link { font-size: .875rem; color: var(--kd-muted); }

/* ==========================================================================
   5. Boutique et catégories
   ========================================================================== */

.kd-shop { display: grid; grid-template-columns: 236px 1fr; gap: 42px; padding-top: 70px; padding-bottom: var(--kd-section); }
.kd-shop__main { min-width: 0; }
.kd-filter-toggle { display: none; }
.kd-widget { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--kd-line); }
.kd-widget:last-child { border-bottom: 0; }
.kd-widget__title { font-size: 1.375rem; font-weight: 700; margin: 0 0 18px; }
.kd-widget ul { margin: 0; padding: 0; list-style: none; }
.kd-widget li { margin: 0; }
.widget_product_categories li a, .woocommerce-widget-layered-nav-list li a { display: inline-block; padding: 5px 0; color: var(--kd-ink); }
.widget_product_categories li a:hover, .woocommerce-widget-layered-nav-list li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.widget_product_categories .children { padding-left: 18px; }
.widget_product_categories .children a { color: var(--kd-muted); }
.widget_product_categories .current-cat > a, .woocommerce-widget-layered-nav-list .chosen a { font-weight: 700; color: #000; }
.widget_product_categories .count, .woocommerce-widget-layered-nav-list .count { font-size: .8125rem; color: var(--kd-muted); }
.woocommerce-widget-layered-nav-list .chosen a::before { content: "✕"; margin-right: 6px; font-size: .75rem; }
.woocommerce-product-search { display: flex; border: 1px solid var(--kd-line-strong); }
.woocommerce-product-search:focus-within { border-color: #000; box-shadow: 0 0 0 3px var(--kd-yellow); }
.woocommerce-product-search .search-field { border: 0; min-height: 54px; }
.woocommerce-product-search .search-field:focus { box-shadow: none; }
.woocommerce-product-search button { min-height: 54px; padding: 0 16px; border: 0; background: var(--kd-yellow); font-weight: 600; cursor: pointer; }
.woocommerce-product-search button:hover { background: #000; color: var(--kd-yellow); }
.widget_product_tag_cloud .tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.widget_product_tag_cloud .tagcloud a { padding: 6px 14px; border: 1px solid var(--kd-line-strong); font-size: .9375rem !important; color: var(--kd-ink); }
.widget_product_tag_cloud .tagcloud a:hover { border-color: #000; background: var(--kd-yellow); }

/* Filtre de prix (curseur jQuery UI de WooCommerce) */
.price_slider_wrapper { padding-top: 6px; }
.price_slider { position: relative; height: 4px; margin: 10px 8px 26px; background: var(--kd-line); }
.price_slider .ui-slider-range { position: absolute; top: 0; height: 100%; background: #000; }
.price_slider .ui-slider-handle { position: absolute; top: -8px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #000; border: 3px solid var(--kd-yellow); cursor: grab; outline: none; }
.price_slider .ui-slider-handle:focus-visible { box-shadow: 0 0 0 3px #000; }
.price_slider_amount { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: .9375rem; }
.price_slider_amount input { display: none; }
.price_slider_amount .button { min-height: 40px; padding: 6px 18px; background: transparent; border-color: #000; text-transform: uppercase; font-size: .8125rem; letter-spacing: .04em; }
.price_slider_amount .button:hover { background: var(--kd-yellow); color: #000; }
.price_slider_amount .clear { display: none; }

.kd-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
	margin-bottom: 30px; padding: 16px 20px;
	background: #fff; box-shadow: var(--kd-shadow); border: 1px solid var(--kd-line);
}
.kd-view { display: flex; gap: 4px; }
.kd-view__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--kd-line); background: #fff; cursor: pointer; color: #000; }
.kd-view__btn .kd-icon { width: 18px; height: 18px; }
.kd-view__btn.is-active { background: #000; color: var(--kd-yellow); border-color: #000; }
.woocommerce-result-count { margin: 0; color: var(--kd-muted); }
.woocommerce-ordering { margin: 0 0 0 auto; }
.woocommerce-ordering select { min-width: 240px; min-height: 50px; }

.term-description, .page-description { margin: 0 0 22px; max-width: 72ch; color: var(--kd-text); }
.kd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.kd-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid var(--kd-line-strong); font-size: .9375rem; font-weight: 500; color: var(--kd-ink); }
.kd-chip:hover { border-color: #000; }
.kd-chip.is-current { background: #000; color: var(--kd-yellow); border-color: #000; }

/* Pagination en carrés */
.woocommerce-pagination, .kd-pagination { margin-top: 56px; }
.woocommerce-pagination ul.page-numbers, .kd-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; border: 0; }
.woocommerce-pagination ul.page-numbers li { border: 0; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 50px; padding: 0 10px; background: #fff; box-shadow: var(--kd-shadow); color: var(--kd-ink); font-weight: 500; }
a.page-numbers:hover { background: var(--kd-yellow); }
.page-numbers.current { background: #000; color: var(--kd-yellow); }
.page-numbers.dots { box-shadow: none; }

.woocommerce-info.woocommerce-no-products-found, .woocommerce-no-products-found .woocommerce-info { margin-top: 0; }

/* ==========================================================================
   6. Fiche produit
   ========================================================================== */

.kd-single { padding-top: 70px; padding-bottom: var(--kd-section); }
div.product { position: relative; }
.kd-single div.product { display: grid; grid-template-columns: minmax(0, 530px) minmax(0, 1fr); gap: 0 50px; align-items: start; }
.kd-single div.product > .onsale { left: 20px; top: 20px; }
.kd-single div.product > .woocommerce-tabs,
.kd-single div.product > .related,
.kd-single div.product > .upsells,
.kd-single div.product > .kd-wa-wide { grid-column: 1 / -1; }

.woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: var(--kd-grey); }
.woocommerce-product-gallery__image img { width: 100%; height: auto; }
.woocommerce-product-gallery .kd-ph { aspect-ratio: 1; }
.woocommerce-product-gallery__trigger {
	position: absolute; top: 18px; right: 18px; z-index: 3;
	width: 42px; height: 42px; border-radius: 50%;
	background: #fff; font-size: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.woocommerce-product-gallery__trigger::before { content: ""; position: absolute; left: 12px; top: 11px; width: 13px; height: 13px; border: 2px solid #000; border-radius: 50%; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; left: 25px; top: 25px; width: 2px; height: 8px; background: #000; transform: rotate(-45deg); }
.woocommerce-product-gallery__trigger span, .woocommerce-product-gallery__trigger img { display: none; }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 20px 0 0; padding: 0; list-style: none; }
.flex-control-thumbs li { margin: 0; cursor: pointer; }
.flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; opacity: .65; border: 2px solid transparent; transition: opacity .15s, border-color .15s; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; border-color: #000; }
.flex-viewport { margin-bottom: 0; }

.summary { min-width: 0; }
.product_title { margin: 0 0 12px; font-size: clamp(1.75rem, 2.8vw, 2.25rem); font-weight: 700; line-height: 1.15; }
.summary .price { margin: 0 0 22px; font-size: 1.75rem; font-weight: 700; }
.summary .price del { font-size: 1.25rem; }
.woocommerce-product-details__short-description { margin-bottom: 26px; color: var(--kd-text); }
.woocommerce-product-details__short-description ul { padding-left: 20px; }
.woocommerce-product-details__short-description li { margin: 4px 0; }
.stock { font-weight: 600; margin: 0 0 18px; }
.stock.in-stock { color: var(--kd-success); }
.stock.out-of-stock { color: var(--kd-error); }
.stock.available-on-backorder { color: var(--kd-muted); }

form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0 0 14px; }
form.cart.variations_form { display: block; }
form.cart .single_add_to_cart_button { min-height: 52px; min-width: 210px; text-transform: uppercase; letter-spacing: .03em; font-size: .9375rem; }
form.cart .single_add_to_cart_button.disabled { opacity: 1; }
.single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.single_variation { margin-bottom: 14px; }
.single_variation .price { font-size: 1.375rem; margin-bottom: 6px; }
.woocommerce-variation-availability p { margin: 0; }
table.variations { width: 100%; margin: 0 0 18px; border-collapse: collapse; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; }
table.variations th label { margin-bottom: 8px; }
table.variations td { margin-bottom: 14px; }
table.variations select { max-width: 360px; }
.reset_variations { display: inline-block; margin-top: 8px; font-size: .875rem; text-decoration: underline; }
.woocommerce-grouped-product-list { width: 100%; margin-bottom: 14px; border-collapse: collapse; }
.woocommerce-grouped-product-list td { padding: 10px 8px; border-bottom: 1px solid var(--kd-line); }

/* Quantité − / + (ajoutés en JavaScript) */
.quantity { display: inline-flex; align-items: stretch; min-height: 52px; border: 1px solid var(--kd-line-strong); background: #fff; }
.quantity .qty { width: 64px; min-height: 50px; border: 0; padding: 0 4px; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { box-shadow: inset 0 0 0 2px var(--kd-yellow); }
.kd-qty__btn { width: 44px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: #000; }
.kd-qty__btn:hover { background: var(--kd-yellow); }

.kdc-wa-product.button { min-height: 52px; background: #fff; border-color: #1e9e50; color: #0f6b34; font-size: .9375rem; margin: 0 0 6px; }
.kdc-wa-product.button:hover { background: #157a3d; border-color: #157a3d; color: #fff; }
.kdc-wa-product svg { width: 22px; height: 22px; fill: currentColor; }

.product_meta { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--kd-line); display: grid; gap: 10px; }
.product_meta > span { display: block; font-weight: 700; color: #000; }
.product_meta > span > span, .product_meta a { font-weight: 400; color: var(--kd-ink); }
.product_meta a:hover { text-decoration: underline; }

/* Onglets pleine largeur (deux moitiés, comme le gabarit) */
.woocommerce-tabs { margin-top: 70px; }
.woocommerce-tabs ul.tabs { display: flex; margin: 0; padding: 0; list-style: none; box-shadow: var(--kd-shadow); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { flex: 1; margin: 0; border: 0; background: #fff; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 22px 16px; text-align: center; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: #000; }
.woocommerce-tabs ul.tabs li.active a { background: var(--kd-yellow); }
.woocommerce-tabs ul.tabs li a:hover { background: var(--kd-yellow-pale); }
.woocommerce-tabs .panel { padding: 34px 0 0; color: var(--kd-text); }
.woocommerce-tabs .panel > h2:first-child { font-size: 1.375rem; }
table.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 12px 16px; border-bottom: 1px solid var(--kd-line); text-align: left; vertical-align: top; }
.woocommerce-product-attributes th { width: 30%; background: var(--kd-grey); font-weight: 600; }
.woocommerce-product-attributes td p { margin: 0; }

/* Avis */
#reviews .commentlist { margin: 0 0 30px; padding: 0; list-style: none; }
#reviews .commentlist li { padding: 20px 0; border-bottom: 1px solid var(--kd-line); }
#reviews .comment_container { display: flex; gap: 16px; }
#reviews .avatar { width: 48px; height: 48px; border-radius: 50%; }
#reviews .meta { color: var(--kd-muted); font-size: .9375rem; }
.comment-form-rating .stars a { display: inline-block; width: 1.4em; overflow: hidden; color: transparent; position: relative; }
.comment-form-rating .stars a::before { content: "★"; position: absolute; left: 0; color: var(--kd-line-strong); font-size: 1.25rem; }
.comment-form-rating .stars:hover a::before, .comment-form-rating .stars.selected a::before { color: #000; }
.comment-form-rating .stars a:hover ~ a::before, .comment-form-rating .stars.selected a.active ~ a::before { color: var(--kd-line-strong); }
.comment-form p { margin-bottom: 16px; }

.related, .upsells, .cross-sells { margin-top: 90px; }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: clamp(1.5rem, 2.2vw, 1.75rem); margin-bottom: 32px; }

/* ==========================================================================
   7. Panier, commande, compte, notifications
   ========================================================================== */

.kd-wc-page { padding-top: 64px; padding-bottom: var(--kd-section); }

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice, .kd-notice, .kdc-notice {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
	margin: 0 0 28px; padding: 16px 20px 16px 22px;
	list-style: none;
	background: var(--kd-yellow-pale); color: var(--kd-ink);
	border-left: 4px solid #000;
}
.woocommerce-error, .kdc-notice--error { background: #fdeceb; border-left-color: var(--kd-error); display: block; }
.woocommerce-error li { margin: 4px 0; }
.woocommerce-message, .kdc-notice--success { border-left-color: var(--kd-success); background: #eaf6ee; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 42px; padding: 8px 18px; background: #000; color: #fff; border-color: #000; }
.woocommerce-message .button:hover, .woocommerce-info .button:hover { background: var(--kd-yellow); color: #000; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-NoticeGroup { width: 100%; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .7) !important; }
.blockUI.blockOverlay::after { content: ""; position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; margin: -16px; border: 3px solid #000; border-right-color: transparent; border-radius: 50%; animation: kd-spin .7s linear infinite; }
@keyframes kd-spin { to { transform: rotate(360deg); } }

table.shop_table { width: 100%; border-collapse: collapse; margin: 0 0 32px; border: 1px solid var(--kd-line); }
table.shop_table th { padding: 16px; background: var(--kd-grey); text-align: left; font-weight: 700; color: #000; font-size: .9375rem; text-transform: uppercase; letter-spacing: .03em; }
table.shop_table td { padding: 18px 16px; border-top: 1px solid var(--kd-line); vertical-align: middle; }
table.shop_table tfoot th, table.shop_table tfoot td { background: #fff; border-top: 1px solid var(--kd-line); text-transform: none; letter-spacing: 0; font-size: 1rem; }
table.shop_table .order-total th, table.shop_table .order-total td { font-size: 1.25rem; font-weight: 700; color: #000; }

/* Panier */
.woocommerce-cart-form .product-remove { width: 44px; }
a.remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--kd-line-strong); border-radius: 50%; font-size: 1.25rem; line-height: 1; color: #000 !important; }
a.remove:hover { background: #000; color: var(--kd-yellow) !important; border-color: #000; }
.woocommerce-cart-form .product-thumbnail { width: 96px; }
.woocommerce-cart-form .product-thumbnail img, .woocommerce-cart-form .product-thumbnail .kd-ph { width: 80px; height: 80px; object-fit: cover; }
.woocommerce-cart-form .product-name a { font-weight: 600; }
.woocommerce-cart-form .product-name dl.variation { margin: 6px 0 0; font-size: .875rem; color: var(--kd-muted); }
.woocommerce-cart-form .product-name dl.variation dt, .woocommerce-cart-form .product-name dl.variation dd { display: inline; margin: 0; }
.woocommerce-cart-form .product-name dl.variation dd p { display: inline; margin: 0; }
.woocommerce-cart-form td.actions { padding: 20px 16px; background: #fff; }
.woocommerce-cart-form .coupon { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.woocommerce-cart-form .coupon label { display: none; }
.woocommerce-cart-form .coupon .input-text { width: 220px; min-height: 50px; }
.woocommerce-cart-form button[name="update_cart"] { float: right; background: transparent; border-color: #000; }
.woocommerce-cart-form button[name="update_cart"]:hover:not(:disabled) { background: #000; color: var(--kd-yellow); }
.cart-collaterals { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: 40px; }
.cart-collaterals .cross-sells { margin-top: 0; }
.cart_totals { grid-column: 2; padding: 30px; background: var(--kd-grey); }
.cart_totals h2 { font-size: 1.375rem; }
.cart_totals table.shop_table { border: 0; margin-bottom: 20px; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { background: transparent; padding: 14px 0; text-transform: none; letter-spacing: 0; }
.cart_totals table.shop_table th { width: 40%; }
.cart_totals table.shop_table td { text-align: right; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 58px; font-size: 1.0625rem; }
.woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
.woocommerce-shipping-methods li { margin: 0 0 6px; }
.woocommerce-shipping-methods label { display: inline; font-weight: 500; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: .9375rem; color: var(--kd-muted); }
.shipping-calculator-form { margin-top: 12px; display: grid; gap: 10px; }
.cart-empty.woocommerce-info { font-size: 1.125rem; }
.return-to-shop .button { margin-top: 6px; }

/* Commande */
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); grid-template-rows: auto auto auto 1fr; gap: 0 48px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; }
form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
form.checkout #order_review_heading { grid-row: 1; margin: 0; padding: 28px 30px 0; background: var(--kd-grey); font-size: 1.375rem; }
form.checkout #order_review { grid-row: 2 / span 3; padding: 16px 30px 30px; background: var(--kd-grey); position: sticky; top: 20px; }
form.checkout #customer_details { grid-row: 1 / span 4; }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; }
.col2-set .col-2 { margin-top: 26px; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 1.375rem; margin-bottom: 20px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-row { margin: 0 0 18px; padding: 0; }
.form-row-wide, .woocommerce-billing-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last), .woocommerce-shipping-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last), .woocommerce-address-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.form-row label.checkbox, .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 4px; font-weight: 500; }
.form-row .optional { font-weight: 400; color: var(--kd-muted); }
.woocommerce-invalid input.input-text, .woocommerce-invalid select { border-color: var(--kd-error); }
.woocommerce-validated input.input-text { border-color: var(--kd-line-strong); }
.form-row .woocommerce-input-wrapper { display: block; }
.checkout-inline-error-message, .woocommerce-error-message { margin: 6px 0 0; color: var(--kd-error); font-size: .875rem; }
#ship-to-different-address { font-size: 1.125rem; }
#ship-to-different-address label { display: flex; align-items: center; font-weight: 600; }
.woocommerce-checkout-review-order-table { border: 0 !important; background: transparent; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { background: transparent !important; padding: 12px 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .9375rem !important; }
.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 1.25rem !important; }
#payment { margin-top: 16px; }
#payment .wc_payment_methods { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--kd-line-strong); }
#payment .wc_payment_method { padding: 14px 0; border-bottom: 1px solid var(--kd-line-strong); }
#payment .wc_payment_method > label { display: inline; font-weight: 600; }
#payment .wc_payment_method img { display: inline-block; max-height: 24px; margin-left: 6px; vertical-align: middle; }
#payment .payment_box { margin: 12px 0 0; padding: 14px 16px; background: #fff; font-size: .9375rem; }
#payment .payment_box p:last-child { margin: 0; }
#payment .woocommerce-info { margin: 0 0 20px; }
#place_order { width: 100%; min-height: 58px; font-size: 1.0625rem; margin-top: 8px; }
.woocommerce-terms-and-conditions-wrapper { margin: 0 0 12px; font-size: .9375rem; }
.woocommerce-privacy-policy-text p { font-size: .875rem; color: var(--kd-muted); }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { display: block; }
form.checkout_coupon, form.woocommerce-form-login { margin: 0 0 30px; padding: 24px; border: 1px solid var(--kd-line); }
form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
form.checkout_coupon p { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1; min-width: 200px; }

/* Confirmation de commande */
.woocommerce-order { max-width: 980px; }
.woocommerce-thankyou-order-received { font-size: 1.25rem; font-weight: 600; padding: 18px 22px; background: #eaf6ee; border-left: 4px solid var(--kd-success); }
ul.order_details, .woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 0 0 36px; padding: 0; list-style: none; border: 1px solid var(--kd-line); }
ul.order_details li, .woocommerce-order-overview li { padding: 18px 20px; border-right: 1px solid var(--kd-line); font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--kd-muted); min-width: 0; overflow-wrap: anywhere; }
ul.order_details li:last-child { border-right: 0; }
ul.order_details li strong { display: block; margin-top: 6px; font-size: 1rem; text-transform: none; letter-spacing: 0; color: #000; }
.woocommerce-customer-details address { padding: 20px; border: 1px solid var(--kd-line); font-style: normal; line-height: 1.8; }
.woocommerce-column__title, .woocommerce-order-details__title { font-size: 1.375rem; }
mark { background: var(--kd-yellow); color: #000; padding: 0 4px; }

/* Compte client */
.woocommerce-account.logged-in .kd-wc-page > .woocommerce { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.woocommerce-account .kd-wc-page > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--kd-line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--kd-line); }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: 15px 20px; font-weight: 500; color: var(--kd-ink); }
.woocommerce-MyAccount-navigation a:hover { background: var(--kd-yellow-pale); }
.woocommerce-MyAccount-navigation .is-active a { background: #000; color: var(--kd-yellow); font-weight: 700; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { font-size: 1.0625rem; }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .button { min-height: 42px; padding: 8px 18px; font-size: .9375rem; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-Address { padding: 24px; border: 1px solid var(--kd-line); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.woocommerce-Address-title h2 { font-size: 1.25rem; }
.woocommerce-Address-title .edit { font-weight: 600; text-decoration: underline; }
.woocommerce-Address address { font-style: normal; line-height: 1.8; }
.woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.woocommerce-EditAccountForm .form-row-wide, .woocommerce-EditAccountForm fieldset, .woocommerce-EditAccountForm > p:not(.form-row-first):not(.form-row-last), .woocommerce-EditAccountForm .clear { grid-column: 1 / -1; }
.woocommerce-EditAccountForm em { display: block; margin-top: 4px; font-size: .875rem; color: var(--kd-muted); }
.order-status, mark.order-status { padding: 2px 8px; background: var(--kd-yellow); font-weight: 600; }

/* Connexion / inscription : deux colonnes */
.u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.u-columns.col2-set .u-column2 { margin-top: 0; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { padding: 34px; border: 1px solid var(--kd-line); }
.u-column1 h2, .u-column2 h2 { font-size: 1.5rem; }
.woocommerce-form-login__rememberme { margin: 0 0 14px; }
.woocommerce-form-login .button, .woocommerce-form-register .button, .woocommerce-ResetPassword .button { width: 100%; }
.lost_password { margin-top: 16px; }
.lost_password a { text-decoration: underline; }
.woocommerce-ResetPassword { max-width: 560px; }
.show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; background: none; cursor: pointer; }
.show-password-input::before { content: "👁"; font-size: 1rem; opacity: .6; }
.password-input { position: relative; display: block; }
.woocommerce-password-strength { margin-top: 8px; padding: 6px 10px; font-size: .875rem; font-weight: 600; }
.woocommerce-password-strength.bad, .woocommerce-password-strength.short { background: #fdeceb; color: var(--kd-error); }
.woocommerce-password-strength.good { background: var(--kd-yellow-pale); }
.woocommerce-password-strength.strong { background: #eaf6ee; color: var(--kd-success); }

/* Blocs Panier / Commande (si l'administrateur les réactive) */
.wc-block-components-button:not(.is-link) { border-radius: 0 !important; background: var(--kd-yellow) !important; color: #000 !important; font-weight: 600 !important; }
.wc-block-components-button:not(.is-link):hover { background: #000 !important; color: var(--kd-yellow) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: 0 !important; }
.wc-block-cart, .wc-block-checkout { font-family: var(--kd-font); }

/* ==========================================================================
   8. Pied de page
   ========================================================================== */

.kd-footer { background: var(--kd-dark); color: #d6d6d6; font-size: .9375rem; }
.kd-footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1.25fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.kd-footer__logo { display: inline-block; margin-bottom: 20px; }
.kd-footer__logo img { width: 180px; height: auto; }
.kd-footer__brand p { max-width: 30ch; color: #c9c9c9; }
.kd-footer__title { margin: 0 0 20px; color: #fff; font-size: 1.25rem; font-weight: 500; }
.kd-footer__list { margin: 0; padding: 0; list-style: none; }
.kd-footer__list li { margin: 0 0 12px; }
.kd-footer__list a, .kd-footer__list span { display: inline-flex; align-items: flex-start; gap: 10px; color: #d6d6d6; }
.kd-footer__list a:hover { color: var(--kd-yellow); }
.kd-footer__list .kd-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--kd-yellow); }
.kd-footer__bottom { border-top: 1px solid #2c2c2c; }
.kd-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; min-height: 76px; padding-top: 14px; padding-bottom: 14px; }
.kd-footer__bottom p { margin: 0; color: #bdbdbd; }
.kd-footer__credit::before { content: "·"; margin: 0 .5em; }
.kd-footer__legal { display: flex; flex-wrap: wrap; gap: 26px; margin: 0; padding: 0; list-style: none; }
.kd-footer__legal a { color: #e5e5e5; }
.kd-footer__legal a:hover { color: var(--kd-yellow); }
.kd-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.kd-social a { display: inline-flex; padding: 6px 12px; border: 1px solid #3a3a3a; color: #fff; font-size: .875rem; }
.kd-social a:hover { border-color: var(--kd-yellow); color: var(--kd-yellow); }

/* ==========================================================================
   9. Pages : contenu, À propos, Contact, information, 404
   ========================================================================== */

.kd-page.kd-prose { padding-top: 64px; padding-bottom: var(--kd-section); }
.kd-prose { font-size: 1.0625rem; }
.kd-prose > * { max-width: 780px; }
.kd-prose > .alignwide { max-width: 1176px; }
.kd-prose > .alignfull { max-width: none; }
.kd-prose h2 { margin-top: 1.8em; }
.kd-prose h2:first-child { margin-top: 0; }
.kd-prose ul, .kd-prose ol { padding-left: 1.3em; }
.kd-prose li { margin: .35em 0; }
.kd-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--kd-yellow); font-size: 1.125rem; }
.kd-prose table { width: 100%; border-collapse: collapse; }
.kd-prose th, .kd-prose td { padding: 10px 12px; border: 1px solid var(--kd-line); }
.kd-article { padding-top: 56px; padding-bottom: var(--kd-section); }
.kd-article__meta { color: var(--kd-muted); }
.kd-article__media { margin-bottom: 32px; }
.kd-todo { padding: 12px 16px; background: #fff3cd; border: 1px dashed #b38b00; font-weight: 600; }

.kd-about__intro { max-width: 760px; margin: 0 auto 56px; text-align: center; font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
.kd-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.kd-row + .kd-row { margin-top: 20px; }
.kd-row__media { aspect-ratio: 580 / 388; overflow: hidden; background: var(--kd-grey); }
.kd-row__media img, .kd-row__media .kd-ph { width: 100%; height: 100%; object-fit: cover; }
.kd-row__text { padding: 30px 50px; max-width: 520px; }
.kd-row--reverse .kd-row__media { order: 2; }
.kd-row--reverse .kd-row__text { padding-left: 0; padding-right: 60px; }
.kd-row__text h3 { font-size: 1.625rem; margin-bottom: 20px; }
.kd-row__text p { margin-bottom: 28px; }
.kd-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; max-width: 980px; margin: 0 auto; }
.kd-band__grid div { padding-top: 20px; border-top: 3px solid var(--kd-yellow); }
.kd-band__grid dt { margin-bottom: 8px; color: var(--kd-yellow); font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.kd-band__grid dd { margin: 0; color: #fff; font-size: 1.25rem; font-weight: 500; line-height: 1.4; }

.kd-contact__head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.kd-contact__head h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
.kd-contact__head p { color: var(--kd-muted); }
.kd-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.kd-map { height: 300px; margin-bottom: 36px; background: var(--kd-yellow-pale); overflow: hidden; }
.kd-map iframe { width: 100%; height: 100%; border: 0; }
.kd-map__static {
	position: relative; height: 100%;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
	padding: 36px 40px;
	background:
		linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px) 0 0 / 34px 34px,
		linear-gradient(90deg, rgba(0, 0, 0, .05) 1px, transparent 1px) 0 0 / 34px 34px,
		var(--kd-yellow-pale);
}
.kd-map__static > .kd-icon { width: 42px; height: 42px; padding: 8px; background: #000; color: var(--kd-yellow); border-radius: 50%; }
.kd-map__static p { margin: 0 0 6px; font-size: 1.0625rem; }
.kd-contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; margin: 0; padding: 0; list-style: none; }
.kd-contact__info li { display: flex; gap: 14px; align-items: flex-start; }
.kd-contact__info li > span:last-child { display: flex; flex-direction: column; }
.kd-contact__info strong { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--kd-muted); }
.kd-contact__info a { font-weight: 600; }
.kd-round { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--kd-yellow); color: #000; }
.kd-round .kd-icon { width: 20px; height: 20px; }
.kd-contact__more { margin-top: 50px; }

.kd-info__inner { max-width: 880px; }
.kd-info__lead { font-size: 1.25rem; font-weight: 500; color: var(--kd-ink); margin-bottom: 30px; }
ol.kd-steps { counter-reset: kd-step; list-style: none; padding: 0 !important; margin: 0 0 2em; display: grid; gap: 14px; }
ol.kd-steps li { counter-increment: kd-step; position: relative; margin: 0; padding: 18px 20px 18px 82px; border: 1px solid var(--kd-line); min-height: 72px; }
ol.kd-steps li::before {
	content: counter(kd-step, decimal-leading-zero);
	position: absolute; left: 0; top: 0; bottom: 0; width: 62px;
	display: flex; align-items: center; justify-content: center;
	background: var(--kd-yellow); color: #000; font-weight: 700; font-size: 1.25rem;
}
ol.kd-steps li strong { color: #000; }
.wp-block-details { margin: 0 0 10px; border: 1px solid var(--kd-line); }
.wp-block-details summary { padding: 16px 48px 16px 20px; font-weight: 600; cursor: pointer; list-style: none; position: relative; color: #000; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; }
.wp-block-details[open] summary { background: var(--kd-yellow-pale); }
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > *:not(summary) { margin: 14px 20px; }
.kd-facts { gap: 20px; }
.kd-facts .wp-block-column { padding: 24px; background: var(--kd-grey); }

.kd-cta { margin-top: var(--kd-section); background: var(--kd-yellow); }
.kd-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.kd-cta__title { margin-bottom: 6px; font-size: 1.625rem; }
.kd-cta p { margin: 0; color: #000; }
.kd-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kd-cta .kd-btn--outline:hover { background: #fff; }

.kd-empty { text-align: center; padding-bottom: var(--kd-section); }
.kd-empty__code { margin: 0; font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; line-height: 1; color: #000; -webkit-text-stroke: 0; }
.kd-empty__code::after { content: ""; display: block; width: 80px; height: 6px; margin: 16px auto 24px; background: var(--kd-yellow); }
.kd-empty .kd-btn { margin: 6px; }

/* ==========================================================================
   10. Formulaire de contact (extension compagnon)
   ========================================================================== */

.kdc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.kdc-field { margin: 0 0 20px; }
.kdc-field--check { display: flex; align-items: flex-start; gap: 4px; }
.kdc-field--check label { font-weight: 400; font-size: .9375rem; }
.kdc-help { margin: -8px 0 20px; font-size: .875rem; color: var(--kd-muted); }
.kdc-notice ul { margin: 6px 0 0; padding-left: 20px; }
.kdc-notice p { margin: 0; }
.kdc-submit { background: transparent; border-color: #000; }
.kdc-submit:hover { background: var(--kd-yellow); color: #000; border-color: #000; }
.kdc-wa-float { background: #1e9e50; }
.kdc-wa-float:hover { background: #157a3d; color: #fff; }
.kdc-wa-button { background: #157a3d; border-color: #157a3d; color: #fff; }
.kdc-wa-button svg { width: 20px; height: 20px; fill: currentColor; }
.kdc-wa-button:hover { background: #0f5c2e; border-color: #0f5c2e; color: #fff; }

/* ==========================================================================
   11. Adaptation aux écrans
   ========================================================================== */

@media (max-width: 1180px) {
	.kd-action__label { display: none; }
	.kd-header__inner { gap: 22px; }
	.kd-search__cat { width: 190px; }
	.kd-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.kd-footer__brand { grid-column: 1 / -1; }
	.kd-menu > li > a { padding: 0 11px; }
}

@media (max-width: 1023px) {
	:root { --kd-section: 72px; --kd-gutter: 20px; }
	.kd-topbar__text { font-size: .875rem; }
	.kd-topbar__menu { display: none; }
	.kd-topbar__inner { justify-content: center; text-align: center; min-height: 38px; }
	.kd-header__inner { flex-wrap: wrap; gap: 10px 14px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
	.kd-header__brand { gap: 6px; margin-left: -10px; }
	.kd-logo img, .custom-logo { height: 44px; }
	.kd-search { order: 3; flex-basis: 100%; max-width: none; min-height: 48px; }
	.kd-search__cat { display: none; }
	.kd-search__input { min-height: 46px; }
	.kd-header__actions { gap: 6px; }
	.kd-action { padding: 8px; }
	.kd-action .kd-icon { width: 27px; height: 27px; }
	.kd-cart-count { left: 26px; top: 2px; }
	.kd-nav { display: none; }

	.kd-pagehead { min-height: 150px; }
	.kd-pagehead__text { max-width: none; }
	.kd-pagehead__media { position: relative; width: 100%; height: 180px; display: none; }
	.kd-pagehead__motif { width: 45%; }

	.kd-hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
	.kd-hero__text { padding: 48px 0 36px; }
	.kd-hero__media { padding-bottom: 40px; }
	.kd-hero__img { max-height: 460px; }
	.kd-hero__tiles { padding: 0; max-width: none; grid-template-columns: repeat(4, 1fr); }
	.kd-hero__tile { aspect-ratio: auto; min-height: 120px; padding: 16px; }
	.kd-hero__tile .kd-icon { width: 36px; height: 36px; }
	.kd-hero__tile span { font-size: 1rem; }

	.kd-select__inner { grid-template-columns: 1fr; gap: 30px; }
	.kd-mosaic__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.kd-mosaic, .kd-band { padding: 110px 0 120px; clip-path: polygon(0 2.5%, 100% 0, 100% 100%, 0 94%); }
	.kd-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
	.kd-split__grid { grid-template-columns: 1fr; }
	.kd-story__inner { grid-template-columns: 1fr; gap: 30px; }
	.kd-blog__grid { grid-template-columns: repeat(2, 1fr); }
	ul.products, ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 16px; }

	.kd-shop { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
	.kd-filter-toggle {
		display: flex; align-items: center; justify-content: center; gap: 10px;
		width: 100%; min-height: 50px; margin-bottom: 20px;
		background: #fff; border: 1px solid #000; font: 600 1rem var(--kd-font); cursor: pointer;
	}
	.kd-filter-toggle .kd-icon { width: 20px; height: 20px; }
	.kd-filters { display: none; padding: 24px 20px 0; margin-bottom: 24px; border: 1px solid var(--kd-line); }
	.kd-filters.is-open { display: block; }

	.kd-single { padding-top: 32px; }
	.kd-single div.product { grid-template-columns: 1fr; gap: 30px; }
	.woocommerce-tabs { margin-top: 40px; }
	.related, .upsells { margin-top: 60px; }

	form.checkout { grid-template-columns: 1fr; grid-template-rows: none; }
	form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	form.checkout #order_review_heading { margin-top: 30px; }
	.cart-collaterals { grid-template-columns: 1fr; }
	.cart_totals { grid-column: 1; }
	.woocommerce-account .kd-wc-page > .woocommerce { grid-template-columns: 1fr; gap: 30px; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; border: 0; border-bottom: 1px solid var(--kd-line); scrollbar-width: thin; }
	.woocommerce-MyAccount-navigation li { border: 0; flex: none; }
	.woocommerce-MyAccount-navigation a { padding: 12px 16px; white-space: nowrap; }

	.kd-row, .kd-row--reverse { grid-template-columns: 1fr; }
	.kd-row--reverse .kd-row__media { order: 0; }
	.kd-row__text, .kd-row--reverse .kd-row__text { padding: 28px 0 40px; max-width: none; }
	.kd-band__grid { grid-template-columns: 1fr; gap: 24px; }
	.kd-contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
	:root { --kd-section: 60px; --kd-gutter: 16px; }
	body { font-size: 15.5px; }
	.kd-topbar__text { font-size: .8125rem; }
	.kd-action--wa { display: none; }
	.kd-hero__tiles { grid-template-columns: 1fr 1fr; }
	.kd-hero__actions .kd-btn { width: 100%; }
	.kd-hero__actions .kd-btn--ghost { width: auto; }
	.kd-sec-head { margin-bottom: 24px; }
	.kd-cats__list { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.kd-cats__list::-webkit-scrollbar { display: none; }
	.kd-cats__list li { flex: 0 0 104px; scroll-snap-align: start; }
	.kd-cats__name { font-size: .9375rem; }
	.kd-banners__grid { grid-template-columns: 1fr; gap: 36px; }
	.kd-tile { height: 128px; padding: 14px; }
	.kd-tile__name { font-size: 1rem; }
	.kd-stripes { width: 84px; }
	.kd-stripes--top { top: 8px; right: -6px; }
	.kd-trust__grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; padding-bottom: 50px; }
	.kd-trust__item p { font-size: .875rem; }
	.kd-split__item { grid-template-columns: 1fr; min-height: 0; }
	.kd-split__item .kd-split__text { order: 2 !important; padding: 28px 20px 32px; }
	.kd-split__media { aspect-ratio: 16 / 9; }
	.kd-split__links { max-width: none; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
	.kd-blog__grid { grid-template-columns: 1fr; }
	.kd-contact-strip__item { border-right: 0; border-bottom: 1px solid var(--kd-line); padding: 22px 0; }

	ul.products, ul.products.columns-3, ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
	.kd-card__media { margin-bottom: 10px; }
	.onsale, .kd-badge { top: 10px; left: 10px; font-size: .75rem; padding: 2px 8px; }
	.kd-badge--out { left: auto; right: 10px; }
	.kd-card__meta { flex-direction: column; gap: 2px; align-items: flex-start; }
	.kd-card__meta .price { text-align: left; font-size: 1rem; white-space: normal; display: flex; flex-wrap: wrap; gap: 0 6px; max-width: 100%; }
	.kd-card__cat { max-width: 100%; }
	.kd-card__cat { font-size: .75rem; }
	.woocommerce-loop-product__title { font-size: .9375rem; }
	/* Écrans tactiles : le bouton d'ajout est toujours visible, sous l'image. */
	.kd-card__cta { position: static; opacity: 1; transform: none; margin-top: -2px; order: 3; }
	.kd-card__cta .button { min-height: 44px; font-size: .75rem; padding: 8px 10px; }
	li.product .kd-card__media { display: flex; flex-direction: column; overflow: visible; background: none; aspect-ratio: auto; }
	li.product .kd-card__imglink { aspect-ratio: 1; overflow: hidden; background: var(--kd-grey); }
	li.product .kd-card__cta { margin-top: 8px; }
	.kd-shop__main[data-view="list"] li.product { grid-template-columns: 120px 1fr; gap: 14px; }

	.kd-toolbar { padding: 12px; gap: 10px; }
	.kd-view { display: none; }
	.woocommerce-result-count { width: 100%; font-size: .875rem; order: 2; }
	.woocommerce-ordering { margin: 0; width: 100%; }
	.woocommerce-ordering select { width: 100%; min-width: 0; }
	.page-numbers { min-width: 44px; height: 44px; }

	.flex-control-thumbs { grid-template-columns: repeat(4, 1fr); gap: 10px; }
	form.cart .single_add_to_cart_button { flex: 1; min-width: 0; }
	.kdc-wa-product.button { width: 100%; }
	.woocommerce-tabs ul.tabs li a { padding: 16px 8px; font-size: .875rem; }

	/* Tableau du panier en cartes empilées */
	.woocommerce-cart-form table.shop_table thead { display: none; }
	.woocommerce-cart-form table.shop_table, .woocommerce-cart-form table.shop_table tbody { display: block; border: 0; }
	.woocommerce-cart-form tr.cart_item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 4px 14px; padding: 18px 40px 18px 0; border-bottom: 1px solid var(--kd-line); }
	.woocommerce-cart-form tr.cart_item td { display: block; padding: 0; border: 0; }
	.woocommerce-cart-form td.product-remove { position: absolute; top: 16px; right: 0; width: auto; }
	.woocommerce-cart-form td.product-thumbnail { grid-row: span 4; width: auto; }
	.woocommerce-cart-form td.product-price, .woocommerce-cart-form td.product-subtotal { font-size: .9375rem; }
	.woocommerce-cart-form td[data-title]::before { content: attr(data-title) " : "; color: var(--kd-muted); font-weight: 400; }
	.woocommerce-cart-form td.product-name::before, .woocommerce-cart-form td.product-quantity::before { content: none; }
	.woocommerce-cart-form td.product-quantity { margin-top: 6px; }
	.woocommerce-cart-form td.actions { display: block; padding: 20px 0; border: 0; }
	.woocommerce-cart-form .coupon { display: grid; grid-template-columns: 1fr auto; width: 100%; margin-bottom: 12px; }
	.woocommerce-cart-form .coupon .input-text { width: 100%; }
	.woocommerce-cart-form button[name="update_cart"] { float: none; width: 100%; }
	.cart_totals { padding: 22px 18px; }

	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm { grid-template-columns: 1fr; }
	form.checkout #order_review_heading { padding: 22px 18px 0; }
	form.checkout #order_review { padding: 12px 18px 22px; }
	.u-columns.col2-set { grid-template-columns: 1fr; gap: 24px; }
	.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { padding: 22px 18px; }
	.woocommerce-Addresses { grid-template-columns: 1fr; }
	table.woocommerce-orders-table thead { display: none; }
	table.woocommerce-orders-table, table.woocommerce-orders-table tbody, table.woocommerce-orders-table tr, table.woocommerce-orders-table td { display: block; border: 0; }
	table.woocommerce-orders-table tr { padding: 14px; margin-bottom: 12px; border: 1px solid var(--kd-line); }
	table.woocommerce-orders-table td { padding: 4px 0; text-align: left !important; }
	table.woocommerce-orders-table td[data-title]::before { content: attr(data-title) " : "; font-weight: 700; color: #000; }
	ul.order_details li { border-right: 0; border-bottom: 1px solid var(--kd-line); }

	.kdc-form__row { grid-template-columns: 1fr; }
	.kd-contact__info { grid-template-columns: 1fr; }
	.kd-map { height: 240px; }
	.kd-map__static { padding: 24px; }
	.kd-cta__actions, .kd-cta__actions .kd-btn { width: 100%; }
	.kd-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-top: 52px; }
	.kd-footer__contact { grid-column: 1 / -1; }
	.kd-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
	.kdc-wa-float { right: 12px; bottom: 12px; }
}

/* ==========================================================================
   12. Préférences et impression
   ========================================================================== */

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

@media print {
	.kd-topbar, .kd-nav, .kd-header__actions, .kd-search, .kd-burger, .kd-footer, .kd-drawer, .kd-card__cta, .kdc-wa-float { display: none !important; }
	.kd-pagehead { background: none; min-height: 0; }
	body { color: #000; }
}
