/*
Theme Name: Collier Prénom
Description: Thème classique sur mesure pour la boutique de colliers prénom (WooCommerce). Noir profond, or, ivoire.
Author: Collier Prénom
Version: 1.0.0
Text Domain: collier-prenom
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --black: #000;
  --ink: #121110;
  --gold: #cda94b;
  --gold-light: #e6c877;
  --gold-deep: #a06c14;
  --ivory: #faf7f2;
  --sand: #efe8da;
  --line: #e6dfd2;
  --muted: #6e6759;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.cpt-wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.cpt-skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 10px 16px; z-index: 100; }
.cpt-skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ----- boutons ----- */
.cpt-btn, .button, button.button, a.button, .wc-block-components-button, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit {
  display: inline-block; border: 0; cursor: pointer; text-align: center; text-decoration: none;
  padding: 18px 30px; border-radius: 4px; background: var(--gold); color: #17130a !important;
  font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background .2s, transform .2s;
}
.cpt-btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--gold-light); transform: translateY(-1px); color: #17130a !important; }
.cpt-btn--dark { background: var(--black); color: var(--gold-light) !important; }
.cpt-btn--dark:hover { background: #1b1912; color: var(--gold-light) !important; }
.cpt-link { color: #f4ecd8; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; font-size: 14px; letter-spacing: .06em; }

/* ----- en-tête ----- */
.cpt-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: #f4ecd8; border-bottom: 1px solid rgba(205, 169, 75, .18); transition: box-shadow .3s; }
.cpt-header.is-stuck { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.cpt-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.cpt-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f4ecd8; }
.cpt-brand img { display: block; height: 44px; width: auto; max-width: 100%; }
.cpt-menu, .cpt-footer ul { list-style: none; margin: 0; padding: 0; }
.cpt-menu { display: flex; gap: 34px; }
.cpt-menu a { text-decoration: none; font: 400 14px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #e9e1cd; position: relative; padding: 6px 0; }
.cpt-menu a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .3s; }
.cpt-menu a:hover::after, .cpt-menu .current-menu-item a::after { right: 0; }
.cpt-tools { display: flex; gap: 6px; }
.cpt-tool { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: #f4ecd8; }
.cpt-tool:hover { color: var(--gold); }
.cpt-cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #000; font: 500 11px/18px var(--sans); text-align: center; }
.cpt-burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.cpt-burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #f4ecd8; transition: transform .25s; }
.cpt-burger span:first-child { top: 17px; } .cpt-burger span:last-child { top: 26px; }
.cpt-burger[aria-expanded=true] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.cpt-burger[aria-expanded=true] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ----- hero ----- */
.cpt-hero { background: radial-gradient(1100px 620px at 80% 30%, #1f1a10 0%, #080706 55%, #000 100%); color: #f4ecd8; padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.cpt-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cpt-eyebrow { font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
.cpt-eyebrow--dark { color: var(--gold-deep); }
.cpt-hero h1 { font-size: clamp(42px, 5.2vw, 76px); font-weight: 300; line-height: 1.04; margin: 0 0 24px; text-wrap: balance; }
.cpt-hero h1 em { font-style: italic; color: var(--gold-light); }
.cpt-lede { font-size: clamp(16px, 1.5vw, 19px); max-width: 44ch; color: #d8cfba; margin: 0 0 32px; }
.cpt-hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cpt-hero__live { min-width: 0; }

/* ----- bande d'atouts ----- */
.cpt-strip { background: var(--ivory); border-bottom: 1px solid var(--line); }
.cpt-strip__list { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.cpt-strip__list li { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid var(--line); }
.cpt-strip__list li:first-child { border-left: 0; padding-left: 0; }
.cpt-strip__list svg { flex: none; color: var(--gold-deep); }
.cpt-strip__list strong { display: block; font: 500 15px/1.25 var(--sans); color: var(--ink); }
.cpt-strip__list small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ----- sections ----- */
.cpt-section { padding: clamp(56px, 8vw, 112px) 0; }
.cpt-section--sand { background: var(--sand); }
.cpt-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 56px); }
.cpt-head--tight { margin: clamp(48px, 6vw, 80px) 0 28px; }
.cpt-head h2, .cpt-promise h2, .cpt-steps h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 400; text-wrap: balance; }
.cpt-head--light h2 { color: #f4ecd8; }
.cpt-head__sub { color: var(--muted); font-size: 17px; max-width: 54ch; margin: 0; }

/* modèles : cartes avec rendu */
.cpt-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cpt-model { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; transition: transform .3s, box-shadow .3s, border-color .3s; }
.cpt-model:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 50px -30px rgba(80, 60, 10, .5); }
.cpt-model__img { display: block; aspect-ratio: 1 / 1; background: #0a0907; overflow: hidden; }
.cpt-model__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cpt-model:hover .cpt-model__img img { transform: scale(1.04); }
.cpt-model__img svg { width: 100%; height: 100%; padding: 14%; }
.cpt-model__img svg path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cpt-model__img svg .b { stroke-width: 4; }
.cpt-model__img svg .f { fill: var(--gold); }
.cpt-model__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; flex: 1; }
.cpt-model__n { font: 500 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.cpt-model h3 { font-size: 28px; margin: 0; }
.cpt-model__desc { font-size: 14.5px; line-height: 1.5; color: var(--muted); flex: 1; }
.cpt-model__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.cpt-model__price { font-size: 12.5px; color: var(--muted); }
.cpt-model__price strong { display: block; font: 500 15px var(--sans); color: var(--ink); }
.cpt-model__go { font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }

/* étapes */
.cpt-steps { background: #0c0b09; color: #e9e1cd; padding: clamp(56px, 8vw, 104px) 0; background-image: radial-gradient(800px 400px at 10% 0, rgba(205, 169, 75, .12), transparent 70%); }
.cpt-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.cpt-steps__list li { border-top: 1px solid rgba(205, 169, 75, .4); padding-top: 22px; }
.cpt-steps__list span { font: 300 52px/1 var(--serif); color: var(--gold); }
.cpt-steps__list h3 { font-size: 30px; margin: 12px 0 10px; color: #f4ecd8; }
.cpt-steps__list p { color: #bdb49e; max-width: 36ch; margin: 0; }

/* promesse */
.cpt-promise { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cpt-promise:not(:has(.cpt-promise__fig)) { grid-template-columns: minmax(0, 760px); }
.cpt-promise p { max-width: 54ch; color: #4d473a; }
.cpt-promise__fig { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(60, 40, 10, .6); aspect-ratio: 1 / 1; }
.cpt-promise__fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cpt-facts { list-style: none; margin: 28px 0 32px; padding: 0; }
.cpt-facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(18, 17, 16, .16); }
.cpt-facts li:last-child { border-bottom: 1px solid rgba(18, 17, 16, .16); }
.cpt-facts strong { font: 400 24px/1.2 var(--serif); }
.cpt-facts span { color: var(--muted); font-size: 15px; align-self: center; }

/* FAQ */
.cpt-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); }
.cpt-faq .cpt-head { margin: 0; }
.cpt-faq details { border-bottom: 1px solid var(--line); }
.cpt-faq details:first-child { border-top: 1px solid var(--line); }
.cpt-faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font: 400 24px/1.25 var(--serif); position: relative; }
.cpt-faq summary::-webkit-details-marker { display: none; }
.cpt-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--gold-deep); font: 300 30px var(--sans); transition: transform .25s; }
.cpt-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cpt-faq details p { padding: 0 44px 20px 0; margin: 0; color: var(--muted); }

.cpt-cta { background: #000; color: #f4ecd8; text-align: center; padding: clamp(52px, 8vw, 96px) 0; border-top: 1px solid rgba(205, 169, 75, .2); }
.cpt-cta h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 300; font-style: italic; color: var(--gold-light); margin: 10px 0 26px; }

/* ----- boutique ----- */
.cpt-pagehead { background: radial-gradient(900px 400px at 85% 0, #1f1a10 0%, #080706 60%, #000 100%); color: #f4ecd8; padding: clamp(28px, 4vw, 56px) 0; }
.cpt-pagehead h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 300; margin: 0 0 14px; }
.cpt-pagehead p:last-child { max-width: 56ch; color: #d8cfba; font-size: 17px; margin: 0; }
.cpt-shopbody { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 112px); }
.cpt-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 70px -50px rgba(60, 40, 10, .5); }
.cpt-feature__media { background: #0a0907; display: grid; place-items: center; aspect-ratio: 1 / 1; }
.cpt-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpt-feature__media img.cpt-feature__logo { width: 40%; height: auto; }
.cpt-feature__body { padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.cpt-feature__body h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 0 0 8px; }
.cpt-feature__body h2 a { text-decoration: none; }
.cpt-feature__desc { color: var(--muted); max-width: 46ch; margin: 0 0 14px; }
.cpt-feature__desc p { margin: 0; }
.cpt-feature__price { margin: 0 0 18px; color: var(--muted); }
.cpt-feature__price strong { font: 400 30px var(--serif); color: var(--ink); margin-left: 6px; }
.cpt-feature__models { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; }
.cpt-feature__models a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
.cpt-feature__models a:hover { border-color: var(--gold); background: var(--ivory); }
.cpt-feature .cpt-btn { align-self: flex-start; background: var(--black); color: var(--gold-light) !important; }
.cpt-feature .cpt-btn:hover { background: #1c1911; }
.cpt-feature__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.cpt-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.cpt-pcard { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 12px 20px; transition: transform .3s, box-shadow .3s; }
.cpt-pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(80, 60, 10, .5); }
.cpt-pcard__img img { width: 100%; height: auto; border-radius: 4px; display: block; background: #0a0907; }
.cpt-pcard h3 { font-size: 24px; margin: 14px 6px 4px; }
.cpt-pcard__price { margin: 0 6px; color: var(--gold-deep); font-weight: 500; }

@media (max-width: 1100px) {
  .cpt-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpt-strip__list { grid-template-columns: repeat(2, 1fr); }
  .cpt-strip__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .cpt-strip__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .cpt-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .cpt-hero__live { max-width: 560px; }
  .cpt-steps__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cpt-promise, .cpt-faq { grid-template-columns: minmax(0, 1fr); }
  .cpt-feature { grid-template-columns: minmax(0, 1fr); }
  .cpt-feature__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .cpt-hero { padding-top: 28px; }
  .cpt-hero h1 { font-size: 38px; }
  .cpt-hero__cta { display: none; }
  .cpt-lede { display: none; }
  .cpt-hero h1 { margin-bottom: 22px; }
  .cpt-eyebrow { margin-bottom: 14px; }
  .cpt-strip__list li { padding: 18px 12px; gap: 10px; }
  .cpt-strip__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cpt-strip__list svg { width: 24px; height: 24px; }
  .cpt-strip__list strong { font-size: 14px; }
  .cpt-strip__list small { display: none; }
  /* modèles : défilement horizontal */
  .cpt-models { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 4px 20px 18px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .cpt-models::-webkit-scrollbar { display: none; }
  .cpt-model { flex: 0 0 78%; scroll-snap-align: start; }
  .cpt-facts li { grid-template-columns: 1fr; gap: 2px; }
  .cpt-faq summary { font-size: 21px; }
  .cpt-feature__body { padding: 24px 20px 28px; }
  .cpt-feature .cpt-btn { align-self: stretch; }
  .cpt-pagehead { padding: 36px 0; }
}

/* ----- révélation douce ----- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ----- pied de page ----- */
.cpt-footer { background: #000; color: #b9b09a; padding: 64px 0 0; border-top: 1px solid rgba(205, 169, 75, .2); font-size: 14.5px; }
.cpt-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.cpt-footer__brand img { width: 220px; height: auto; }
.cpt-footer h3 { font: 500 12px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.cpt-footer li { margin-bottom: 10px; }
.cpt-footer a { text-decoration: none; }
.cpt-footer a:hover { color: var(--gold-light); }
.cpt-footer__legal { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* ----- pages ----- */
.cpt-page, .cpt-shop { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 120px); }
.cpt-article h1, .woocommerce-products-header__title, .cpt-shop h1.page-title { font-size: clamp(38px, 5vw, 64px); margin-bottom: .4em; }
.cpt-content { max-width: 78ch; }
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.woocommerce-breadcrumb a { text-decoration: none; }

/* ----- catalogue ----- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 14px 14px 22px; transition: transform .3s, box-shadow .3s; }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -30px rgba(80, 60, 10, .45); }
.woocommerce ul.products li.product img { border-radius: 3px; background: #0a0907; margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 400 26px var(--serif); padding: 0; }
.woocommerce .price, .woocommerce ul.products li.product .price { color: var(--gold-deep); font: 500 15px var(--sans); }
.woocommerce ul.products li.product .button { margin-top: 12px; padding: 14px 20px; }
.woocommerce-result-count, .woocommerce-ordering { font-size: 14px; }
.woocommerce-ordering select { padding: 10px; border: 1px solid var(--line); background: #fff; }

/* ----- fiche produit ----- */
.cpc-product .cpt-shop { padding-top: clamp(24px, 4vw, 56px); }
.cpc-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
.cpc-product div.product > * { min-width: 0; }
.cpc-product div.product .cp-preview { grid-column: 1; grid-row: 1; align-self: start; position: sticky; top: 104px; float: none !important; width: auto !important; }
.cpc-product div.product .summary { grid-column: 2; grid-row: 1; float: none !important; width: auto !important; margin: 0; }
.cpc-product div.product .woocommerce-tabs, .cpc-product div.product .related, .cpc-product div.product .upsells { grid-column: 1 / -1; }
.cpc-product .product_title { font-size: clamp(34px, 3.6vw, 48px); margin: 0 0 .25em; }
.cpc-product .product_title::before { content: 'Idée cadeau · Sur mesure'; display: block; margin-bottom: 14px; font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.cpc-product .summary > .price { display: block; margin: 0 0 16px; font: 400 15px var(--sans); color: var(--muted); }
.cpc-product .summary > .price::before { content: 'À partir de '; }
.cpc-product .summary > .price .amount { font-weight: 500; color: var(--ink); }
.cpc-product .woocommerce-product-details__short-description { color: var(--muted); max-width: 54ch; font-size: 16px; }
.cpc-product form.cart { display: block; margin: 0; }
.cpc-product .product_meta { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; padding: 0; margin: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0; font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--gold) !important; background: #fff !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold-deep) !important; }

/* ----- panier / commande ----- */
.woocommerce table.shop_table { border-collapse: collapse; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 18px; border-top: 1px solid var(--line); }
.woocommerce-cart table.cart img { width: 96px; border-radius: 3px; }
.woocommerce .wc-item-meta, .woocommerce dl.variation { font-size: 13px; color: var(--muted); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.wc-block-components-button:not(.is-link) { background: var(--black) !important; color: var(--gold-light) !important; }

/* ----- responsive ----- */
@media (max-width: 1020px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cpt-burger { display: block; order: 3; }
  .cpt-tools { margin-left: auto; }
  .cpt-nav { position: absolute; left: 0; right: 0; top: 100%; background: #000; border-bottom: 1px solid rgba(205, 169, 75, .25); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .cpt-nav.is-open { max-height: 320px; }
  .cpt-menu { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
  .cpt-menu a { display: block; padding: 14px 0; }
  .cpt-footer__grid { grid-template-columns: 1fr 1fr; }
  .cpt-footer__brand { grid-column: 1 / -1; }
  /* fiche produit mobile : aperçu collé en haut, en-tête qui défile */
  .cpc-product .cpt-header { position: relative; }
  .cpc-product div.product { grid-template-columns: 1fr; }
  .cpc-product div.product .cp-preview { grid-column: 1; grid-row: 1; position: sticky; top: 0; z-index: 30; margin: 0 -20px; padding: 0 0 12px; background: var(--ivory); box-shadow: 0 14px 16px -16px rgba(0, 0, 0, .4); }
  .admin-bar.cpc-product div.product .cp-preview { top: 46px; }
  .cpc-product div.product .summary { grid-column: 1; grid-row: 2; padding-top: 4px; }
  .cpc-product .cp-stage { aspect-ratio: 16 / 10; max-height: 36vh; width: 100%; border-radius: 0; box-shadow: none; }
  .cpc-product .cp-stage canvas { object-fit: cover; object-position: 50% 70%; }
  .cpc-product .woocommerce-product-details__short-description { display: none; }
  .cpc-product .product_title { font-size: 30px; }
  .cpc-product .product_title::before { margin-bottom: 8px; }
  .cpc-product .summary > .price { margin-bottom: 14px; }
  .cpc-product .cp-fields { margin-top: 8px; }
  .cpc-product .cp-note { display: none; }
  .cpc-product .cp-stage__bar { padding: 8px 10px; gap: 8px; }
  .cpc-product .cp-bg button, .cpc-product .cp-dl { padding: 8px 11px; font-size: 11px; letter-spacing: .05em; }
}
@media (max-width: 560px) {
  .cpt-brand img { height: 36px; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .cpt-footer__legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Panier, commande, confirmation
   ===================================================================== */
.cpt-pagehead--wc { padding: clamp(24px, 3.5vw, 44px) 0; }
.cpt-pagehead--wc h1 { font-size: clamp(32px, 4vw, 48px); margin: 0; }
.cpt-steps-bar { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 18px; padding: 0; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8d8570; }
.cpt-steps-bar li { display: flex; align-items: center; gap: 10px; }
.cpt-steps-bar li + li::before { content: ''; width: 28px; height: 1px; background: rgba(205, 169, 75, .35); margin-right: 4px; }
.cpt-steps-bar span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; letter-spacing: 0; }
.cpt-steps-bar .is-done { color: var(--gold); }
.cpt-steps-bar .is-current { color: #f4ecd8; }
.cpt-steps-bar .is-done span, .cpt-steps-bar .is-current span { background: var(--gold); border-color: var(--gold); color: #000; }
.cpt-wcpage { padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 8vw, 112px); }
.cpt-content--wide { max-width: none; }

/* ----- boutons des blocs ----- */
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background: var(--gold) !important; color: #17130a !important; border: 0 !important; border-radius: 6px !important;
  min-height: 58px; font: 500 13px/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, transform .2s;
}
.wc-block-components-button:not(.is-link):hover { background: #e6c877 !important; transform: translateY(-1px); }
.wc-block-components-button:not(.is-link) .wc-block-components-button__text { font: inherit; }

/* ----- champs ----- */
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-blocks-components-select__select, .wc-block-components-textarea {
  border: 1.5px solid var(--line) !important; border-radius: 6px !important; background: var(--ivory) !important; color: var(--ink) !important; font-family: var(--sans) !important;
}
.wc-block-components-text-input input:focus, .wc-block-components-textarea:focus, .wc-blocks-components-select__select:focus { border-color: var(--gold) !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(205, 169, 75, .22) !important; outline: 0 !important; }
.wc-block-components-text-input label, .wc-blocks-components-select__label { color: var(--muted) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #17130a; }
.wc-block-components-checkbox input[type=checkbox]:checked { background: var(--gold); border-color: var(--gold); }
.wc-block-components-notice-banner { border-radius: 6px !important; font-family: var(--sans); }

/* ----- mise en page deux colonnes ----- */
.wc-block-components-sidebar-layout { align-items: flex-start; justify-content: space-between; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0 !important; }
.wc-block-components-sidebar-layout.is-large .wc-block-components-main { width: 63% !important; }
.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar { width: 34% !important; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-sidebar { margin-top: 24px; }

/* ----- panier : liste ----- */
.wc-block-cart__main { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 28px 8px; }
table.wc-block-cart-items { border: 0 !important; margin: 0 !important; }
.wc-block-cart-items__header th { font: 500 11px/1 var(--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) !important; padding: 20px 0 14px !important; border-bottom: 1px solid var(--line); }
.wc-block-cart-items__row td { padding: 24px 0 !important; border-top: 0 !important; border-bottom: 1px solid var(--line); vertical-align: top; }
.wc-block-cart-items__row:last-child td { border-bottom: 0; }
.wc-block-cart-item__image { width: 120px; padding-right: 20px !important; }
.wc-block-cart-item__image img { width: 100% !important; height: auto !important; border-radius: 6px; background: #0a0907; display: block; }
.wc-block-cart-item__wrap { display: flex; flex-direction: column; gap: 6px; }
.wc-block-components-product-name { font: 400 26px/1.15 var(--serif) !important; color: var(--ink) !important; text-decoration: none !important; }
.wc-block-cart-item__prices, .wc-block-components-order-summary-item__individual-prices { font-size: 14px; color: var(--muted); }
.wc-block-components-product-price { font-weight: 500; }
.wc-block-components-product-details { display: grid !important; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 4px 28px; margin: 8px 0 12px !important; padding: 0 !important; list-style: none; font-size: 13.5px; }
.wc-block-components-product-details > * { display: block; margin: 0 !important; }
.wc-block-components-product-details span[aria-hidden="true"] { display: none; }
.wc-block-components-product-metadata__description { display: none; }
.wc-block-components-product-details__name { color: var(--muted); }
.wc-block-components-product-details__value { color: var(--ink); font-weight: 500; }
.wc-block-components-product-details__pr-nom .wc-block-components-product-details__value { font: 400 20px var(--serif); font-weight: 500; }
.wc-block-cart-item__quantity { display: flex; align-items: center; gap: 16px; }
.wc-block-components-quantity-selector { border: 1.5px solid var(--line) !important; border-radius: 6px !important; background: #fff !important; }
.wc-block-components-quantity-selector::after { display: none !important; }
.wc-block-cart-item__remove-link { color: var(--muted) !important; font-size: 13px !important; }
.wc-block-cart-item__remove-link:hover { color: #a3321f !important; }
.wc-block-cart-item__total .wc-block-components-product-price, .wc-block-cart-item__total { font: 400 26px var(--serif); color: var(--ink); text-align: right; }

/* ----- panier et commande : récapitulatif sombre ----- */
.wc-block-cart__sidebar, .wc-block-checkout__sidebar { background: #0c0b09; color: #e9e1cd; border-radius: 8px; padding: 26px 26px 22px !important; position: sticky; top: 104px; }
.wc-block-cart__sidebar .wc-block-cart__totals-title, .wc-block-components-checkout-order-summary__title-text { font: 500 12px/1 var(--sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--gold) !important; padding: 0 0 16px !important; text-align: left !important; }
.wc-block-cart__sidebar *, .wc-block-checkout__sidebar * { border-color: rgba(205, 169, 75, .22) !important; }
.wc-block-cart__sidebar .wc-block-components-totals-item__label, .wc-block-checkout__sidebar .wc-block-components-totals-item__label,
.wc-block-cart__sidebar .wc-block-components-totals-item__description, .wc-block-checkout__sidebar .wc-block-components-totals-item__description { color: #cdbf9b; }
.wc-block-cart__sidebar .wc-block-components-totals-item__value, .wc-block-checkout__sidebar .wc-block-components-totals-item__value { color: #f4ecd8; }
.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 400 34px/1 var(--serif); color: #f4e4b4; }
.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font: 500 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.wc-block-cart__sidebar .wc-block-components-panel__button, .wc-block-checkout__sidebar .wc-block-components-panel__button { color: var(--gold-light) !important; }
.wc-block-cart__sidebar .wc-block-components-text-input input, .wc-block-checkout__sidebar .wc-block-components-text-input input { background: rgba(255, 255, 255, .06) !important; color: #fff !important; border-color: rgba(205, 169, 75, .4) !important; }
.wc-block-cart__sidebar .wc-block-components-text-input label, .wc-block-checkout__sidebar .wc-block-components-text-input label { color: #cdbf9b !important; }
.wc-block-cart__sidebar .wc-block-components-button:not(.is-link) .wc-block-components-button__text { color: #17130a; }
.wc-block-cart__submit-container { padding-top: 12px; }

/* récapitulatif de la commande */
.wc-block-components-order-summary-item { padding: 14px 0 !important; align-items: flex-start; }
.wc-block-components-order-summary-item__image { width: 84px !important; }
.wc-block-components-order-summary-item__image img { width: 100% !important; height: auto !important; border-radius: 5px; background: #0a0907; }
.wc-block-components-order-summary-item__quantity { background: var(--gold) !important; color: #17130a !important; border: 0 !important; box-shadow: none !important; }
.wc-block-checkout__sidebar .wc-block-components-product-name { font: 400 22px/1.15 var(--serif) !important; color: #f4ecd8 !important; }
.wc-block-checkout__sidebar .wc-block-components-product-details { grid-template-columns: minmax(0, 1fr); gap: 2px; font-size: 13px; margin: 6px 0 4px !important; }
.wc-block-checkout__sidebar .wc-block-components-product-details__name { color: #a99f86; }
.wc-block-checkout__sidebar .wc-block-components-product-details__value { color: #f4ecd8; }
.wc-block-checkout__sidebar .wc-block-components-product-details__pr-nom .wc-block-components-product-details__value { font-size: 18px; }
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__individual-prices { color: #a99f86; }
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price .wc-block-components-product-price { color: #f4ecd8; }

/* ----- commande : étapes en cartes ----- */
.wc-block-checkout__main .wc-block-components-checkout-step, .wc-block-checkout__main .wp-block-woocommerce-checkout-fields-block > div[class*="step"] { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; margin: 0 0 18px !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title.wc-block-components-checkout-step__title { font: 400 28px/1.15 var(--serif) !important; color: var(--ink); }
.wc-block-components-checkout-step__description { color: var(--muted); }
.wc-block-checkout__actions { padding: 8px 0 0; }
.wc-block-components-checkout-return-to-cart-button { color: var(--muted) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 6px; }
.wc-block-components-address-card { border: 1.5px solid var(--line) !important; border-radius: 6px !important; background: var(--ivory); }

/* ----- panier vide ----- */
.wp-block-woocommerce-empty-cart-block { text-align: center; padding: clamp(24px, 5vw, 64px) 0 8px; }
.wp-block-woocommerce-empty-cart-block h2 { font: 300 clamp(32px, 4vw, 48px)/1.1 var(--serif) !important; margin-bottom: 8px; }
.wp-block-woocommerce-empty-cart-block .wp-block-separator, .wp-block-woocommerce-empty-cart-block .wp-block-heading ~ .wp-block-heading, .wp-block-woocommerce-empty-cart-block .wc-block-grid, .wp-block-woocommerce-empty-cart-block .wp-block-product-new, .wp-block-woocommerce-empty-cart-block [class*="product-new"] { display: none !important; }
.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before, .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before { display: none !important; }
.cpt-empty { margin-top: 8px; text-align: center; }
.cpt-empty p { color: var(--muted); margin: 0 0 22px; font-size: 17px; }

/* ----- confirmation de commande ----- */
.woocommerce-order { max-width: 920px; margin: 0 auto; }
.woocommerce-notice--success.woocommerce-thankyou-order-received { font: 300 clamp(26px, 3vw, 36px)/1.2 var(--serif); color: var(--ink); margin: 0 0 8px; }
ul.woocommerce-order-overview, ul.order_details { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0 !important; padding: 0 !important; }
ul.woocommerce-order-overview li, ul.order_details li { float: none !important; margin: 0 !important; background: #fff; border: 1px solid var(--line) !important; border-radius: 8px; padding: 16px 18px !important; font: 500 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
ul.woocommerce-order-overview li strong, ul.order_details li strong { display: block; margin-top: 8px; font: 400 22px/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-order h2 { font: 400 30px/1.15 var(--serif); margin: 36px 0 16px; }
.woocommerce-order .shop_table img { width: 72px; height: auto; border-radius: 5px; }
.woocommerce-order-details .wc-item-meta { list-style: none; margin: 6px 0 0; padding: 0; }
address { font-style: normal; line-height: 1.7; }

@media (max-width: 900px) {
  .wc-block-cart__sidebar, .wc-block-checkout__sidebar { position: static; }
  .wc-block-cart__main { padding: 2px 16px 6px; }
}
@media (max-width: 600px) {
  .cpt-steps-bar { gap: 8px 8px; font-size: 11px; letter-spacing: .1em; }
  .cpt-steps-bar li + li::before { width: 14px; margin-right: 0; }
  .wc-block-cart-item__image { width: 84px; padding-right: 12px !important; }
  .wc-block-components-product-name { font-size: 22px !important; }
  .wc-block-components-product-details { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wc-block-checkout__main .wc-block-components-checkout-step { padding: 20px 16px; }
  .wc-block-cart__sidebar, .wc-block-checkout__sidebar { padding: 20px 16px 18px !important; margin-inline: 0; }
}

@media (max-width: 600px) {
  .cpt-steps-bar { flex-wrap: nowrap; gap: 8px; }
  .cpt-steps-bar li + li::before { display: none; }
  .cpt-steps-bar li:not(.is-current) { font-size: 0; gap: 0; }
  .cpt-steps-bar li:not(.is-current) span { font-size: 11px; }
  .cpt-steps-bar li.is-current { font-size: 11px; }

  .wc-block-cart__main { padding: 0 16px; overflow: hidden; }
  table.wc-block-cart-items, table.wc-block-cart-items tbody { display: block; width: 100%; }
  .wc-block-cart-items__header { display: none !important; }
  .wc-block-cart-items__row { display: grid !important; grid-template-columns: 84px minmax(0, 1fr); padding: 20px 0; border-bottom: 1px solid var(--line); }
  .wc-block-cart-items__row:last-child { border-bottom: 0; }
  .wc-block-cart-items__row td { padding: 0 !important; border: 0 !important; min-width: 0; }
  .wc-block-cart-item__image { padding-right: 12px !important; width: auto; }
  .wc-block-cart-item__total { grid-column: 2; text-align: left !important; margin-top: 10px; font-size: 22px !important; }
  .wc-block-cart-item__total .wc-block-components-product-price { font-size: 22px; }
}
@media (max-width: 600px) {
  .wc-block-cart-item__image { grid-row: 1 / span 2; grid-column: 1; }
  .wc-block-cart-item__product { grid-row: 1; grid-column: 2; }
  .wc-block-cart-items__row .wc-block-cart-item__total { position: static !important; grid-row: 2 !important; grid-column: 2 !important; width: auto !important; padding: 0 !important; transform: none !important; }
}

/* l'aperçu collant passe SOUS la description et les produits liés (au lieu de les recouvrir) */
.cpc-product div.product .woocommerce-tabs, .cpc-product div.product .related, .cpc-product div.product .upsells { position: relative; z-index: 40; background: var(--ivory); padding-top: clamp(24px, 4vw, 48px); margin-top: 0; }

/* ----- section finale avec vidéo de fond ----- */
.cpt-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: clamp(420px, 62vh, 640px); background: #000; text-align: center; padding: clamp(56px, 8vw, 104px) 0; }
.cpt-cta__media { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(700px 360px at 20% 30%, rgba(205, 169, 75, .22), transparent 70%),
  radial-gradient(600px 320px at 80% 75%, rgba(205, 169, 75, .16), transparent 70%), #050403; }
.cpt-cta:not(.has-video) .cpt-cta__media { animation: cpt-glow 14s ease-in-out infinite alternate; background-size: 140% 140%, 140% 140%, auto; }
@keyframes cpt-glow { from { background-position: 0% 0%, 100% 100%, 0 0; } to { background-position: 40% 30%, 60% 70%, 0 0; } }
.cpt-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.2s ease; }
.cpt-cta.video-ready .cpt-cta__video { opacity: 1; }
.cpt-cta[class*="has-video"] .cpt-cta__media[style] { }
.cpt-cta__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, calc(var(--cta-shade, 55%) * .75)) 0%, rgba(0, 0, 0, var(--cta-shade, 55%)) 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, .45)); }
.cpt-cta:not(.has-video) .cpt-cta__shade { background: none; }
.cpt-cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 720px; }
.cpt-cta__inner img { width: 104px; height: auto; margin-bottom: 8px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .55)); }
.cpt-cta__inner h2 { margin: 10px 0 12px; text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.cpt-cta__inner p { margin: 0 0 28px; font-size: clamp(16px, 1.6vw, 19px); color: #eadfc4; text-shadow: 0 1px 14px rgba(0, 0, 0, .65); max-width: 46ch; }
@media (max-width: 640px) {
  .cpt-cta { min-height: 400px; }
  .cpt-cta__inner img { width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .cpt-cta:not(.has-video) .cpt-cta__media { animation: none; }
  .cpt-cta__video { display: none; }
}

/* ----- fond vidéo (haut de page et section finale) ----- */
.cpt-bgvideo { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #050403; }
.cpt-bgvideo__poster, .cpt-bgvideo__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.cpt-bgvideo__video { opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.video-ready .cpt-bgvideo__video { opacity: 1; }
.cpt-bgvideo__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 68%, rgba(0, 0, 0, .55)),
    rgba(0, 0, 0, var(--bg-shade, 60%)); }
.cpt-hero { position: relative; isolation: isolate; }
.cpt-hero > .cpt-wrap { position: relative; z-index: 1; }
.cpt-hero.has-video { background: #000; }
.cpt-hero.has-video .cpt-bgvideo__shade { background:
    linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, .6)),
    rgba(0, 0, 0, var(--bg-shade, 60%)); }
.cpt-hero.has-video h1, .cpt-hero.has-video .cpt-lede, .cpt-hero.has-video .cpt-eyebrow { text-shadow: 0 2px 22px rgba(0, 0, 0, .6); }
.cpt-hero.has-video .cp-teaser { background: rgba(8, 7, 5, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cpt-hero.has-video .cpt-link { text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
.cpt-cta.has-video { background: #000; }
@media (max-width: 900px) {
  .cpt-hero.has-video .cpt-bgvideo__shade { background:
    linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .2) 40%, rgba(0, 0, 0, .55)),
    rgba(0, 0, 0, var(--bg-shade, 60%)); }
}
@media (prefers-reduced-motion: reduce) { .cpt-bgvideo__video { display: none; } }

/* ----- sélecteur : matière -> modèles -> finaliser ----- */
.cpt-picker__step { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 500 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.cpt-picker__step span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #f4e4b4; font-size: 12px; letter-spacing: 0; }
.cpt-picker__step strong { color: var(--gold-deep); font-weight: 500; }
.cpt-picker__step--2 { margin-top: clamp(28px, 4vw, 44px); }
.cpt-materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.cpt-mat { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; margin: 0; }
.cpt-mat input { position: absolute; opacity: 0; pointer-events: none; }
.cpt-mat:hover { border-color: #c9bb98; }
.cpt-mat.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #fff; }
.cpt-mat:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.cpt-mat__sw { flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 3px 8px rgba(0, 0, 0, .18); }
.cpt-mat__name { font: 500 15px/1.25 var(--sans); color: var(--ink); }
.cpt-model__img img { transition: opacity .25s ease, transform .6s; }
.cpt-model__img img.is-swap { opacity: .15; }
@media (max-width: 760px) {
  .cpt-materials { gap: 8px; max-width: none; }
  .cpt-mat { flex-direction: column; justify-content: flex-start; text-align: center; gap: 8px; padding: 14px 6px 12px; }
  .cpt-mat__sw { width: 34px; height: 34px; }
  .cpt-mat__name { font-size: 13px; }
  .cpt-picker__step { letter-spacing: .12em; flex-wrap: wrap; }
  .cpt-picker__step strong { flex-basis: 100%; padding-left: 38px; margin-top: -4px; letter-spacing: .08em; }
}

/* ----- bouton WhatsApp direct ----- */
.cpt-wa { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #fff !important; text-decoration: none !important; font: 500 14px/1 var(--sans); letter-spacing: .02em; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .55); transition: transform .2s, box-shadow .2s; }
.cpt-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6); }
.cpt-wa svg { flex: none; }
@media (max-width: 860px) {
  .cpt-wa { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 56px; padding: 0; justify-content: center; }
  .cpt-wa__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.cpc-product .cpt-wa { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ----- barre d'action collée en bas (mobile) ----- */
.cpt-mbar { display: none; }
@media (max-width: 860px) {
  body.cpt-has-mbar, body.cpc-product { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .cpt-mbar { display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #0c0b09; border-top: 1px solid rgba(205, 169, 75, .3); box-shadow: 0 -12px 28px -14px rgba(0, 0, 0, .55); }
  .cpt-mbar__price { display: block; line-height: 1.1; white-space: nowrap; }
  .cpt-mbar__price small { display: block; font: 500 10px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #cdbf9b; margin-bottom: 3px; }
  .cpt-mbar__price strong { font: 400 24px var(--serif); color: #f4e4b4; }
  .cpt-mbar .cpt-btn { flex: 1; height: 52px; padding: 0 10px; display: grid; place-items: center; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
  /* commande : bouton « Passer la commande » collé en bas */
  .wc-block-checkout__actions { position: sticky; bottom: 0; z-index: 50; background: var(--ivory); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)) !important; box-shadow: 0 -10px 20px -14px rgba(0, 0, 0, .3); }
}

/* Panier : respiration (les styles WooCommerce écrasaient les marges) */
.wp-block-woocommerce-cart .wc-block-cart__main { padding: 4px 28px 8px !important; }
.wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__image { padding-right: 24px !important; }
.wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__product { padding-right: 20px !important; }
.wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__total { padding-left: 12px !important; white-space: nowrap; }
.wp-block-woocommerce-cart .wc-block-cart-items__header th:last-child { padding-right: 0 !important; }
@media (max-width: 782px) {
  .wp-block-woocommerce-cart .wc-block-cart__main { padding: 0 16px !important; }
  .wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__image { padding-right: 14px !important; }
  .wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__product { padding-right: 0 !important; }
  .wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__total { padding-left: 0 !important; }
}

/* Confirmation de commande */
.woocommerce-order { padding: 8px 0 40px; }
.woocommerce-notice--success.woocommerce-thankyou-order-received { display: flex; align-items: center; gap: 16px; background: none !important; border: 0 !important; padding: 0 !important; margin: 8px 0 28px; }
.woocommerce-thankyou-order-received::before { content: "✓"; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #17130a; font: 600 22px/1 var(--sans); }
ul.woocommerce-order-overview::before, ul.woocommerce-order-overview::after { display: none !important; content: none !important; }
ul.woocommerce-order-overview { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
ul.woocommerce-order-overview li strong { font-variant-numeric: lining-nums; font-size: 20px; word-break: break-word; }
.woocommerce-order .woocommerce-thankyou-order-details + p { color: var(--muted); margin: 0 0 8px; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 32px; }
.woocommerce-order table.shop_table { width: 100%; border: 1px solid var(--line) !important; border-radius: 8px; border-collapse: separate; border-spacing: 0; background: #fff; overflow: hidden; }
.woocommerce-order table.shop_table th, .woocommerce-order table.shop_table td { padding: 18px 22px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; vertical-align: top; text-align: left; }
.woocommerce-order table.shop_table thead th { font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.woocommerce-order table.shop_table .product-total, .woocommerce-order table.shop_table tfoot td { text-align: right !important; white-space: nowrap; font-variant-numeric: lining-nums; }
.woocommerce-order table.shop_table tfoot tr:last-child th, .woocommerce-order table.shop_table tfoot tr:last-child td { border-bottom: 0 !important; }
.woocommerce-order table.shop_table tfoot tr:nth-last-child(2) th, .woocommerce-order table.shop_table tfoot tr:nth-last-child(2) td { font-weight: 500; }
.cp-order-line { display: flex; gap: 18px; align-items: flex-start; }
.cp-order-thumb { flex: none; width: 96px !important; height: 96px !important; object-fit: cover; border-radius: 6px; background: #0a0907; }
.cp-order-info { display: block; min-width: 0; }
.cp-order-info > a { font: 400 22px/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.woocommerce-order-details .wc-item-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; margin: 10px 0 0; font-size: 14px; }
.woocommerce-order-details .wc-item-meta li { margin: 0; }
.woocommerce-order-details .wc-item-meta p { display: inline; margin: 0; }
.woocommerce-order-details .wc-item-meta .wc-item-meta-label { color: var(--muted); font-weight: 400; }
.woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.woocommerce-customer-details .woocommerce-column { float: none !important; width: auto !important; }
.woocommerce-customer-details address { background: #fff; border: 1px solid var(--line) !important; border-radius: 8px; padding: 18px 22px !important; font-style: normal; line-height: 1.7; }
.woocommerce-customer-details .woocommerce-column__title { margin-top: 0; }
@media (max-width: 640px) {
  .woocommerce-order table.shop_table th, .woocommerce-order table.shop_table td { padding: 14px 14px !important; }
  .cp-order-line { flex-direction: column; gap: 12px; }
  .cp-order-thumb { width: 84px !important; height: 84px !important; }
  .woocommerce-order-details .wc-item-meta { grid-template-columns: 1fr; }
  ul.woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
}
.woocommerce-order-details td.product-name:has(.cp-order-thumb) { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; align-content: start; }
.woocommerce-order-details td.product-name:has(.cp-order-thumb) .cp-order-line { display: contents; }
.woocommerce-order-details td.product-name:has(.cp-order-thumb) .cp-order-thumb { grid-column: 1; grid-row: 1 / span 3; }
.woocommerce-order-details td.product-name:has(.cp-order-thumb) > :not(.cp-order-line) { grid-column: 2; }
.woocommerce-order-details .product-quantity { font: 500 13px var(--sans); color: var(--muted); }
ul.woocommerce-order-overview li strong { font-size: 17px; }
@media (max-width: 640px) {
  .woocommerce-order-details td.product-name:has(.cp-order-thumb) { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; }
  .woocommerce-order-details td.product-name:has(.cp-order-thumb) .cp-order-thumb { width: 72px !important; height: 72px !important; }
}
ul.woocommerce-order-overview li.woocommerce-order-overview__email { grid-column: span 2; }
ul.woocommerce-order-overview li strong { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 640px) { ul.woocommerce-order-overview li.woocommerce-order-overview__email { grid-column: 1 / -1; } }
@media (max-width: 640px) { .woocommerce-order-details td.product-name:has(.cp-order-thumb) > ul.wc-item-meta { grid-column: 1 / -1; margin-top: 14px; } .woocommerce-order-details td.product-name:has(.cp-order-thumb) .cp-order-thumb { grid-row: 1 / span 2; } }
@media (max-width: 640px) {
  .woocommerce-order-details table.shop_table, .woocommerce-order-details table.shop_table tbody, .woocommerce-order-details table.shop_table tfoot { display: block; width: 100%; }
  .woocommerce-order-details table.shop_table thead { display: none; }
  .woocommerce-order-details table.shop_table tr.order_item { display: block; border-bottom: 1px solid var(--line); }
  .woocommerce-order-details table.shop_table tr.order_item td { display: block; border: 0 !important; }
  .woocommerce-order-details table.shop_table td.product-total { text-align: right !important; padding-top: 0 !important; font-size: 18px; }
  .woocommerce-order-details table.shop_table tfoot tr { display: flex; justify-content: space-between; gap: 12px; }
  .woocommerce-order-details table.shop_table tfoot th, .woocommerce-order-details table.shop_table tfoot td { border: 0 !important; padding: 12px 14px !important; }
}

/* ===== Commande (formulaire classique) ===== */
.woocommerce-checkout:not(.woocommerce-order-received) .cpt-content--wide { max-width: 1120px; margin: 0 auto; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
form.checkout #customer_details .col-1, form.checkout #customer_details .col-2 { float: none; width: 100%; padding: 0; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 -6px; font: 400 28px/1.15 var(--serif); }
form.checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 104px; background: #0c0b09; color: #e9e1cd; border-radius: 8px; padding: 24px 24px 22px; }
.woocommerce-billing-fields > h3 { font: 400 28px/1.15 var(--serif); margin: 0 0 20px; }
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; padding: 0; float: none; width: 100%; }
.woocommerce form .form-row-wide, .woocommerce #billing_address_1_field { grid-column: 1 / -1; }
.woocommerce form .form-row label { display: block; margin: 0; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.woocommerce form .form-row .required { color: var(--gold-deep, #a8851f); text-decoration: none; }
.woocommerce form .form-row input.input-text { width: 100%; box-sizing: border-box; height: auto; border: 1px solid var(--line); border-radius: 6px; padding: 15px 16px; background: var(--ivory, #faf6f0); font: 400 16px var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.woocommerce form .form-row input.input-text:focus { border-color: var(--gold); outline: 0; box-shadow: 0 0 0 3px rgba(205, 169, 75, .25); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #b3382c; }
.cpt-other-city { display: none; }
.cpt-addr-help { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.cpt-addr-help.ok { color: #2d6a3e; }
.cpt-addr-help.warn { color: #9a5a00; }
.cpt-places { margin-top: 6px; font-size: 13px; }
.cpt-places summary { cursor: pointer; color: var(--gold-deep, #a8851f); font-weight: 500; list-style: none; }
.cpt-places summary::-webkit-details-marker { display: none; }
.cpt-places summary::after { content: " ▾"; }
.cpt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; max-height: 190px; overflow: auto; padding-bottom: 4px; }
.cpt-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; cursor: pointer; transition: all .15s; }
.cpt-chip:hover { border-color: var(--gold); background: #fbf3dc; }
form.checkout #order_review table.shop_table { width: 100%; border: 0; border-collapse: collapse; color: #e9e1cd; }
form.checkout #order_review table.shop_table th, form.checkout #order_review table.shop_table td { padding: 12px 0; border: 0; border-bottom: 1px solid rgba(205, 169, 75, .22); text-align: left; vertical-align: top; background: none; }
form.checkout #order_review table.shop_table thead th { font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
form.checkout #order_review table.shop_table .product-total, form.checkout #order_review table.shop_table tfoot td { text-align: right; white-space: nowrap; color: #f4ecd8; }
form.checkout #order_review .product-name { color: #f4ecd8; font: 400 20px/1.2 var(--serif); }
form.checkout #order_review .product-quantity { font: 500 13px var(--sans); color: #a99f86; }
form.checkout #order_review dl.variation { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; font: 400 13px var(--sans); }
form.checkout #order_review dl.variation dt { color: #a99f86; font-weight: 400; margin: 0; }
form.checkout #order_review dl.variation dd { margin: 0; color: #f4ecd8; }
form.checkout #order_review dl.variation dd p { margin: 0; }
form.checkout #order_review .cpt-ship-where { display: block; margin-top: 2px; font: 400 12px var(--sans); color: #a99f86; }
form.checkout #order_review .order-total th { font: 500 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #cdbf9b; border-bottom: 0; }
form.checkout #order_review .order-total td { font: 400 32px/1 var(--serif); color: #f4e4b4; border-bottom: 0; }
.cpt-ship-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 6px; background: rgba(205, 169, 75, .12); font-size: 13px; line-height: 1.5; color: #e9e1cd; }
form.checkout #payment { background: transparent; border-radius: 0; margin-top: 8px; }
form.checkout #payment ul.payment_methods { padding: 0; border: 0; margin: 0 0 12px; list-style: none; }
form.checkout #payment ul.payment_methods li { padding: 10px 0; }
form.checkout #payment ul.payment_methods label { font: 500 14px var(--sans); color: #f4ecd8; }
form.checkout #payment div.payment_box { background: rgba(255, 255, 255, .06); color: #cdbf9b; border-radius: 6px; font-size: 13px; padding: 12px 14px; margin: 8px 0 0; }
form.checkout #payment div.payment_box::before { display: none; }
form.checkout #payment .woocommerce-privacy-policy-text { font-size: 12px; color: #a99f86; }
form.checkout #payment .woocommerce-privacy-policy-text a { color: var(--gold-light, #e6c877); }
form.checkout #place_order { width: 100%; padding: 18px; background: var(--gold); color: #17130a; border: 0; border-radius: 6px; font: 500 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
form.checkout #place_order:hover { background: #e6c877; }
.woocommerce-checkout .woocommerce-NoticeGroup, .woocommerce-checkout .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 18px; border: 0; border-left: 4px solid #b3382c; border-radius: 6px; background: #fbeceb; color: #5c1a14; }
.woocommerce-checkout .woocommerce-error li { margin: 0; }
.woocommerce-checkout .woocommerce-error::before { display: none; }
.woocommerce-checkout .woocommerce-info { margin: 0 0 24px; padding: 14px 18px; border: 0; border-left: 4px solid var(--gold); border-radius: 6px; background: #fff; list-style: none; }
.woocommerce-checkout .woocommerce-info::before { display: none; }
@media (max-width: 860px) {
  form.checkout { grid-template-columns: 1fr; }
  form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
  form.checkout #customer_details { padding: 20px 16px; }
  .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { grid-column: 1 / -1; }
  form.checkout #order_review { padding: 20px 16px; }
}
form.checkout #order_review table.shop_table, form.checkout #order_review table.shop_table tbody, form.checkout #order_review table.shop_table tfoot, form.checkout #order_review table.shop_table tr { background: transparent !important; }

/* Idées cadeaux (accueil et page dédiée) */
.cpt-occ { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cpt-occ li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px; }
.cpt-occ h3 { font: 400 26px/1.15 var(--serif); margin: 0 0 10px; }
.cpt-occ p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.cpt-occ__more { text-align: center; margin: 36px 0 0; }
@media (max-width: 860px) { .cpt-occ { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cpt-occ { grid-template-columns: 1fr; gap: 12px; } .cpt-occ li { padding: 20px 18px; } }
.cpt-content h2 { font: 400 clamp(26px, 3vw, 34px)/1.15 var(--serif); margin: 40px 0 14px; }
.cpt-content h3 { font: 400 24px/1.2 var(--serif); margin: 26px 0 8px; }
.cpt-content p, .cpt-content li { line-height: 1.7; }
.cpt-content .cpt-btn { margin: 8px 0; }

/* ===== Page Idées cadeaux : mise en page éditoriale sombre ===== */
.cpt-g { background: #0c0b09; color: #e9e1cd; background-image: radial-gradient(900px 500px at 85% 0, rgba(205, 169, 75, .10), transparent 70%); overflow: hidden; }
.cpt-g h1, .cpt-g h2, .cpt-g h3 { color: #f4ecd8; font-family: var(--serif); font-weight: 400; }
.cpt-g-eye { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.cpt-g-eye span { width: 40px; height: 1px; background: var(--gold); }
.cpt-g-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.cpt-g-hero h1 { font-size: clamp(38px, 5vw, 68px); font-weight: 300; line-height: 1.06; margin: 0 0 22px; max-width: 16ch; text-wrap: balance; }
.cpt-g-lede { max-width: 56ch; font-size: 18px; line-height: 1.65; color: #cdbf9b; margin: 0 0 30px; }
.cpt-g-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 96px); padding: clamp(28px, 5vw, 64px) 0; }
.cpt-g-pill { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #000; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.cpt-g-pill img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; display: block; }
.cpt-g-row--left .cpt-g-pill { border-radius: 0 999px 999px 0; }
.cpt-g-row--right .cpt-g-pill { border-radius: 999px 0 0 999px; }
.cpt-g-text { padding: 0 clamp(20px, 4vw, 64px) 0 0; max-width: 560px; }
.cpt-g-row--right .cpt-g-text { padding: 0 0 0 clamp(20px, 5vw, 80px); justify-self: end; }
.cpt-g-row--left .cpt-g-text { justify-self: start; padding-left: 0; }
.cpt-g-text h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; margin: 0 0 16px; }
.cpt-g-text p { line-height: 1.75; color: #cdbf9b; margin: 0 0 22px; }
.cpt-g-text strong { color: #f4ecd8; font-weight: 500; }
.cpt-g-more { color: var(--gold-light); text-decoration: none; font-size: 14px; letter-spacing: .08em; }
.cpt-g-more span { display: inline-block; margin-left: 10px; transition: transform .2s; }
.cpt-g-more:hover span { transform: translateX(6px); }
.cpt-g-band { padding: clamp(48px, 7vw, 96px) 0; }
.cpt-g-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.cpt-g-band h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; margin: 0 0 26px; }
.cpt-g-band__txt p { margin: 0 0 16px; line-height: 1.75; color: #cdbf9b; font-size: 15px; }
.cpt-g-rail-sec { padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.cpt-g-rail-head h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px; }
.cpt-g-rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 56px max(20px, calc(50vw - 150px)) 64px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cpt-g-rail::-webkit-scrollbar { display: none; }
.cpt-g-card { --k: 0; flex: 0 0 min(300px, 78vw); height: 420px; border-radius: 6px; position: relative; overflow: hidden; scroll-snap-align: center; background: #000 var(--bg) center 45% / cover no-repeat; transform: scale(calc(.9 + var(--k) * .12)); transform-origin: center; filter: brightness(calc(.55 + var(--k) * .45)); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .9); transition: transform .12s linear, filter .12s linear; }
.cpt-g-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .88) 100%); }
.cpt-g-card__in { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 20px 20px; }
.cpt-g-card h3 { font-size: 26px; line-height: 1.1; margin: 0 0 8px; }
.cpt-g-card p { margin: 0; font-size: 13px; line-height: 1.55; color: #e3d9bf; }
.cpt-g-rail-nav { display: flex; justify-content: center; gap: 12px; margin-top: -24px; }
.cpt-g-rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(205, 169, 75, .5); background: transparent; color: var(--gold-light); font-size: 18px; cursor: pointer; transition: background .2s; }
.cpt-g-rail-nav button:hover { background: rgba(205, 169, 75, .15); }
.cpt-g-why { padding: clamp(48px, 7vw, 100px) 0 clamp(56px, 8vw, 110px); }
.cpt-g-why__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.cpt-g-why__head h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 0 0 14px; }
.cpt-g-why__head p { color: #cdbf9b; line-height: 1.7; margin: 0; }
.cpt-g-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.cpt-g-stats svg { color: var(--gold); margin: 0 auto 14px; display: block; }
.cpt-g-stats strong { display: block; font: 400 clamp(36px, 4vw, 52px)/1 var(--serif); color: var(--gold-light); letter-spacing: .02em; }
.cpt-g-stats h3 { font-size: 22px; margin: 6px 0 12px; }
.cpt-g-stats p { margin: 0 auto; max-width: 30ch; font-size: 13.5px; line-height: 1.65; color: #b9ae92; }
.cpt-g-cta { text-align: center; margin: 48px 0 0; }
@media (max-width: 860px) {
  .cpt-g-row { grid-template-columns: 1fr; gap: 26px; }
  .cpt-g-row--right .cpt-g-pill { order: -1; }
  .cpt-g-text, .cpt-g-row--right .cpt-g-text, .cpt-g-row--left .cpt-g-text { padding: 0 20px; max-width: none; justify-self: stretch; }
  .cpt-g-pill { aspect-ratio: 16 / 11; }
  .cpt-g-band__grid { grid-template-columns: 1fr; gap: 20px; }
  .cpt-g-stats { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
}
@media (max-width: 560px) {
  .cpt-g-stats { grid-template-columns: 1fr; }
  .cpt-g-card { height: 400px; }
}

/* Idées cadeaux : bandeau d'en-tête centré, fond vidéo comme l'accueil */
.cpt-g-hero { position: relative; isolation: isolate; text-align: center; padding: clamp(80px, 11vw, 150px) 0 clamp(72px, 9vw, 120px); background: radial-gradient(1000px 520px at 50% 0, #1f1a10 0%, #080706 60%, #000 100%); }
.cpt-g-hero > .cpt-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cpt-g-hero .cpt-g-eye { justify-content: center; }
.cpt-g-hero .cpt-g-eye::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
.cpt-g-hero h1 { max-width: 18ch; margin-inline: auto; }
.cpt-g-hero .cpt-g-lede { margin-inline: auto; max-width: 58ch; }
.cpt-g-hero.has-video { background: #000; }
.cpt-g-hero.has-video .cpt-bgvideo__shade { background: radial-gradient(ellipse at center, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .1) 70%), linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 62%, #0c0b09 100%), rgba(0, 0, 0, var(--bg-shade, 52%)); }
.cpt-g-hero.has-video h1, .cpt-g-hero.has-video .cpt-g-lede, .cpt-g-hero.has-video .cpt-g-eye { text-shadow: 0 2px 22px rgba(0, 0, 0, .65); }
/* le reste de la page, centré */
.cpt-g-text { text-align: center; }
.cpt-g-text .cpt-g-eye { justify-content: center; }
.cpt-g-text .cpt-g-eye::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
.cpt-g-row--left .cpt-g-text, .cpt-g-row--right .cpt-g-text { justify-self: center; padding: 0 clamp(20px, 4vw, 56px); }
.cpt-g-band__grid { text-align: center; }
.cpt-g-band__grid .cpt-btn { margin-inline: auto; }
.cpt-g-rail-head { text-align: center; }
.cpt-g-rail-head .cpt-g-eye { justify-content: center; }
.cpt-g-rail-head .cpt-g-eye::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
.cpt-g-card__in { text-align: center; }

/* Caractéristiques : carrousel sur mobile */
.cpt-g-dots { display: none; }
@media (max-width: 860px) {
  .cpt-g-stats { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 6px 20px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cpt-g-stats::-webkit-scrollbar { display: none; }
  .cpt-g-stats li { flex: 0 0 min(78%, 320px); scroll-snap-align: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(205, 169, 75, .25); border-radius: 8px; padding: 28px 20px 26px; }
  .cpt-g-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .cpt-g-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(205, 169, 75, .3); cursor: pointer; transition: background .2s, transform .2s; }
  .cpt-g-dots i.is-on { background: var(--gold); transform: scale(1.25); }
  .cpt-g-cta { margin-top: 28px; }
}
@media (max-width: 860px) {
  .cpt-g-row { grid-template-columns: minmax(0, 1fr); }
  .cpt-g-row--left .cpt-g-text, .cpt-g-row--right .cpt-g-text { justify-self: stretch; width: auto; max-width: none; min-width: 0; padding: 0 20px; }
  .cpt-g-text, .cpt-g-band__grid > *, .cpt-g-why__head { min-width: 0; }
  .cpt-g-eye { gap: 10px; letter-spacing: .2em; }
  .cpt-g-eye span, .cpt-g-hero .cpt-g-eye::after, .cpt-g-text .cpt-g-eye::after, .cpt-g-rail-head .cpt-g-eye::after { width: 22px; flex: none; }
}
/* cartes : image en haut, texte lisible en dessous */
.cpt-g-eye { line-height: 1.5; }
.cpt-g-card { display: flex; flex-direction: column; height: 440px; background: #14120d; }
.cpt-g-card::before { content: ""; flex: 0 0 54%; background: #000 var(--bg) center 48% / cover no-repeat; }
.cpt-g-card::after { display: none; }
.cpt-g-card__in { position: static; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px 18px 18px; border-top: 1px solid rgba(205, 169, 75, .25); }
.cpt-g-card { background-image: none; }
.cpt-g-card h3 { font-size: 24px; margin-bottom: 6px; }
.cpt-g-card p { font-size: 12.5px; line-height: 1.5; }

/* ===== Cartes des modèles : carte sombre et dorée, prix et action mis en valeur ===== */
.cpt-model { position: relative; background: linear-gradient(180deg, #100e0a 0%, #050403 100%); border: 1px solid rgba(205, 169, 75, .3); border-radius: 16px; color: #f4ecd8; box-shadow: 0 18px 40px -26px rgba(40, 28, 4, .8); }
.cpt-model:hover { border-color: var(--gold); transform: translateY(-8px); box-shadow: 0 34px 60px -28px rgba(205, 169, 75, .55), 0 0 0 1px rgba(205, 169, 75, .35); }
.cpt-model__img { position: relative; -webkit-mask-image: linear-gradient(#000 80%, transparent 100%); mask-image: linear-gradient(#000 80%, transparent 100%); }
.cpt-model__body { gap: 8px; padding: 0 22px 22px; margin-top: -10px; }
.cpt-model__n { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 11px; letter-spacing: .26em; }
.cpt-model__n::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.cpt-model h3 { color: #f8f0dc; font-size: 30px; line-height: 1.1; }
.cpt-model__desc { color: #bdb293; font-size: 14.5px; }
.cpt-model__foot { align-items: center; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(205, 169, 75, .22); }
.cpt-model__price { color: #a99f86; font-size: 12px; letter-spacing: .04em; line-height: 1.3; }
.cpt-model__price strong { font: 400 24px/1.1 var(--serif); color: var(--gold-light); margin-top: 2px; }
.cpt-model__go { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: var(--gold); color: #17130a; font-size: 11px; letter-spacing: .14em; transition: background .2s, gap .2s; }
.cpt-model__go span { transition: transform .2s; }
.cpt-model:hover .cpt-model__go { background: var(--gold-light); }
.cpt-model:hover .cpt-model__go span { transform: translateX(4px); }
@media (max-width: 1100px) { .cpt-model__go { padding: 10px 13px; } .cpt-model h3 { font-size: 27px; } }

/* ===== Cartes des occasions : même style sombre et doré que les modèles ===== */
.cpt-occ { counter-reset: occ; }
.cpt-occ li { counter-increment: occ; padding: 0; background: linear-gradient(180deg, #100e0a 0%, #050403 100%); border: 1px solid rgba(205, 169, 75, .3); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(40, 28, 4, .8); transition: transform .3s, box-shadow .3s, border-color .3s; }
.cpt-occ li:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 34px 60px -28px rgba(205, 169, 75, .5), 0 0 0 1px rgba(205, 169, 75, .35); }
.cpt-occ li a { display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; text-decoration: none; color: inherit; background: radial-gradient(220px 140px at 100% 0, rgba(205, 169, 75, .14), transparent 70%); }
.cpt-occ__n { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.cpt-occ__n::before { content: "0" counter(occ); }
.cpt-occ__n::after { content: ""; width: 22px; height: 1px; background: var(--gold); }
.cpt-occ h3 { color: #f8f0dc; font-size: 28px; line-height: 1.1; margin: 0 0 10px; }
.cpt-occ p { color: #bdb293; flex: 1; }
.cpt-occ__go { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; margin-top: 20px; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #17130a; font: 500 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background .2s; }
.cpt-occ__go span { transition: transform .2s; }
.cpt-occ li:hover .cpt-occ__go { background: var(--gold-light); }
.cpt-occ li:hover .cpt-occ__go span { transform: translateX(4px); }
@media (max-width: 560px) { .cpt-occ li a { padding: 22px 20px 20px; } .cpt-occ h3 { font-size: 26px; } }

/* icônes des occasions */
.cpt-occ__ico { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px; border-radius: 50%; color: var(--gold-light); border: 1px solid rgba(205, 169, 75, .45); background: radial-gradient(circle at 30% 25%, rgba(205, 169, 75, .28), rgba(205, 169, 75, .04) 70%); transition: background .3s, color .3s, transform .3s; }
.cpt-occ__ico svg { width: 30px; height: 30px; }
.cpt-occ li:hover .cpt-occ__ico { background: var(--gold); color: #17130a; transform: rotate(-6deg) scale(1.06); }
@media (max-width: 560px) { .cpt-occ__ico { width: 50px; height: 50px; margin-bottom: 14px; } }

/* fiche produit mobile : l'aperçu touche directement l'en-tête, sans bande blanche au-dessus */
@media (max-width: 860px) {
  .cpc-product .cpt-shop { padding-top: 0; }
  .cpc-product .cpt-header + main, .cpc-product main.cpt-main { padding-top: 0; }
  .cpc-product div.product .cp-preview { margin-top: 0; padding-top: 0; }
  .cpc-product .cp-stage { max-height: 38vh; }
}
/* prix « À partir de » : le vert olive de WooCommerce est remplacé par l'or chaud du site */
.woocommerce div.product.cpc-product p.price, .woocommerce div.product.cpc-product span.price, .cpc-product .summary > .price { color: var(--gold-deep) !important; }
.cpc-product .summary > .price .amount, .cpc-product .summary > .price bdi { color: var(--ink) !important; }

/* fiche produit mobile : aperçu plus haut, le collier (pampille, lariat) n'est plus coupé ni collé au contenu */
@media (max-width: 860px) {
  .cpc-product .cp-stage { aspect-ratio: 1 / .92; max-height: 50vh; }
  .cpc-product .cp-stage canvas { object-position: 50% 62%; }
  .cpc-product div.product .cp-preview { padding-bottom: 16px; }
  .cpc-product div.product .summary { padding-top: 8px; }
}

/* fiche produit mobile : aperçu réduit une fois collé en haut (plus de place pour les choix) */
@media (max-width: 860px) {
  .cpc-product { overflow-anchor: none; }
  .cpc-product div.product .cp-preview.is-stuck { padding-bottom: 8px; }
  .cpc-product div.product .cp-preview.is-stuck .cp-stage { aspect-ratio: auto; height: 21vh; max-height: 21vh; }
  .cpc-product div.product .cp-preview.is-stuck .cp-stage canvas { object-fit: contain; object-position: 50% 50%; }
  .cpc-product div.product .cp-preview.is-stuck .cp-stage__bar { display: none; }
}

/* fiche produit mobile : l'aperçu défile avec la page (il ne reste plus collé en haut) */
@media (max-width: 860px) {
  .cpc-product div.product .cp-preview, .admin-bar.cpc-product div.product .cp-preview { position: static; top: auto; z-index: auto; box-shadow: none; }
}
