/* ==========================================================================
   Coin des Princesses — design system « Évolution maison » (v2.0) pour le web
   Tokens : docs/Design_system.md § 11. Une seule couleur d'action : la prune.
   ========================================================================== */
:root {
	--ivory: #f6efea; --paper: #fffdfb; --paper-soft: #faf5f1; --surface: #ffffff;
	--ink: #2b2530; --muted: #6f656b; --line: #eadfd8; --line-strong: #d9c9c1;
	--plum: #73304a; --plum-deep: #5a2439;
	--rose: #ad496b; --rose-soft: #f4e4e9; --rose-tint: #fbf3f6; --rose-line: #d7bdc6;
	--gold: #a8843e; --gold-soft: #f6eedd;
	--green: #38745a; --success-soft: #e6f1eb; --success-line: #bcd7c6;
	--warning: #765515; --warning-soft: #fff7e6; --warning-line: #e2c77a;
	--danger: #992541; --danger-soft: #fbecef; --danger-line: #e1a5b2;
	--shop: #38745a; --shop-soft: #e3efe8;
	--radius-sm: 10px; --radius: 14px; --radius-lg: 18px; --radius-xl: 20px;
	--shadow-sm: 0 1px 2px rgba(66,42,49,.06), 0 4px 14px rgba(66,42,49,.05);
	--shadow: 0 16px 44px rgba(66,42,49,.12);
	--font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-serif: Georgia, "Times New Roman", serif;
	--gutter: 16px;
	--header-h: 72px;
}
@media (min-width: 760px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--ivory); color: var(--ink);
	font: 15px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.cdp-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--plum); font-weight: 400; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(56,116,90,.38); outline-offset: 2px; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; white-space: nowrap; }
.cdp-icon { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }

/* Layout -------------------------------------------------------------------- */
.cdp-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.cdp-reading { max-width: 820px; }
.cdp-main { min-height: 50vh; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }
.cdp-section { padding-block: clamp(36px, 6vw, 64px); }
.cdp-section + .cdp-section { padding-top: 0; }
.cdp-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cdp-section__head h2 { margin: 0; }
.cdp-muted { color: var(--muted); }

/* Signature : sur-titre rose → titre serif prune → texte muted */
.cdp-eyebrow { color: var(--rose); font-size: 12.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; }
.cdp-label { display: block; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.cdp-help { color: var(--muted); font-size: 12.5px; margin: 6px 0 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cdp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; white-space: nowrap; min-height: 44px; }
.cdp-link:hover { text-decoration: underline; }

/* Boutons -------------------------------------------------------------------- */
.cdp-btn, .wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius);
	font: 800 15px/1.1 var(--font-sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.cdp-btn--primary, .wp-element-button, .wp-block-button__link { background: var(--plum); color: #fff; }
.cdp-btn--primary:hover, .wp-element-button:hover, .wp-block-button__link:hover { background: var(--plum-deep); color: #fff; }
.cdp-btn--secondary { background: var(--paper-soft); border-color: var(--line); color: var(--ink); }
.cdp-btn--secondary:hover { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.cdp-btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.cdp-btn[disabled], .cdp-btn.disabled { opacity: .5; cursor: not-allowed; }
.cdp-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px;
	background: transparent; color: var(--ink); cursor: pointer; position: relative; text-decoration: none;
}
.cdp-iconbtn:hover { background: var(--rose-tint); color: var(--plum); }

/* Puces ---------------------------------------------------------------------- */
.cdp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cdp-chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
	border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink);
	font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.cdp-chip:hover { border-color: var(--rose-line); color: var(--plum); }
.cdp-chip[aria-pressed="true"], .cdp-chip[aria-checked="true"], .cdp-chip:has(input:checked) { border-color: var(--plum); background: var(--rose-soft); color: var(--plum); }
.cdp-chip--radio input { position: absolute; opacity: 0; pointer-events: none; }
.cdp-chip--radio:has(input:focus-visible) { outline: 3px solid rgba(56,116,90,.38); outline-offset: 2px; }
.cdp-chip.is-disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

/* Champs --------------------------------------------------------------------- */
.cdp-input, .cdp select, .cdp input[type="text"], .cdp input[type="email"], .cdp input[type="tel"], .cdp input[type="password"],
.cdp input[type="date"], .cdp input[type="number"], .cdp input[type="search"], .cdp textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px;
	background: var(--paper-soft); color: var(--ink); font: 15px/1.4 var(--font-sans);
}
.cdp textarea { min-height: 96px; }
.cdp input:focus, .cdp select:focus, .cdp textarea:focus { border-color: var(--plum); background: #fff; outline: 3px solid rgba(56,116,90,.25); outline-offset: 0; }
.cdp-field { margin: 0; }

/* Alertes, badges, toasts ---------------------------------------------------- */
.cdp-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid; border-radius: 12px; font-size: 14px; margin: 14px 0; }
.cdp-alert p { margin: 0; }
.cdp-alert .cdp-icon { margin-top: 2px; }
.cdp-alert--warning { background: var(--warning-soft); border-color: var(--warning-line); color: var(--warning); }
.cdp-alert--warning a { color: var(--warning); font-weight: 800; }
.cdp-alert--success { background: var(--success-soft); border-color: var(--success-line); color: var(--green); }
.cdp-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cdp-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.cdp-badge--neutral { background: var(--paper-soft); color: var(--muted); border: 1px solid var(--line); }
.cdp-badge--promo { background: var(--rose); color: #fff; }
.cdp-badge--new { background: var(--gold-soft); color: var(--plum); border: 1px solid #e6d5ad; }
.cdp-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120;
	display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
	background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); max-width: calc(100vw - 32px);
}
.cdp-toast--error { background: var(--danger); }

/* Cartes -------------------------------------------------------------------- */
.cdp-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.cdp-tilemark { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--plum); color: #fff; flex: none; }
.cdp-tilemark--rose { background: var(--rose); }
.cdp-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.cdp-table th, .cdp-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cdp-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* Logo : monogramme CDP coloré par masque (prune, ou clair sur fond sombre) */
.cdp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); min-width: 0; }
.cdp-logo__mark {
	display: block; width: 24px; height: 50px; flex: none; background: var(--plum);
	-webkit-mask: url(../img/logo-cdp.png) center / contain no-repeat; mask: url(../img/logo-cdp.png) center / contain no-repeat;
}
.cdp-logo__mark--light { background: var(--gold-soft); }
.cdp-logo__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.cdp-logo__name { font-family: var(--font-serif); font-size: 21px; color: var(--plum); white-space: nowrap; }
.cdp-logo__sub { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); white-space: nowrap; }

/* En-tête -------------------------------------------------------------------- */
.cdp-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .cdp-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cdp-site-header { top: 0; } }
.cdp-utility { background: var(--plum); color: #fff; font-size: 12.5px; font-weight: 600; }
.cdp-utility__inner { display: flex; justify-content: center; gap: 28px; min-height: 34px; align-items: center; }
.cdp-utility__inner span { display: inline-flex; gap: 6px; align-items: center; }
.cdp-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; }
.cdp-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.cdp-header__menu { display: none; }
.cdp-nav { flex: 1; }
.cdp-nav ul { display: flex; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cdp-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.cdp-nav a:hover, .cdp-nav a[aria-current="page"] { color: var(--plum); background: var(--rose-tint); }
.cdp-header__actions { display: flex; gap: 2px; margin-inline-start: auto; }
.cdp-cartbtn__count {
	position: absolute; top: 3px; inset-inline-end: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
	background: var(--rose); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.cdp-search { position: absolute; inset-inline: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding-block: 14px; }
.cdp-search__form { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.cdp-search__form input { flex: 1; }
@media (max-width: 1080px) {
	.cdp-nav { display: none; }
	.cdp-header__menu { display: inline-grid; }
	.cdp-header__inner { gap: 6px; }
	.cdp-logo { margin-inline: auto; }
	.cdp-header__actions { margin-inline-start: 0; }
}
@media (max-width: 760px) {
	:root { --header-h: 62px; }
	.cdp-utility__hide-sm { display: none !important; }
	.cdp-header__account { display: none; }
	.cdp-logo__name { font-size: 18px; }
	.cdp-logo__mark { width: 20px; height: 42px; }
}
@media (max-width: 900px) { .cdp-utility__hide-md { display: none !important; } }
@media (max-width: 380px) { .cdp-logo__sub { display: none; } }

/* Tiroirs (menu, panier) ------------------------------------------------------ */
.cdp-drawer { position: fixed; inset: 0; z-index: 100; background: rgba(43,37,48,.62); backdrop-filter: blur(5px); display: flex; }
.cdp-drawer--right { justify-content: flex-end; }
.cdp-drawer__panel { width: min(420px, 100vw); height: 100%; background: var(--paper); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow-y: auto; animation: cdp-in .22s ease-out; }
.cdp-drawer--left .cdp-drawer__panel { animation-name: cdp-in-left; }
@keyframes cdp-in { from { transform: translateX(24px); opacity: 0; } }
@keyframes cdp-in-left { from { transform: translateX(-24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cdp-drawer__panel { animation: none; } }
.cdp-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cdp-drawer__head .cdp-eyebrow { margin: 0; }
.cdp-drawer__title { margin: 0; font-size: 22px; }
.cdp-drawer__nav, .cdp-drawer__links { list-style: none; margin: 0; padding: 8px 10px; }
.cdp-drawer__nav a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 10px; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--font-serif); font-size: 19px; text-decoration: none; }
.cdp-drawer__nav a:hover { color: var(--plum); }
.cdp-drawer__links { margin-top: 8px; }
.cdp-drawer__links a { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 0 10px; color: var(--muted); font-weight: 700; text-decoration: none; }

/* Accueil : hero -------------------------------------------------------------- */
.cdp-hero { position: relative; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--plum-deep); }
.cdp-hero__media { position: absolute; inset: 0; }
.cdp-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cdp-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,37,48,.55), rgba(43,37,48,.05) 60%), linear-gradient(0deg, rgba(43,37,48,.35), transparent 40%); }
.cdp-hero__inner { position: relative; padding-block: clamp(28px, 6vw, 72px); }
.cdp-hero__card { max-width: 560px; padding: clamp(22px, 3vw, 34px); background: rgba(255,253,251,.96); border-radius: 24px; box-shadow: var(--shadow); }
.cdp-hero__card h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 12px; }
.cdp-hero__text { color: var(--muted); font-size: 16px; }
.cdp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 760px) {
	.cdp-hero { min-height: 0; flex-direction: column; align-items: stretch; background: var(--paper); }
	.cdp-hero__media { position: relative; aspect-ratio: 4 / 3.4; }
	.cdp-hero__media::after { display: none; }
	.cdp-hero__inner { margin-top: -48px; padding-top: 0; }
	.cdp-hero__actions .cdp-btn { flex: 1 1 100%; }
}

/* Bandeau de confiance -------------------------------------------------------- */
.cdp-trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.cdp-trust__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 20px; }
.cdp-trust__item { display: flex; gap: 12px; align-items: center; }
.cdp-trust__item strong { display: block; font-size: 14px; }
.cdp-trust__item span span { display: block; color: var(--muted); font-size: 12.5px; }
.cdp-trust__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--shop-soft); color: var(--green); flex: none; }
@media (max-width: 900px) { .cdp-trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cdp-trust__list { grid-template-columns: 1fr; gap: 10px; } }

/* Familles -------------------------------------------------------------------- */
.cdp-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cdp-cat { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.cdp-cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.cdp-cat__media { aspect-ratio: 4 / 5; background: var(--rose-tint); overflow: hidden; }
.cdp-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cdp-cat:hover .cdp-cat__media img { transform: scale(1.04); }
.cdp-cat__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cdp-cat__title { font-family: var(--font-serif); color: var(--plum); font-size: 18px; }
.cdp-cat__text { color: var(--muted); font-size: 12.5px; line-height: 1.4; flex: 1; }
.cdp-cat__count { margin-top: 8px; align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--rose-soft); color: var(--plum); font-size: 12px; font-weight: 800; }
@media (max-width: 1180px) { .cdp-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
	.cdp-cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.cdp-cats__item { scroll-snap-align: start; }
}

/* Location : split + étapes -------------------------------------------------- */
.cdp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); }
.cdp-split__media { height: 100%; min-height: 420px; }
.cdp-split__media img { width: 100%; height: 100%; object-fit: cover; }
.cdp-split__body { padding: clamp(22px, 4vw, 44px) clamp(22px, 4vw, 44px) clamp(22px, 4vw, 44px) 0; }
.cdp-steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.cdp-steps li { display: flex; gap: 12px; align-items: flex-start; }
.cdp-steps strong { display: block; }
.cdp-steps li > span:last-child { color: var(--muted); font-size: 14px; }
.cdp-steps strong { color: var(--ink); font-size: 15px; }
.cdp-steps__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rose-soft); color: var(--plum); font-family: var(--font-serif); font-size: 17px; flex: none; }
@media (max-width: 900px) {
	.cdp-split { grid-template-columns: 1fr; }
	.cdp-split__media { min-height: 0; aspect-ratio: 16 / 10; }
	.cdp-split__body { padding: 4px 20px 24px; }
	.cdp-split .cdp-btn { width: 100%; }
}

/* Bande pleine largeur (institut) ------------------------------------------- */
.cdp-band { position: relative; margin-block: clamp(36px, 6vw, 64px); min-height: 440px; display: flex; align-items: center; overflow: hidden; }
.cdp-band__media { position: absolute; inset: 0; }
.cdp-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cdp-band__inner { position: relative; display: flex; justify-content: flex-end; padding-block: 40px; }
.cdp-band__card { max-width: 460px; padding: 28px; background: rgba(255,253,251,.96); border-radius: 24px; box-shadow: var(--shadow); }
@media (max-width: 760px) {
	.cdp-band { flex-direction: column; min-height: 0; align-items: stretch; }
	.cdp-band__media { position: relative; aspect-ratio: 16 / 11; }
	.cdp-band__inner { margin-top: -40px; padding-top: 0; }
	.cdp-band .cdp-btn { width: 100%; }
}

/* Carte cadeau --------------------------------------------------------------- */
.cdp-gift { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(20px, 4vw, 40px); border-radius: 28px; background: var(--gold-soft); border: 1px solid #e6d5ad; }
.cdp-gift__card { aspect-ratio: 1.6; border-radius: 18px; padding: 20px 22px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 140% at 0% 0%, #8a3a58 0%, var(--plum) 45%, var(--plum-deep) 100%); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cdp-gift__card::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(246,238,221,.45); border-radius: 12px; pointer-events: none; }
.cdp-gift__card .cdp-logo__mark { width: 22px; height: 46px; }
.cdp-gift__label { font-family: var(--font-serif); font-size: 24px; color: var(--gold-soft); }
.cdp-gift__code { font-family: ui-monospace, Menlo, monospace; letter-spacing: .12em; font-size: 14px; color: var(--gold-soft); }
@media (max-width: 760px) { .cdp-gift { grid-template-columns: 1fr; } .cdp-gift .cdp-btn { width: 100%; } }

/* Boutiques ------------------------------------------------------------------ */
.cdp-shops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cdp-shops__item { display: flex; gap: 14px; align-items: flex-start; }
.cdp-shops__item h3 { margin-bottom: 4px; }
.cdp-shops__item p { margin: 0 0 6px; }
.cdp-shops__hours { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--green); }
.cdp-shops__item--soft { background: var(--rose-tint); border-color: var(--rose-line); }
@media (max-width: 900px) { .cdp-shops { grid-template-columns: 1fr; } }

/* Pages --------------------------------------------------------------------- */
.cdp-page { padding-block: clamp(28px, 5vw, 56px); }
.cdp-page__title { margin-bottom: 18px; }
.cdp-page .wp-block-post-content > * + * { margin-top: 1em; }
.cdp-page .wp-block-post-content h2 { margin-top: 1.6em; }
.cdp-page .wp-block-post-content ul, .cdp-page .wp-block-post-content ol { padding-inline-start: 1.2em; }
.cdp-page .wp-block-post-content li { margin-bottom: .35em; }
.cdp-404 { text-align: center; padding-block: 40px; }
.cdp-404 .wp-block-buttons { justify-content: center; }

/* Fil d'Ariane --------------------------------------------------------------- */
.cdp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); padding-block: 14px; }
.cdp-crumbs a { color: var(--muted); text-decoration: none; }
.cdp-crumbs a:hover { color: var(--plum); text-decoration: underline; }
.cdp-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Pied de page --------------------------------------------------------------- */
.cdp-footer { background: var(--plum-deep); color: rgba(255,255,255,.86); margin-top: clamp(36px, 6vw, 72px); font-size: 14px; }
.cdp-footer a { color: #fff; text-decoration: none; }
.cdp-footer a:hover { text-decoration: underline; }
.cdp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-block: 48px 32px; }
.cdp-footer__name { font-family: var(--font-serif); font-size: 24px; color: #fff; margin: 12px 0 0; }
.cdp-footer__sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 800; }
.cdp-footer__text { max-width: 340px; }
.cdp-footer__social { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 700; }
.cdp-footer__title { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 850; color: var(--gold-soft); margin-bottom: 12px; }
.cdp-footer__col ul { list-style: none; margin: 0; padding: 0; }
.cdp-footer__col li a { display: inline-flex; min-height: 34px; align-items: center; }
.cdp-footer__shop { margin-bottom: 12px; }
.cdp-footer__shop p { margin: 0; }
.cdp-footer__city { display: flex; gap: 6px; align-items: center; color: #fff; font-weight: 800; }
.cdp-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12.5px; }
.cdp-footer__bottom p { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .cdp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cdp-footer__grid { grid-template-columns: 1fr; gap: 24px; } }

.cdp-whatsapp { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 60; display: inline-flex; gap: 8px; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; text-decoration: none; box-shadow: var(--shadow); }
.cdp-whatsapp:hover { color: #fff; background: #2d5f49; }
.single-product .cdp-whatsapp { bottom: 88px; }
@media (min-width: 761px) { .single-product .cdp-whatsapp { bottom: 16px; } }

/* RTL (arabe, phase 2) : les propriétés logiques ci-dessus font l'essentiel. */
[dir="rtl"] .cdp-icon--next, [dir="rtl"] .cdp-icon--back, [dir="rtl"] .cdp-icon--arrow { transform: scaleX(-1); }
