/* ==========================================================================
   ChezMomo — feuille de style principale
   ========================================================================== */

:root {
	--cm-green: #1a5c30;
	--cm-green-dark: #0f4425;
	--cm-green-bright: #2f8f3e;
	--cm-green-soft: #e8efe4;
	--cm-orange: #f26a1b;
	--cm-orange-soft: #fde8d8;
	--cm-ink: #171a17;
	--cm-text: #3d423d;
	--cm-muted: #7a807a;
	--cm-line: #e9e9e4;
	--cm-cream: #f3f1e8;
	--cm-bg: #fff;
	--cm-radius: 14px;
	--cm-radius-sm: 8px;
	--cm-shadow: 0 6px 24px rgba(20, 40, 25, .08);
	--cm-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--cm-container: 1240px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--cm-bg);
	color: var(--cm-text);
	font: 400 14px/1.55 var(--cm-font);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cm-green); text-decoration: none; }
a:hover { color: var(--cm-orange); }
h1, h2, h3, h4 { color: var(--cm-ink); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cm-orange); outline-offset: 2px; }

.screen-reader-text,
.cm-hp {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.cm-skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.cm-skip:focus { left: 8px; top: 8px; }

.cm-container { width: 100%; max-width: var(--cm-container); margin-inline: auto; padding-inline: 16px; }
.cm-icon { flex: none; }

/* ---------- Boutons ---------- */
.cm-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 18px;
	border: 1px solid transparent; border-radius: var(--cm-radius-sm);
	font-weight: 500; font-size: 13px; line-height: 1.2;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.cm-btn--primary { background: var(--cm-green); color: #fff; }
.cm-btn--primary:hover { background: var(--cm-green-dark); color: #fff; }
.cm-btn--light { background: #fff; color: var(--cm-ink); border-color: var(--cm-line); }
.cm-btn--white { background: #fff; color: var(--cm-orange); padding: 8px 14px; font-size: 12px; }
.cm-btn--outline { white-space: nowrap; background: rgba(255, 255, 255, .55); color: var(--cm-green); border-color: #b9cbb9; padding: 8px 14px; font-size: 12px; }
.cm-btn--outline:hover { background: var(--cm-green); color: #fff; border-color: var(--cm-green); }

/* ---------- Bandeau supérieur ---------- */
.cm-topbar { background: var(--cm-green-dark); color: #fff; font-size: 12px; font-weight: 500; }
.cm-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.cm-topbar ul { display: flex; align-items: center; gap: 26px; }
.cm-topbar li { display: inline-flex; align-items: center; gap: 8px; }
.cm-topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.cm-topbar a:hover { color: #ffd9bf; }
.cm-country { background: transparent; color: #fff; border: 0; font-weight: 500; font-size: 12px; cursor: pointer; padding: 4px 0; }
.cm-country option { color: var(--cm-ink); }

/* ---------- En-tête ---------- */
.cm-header { background: #fff; position: relative; z-index: 20; }
.cm-header__inner { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.cm-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--cm-ink); }

.cm-logo { display: inline-flex; flex-direction: column; flex: none; color: var(--cm-ink); min-width: 205px; }
.cm-logo:hover { color: var(--cm-ink); }
.cm-logo__img { max-height: 56px; width: auto; }
.cm-logo__text { font-size: 33px; font-weight: 700; line-height: 1.1; letter-spacing: -.5px; }
.cm-logo__a { color: var(--cm-green-bright); }
.cm-logo__b { color: var(--cm-orange); }
.cm-logo__o { position: relative; }
.cm-logo__o::before {
	content: ""; position: absolute; left: 50%; bottom: 62%;
	width: .5em; height: .42em; transform: translateX(-50%);
	border: .09em solid var(--cm-green-bright); border-bottom: 0; border-radius: .3em .3em 0 0;
}
.cm-logo__tagline { font-size: 10.5px; color: var(--cm-text); margin-top: 1px; }

.cm-search {
	flex: 1; display: flex; align-items: center;
	border: 1px solid var(--cm-line); border-radius: 26px;
	background: #fff; padding: 3px; min-width: 0; max-width: 600px;
}
.cm-search__cat {
	border: 0; padding: 9px 30px 9px 16px; max-width: 210px; appearance: none; -webkit-appearance: none;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23171a17' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	border-right: 1px solid var(--cm-line); font-size: 13px; color: var(--cm-ink); cursor: pointer;
}
.cm-search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 14px; font-size: 13px; outline: 0; }
.cm-search__input::placeholder { color: #a3a8a3; }
.cm-search__btn {
	flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0;
	background: var(--cm-green); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.cm-search__btn:hover { background: var(--cm-green-dark); }
.cm-search:focus-within { border-color: var(--cm-green); }

.cm-actions { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.cm-action { position: relative; display: inline-flex; align-items: center; gap: 10px; color: var(--cm-ink); }
.cm-action:hover { color: var(--cm-green); }
.cm-action__text { display: flex; flex-direction: column; line-height: 1.3; }
.cm-action__text strong { font-weight: 500; font-size: 13px; }
.cm-action__text small { font-size: 11.5px; color: var(--cm-muted); }
.cm-action__count {
	position: absolute; left: 16px; top: -7px;
	min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
	background: var(--cm-orange); color: #fff; font-size: 10px; font-weight: 600;
	display: grid; place-items: center;
}

.cm-navbar { display: flex; align-items: center; gap: 34px; padding-bottom: 12px; }
.cm-cats { position: relative; flex: none; }
.cm-cats__btn {
	display: inline-flex; align-items: center; gap: 12px; width: 205px;
	background: var(--cm-green); color: #fff; border: 0; border-radius: var(--cm-radius-sm);
	padding: 11px 16px; font-weight: 500; font-size: 13px; cursor: pointer;
}
.cm-cats__btn:hover { background: var(--cm-green-dark); }
.cm-cats__list {
	position: absolute; top: calc(100% + 6px); left: 0; width: 260px; z-index: 30;
	background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-radius-sm);
	box-shadow: var(--cm-shadow); padding: 8px;
}
.cm-cats__list a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--cm-ink); }
.cm-cats__list a:hover { background: var(--cm-green-soft); color: var(--cm-green); }

.cm-nav__list { display: flex; align-items: center; gap: 42px; flex-wrap: wrap; }
.cm-nav__list > li { position: relative; }
.cm-nav__list a { position: relative; display: block; padding: 8px 0; color: var(--cm-ink); font-weight: 500; font-size: 13.5px; }
.cm-nav__list a:hover { color: var(--cm-green); }
.cm-nav__list > .current-menu-item > a::after,
.cm-nav__list > .current_page_parent > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cm-orange); border-radius: 2px;
}
.cm-nav__badge {
	position: absolute; right: -8px; top: -11px;
	background: var(--cm-orange); color: #fff; font-size: 9.5px; font-weight: 600; line-height: 1;
	padding: 3px 7px; border-radius: 9px;
}
.cm-nav__list .sub-menu {
	display: none; position: absolute; top: 100%; left: -12px; min-width: 200px; z-index: 30;
	background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-radius-sm); box-shadow: var(--cm-shadow); padding: 8px 12px;
}
.cm-nav__list li:hover > .sub-menu,
.cm-nav__list li:focus-within > .sub-menu { display: block; }

/* ---------- Hero ---------- */
.cm-home > section { margin-bottom: 14px; }
.cm-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(100deg, #f4f2e9 0%, #eeeee2 55%, #e3e8d6 100%);
	border-radius: var(--cm-radius);
	padding: 0;
	max-width: calc(var(--cm-container) - 32px + 0px);
}
.cm-hero__track { position: relative; min-height: 312px; }
.cm-hero__slide {
	position: absolute; inset: 0; display: flex;
	opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.cm-hero__slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: 312px; }
.cm-hero__content { position: relative; z-index: 2; width: 46%; padding: 26px 0 88px 68px; }
.cm-pill {
	display: inline-block; padding: 4px 12px; border: 1px solid #b9cbb9; border-radius: 20px;
	font-size: 11.5px; font-weight: 500; color: var(--cm-ink); background: rgba(255, 255, 255, .5);
}
.cm-hero__title { font-size: 38px; font-weight: 600; letter-spacing: -1px; line-height: 1.14; margin: 14px 0 12px; }
.cm-hero__title em { font-style: normal; color: var(--cm-green-bright); }
.cm-hero__text { max-width: 350px; margin: 0 0 18px; font-size: 13.5px; color: var(--cm-text); }
.cm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.cm-hero__art { position: absolute; inset: 0 0 0 46%; }
.cm-hero__tile {
	position: absolute; background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 10px;
	box-shadow: 0 8px 22px rgba(30, 50, 30, .08);
}
.cm-hero__tile img { width: 100%; height: 100%; object-fit: contain; }
.cm-hero__tile--1 { left: 4%; top: 18%; width: 92px; height: 92px; }
.cm-hero__tile--2 { left: 23%; top: 7%; width: 116px; height: 116px; }
.cm-hero__tile--3 { left: 13%; top: 52%; width: 84px; height: 84px; }
.cm-hero__tile--4 { right: 15%; top: 5%; width: 90px; height: 124px; }
.cm-hero__main { position: absolute; left: 30%; bottom: 0; width: 36%; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.cm-hero__main img { max-height: 86%; width: auto; object-fit: contain; object-position: bottom; }

.cm-hero__trust {
	position: absolute; z-index: 3; left: 68px; bottom: 26px;
	display: flex; background: rgba(255, 255, 255, .78); border-radius: 10px; padding: 11px 6px;
}
.cm-hero__trust li { display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--cm-ink); }
.cm-hero__trust li + li { border-left: 1px solid var(--cm-line); }
.cm-hero__trust span,
.cm-features span,
.cm-contact__item span { display: flex; flex-direction: column; line-height: 1.35; }
.cm-hero__trust strong { font-size: 11.5px; font-weight: 600; }
.cm-hero__trust small { font-size: 10.5px; color: var(--cm-muted); }

.cm-hero__pay {
	position: absolute; z-index: 3; right: 54px; bottom: 0;
	background: rgba(255, 255, 255, .95); border-radius: 12px 12px 0 0; padding: 12px 16px 12px;
	box-shadow: var(--cm-shadow); width: 262px;
}
.cm-hero__pay strong { display: block; max-width: 190px; color: var(--cm-ink); font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.cm-pay { display: flex; flex-wrap: nowrap; gap: 6px; }
.cm-pay__badge { font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 5px; background: #eef1ee; color: var(--cm-ink); white-space: nowrap; }
.cm-pay__badge--wave { background: #e3f6fd; color: #0b79a8; }
.cm-pay__badge--orange { background: #1a1a1a; color: #ff7900; }
.cm-pay__badge--mtn { background: #ffcc00; color: #1a1a1a; }

.cm-hero__nav {
	position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
	width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--cm-ink);
	display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}
.cm-hero__nav--prev { left: 10px; }
.cm-hero__nav--next { right: 10px; }
.cm-hero__nav:hover { background: var(--cm-green); color: #fff; }
.cm-hero__dots { position: absolute; z-index: 4; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 8px; }
.cm-hero__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: #c4c8bf; cursor: pointer; transition: width .2s, background .2s; }
.cm-hero__dots button.is-active { width: 12px; background: var(--cm-green); }

/* ---------- Catégories rondes ---------- */
.cm-circles { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: start; padding-block: 8px 4px; }
.cm-circle { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--cm-ink); text-align: center; }
.cm-circle__img {
	width: 74px; height: 74px; border-radius: 50%; background: #faf1e4; overflow: hidden;
	display: grid; place-items: center; transition: transform .2s, box-shadow .2s;
}
.cm-circle__img img { width: 54px; height: 54px; object-fit: contain; }
.cm-circle:hover .cm-circle__img { transform: translateY(-3px); box-shadow: var(--cm-shadow); }
.cm-circle__label { font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.cm-circle--promo .cm-circle__img { background: var(--cm-orange-soft); }
.cm-circle__pct {
	width: 48px; height: 48px; border-radius: 50%; background: var(--cm-orange); color: #fff;
	display: grid; place-items: center; font-size: 22px; font-weight: 700;
}
.cm-circle--all {
	background: var(--cm-green-soft); border-radius: 10px; padding: 14px 6px; align-self: stretch; justify-content: center;
	color: var(--cm-green); max-width: 92px; justify-self: center; width: 100%;
}
.cm-circle--all .cm-circle__label { color: var(--cm-ink); }

/* ---------- Promo / Meilleures ventes / Nouveautés ---------- */
.cm-trio { display: grid; grid-template-columns: 255px minmax(0, 1fr) 270px; gap: 14px; align-items: stretch; }
.cm-promo, .cm-new { position: relative; overflow: hidden; border-radius: var(--cm-radius); min-height: 152px; display: flex; }
.cm-promo { background: linear-gradient(120deg, #fde3cf, #fbd3b4); }
.cm-promo__body, .cm-new__body { position: relative; z-index: 1; padding: 18px 16px; max-width: 66%; }
.cm-new__img { width: 34%; }
.cm-new__img img { max-height: 70%; }
.cm-promo__kicker { color: var(--cm-orange); font-size: 11.5px; font-weight: 600; }
.cm-promo__title { font-size: 21px; font-weight: 700; margin: 4px 0 2px; white-space: nowrap; }
.cm-promo__title em { font-style: normal; color: var(--cm-orange); }
.cm-promo p { margin: 0 0 12px; font-size: 11.5px; color: var(--cm-text); line-height: 1.4; }
.cm-promo__img, .cm-new__img { position: absolute; right: 0; bottom: 0; width: 48%; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; }
.cm-promo__img img, .cm-new__img img { max-height: 92%; width: auto; object-fit: contain; }
.cm-new { background: linear-gradient(120deg, #eef1e6, #e0e8d8); }
.cm-new__kicker { font-size: 11.5px; color: var(--cm-text); }
.cm-new h2 { font-size: 15.5px; font-weight: 600; margin: 8px 0 16px; line-height: 1.3; }

.cm-best { border: 1px solid var(--cm-line); border-radius: var(--cm-radius); padding: 12px 16px 10px; background: #fff; min-width: 0; }
.cm-best__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cm-best__head h2 { font-size: 15px; margin: 0; }
.cm-best__head a { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--cm-ink); }
.cm-best__head a:hover { color: var(--cm-orange); }
.cm-best__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }

.cm-card { position: relative; }
.cm-card__link { display: flex; flex-direction: column; color: var(--cm-ink); }
.cm-card__media { display: grid; place-items: center; background: #f7f7f4; border-radius: 6px; aspect-ratio: 1.3 / 1; overflow: hidden; margin-bottom: 8px; }
.cm-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .25s; }
.cm-card:hover .cm-card__media img { transform: scale(1.05); }
.cm-card__title { font-size: 11.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-card__price { font-size: 12px; font-weight: 600; margin-top: 2px; }
.cm-card__price del { color: var(--cm-muted); font-weight: 400; font-size: 10.5px; margin-right: 4px; }
.cm-card__price ins { text-decoration: none; color: var(--cm-orange); }
.cm-card__rating { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.cm-card__rating small { font-size: 10.5px; color: var(--cm-muted); }

.cm-stars { position: relative; display: inline-block; font-size: 11px; line-height: 1; letter-spacing: 1px; color: #dcdcd6; }
.cm-stars::before { content: "★★★★★"; }
.cm-stars span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--cm-orange); }
.cm-stars span::before { content: "★★★★★"; }

.cm-fav {
	position: absolute; z-index: 2; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%;
	border: 0; background: rgba(255, 255, 255, .92); color: var(--cm-muted); display: grid; place-items: center; cursor: pointer;
	opacity: 0; transition: opacity .15s, color .15s; box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
}
.cm-card:hover .cm-fav, .product:hover .cm-fav, .cm-fav:focus-visible, .cm-fav.is-active, .cm-fav-single .cm-fav { opacity: 1; }
.cm-fav.is-active { color: #e0314b; }
.cm-fav.is-active svg { fill: currentColor; }
.cm-fav-single { display: flex; align-items: center; gap: 8px; }
.cm-fav-single .cm-fav { position: static; box-shadow: none; border: 1px solid var(--cm-line); }
@media (hover: none) { .cm-fav { opacity: 1; } }

/* ---------- Avantages ---------- */
.cm-features {
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: #f8f8f5; border-radius: var(--cm-radius-sm); padding: 12px 20px;
}
.cm-features li { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--cm-green); padding: 0 8px; }
.cm-features strong { font-size: 12px; font-weight: 600; color: var(--cm-ink); }
.cm-features small { font-size: 11px; color: var(--cm-muted); }

/* ---------- Newsletter ---------- */
.cm-newsletter {
	position: relative; overflow: hidden; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px;
	background: linear-gradient(90deg, #0e3f22, var(--cm-green) 60%, #0e3f22); color: #fff;
	border-radius: var(--cm-radius-sm); padding: 9px 110px 9px 90px; min-height: 60px;
}
.cm-newsletter__gift { position: absolute; left: 30px; top: 50%; transform: translateY(-50%) rotate(-8deg); color: #e9c46a; }
.cm-newsletter__pct {
	position: absolute; right: 26px; top: 50%; transform: translateY(-50%) rotate(-18deg);
	width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 22px; font-weight: 700;
}
.cm-newsletter h2 { flex: 1 1 420px; color: #fff; font-size: 15px; font-weight: 600; margin: 0; text-align: center; }
.cm-newsletter__form { flex: 0 1 345px; min-width: 0; max-width: 100%; display: flex; background: #fff; border-radius: 6px; padding: 3px; }
.cm-newsletter__form input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 7px 12px; font-size: 12px; outline: 0; color: var(--cm-ink); }
.cm-newsletter__form button { flex: none; border: 0; border-radius: 5px; background: var(--cm-orange); color: #fff; font-weight: 600; font-size: 12.5px; padding: 8px 22px; cursor: pointer; }
.cm-newsletter__form button:hover { background: #d95a10; }
.cm-newsletter__notice { flex-basis: 100%; margin: 0; text-align: center; font-size: 12.5px; }

/* ---------- Contact + pied de page ---------- */
.cm-contact { padding: 8px 0 14px; }
.cm-contact__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-inline: clamp(16px, 16vw, 240px); max-width: none; }
.cm-contact__item { display: inline-flex; align-items: center; gap: 12px; color: var(--cm-ink); }
.cm-contact__item strong { font-size: 12.5px; font-weight: 600; }
.cm-contact__item small { font-size: 11px; color: var(--cm-muted); }
.cm-contact__social { display: inline-flex; align-items: center; gap: 12px; color: var(--cm-ink); }
.cm-contact__social strong { font-size: 12.5px; font-weight: 600; margin-right: 6px; }
.cm-contact__social a { color: var(--cm-ink); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.cm-contact__social a:hover { background: var(--cm-green); color: #fff; }

.cm-footer { background: var(--cm-green-dark); color: #d7e3d9; font-size: 12.5px; }
.cm-footer a { color: #fff; }
.cm-footer__widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 32px 12px; }
.cm-widget__title { color: #fff; font-size: 14px; }
.cm-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-block: 14px; }
.cm-footer__bottom p { margin: 0; }
.cm-footer__menu { display: flex; gap: 20px; flex-wrap: wrap; }

.cm-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
	background: var(--cm-ink); color: #fff; padding: 10px 18px; border-radius: 24px; font-size: 13px; box-shadow: var(--cm-shadow);
}
.cm-toast[hidden] { display: none; }

/* ---------- Pages intérieures ---------- */
.cm-main { padding-block: 24px 48px; }
.cm-page-title, .woocommerce-products-header__title { font-size: 28px; margin-bottom: 18px; }
.cm-content { font-size: 15px; line-height: 1.7; }
.cm-content > * { max-width: 100%; }
.cm-entry + .cm-entry { margin-top: 28px; }
.cm-empty { background: #f8f8f5; border-radius: var(--cm-radius-sm); padding: 24px; text-align: center; }
.cm-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.cm-brands a { display: block; text-align: center; padding: 18px; border: 1px solid var(--cm-line); border-radius: var(--cm-radius-sm); color: var(--cm-ink); font-weight: 500; }
.cm-404 { text-align: center; padding-block: 72px; }

/* ---------- WooCommerce ---------- */
.woocommerce .woocommerce-breadcrumb { font-size: 12px; color: var(--cm-muted); margin-bottom: 14px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	position: relative; float: none; width: auto; margin: 0; padding: 12px;
	border: 1px solid var(--cm-line); border-radius: var(--cm-radius); background: #fff; transition: box-shadow .2s, transform .2s;
	display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--cm-shadow); transform: translateY(-2px); }
.woocommerce ul.products li.product a img { background: #f7f7f4; border-radius: 8px; aspect-ratio: 1; object-fit: contain; margin-bottom: 10px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px; font-weight: 500; color: var(--cm-ink); padding: 0 0 4px; }
.woocommerce ul.products li.product .price { color: var(--cm-ink); font-weight: 600; font-size: 14px; }
.woocommerce ul.products li.product .price del { color: var(--cm-muted); font-weight: 400; font-size: 12px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--cm-orange); }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--cm-orange); }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
	min-height: 0; min-width: 0; line-height: 1; padding: 5px 10px; border-radius: 12px; top: 10px; left: 10px; right: auto; margin: 0;
	background: var(--cm-orange); font-weight: 600; font-size: 11px;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link) {
	background: var(--cm-green); color: #fff; border-radius: var(--cm-radius-sm); font-weight: 500; font-size: 13px; padding: 11px 18px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--cm-green-dark); color: #fff; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--cm-ink); font-weight: 600; font-size: 22px; }
.woocommerce div.product .product_title { font-size: 26px; }
.woocommerce div.product div.images img { background: #f7f7f4; border-radius: var(--cm-radius); }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--cm-green); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--cm-green); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce .quantity .qty, .select2-container--default .select2-selection--single {
	border: 1px solid var(--cm-line); border-radius: var(--cm-radius-sm); padding: 10px 12px;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--cm-green); color: #fff; }

/* ---------- Ajustements v1.1 : alignement fin sur la maquette ---------- */
:root { --cm-container: 1228px; }
body { font-size: 13px; }

.cm-topbar { font-size: 11px; }
.cm-topbar__inner { min-height: 30px; }
.cm-topbar .cm-icon--whatsapp { color: #4ade80; }
.cm-country { font-size: 11px; }

.cm-header__inner { gap: 26px; padding-block: 12px 10px; }
.cm-logo { min-width: 206px; }
.cm-logo__text { font-size: 29px; }
.cm-logo__tagline { font-size: 9px; }

.cm-search { position: relative; gap: 6px; border: 0; border-radius: 0; padding: 0; max-width: 590px; }
.cm-search:focus-within { border-color: transparent; }
.cm-search__cat {
	flex: none; width: 180px; max-width: none; height: 36px; padding: 0 30px 0 14px; font-size: 12px;
	border: 1px solid var(--cm-line); border-radius: 8px; background-color: #fff;
}
.cm-search__input {
	height: 36px; padding: 0 48px 0 14px; font-size: 12px;
	border: 1px solid var(--cm-line); border-radius: 8px; background: #fff;
}
.cm-search__input:focus, .cm-search__cat:focus { border-color: var(--cm-green); }
.cm-search__btn { position: absolute; right: 3px; top: 3px; width: 36px; height: 30px; border-radius: 15px; }

.cm-actions { gap: 34px; }
.cm-action__text strong { font-size: 11.5px; }
.cm-action__text small { font-size: 10.5px; }
.cm-action .cm-icon { width: 23px; height: 23px; }
.cm-action__count { left: 14px; top: -8px; min-width: 15px; height: 15px; font-size: 9px; }

.cm-navbar { gap: 34px; padding-bottom: 10px; }
.cm-cats__btn { width: 191px; padding: 9px 14px; font-size: 11.5px; }
.cm-nav__list { gap: 40px; }
.cm-nav__list a { font-size: 12px; padding: 7px 0; }
.cm-nav__badge { font-size: 8.5px; padding: 3px 6px; right: -6px; top: -10px; }

.cm-hero { max-width: 1256px; width: calc(100% - 32px); }
.cm-hero__track, .cm-hero__slide.is-active { min-height: 312px; }
.cm-hero__content { padding: 26px 0 96px 70px; }
.cm-pill { font-size: 10.5px; padding: 3px 11px; }
.cm-hero__title { font-size: 33px; font-weight: 600; letter-spacing: -.8px; line-height: 1.16; margin: 12px 0 10px; }
.cm-hero__title em { color: var(--cm-green); }
.cm-hero__text { max-width: 330px; font-size: 12px; margin-bottom: 14px; }
.cm-btn { font-size: 11.5px; padding: 9px 14px; }
.cm-hero__trust { left: 66px; bottom: 26px; padding: 9px 4px; }
.cm-hero__trust li { padding: 0 12px; gap: 9px; }
.cm-hero__trust strong { font-size: 10.5px; }
.cm-hero__trust small { font-size: 9.5px; }

.cm-hero__tile--1 { left: 1%; top: 18%; width: 96px; height: 94px; }
.cm-hero__tile--2 { left: 19.5%; top: 7%; width: 118px; height: 124px; }
.cm-hero__tile--3 { left: 10%; top: 51%; width: 84px; height: 86px; }
.cm-hero__tile--4 { left: 69.5%; right: auto; top: 5%; width: 92px; height: 126px; }
.cm-hero__tile--5 { left: 77%; top: 54%; width: 94px; height: 100px; }
.cm-hero__main { left: 33%; width: 44%; height: 100%; align-items: flex-start; overflow: hidden; }
.cm-hero__main img { height: 130%; max-height: none; width: auto; max-width: none; object-fit: contain; object-position: top; }
.cm-hero__pay { right: 55px; width: 224px; padding: 12px 14px; border-radius: 12px 12px 0 0; }
.cm-hero__pay strong { font-size: 11.5px; max-width: 160px; }
.cm-pay__badge { font-size: 9px; padding: 3px 6px; }

.cm-circles { padding-inline: 44px; padding-block: 12px 4px; }
.cm-circle__img { width: 72px; height: 72px; }
.cm-circle__label { font-size: 10.5px; }
.cm-circle--all { max-width: 90px; padding: 12px 6px; }

.cm-trio { grid-template-columns: 255px minmax(0, 1fr) 268px; gap: 13px; }
.cm-promo__kicker, .cm-new__kicker { font-size: 10.5px; }
.cm-promo__title { font-size: 19px; }
.cm-promo p { font-size: 10.5px; max-width: 110px; }
.cm-btn--white, .cm-btn--outline { font-size: 10.5px; padding: 7px 12px; }
.cm-new__body { max-width: 74%; }
.cm-new h2 { font-size: 14px; margin: 8px 0 22px; }
.cm-new__img { width: 33%; }
.cm-new__img img { max-height: 78%; }
.cm-best__head h2 { font-size: 13.5px; }
.cm-best__head a { font-size: 10.5px; }
.cm-card__title { font-size: 10.5px; }
.cm-card__price { font-size: 11px; }

.cm-features strong { font-size: 11px; }
.cm-features small { font-size: 10px; }
.cm-newsletter { min-height: 48px; padding-block: 6px; }
.cm-newsletter h2 { font-size: 14.5px; }
.cm-contact__item strong, .cm-contact__social strong { font-size: 11.5px; }
.cm-contact__item small { font-size: 10px; }
.cm-contact__social a { background: var(--cm-ink); color: #fff; width: 26px; height: 26px; }
.cm-contact__social a svg { width: 14px; height: 14px; }
.cm-contact__social a:hover { background: var(--cm-green); }

/* ---------- Ajustements v1.2 : photos de la maquette ---------- */
.cm-hero__content { padding-bottom: 84px; }
.cm-hero__text { max-width: 345px; font-size: 11.5px; }
.cm-hero__tile { padding: 0; overflow: hidden; background: #fff; }
.cm-hero__tile img { object-fit: cover; }

.cm-circle__img { background: #f6efe4; }
.cm-circle__img img { width: 100%; height: 100%; object-fit: cover; }
.cm-circle--promo .cm-circle__img { background: transparent; }

.cm-promo { background: #fbdcc6; }
.cm-promo__img, .cm-new__img { width: 45%; height: 100%; right: 0; align-items: stretch; }
.cm-promo__img img, .cm-new__img img {
	width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center top;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 22%); mask-image: linear-gradient(to right, transparent, #000 22%);
}
.cm-new { background: #e9ede0; }
.cm-new__img { width: 47%; }
.cm-new__body { max-width: 68%; }
.cm-new h2 { font-size: 13.5px; }
.cm-new__img { width: 44%; }

.cm-card__media { aspect-ratio: 1.4 / 1; background: #f5f4f0; }
.cm-card__media img { object-fit: cover; padding: 0; }

.cm-newsletter__gift, .cm-newsletter__pct {
	position: absolute; top: 0; height: 100%; width: auto; transform: none; border-radius: 0; background: none;
}
.cm-newsletter__gift { left: 0; -webkit-mask-image: linear-gradient(to right, #000 70%, transparent); mask-image: linear-gradient(to right, #000 70%, transparent); }
.cm-newsletter__pct { right: 0; -webkit-mask-image: linear-gradient(to left, #000 70%, transparent); mask-image: linear-gradient(to left, #000 70%, transparent); }
.cm-newsletter { background: #0f4425; }

/* ---------- Ajustements v1.3 : photo du carrousel entière, sac « ChezMomo » lisible ---------- */
.cm-hero__track, .cm-hero__slide.is-active { min-height: 350px; }
.cm-hero__content { padding-top: 40px; padding-bottom: 96px; }
.cm-hero__main { left: 31%; width: 46%; height: 100%; align-items: flex-end; justify-content: center; overflow: visible; }
.cm-hero__main img { height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom; }
.cm-hero__tile--1 { top: 22%; }
.cm-hero__tile--2 { left: 17%; top: 9%; }
.cm-hero__tile--3 { top: 54%; }
.cm-hero__tile--4 { left: 74%; top: 6%; }
.cm-hero__tile--5 { left: 80%; top: 42%; width: 88px; height: 88px; }
.cm-hero__pay { right: 24px; width: 214px; padding: 10px 14px; }

/* ---------- Ajustements v1.4 : couleurs du logo relevées sur la maquette ---------- */
.cm-logo__a { color: #1d512c; }
.cm-logo__b { color: #ef6f15; }
.cm-logo__o::before {
	left: 50%; bottom: 52%; width: .66em; height: .56em;
	border: .06em solid #1d512c; border-bottom: 0; border-radius: .34em .34em 0 0;
}
.cm-logo__o::after {
	content: ""; position: absolute; left: 50%; bottom: 46%; width: .82em; height: .08em; transform: translateX(-50%);
	background: linear-gradient(to right, #1d512c .1em, transparent .1em, transparent calc(100% - .1em), #1d512c calc(100% - .1em));
}
.cm-logo__tagline { color: #5f645f; font-size: 8px; margin-top: -1px; }

/* ---------- Ajustements v1.5 : logo officiel en image ---------- */
.cm-logo { min-width: 0; justify-content: center; }
.cm-logo picture { display: block; }
/* Sélecteur renforcé : WooCommerce impose « height: auto » aux images de ses pages. */
.cm-header .cm-logo img.cm-logo__img { display: block; width: auto; max-width: none; height: 54px; max-height: none; }
.cm-header__inner { gap: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.cm-nav__list { gap: 24px; }
	.cm-actions { gap: 18px; }
	.cm-trio { grid-template-columns: 1fr 1fr; }
	.cm-best { grid-column: 1 / -1; order: 3; }
	.cm-hero__tile--5 { display: none; }
	.cm-contact__inner { padding-inline: 16px; }
}

@media (max-width: 960px) {
	.cm-topbar__left li:last-child { display: none; }
	.cm-header__inner { flex-wrap: wrap; gap: 12px 16px; }
	.cm-burger { display: block; }
	.cm-logo { min-width: 0; }
	.cm-logo__text { font-size: 26px; }
	.cm-header .cm-logo img.cm-logo__img { height: 40px; }
	.cm-logo__tagline { display: none; }
	.cm-search { order: 3; flex-basis: 100%; max-width: none; }
	.cm-action__text { display: none; }
	.cm-navbar { display: none; flex-direction: column; align-items: stretch; gap: 10px; }
	.cm-navbar.is-open { display: flex; }
	.cm-cats__btn { width: 100%; }
	.cm-cats__list { position: static; width: 100%; box-shadow: none; margin-top: 6px; }
	.cm-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.cm-nav__list a { padding: 11px 4px; border-bottom: 1px solid var(--cm-line); }
	.cm-nav__list > .current-menu-item > a::after { display: none; }
	.cm-nav__badge { position: static; margin-left: 8px; }
	.cm-nav__list .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; }

	.cm-hero { margin-inline: 16px; width: auto; }
	.cm-hero__title { font-size: 27px; }
	.cm-hero__title br { display: none; }
	.cm-hero__art { height: 260px; }
	.cm-hero__main { left: 22%; width: 78%; justify-content: flex-end; }
	.cm-hero__main img { height: 100%; }
	.cm-hero__content { padding-top: 24px; padding-bottom: 20px; }
	.cm-hero__tile--4, .cm-hero__tile--5 { display: none; }
	.cm-circles { padding-inline: 16px; }
	.cm-search__btn { height: 30px; }
	.cm-hero__content { width: 100%; padding: 24px 20px 20px; }
	.cm-hero__title { font-size: 30px; }
	.cm-hero__art { position: relative; inset: auto; height: 200px; }
	.cm-hero__slide { flex-direction: column; }
	.cm-hero__trust { position: static; margin: 0 16px 14px; flex-wrap: wrap; gap: 10px 0; }
	.cm-hero__trust li { flex: 1 1 45%; }
	.cm-hero__trust li + li { border-left: 0; }
	.cm-hero__pay { position: static; margin: 0 16px 40px; max-width: none; border-radius: 12px; box-shadow: none; }
	.cm-hero__nav { top: 150px; }

	.cm-circles { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
	.cm-circles::-webkit-scrollbar { display: none; }
	.cm-circle { flex: 0 0 82px; scroll-snap-align: start; }
	.cm-best__grid { display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; }
	.cm-best__grid::-webkit-scrollbar { display: none; }
	.cm-card { flex: 0 0 136px; }
	.cm-features { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.cm-features li { justify-content: flex-start; }
	.cm-newsletter { padding: 18px; }
	.cm-newsletter__gift, .cm-newsletter__pct { display: none; }
	.cm-newsletter h2 { flex-basis: 100%; font-size: 15px; }
	.cm-newsletter__form { flex: 1 1 100%; width: 100%; }
	.cm-newsletter__form input[type="email"] { width: 0; }
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cm-footer__widgets { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.cm-topbar .cm-topbar__left, .cm-topbar__right li:first-child { display: none; }
	.cm-topbar__inner { justify-content: center; }
	.cm-topbar ul { gap: 14px; }
	.cm-country { max-width: 150px; }
	.cm-hero__nav { display: none; }
	.cm-newsletter__form { flex-basis: 100%; width: 100%; }
	.cm-search__cat { display: none; }
	.cm-trio { grid-template-columns: 1fr; }
	.cm-features { grid-template-columns: 1fr; }
	.cm-contact__inner { flex-direction: column; align-items: flex-start; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cm-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
