/* ==========================================================================
   Coin des Princesses — V2 « Maison de couture »
   Motifs zellige, arches, Playfair Display pour les grands titres, or en décor.
   Les règles du design system restent : une seule couleur d'action (prune),
   l'or jamais pour un texte courant, cibles 44 px, focus visible.
   ========================================================================== */
:root {
	--zellige-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%2373304a' stroke-opacity='.055' stroke-width='1'%3E%3Cpath d='M40 12 68 40 40 68 12 40Z'/%3E%3Cpath d='M20 20h40v40H20Z'/%3E%3Cpath d='M40 28l12 12-12 12-12-12Z'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Cpath d='M0 0l20 20M80 0 60 20M0 80l20-20M80 80 60 60M40 0v12M40 68v12M0 40h12M68 40h12'/%3E%3C/g%3E%3C/svg%3E");
	--zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%2373304a' stroke-opacity='.11' stroke-width='1'%3E%3Cpath d='M40 12 68 40 40 68 12 40Z'/%3E%3Cpath d='M20 20h40v40H20Z'/%3E%3Cpath d='M40 28l12 12-12 12-12-12Z'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Cpath d='M0 0l20 20M80 0 60 20M0 80l20-20M80 80 60 60M40 0v12M40 68v12M0 40h12M68 40h12'/%3E%3C/g%3E%3C/svg%3E");
	--zellige-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e6cf9a' stroke-opacity='.20' stroke-width='1'%3E%3Cpath d='M40 12 68 40 40 68 12 40Z'/%3E%3Cpath d='M20 20h40v40H20Z'/%3E%3Cpath d='M40 28l12 12-12 12-12-12Z'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Cpath d='M0 0l20 20M80 0 60 20M0 80l20-20M80 80 60 60M40 0v12M40 68v12M0 40h12M68 40h12'/%3E%3C/g%3E%3C/svg%3E");
	--zellige-gold-strong: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e6cf9a' stroke-opacity='.32' stroke-width='1.2'%3E%3Cpath d='M40 12 68 40 40 68 12 40Z'/%3E%3Cpath d='M20 20h40v40H20Z'/%3E%3Cpath d='M40 28l12 12-12 12-12-12Z'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Cpath d='M0 0l20 20M80 0 60 20M0 80l20-20M80 80 60 60M40 0v12M40 68v12M0 40h12M68 40h12'/%3E%3C/g%3E%3C/svg%3E");
	--star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23a8843e' stroke-width='1.2'%3E%3Cpath d='M12 2 22 12 12 22 2 12Z'/%3E%3Cpath d='M5 5h14v14H5Z'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2' fill='%23a8843e'/%3E%3C/svg%3E");
	--font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--gold-line: #d9bf86;
	--tabbar-h: 0px;
}

/* Fond : ivoire + zellige à peine visible ------------------------------------ */
body.cdp { background-color: var(--ivory); background-image: none; }
.cdp-pattern { position: relative; background-color: var(--paper); isolation: isolate; }
.cdp-pattern::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--zellige); background-size: 80px 80px; opacity: .55; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%); mask-image: linear-gradient(100deg, transparent 35%, #000 85%); }
.cdp-pattern--gold { background-color: var(--plum-deep); color: #fff; }
.cdp-pattern--gold::before { background-image: var(--zellige-gold); opacity: .6; -webkit-mask-image: radial-gradient(ellipse at 85% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 85% 50%, #000 0%, transparent 70%); }

/* Typographie de prestige ---------------------------------------------------- */
.cdp-display, .cdp h1, body.cdp .product_title, .cdp-page__title, .cdp-shophead h1 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.cdp-display em, .cdp h1 em, .cdp h2 em { font-style: italic; color: var(--rose); }
.cdp-pattern--gold .cdp-display, .cdp-pattern--gold h2 { color: #fff; }
.cdp-eyebrow--gold { color: var(--gold-line); display: inline-flex; gap: 6px; align-items: center; }
.cdp-ornament { display: block; width: 180px; height: 24px; margin: 6px auto 0; background: var(--star) center / 24px no-repeat, linear-gradient(var(--gold-line), var(--gold-line)) left center / 70px 1px no-repeat, linear-gradient(var(--gold-line), var(--gold-line)) right center / 70px 1px no-repeat; }
.cdp-section__head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.cdp-section__head--center h2 { margin: 0; }
.cdp-center { text-align: center; margin-top: 26px; }
.cdp-btn--ghost { background: transparent; border-color: var(--plum); color: var(--plum); }
.cdp-btn--ghost:hover { background: var(--plum); color: #fff; }
.cdp-link--light { color: #fff; }
.cdp-link--light:hover { color: var(--gold-soft); }

/* Bandeau défilant ----------------------------------------------------------- */
.cdp-marquee { background: var(--plum-deep); color: #fff; overflow: hidden; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.cdp-marquee__track { display: flex; width: max-content; animation: cdp-marquee 38s linear infinite; }
.cdp-marquee:hover .cdp-marquee__track { animation-play-state: paused; }
.cdp-marquee__list { display: flex; list-style: none; margin: 0; padding: 0; }
.cdp-marquee__list li { display: inline-flex; align-items: center; gap: 7px; padding: 9px 30px; white-space: nowrap; }
.cdp-marquee__list li::after { content: ""; width: 7px; height: 7px; margin-inline-start: 30px; transform: rotate(45deg); border: 1px solid var(--gold-line); }
@keyframes cdp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cdp-marquee__track { animation: none; } }

/* En-tête V2 ------------------------------------------------------------------ */
.cdp-utility { display: none; }
.cdp-header { background: rgba(255,253,251,.97); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 0; }
.cdp-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions"; gap: 24px; min-height: 76px; }
.cdp-header__menu { grid-area: menu; }
.cdp-logo { grid-area: logo; margin: 0; }
.cdp-header__actions { grid-area: actions; margin: 0; }
.cdp-logo__name { font-family: var(--font-display); font-size: 23px; }
.cdp-searchbar { grid-area: search; display: flex; align-items: center; max-width: 560px; width: 100%; justify-self: center; height: 46px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; padding-inline-start: 18px; transition: border-color .15s, box-shadow .15s; }
.cdp-searchbar:focus-within { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(56,116,90,.25); }
.cdp-searchbar input { flex: 1; border: 0 !important; background: transparent !important; min-height: 0 !important; padding: 0 !important; outline: none !important; font-size: 14.5px; }
.cdp-searchbar button { width: 44px; height: 38px; margin-inline-end: 3px; border: 0; border-radius: 999px; background: var(--plum); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cdp-searchbar button:hover { background: var(--plum-deep); }
.cdp-header .cdp-nav { flex: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); position: relative; }
.cdp-header .cdp-nav::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent); opacity: .7; }
.cdp-header .cdp-nav ul { display: flex; justify-content: center; gap: 2px; padding-block: 2px; }
.cdp-header .cdp-nav a { font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 0 14px; border-radius: 0; position: relative; background: none; }
.cdp-header .cdp-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--plum); transform: scaleX(0); transition: transform .2s; }
.cdp-header .cdp-nav a:hover::after, .cdp-header .cdp-nav a[aria-current]::after { transform: scaleX(1); }
.cdp-header .cdp-nav a:hover, .cdp-header .cdp-nav a[aria-current] { background: none; color: var(--plum); }
.cdp-nav__promo { color: var(--rose) !important; display: inline-flex; gap: 5px; }
.cdp-header__favs { position: relative; }
.cdp-search { display: none !important; }
@media (max-width: 1080px) {
	.cdp-header__inner { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "menu logo actions" "search search search"; gap: 4px 6px; min-height: 0; padding-block: 8px 10px; }
	.cdp-header__menu { display: inline-grid; }
	.cdp-logo { justify-self: center; }
	.cdp-searchbar { max-width: none; height: 42px; }
	.cdp-header .cdp-nav { display: none; }
}
@media (max-width: 760px) {
	.cdp-header__account, .cdp-header__favs { display: none; }
	.cdp-logo__sub { font-size: 9.5px; }
}

/* Tiroir menu V2 ------------------------------------------------------------- */
.cdp-drawer__panel.cdp-pattern { background-color: var(--paper); }
.cdp-drawer__tiles { list-style: none; margin: 0; padding: 14px 16px 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.cdp-drawer__tiles a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: 12.5px; font-weight: 700; text-align: center; }
.cdp-drawer__tileimg { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--rose-tint); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--gold-line); }
.cdp-drawer__tileimg img { width: 100%; height: 100%; object-fit: cover; }

/* Stories --------------------------------------------------------------------- */
.cdp-stories { background: var(--paper); border-bottom: 1px solid var(--line); }
.cdp-stories__list { list-style: none; margin: 0 auto; display: flex; gap: 18px; overflow-x: auto; padding-block: 16px 14px; scrollbar-width: none; scroll-snap-type: x proximity; justify-content: safe center; }
.cdp-stories__list::-webkit-scrollbar { display: none; }
.cdp-stories__list li { scroll-snap-align: start; flex: none; }
.cdp-story { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 78px; text-decoration: none; color: var(--ink); }
.cdp-story__ring { padding: 2.5px; border-radius: 50%; background: conic-gradient(from 210deg, var(--gold-line), var(--gold), #f0dfb2, var(--gold-line)); transition: transform .2s; }
.cdp-story--promo .cdp-story__ring { background: conic-gradient(from 210deg, var(--rose), #e48aa7, var(--plum), var(--rose)); }
.cdp-story--new .cdp-story__ring { background: conic-gradient(from 210deg, var(--plum), var(--rose), var(--plum)); }
.cdp-story:hover .cdp-story__ring { transform: scale(1.05); }
.cdp-story__img { display: block; width: 70px; height: 70px; border-radius: 50%; overflow: hidden; border: 3px solid var(--paper); background: var(--rose-tint); }
.cdp-story__img img { width: 100%; height: 100%; object-fit: cover; }
.cdp-story__label { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.cdp-story--promo .cdp-story__label { color: var(--rose); }

/* Arches ---------------------------------------------------------------------- */
.cdp-arch { position: relative; display: block; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--rose-tint); isolation: isolate; }
.cdp-arch img { width: 100%; height: 100%; object-fit: cover; }
.cdp-arch::after { content: ""; position: absolute; inset: 8px; border-radius: 999px 999px 16px 16px; border: 1px solid rgba(246,238,221,.75); pointer-events: none; }

/* Carrousel héros ------------------------------------------------------------- */
.cdp-hero, .cdp-hero__card { display: none; }
.cdp-hero2 { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.cdp-hero2__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.cdp-hero2__track::-webkit-scrollbar { display: none; }
.cdp-hero2__slide { flex: 0 0 100%; scroll-snap-align: start; }
.cdp-hero2__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 5vw, 72px); align-items: center; min-height: clamp(460px, 64vh, 640px); padding-block: 36px 56px; }
.cdp-hero2__text .cdp-display { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; margin-bottom: 16px; color: var(--plum); }
.cdp-hero2__lead { font-size: 17px; color: var(--muted); max-width: 470px; }
.cdp-hero2__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cdp-hero2__media { position: relative; justify-self: center; width: min(100%, 440px); }
.cdp-hero2__media .cdp-arch { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(90,36,57,.22); }
.cdp-hero2__media::before { content: ""; position: absolute; inset: -18px -18px 30px 30px; border-radius: 999px 999px 26px 26px; border: 1px solid var(--gold-line); z-index: -1; }
.cdp-hero2__seal { position: absolute; left: -22px; bottom: 34px; width: 84px; height: 84px; border-radius: 50%; background: var(--plum-deep); background-image: var(--zellige-gold-strong); background-size: 40px; display: grid; place-items: center; box-shadow: var(--shadow); border: 2px solid var(--gold-line); }
.cdp-hero2__seal .cdp-logo__mark { background: var(--gold-soft); width: 22px; height: 46px; }
.cdp-hero2__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 4px; }
.cdp-hero2__dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.cdp-hero2__dots button::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--line-strong); transition: width .25s, background .25s; }
.cdp-hero2__dots button[aria-selected="true"]::before { width: 28px; background: var(--plum); }
@media (max-width: 900px) {
	.cdp-hero2__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 18px 62px; text-align: center; }
	.cdp-hero2__media { order: -1; width: min(78%, 340px); }
	.cdp-hero2__lead { margin-inline: auto; font-size: 15.5px; }
	.cdp-hero2__actions { justify-content: center; }
	.cdp-hero2__seal { width: 64px; height: 64px; left: -10px; }
	.cdp-hero2__seal .cdp-logo__mark { width: 17px; height: 36px; }
}

/* Bandeau de confiance (plus fin) */
.cdp-trust { background: var(--paper); }
.cdp-trust__icon { background: var(--rose-tint); color: var(--plum); border: 1px solid var(--rose-line); border-radius: 50%; }

/* Ventes flash ---------------------------------------------------------------- */
.cdp-flash { padding-block: clamp(36px, 6vw, 60px); margin-top: clamp(28px, 5vw, 56px); }
.cdp-flash__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.cdp-flash__head .cdp-display { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.cdp-countdown { display: flex; gap: 8px; }
.cdp-countdown span { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 6px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(217,191,134,.45); }
.cdp-countdown b { font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.cdp-countdown small { font-size: 11px; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.cdp-flash .cdp-card-product { background: #fff; border-radius: 18px; padding: 8px 8px 12px; color: var(--ink); }

/* Défilement horizontal ------------------------------------------------------- */
body.cdp ul.products.cdp-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4.3); grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--gold-line) transparent; }
body.cdp ul.products.cdp-scroller > li { scroll-snap-align: start; }
@media (max-width: 1080px) { body.cdp ul.products.cdp-scroller { grid-auto-columns: 30%; } }
@media (max-width: 760px) { body.cdp ul.products.cdp-scroller { grid-auto-columns: 44%; gap: 10px; } }

/* Onglets ---------------------------------------------------------------------- */
.cdp-tabs__list { display: flex; justify-content: center; gap: 6px; margin: 18px 0 24px; flex-wrap: wrap; }
.cdp-tab { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 14px var(--font-sans); cursor: pointer; }
.cdp-tab:hover { border-color: var(--rose-line); color: var(--plum); }
.cdp-tab[aria-selected="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }

/* Carte produit V2 ------------------------------------------------------------ */
.cdp-card-product { position: relative; }
.cdp-card-product__media { border-radius: 16px; box-shadow: 0 1px 0 rgba(66,42,49,.04); }
.cdp-card-product__media > a:not(.cdp-quickadd) { display: block; height: 100%; }
.cdp-card-product__media .cdp-badges { top: 10px; inset-inline-start: 10px; flex-direction: column; align-items: flex-start; gap: 5px; }
.cdp-heart { position: absolute; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--plum); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(66,42,49,.12); transition: transform .15s; }
.cdp-heart::before { content: ""; position: absolute; inset: -2px; }
.cdp-heart:hover { transform: scale(1.08); }
.cdp-heart[aria-pressed="true"] { color: var(--rose); }
.cdp-heart[aria-pressed="true"] svg { fill: currentColor; }
.cdp-heart.is-pop { animation: cdp-pop .35s ease; }
@keyframes cdp-pop { 50% { transform: scale(1.25); } }
.cdp-quickadd { position: absolute !important; inset-inline-end: 10px; bottom: 10px; width: 44px !important; height: 44px; min-height: 44px !important; padding: 0 !important; border-radius: 50% !important; background: var(--plum) !important; color: #fff !important; display: grid !important; place-items: center; box-shadow: 0 6px 16px rgba(90,36,57,.3); margin: 0 !important; transition: transform .15s, background .15s; }
.cdp-quickadd:hover { transform: scale(1.06); background: var(--plum-deep) !important; }
.cdp-quickadd--link { background: #fff !important; color: var(--plum) !important; }
.cdp-quickadd__plus { position: absolute; top: 5px; right: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold-soft); color: var(--plum); font: 900 12px/15px var(--font-sans); text-align: center; }
.cdp-quickadd.loading { opacity: .6; }
.cdp-quickadd.added .cdp-quickadd__plus { background: var(--success-soft); color: var(--green); }
.cdp-card-product__body { text-decoration: none; color: var(--ink); gap: 2px; padding-top: 10px; }
.cdp-card-product__body:hover .cdp-card-product__title { color: var(--plum); }
.cdp-card-product__fam { display: block; }
.cdp-card-product__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.cdp-card-product__pricerow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 4px; }
.cdp-card-product__pricerow .cdp-price { font-size: 18px; }
.cdp-card-product.sale .cdp-price ins { color: var(--rose); }
.cdp-pct { display: inline-flex; padding: 1px 7px; border-radius: 6px; background: var(--rose-soft); color: var(--rose); font-size: 12px; font-weight: 800; }
.cdp-card-product__low { color: var(--rose); font-size: 12.5px; font-weight: 700; margin-top: 2px; }
.cdp-card-product__low::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); margin-inline-end: 6px; vertical-align: 1px; animation: cdp-blink 1.6s ease-in-out infinite; }
@keyframes cdp-blink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .cdp-card-product__low::before { animation: none; } }
.cdp-card-product__foot { display: none; }
.cdp-badge--promo { background: var(--rose); }
.cdp-badge--new { background: var(--plum-deep); color: var(--gold-soft); border: 1px solid var(--gold-line); }
@media (min-width: 1181px) { body.cdp .cdp-tabs ul.products.cdp-grid, body.cdp.post-type-archive-product ul.products, body.cdp.tax-product_cat ul.products, body.cdp .cdp-collection ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Occasions -------------------------------------------------------------------- */
.cdp-occasions { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 32px); }
.cdp-occasion { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.cdp-occasion .cdp-arch { aspect-ratio: 3 / 4.2; }
.cdp-occasion .cdp-arch img { transition: transform .6s; }
.cdp-occasion:hover .cdp-arch img { transform: scale(1.05); }
.cdp-occasion__body { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 14px; }
.cdp-occasion__title { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); color: var(--plum); }
.cdp-occasion__text { color: var(--muted); font-size: 14px; }
.cdp-occasion__cta { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--plum); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 760px) {
	.cdp-occasions { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.cdp-occasions li { scroll-snap-align: center; }
}

/* Location / institut / cadeau : habillage V2 ----------------------------------- */
.cdp-split { border: 1px solid var(--gold-line); border-radius: 32px; background: var(--paper); box-shadow: var(--shadow-sm); }
.cdp-split__media { padding: 22px; min-height: 0; }
.cdp-split__media img { border-radius: 999px 999px 22px 22px; aspect-ratio: 4 / 5; height: auto; }
.cdp-split h2, .cdp-band h2, .cdp-gift h2, .cdp-shops h3 { font-family: var(--font-display); }
.cdp-band__card, .cdp-hero__card { border: 1px solid var(--gold-line); }
.cdp-gift { background: var(--gold-soft); border-color: var(--gold-line); }
.cdp-steps__n { background: var(--plum); color: var(--gold-soft); }

/* Mosaïque Inspirations -------------------------------------------------------- */
.cdp-mosaic { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(170px, 20vw, 260px)); gap: 10px; }
.cdp-mosaic__item a { position: relative; display: block; height: 100%; border-radius: 18px; overflow: hidden; }
.cdp-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cdp-mosaic__item a:hover img { transform: scale(1.05); }
.cdp-mosaic__item--1 { grid-row: span 2; }
.cdp-mosaic__item--1 a { border-radius: 999px 999px 18px 18px; }
.cdp-mosaic__item--4 { grid-column: span 2; }
.cdp-mosaic__label { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(255,253,251,.94); color: var(--plum); font-size: 12.5px; font-weight: 800; }
@media (max-width: 760px) {
	.cdp-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 170px; }
	.cdp-mosaic__item--1 { grid-row: span 2; }
	.cdp-mosaic__item--4 { grid-column: span 2; }
}

/* Club / code -------------------------------------------------------------------- */
.cdp-club { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--gold-line); }
.cdp-club .cdp-display { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 6px; }
.cdp-club p { margin: 0; color: rgba(255,255,255,.86); }
.cdp-code { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 1.5px dashed var(--plum); border-radius: 14px; background: #fff; color: var(--plum); font: 800 17px ui-monospace, Menlo, monospace; letter-spacing: .12em; cursor: pointer; }
.cdp-code .cdp-icon { display: none; }
.cdp-code.is-copied .cdp-icon { display: inline; color: var(--green); }
.cdp-code__hint { font: 700 12px var(--font-sans); letter-spacing: 0; text-transform: uppercase; color: var(--muted); }
.cdp-code--light { background: transparent; border-color: var(--gold-line); color: #fff; }
.cdp-code--light .cdp-code__hint { color: var(--gold-soft); }

/* En-tête de liste (boutique, catégories, collections) ---------------------------- */
.cdp-shop .cdp-shophead { position: relative; padding-block: 8px 18px; }
.cdp-shophead h1 { font-size: clamp(32px, 4.4vw, 48px); }
.cdp-collection .cdp-shophead { padding-top: 28px; text-align: center; }
.cdp-collection .woocommerce .cdp-toolbar { display: none; }

/* Fiche produit V2 ---------------------------------------------------------------- */
body.cdp div.product div.images .woocommerce-product-gallery__wrapper, body.cdp div.product div.images .flex-viewport { border-radius: 26px; }
body.cdp div.product div.summary { position: relative; }
.cdp-heart--summary { position: absolute; top: 0; inset-inline-end: 0; width: 46px; height: 46px; border: 1px solid var(--line); box-shadow: none; }
body.cdp div.product .product_title { padding-inline-end: 54px; }
.cdp-saving { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--rose); font-weight: 700; margin: 0 0 6px; }
.cdp-saving [data-cdp-countdown] { font-variant-numeric: tabular-nums; }
.cdp-urgency { display: flex; gap: 6px; align-items: center; color: var(--rose); font-weight: 800; font-size: 14px; margin: 4px 0 8px; }
.cdp-eta { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin: 16px 0 0; border-radius: 14px; background: var(--shop-soft); color: var(--green); font-size: 14px; }
.cdp-eta strong { white-space: nowrap; }
body.cdp div.product .stock { color: var(--green); }
body.cdp div.product .upsells { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--gold-line); border-radius: 26px; background: var(--paper); }
body.cdp div.product .upsells > h2 { font-family: var(--font-display); text-align: center; }
body.cdp div.product .upsells ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { body.cdp div.product .upsells ul.products { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; } }
body.cdp div.product .related > h2, .cdp-seen h2 { font-family: var(--font-display); }
.cdp-seen { margin-top: clamp(32px, 5vw, 56px); grid-column: 1 / -1; }

/* Favoris : état vide ------------------------------------------------------------ */
.cdp-empty { text-align: center; padding: 48px 16px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.cdp-empty__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); margin-bottom: 10px; }

/* Barre d'onglets mobile ------------------------------------------------------------ */
.cdp-tabbar { display: none; }
@media (max-width: 760px) {
	:root { --tabbar-h: 64px; }
	.cdp-tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,253,251,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(66,42,49,.06); }
	.cdp-tabbar a, .cdp-tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--muted); font: 700 10.5px var(--font-sans); text-decoration: none; cursor: pointer; }
	.cdp-tabbar [aria-current="page"] { color: var(--plum); }
	.cdp-tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--plum); }
	.cdp-tabbar .cdp-cartbtn__count { top: 6px; inset-inline-end: calc(50% - 22px); }
	body.cdp { padding-bottom: var(--tabbar-h); }
	body.cdp.single-product .cdp-tabbar, body.cdp.woocommerce-checkout .cdp-tabbar { display: none; }
	body.cdp.single-product, body.cdp.woocommerce-checkout { padding-bottom: 0; }
	.cdp-whatsapp { bottom: calc(var(--tabbar-h) + 12px); min-height: 48px; padding: 0 14px; }
	.cdp-whatsapp span { display: none; }
	.cdp-toast { bottom: calc(var(--tabbar-h) + 14px); }
}

/* Fenêtre de bienvenue ------------------------------------------------------------- */
.cdp-welcome { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; background: rgba(43,37,48,.62); backdrop-filter: blur(5px); }
.cdp-welcome__card { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); border: 1px solid var(--gold-line); animation: cdp-rise .35s ease-out; }
@keyframes cdp-rise { from { transform: translateY(16px); opacity: 0; } }
.cdp-welcome__media img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.cdp-welcome__body { padding: 34px 28px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.cdp-welcome__body .cdp-logo__mark { width: 24px; height: 50px; margin-bottom: 6px; }
.cdp-welcome__body h2 { font-family: var(--font-display); font-size: 30px; margin: 0 0 4px; }
.cdp-welcome__body .cdp-code { margin: 12px 0 10px; }
.cdp-welcome__body .cdp-btn { width: 100%; }
.cdp-welcome__close { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(255,253,251,.9); }
@media (max-width: 640px) {
	.cdp-welcome__card { grid-template-columns: 1fr; }
	.cdp-welcome__media { height: 190px; }
	.cdp-welcome__media img { object-position: center 25%; }
}
@media (prefers-reduced-motion: reduce) { .cdp-welcome__card { animation: none; } }

/* Pied de page V2 -------------------------------------------------------------------- */
.cdp-footer { position: relative; border-top: 3px solid var(--gold-line); }
.cdp-footer__ornament { position: absolute; top: -16px; left: 50%; width: 30px; height: 30px; transform: translateX(-50%) rotate(45deg); background: var(--plum-deep); border: 2px solid var(--gold-line); }
.cdp-footer__name { font-family: var(--font-display); }
.cdp-club { overflow: hidden; }
