/* Dom Confiserie : charte noir réglisse + or du logo, bonbons de chaque côté. */

@font-face { font-family: "Gloock"; src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gloock"; src: url("../fonts/gloock-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Parisienne"; src: url("../fonts/parisienne-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Parisienne"; src: url("../fonts/parisienne-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --reglisse: #1E1711;
  --reglisse-2: #2A2019;
  --reglisse-3: #3A2D22;
  --or: #CFA557;
  --or-pale: #E8CF97;
  --or-sombre: #8F6C2E;
  --ivoire: #F4EBDA;
  --ivoire-2: #E6DAC4;
  --texte-sombre: #3B2E24;
  --berlingot: #C23A3F;
  --berlingot-sombre: #9E2A30;
  --sucette: #55A2CA;
  --f-titre: "Gloock", Georgia, "Times New Roman", serif;
  --f-corps: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-script: "Parisienne", "Brush Script MT", cursive;
  --largeur: 1200px;
  --gouttiere: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --pan: 14px;
  --ecusson: polygon(var(--pan) 0, calc(100% - var(--pan)) 0, 100% var(--pan), 100% calc(100% - var(--pan)), calc(100% - var(--pan)) 100%, var(--pan) 100%, 0 calc(100% - var(--pan)), 0 var(--pan));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background-color: var(--reglisse); color: var(--ivoire-2); font-family: var(--f-corps); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--or-pale); text-underline-offset: 3px; }
a:hover { color: var(--ivoire); }
:focus-visible { outline: 2px solid var(--sucette); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 400; color: var(--ivoire); line-height: 1.1; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.dom-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dom-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--or); color: var(--reglisse); padding: 10px 16px; border-radius: 6px; }
.dom-evitement:focus { top: 12px; }

/* Signature : les bonbons de chaque côté de la page (demande de la cliente), sur écran large uniquement. */
@media (min-width: 1400px) {
  body::before, body::after {
    content: ""; position: fixed; top: 0; bottom: 0; z-index: -1; pointer-events: none;
    width: calc((100vw - var(--largeur)) / 2 - 24px); max-width: 220px;
    background-image: url("../img/colonne-bonbons.svg"); background-repeat: repeat-y; background-size: 132px auto; background-position: center 30px;
  }
  body::before { left: 0; }
  body::after { right: 0; transform: scaleX(-1); background-position: center 620px; }
}

/* ---------- En-tête ---------- */
.dom-entete { position: sticky; top: 0; z-index: 50; background-color: rgba(30, 23, 17, .96); border-bottom: 1px solid rgba(207, 165, 87, .45); backdrop-filter: blur(6px); }
.admin-bar .dom-entete { top: 32px; }
.dom-entete__barre { max-width: var(--largeur); margin: 0 auto; padding: 10px var(--gouttiere); display: flex; flex-direction: row; align-items: center; gap: 28px; }
.dom-entete__logo { display: block; flex: 0 0 auto; line-height: 0; }
.dom-entete__logo img { height: 62px; width: auto; }
.dom-nav { display: flex; flex-direction: row; gap: 26px; margin-left: auto; }
.dom-nav a { color: var(--ivoire-2); text-decoration: none; font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.dom-nav a:hover { color: var(--or-pale); border-bottom-color: var(--or); }
.dom-panier { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--or); border-radius: 50%; color: var(--or-pale); }
.dom-panier svg { width: 22px; height: 22px; }
.dom-panier__compte { position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background-color: var(--berlingot); color: #fff; font-size: .72rem; font-weight: 600; line-height: 20px; text-align: center; }
.dom-panier__compte[data-count="0"] { display: none; }
.dom-burger { display: none; }

@media (max-width: 960px) {
  .dom-entete__barre { gap: 14px; }
  .dom-entete__logo img { height: 48px; }
  .dom-burger { display: inline-flex; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; background: none; border: 1px solid rgba(207, 165, 87, .6); border-radius: 50%; color: var(--or-pale); cursor: pointer; }
  .dom-burger__trait, .dom-burger__trait::before, .dom-burger__trait::after { display: block; width: 18px; height: 2px; background-color: currentColor; border-radius: 2px; position: relative; }
  .dom-burger__trait::before, .dom-burger__trait::after { content: ""; position: absolute; left: 0; }
  .dom-burger__trait::before { top: -6px; }
  .dom-burger__trait::after { top: 6px; }
  .dom-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gouttiere) 20px; background-color: var(--reglisse); border-bottom: 1px solid rgba(207, 165, 87, .45); }
  .dom-nav a { padding: 14px 0; border-bottom: 1px solid rgba(207, 165, 87, .18); font-size: .9rem; }
  .dom-nav-ouverte .dom-nav { display: flex; }
}
@media (max-width: 782px) { .admin-bar .dom-entete { top: 46px; } }

/* Bandeau « boutique de démonstration » de WooCommerce */
body.domconf .woocommerce-store-notice, body.domconf p.demo_store { position: relative !important; top: auto !important; bottom: auto !important; margin: 0; padding: 8px var(--gouttiere); background-color: var(--or); color: var(--reglisse); font-size: .85rem; font-weight: 500; text-align: center; box-shadow: none; }
body.domconf .woocommerce-store-notice a { color: var(--reglisse); font-weight: 600; margin-left: 10px; }

/* ---------- Charte appliquée aux widgets Elementor (verrou contre le kit, spécificité > 0,2,0) ---------- */
body.domconf .elementor-widget-heading .elementor-heading-title { font-family: var(--f-titre); font-weight: 400; color: var(--ivoire); line-height: 1.1; }
body.domconf .elementor-widget-text-editor { font-family: var(--f-corps); color: var(--ivoire-2); font-size: 1.0625rem; line-height: 1.65; }
body.domconf .elementor-widget-text-editor p { margin: 0 0 .8em; }
body.domconf .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
body.domconf .dom-page .elementor-widget:not(:last-child) { margin-block-end: 0; margin-bottom: 0; }
body.domconf h1.elementor-heading-title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.04; }
body.domconf h2.elementor-heading-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
body.domconf h3.elementor-heading-title { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; }

/* Surtitre : capitales espacées, filets dorés (repris des visuels de la cliente) */
body.domconf .dom-surtitre, body.domconf .dom-surtitre p { font-family: var(--f-corps); font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--or); margin: 0; }
body.domconf .dom-surtitre p { display: inline-flex; align-items: center; gap: 12px; }
body.domconf .dom-surtitre p::before, body.domconf .dom-surtitre p::after { content: ""; width: 28px; height: 1px; background-color: var(--or); opacity: .7; }
body.domconf .dom-surtitre--gauche p::before { display: none; }

/* Script : réservé aux slogans de la cliente */
body.domconf .dom-script, body.domconf .dom-script p { font-family: var(--f-script); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.2; color: var(--or-pale); margin: 0; }

/* Boutons */
body.domconf .dom-btn .elementor-button { background-color: var(--or); color: var(--reglisse); font-family: var(--f-corps); font-weight: 600; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; padding: 16px 30px; border: 1px solid var(--or); transition: background-color .2s, transform .2s; }
body.domconf .dom-btn .elementor-button:hover { background-color: var(--or-pale); color: var(--reglisse); transform: translateY(-2px); }
body.domconf .dom-lien .elementor-button { background-color: transparent; color: var(--or-pale); font-family: var(--f-corps); font-weight: 500; font-size: .95rem; padding: 16px 4px; border-radius: 0; text-decoration: underline; text-decoration-color: rgba(207, 165, 87, .6); text-underline-offset: 6px; }
body.domconf .dom-lien .elementor-button:hover { color: var(--ivoire); background-color: transparent; }
body.domconf .dom-btn--sombre .elementor-button { background-color: var(--reglisse); color: var(--ivoire); border-color: var(--reglisse); }
body.domconf .dom-btn--sombre .elementor-button:hover { background-color: var(--reglisse-3); color: var(--or-pale); }

/* Illustrations décoratives (widget html) */
body.domconf .dom-illu img { display: block; width: 120px; height: 120px; }
body.domconf .dom-ico svg { width: 22px; height: 22px; color: var(--or); flex-shrink: 0; }

/* ---------- Structure des sections (containers stylés par _element_id) ---------- */
body.domconf #annonce, body.domconf #hero, body.domconf #rayons, body.domconf #boutique, body.domconf #cartes-cadeaux,
body.domconf #engagement, body.domconf #livraison, body.domconf #faq, body.domconf #contact, body.domconf #bande-finale {
  --display: flex !important; --flex-direction: column !important; flex-direction: column !important; align-items: center !important;
  padding-top: var(--section-y) !important; padding-bottom: var(--section-y) !important; padding-left: 0 !important; padding-right: 0 !important;
}
body.domconf #annonce { padding-top: 14px !important; padding-bottom: 14px !important; border-bottom: 1px solid rgba(207, 165, 87, .22); }
body.domconf #hero { padding-top: clamp(40px, 6vw, 80px) !important; }

body.domconf [id^="in-"] {
  --margin-left: auto; --margin-right: auto; --padding-left: var(--gouttiere); --padding-right: var(--gouttiere);
  width: 100% !important; max-width: var(--largeur) !important; margin-left: auto !important; margin-right: auto !important; align-self: center !important;
  padding-left: var(--gouttiere) !important; padding-right: var(--gouttiere) !important;
  --display: flex !important; --flex-direction: column !important; flex-direction: column !important; gap: 36px !important;
}

/* En-têtes de section centrés */
body.domconf [id^="tete-"] { --display: flex !important; --flex-direction: column !important; flex-direction: column !important; align-items: center !important; text-align: center; gap: 14px !important; max-width: 720px; margin-left: auto !important; margin-right: auto !important; align-self: center !important; }
body.domconf [id^="tete-"] .elementor-widget { width: 100%; }

/* Barre de confiance */
body.domconf #in-annonce { --flex-direction: row !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; gap: 10px 34px !important; }
body.domconf [id^="atout-"] { --display: flex !important; --flex-direction: row !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; width: auto !important; }
body.domconf [id^="atout-"] .elementor-widget-text-editor, body.domconf [id^="atout-"] .elementor-widget-text-editor p { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ivoire-2); }

/* Hero */
body.domconf #in-hero { --display: grid !important; grid-template-columns: 1.15fr .85fr; align-items: center !important; gap: clamp(32px, 5vw, 72px) !important; }
body.domconf #hero-texte { --display: flex !important; --flex-direction: column !important; flex-direction: column !important; gap: 20px !important; align-items: flex-start !important; }
body.domconf #hero-texte .elementor-widget { width: 100%; }
body.domconf #hero-actions { --display: flex !important; --flex-direction: row !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; gap: 12px 26px !important; margin-top: 8px; }
body.domconf #hero-actions .elementor-widget { width: auto; }
body.domconf #hero .elementor-widget-text-editor { font-size: 1.15rem; max-width: 34em; }
body.domconf .dom-arche img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; outline: 1px solid var(--or); outline-offset: 10px; }
body.domconf #hero-visuel { padding: 12px !important; }

/* Rayons (catégories) */
body.domconf #rayons-grille { --display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px !important; }
body.domconf [id^="rayon-"] {
  --display: flex !important; --flex-direction: column !important; flex-direction: column !important; align-items: center !important; text-align: center; gap: 12px !important;
  padding: 30px 20px 26px !important; background-color: var(--reglisse-2); border: 1px solid rgba(207, 165, 87, .5); clip-path: var(--ecusson); transition: background-color .2s;
}
body.domconf [id^="rayon-"]:hover { background-color: var(--reglisse-3); }
body.domconf [id^="rayon-"] .elementor-widget { width: 100%; }
body.domconf [id^="rayon-"] .dom-illu img { margin: 0 auto 4px; width: 104px; height: 104px; }
body.domconf .dom-prix, body.domconf .dom-prix p { font-family: var(--f-corps); font-weight: 600; font-size: .9rem; letter-spacing: .08em; color: var(--or) !important; margin: 0; }

/* Grille produits WooCommerce : étiquettes de bocal en écusson */
body.domconf .woocommerce ul.products, body.domconf ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
body.domconf ul.products::before, body.domconf ul.products::after { display: none !important; }
body.domconf ul.products li.product {
  position: relative; isolation: isolate; float: none !important; width: auto !important; margin: 0 !important;
  display: flex; flex-direction: column; padding: 14px 14px 20px !important; text-align: center;
  background-color: var(--or); clip-path: var(--ecusson); transition: transform .2s;
}
body.domconf ul.products li.product::before { content: ""; position: absolute; inset: 1.5px; z-index: -1; background-color: var(--ivoire); clip-path: var(--ecusson); }
body.domconf ul.products li.product:hover { transform: translateY(-4px); }
body.domconf ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--reglisse); text-decoration: none; }
body.domconf ul.products li.product img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 14px !important; border-radius: 6px; }
body.domconf ul.products li.product .woocommerce-loop-product__title { font-family: var(--f-titre); font-weight: 400; font-size: 1.12rem !important; line-height: 1.2; color: var(--reglisse); padding: 0 4px !important; margin: 0 0 6px !important; }
body.domconf ul.products li.product .price { display: block; margin: auto 0 12px !important; font-family: var(--f-corps); font-weight: 600; font-size: 1rem !important; color: var(--berlingot-sombre) !important; }
body.domconf ul.products li.product .price del { color: var(--texte-sombre); opacity: .6; }
body.domconf ul.products li.product .button, body.domconf .woocommerce a.added_to_cart {
  display: inline-block; align-self: center; margin: 0 !important; padding: 11px 18px; border-radius: 999px;
  background-color: var(--reglisse); color: var(--ivoire); font-family: var(--f-corps); font-weight: 600; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
}
body.domconf ul.products li.product .button:hover { background-color: var(--berlingot-sombre); color: #fff; }
body.domconf .woocommerce a.added_to_cart { margin-top: 8px !important; background-color: transparent; color: var(--reglisse); text-decoration: underline; }
body.domconf .woocommerce span.onsale { background-color: var(--berlingot); border-radius: 999px; min-height: 0; min-width: 0; padding: 4px 10px; line-height: 1.4; font-size: .72rem; top: 18px; left: 18px; right: auto; }

body.domconf #boutique-suite { --display: flex !important; --flex-direction: row !important; flex-direction: row !important; justify-content: center !important; }

/* Cartes cadeaux */
body.domconf #in-cartes { --display: grid !important; grid-template-columns: 1.1fr .9fr; align-items: center !important; gap: clamp(32px, 5vw, 64px) !important; }
body.domconf #cartes-visuel img { display: block; width: 100%; border-radius: 16px; border: 1px solid rgba(207, 165, 87, .6); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
body.domconf #cartes-texte { --display: flex !important; --flex-direction: column !important; flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
body.domconf #cartes-texte .elementor-widget { width: 100%; }
body.domconf #cartes-texte .elementor-widget-button { width: auto; }

/* Engagement : étiquette ivoire (seule section claire) */
body.domconf #in-engagement { max-width: 1040px !important; }
body.domconf #engagement-etiquette {
  --display: grid !important; grid-template-columns: 180px 1fr; align-items: center !important; gap: clamp(24px, 4vw, 48px) !important;
  position: relative; isolation: isolate; padding: clamp(32px, 5vw, 56px) !important; background-color: var(--or); clip-path: var(--ecusson); --pan: 22px;
}
body.domconf #engagement-etiquette::before { content: ""; position: absolute; inset: 2px; z-index: -1; background-color: var(--ivoire); clip-path: var(--ecusson); }
body.domconf #engagement-texte { --display: flex !important; --flex-direction: column !important; flex-direction: column !important; gap: 14px !important; }
body.domconf #engagement-texte .elementor-widget { width: 100%; }
body.domconf #engagement .elementor-widget-heading .elementor-heading-title { color: var(--reglisse); }
body.domconf #engagement .elementor-widget-text-editor, body.domconf #engagement .elementor-widget-text-editor p { color: var(--texte-sombre); }
body.domconf #engagement .dom-surtitre p { color: var(--or-sombre); }
body.domconf #engagement .dom-surtitre p::before, body.domconf #engagement .dom-surtitre p::after { background-color: var(--or-sombre); }
body.domconf #engagement .dom-illu img { width: 180px; height: 180px; }

/* Livraison */
body.domconf #livraison-grille { --display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px !important; }
body.domconf [id^="mode-"] {
  --display: flex !important; --flex-direction: column !important; flex-direction: column !important; gap: 10px !important;
  padding: 28px 28px 26px !important; border: 1px solid rgba(207, 165, 87, .45); border-radius: 14px; background-color: rgba(42, 32, 25, .7);
}
body.domconf [id^="mode-"] .elementor-widget { width: 100%; }
body.domconf [id^="mode-"] .dom-ico svg { width: 34px; height: 34px; }

/* FAQ */
body.domconf #faq-liste { --display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px !important; }
body.domconf [id^="question-"] { --display: flex !important; --flex-direction: column !important; flex-direction: column !important; gap: 8px !important; padding: 22px 0 !important; border-top: 1px solid rgba(207, 165, 87, .3); }
body.domconf [id^="question-"] .elementor-widget { width: 100%; }
body.domconf [id^="question-"] .elementor-heading-title { color: var(--or-pale); font-size: 1.2rem !important; }

/* Contact */
body.domconf #in-contact { --display: grid !important; grid-template-columns: .9fr 1.1fr; align-items: start !important; gap: clamp(32px, 5vw, 64px) !important; }
body.domconf #contact-infos { --display: flex !important; --flex-direction: column !important; flex-direction: column !important; gap: 16px !important; }
body.domconf #contact-infos .elementor-widget { width: 100%; }
body.domconf .dom-coord a { color: var(--ivoire); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(207, 165, 87, .6); }
body.domconf .dom-coord strong { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--or); margin-top: 6px; }
body.domconf .dom-tel, body.domconf .dom-tel p { font-family: var(--f-titre); font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--ivoire); }
body.domconf .dom-tel a { color: var(--ivoire); text-decoration: none; }

.dom-form { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 3vw, 34px); background-color: var(--reglisse-2); border: 1px solid rgba(207, 165, 87, .45); border-radius: 16px; }
.dom-form__champ { display: flex !important; flex-direction: column; gap: 6px; }
.dom-form__champ--large { grid-column: 1 / -1; }
.dom-form label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.dom-form input, .dom-form textarea, .dom-form select { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(232, 207, 151, .35); background-color: var(--reglisse); color: var(--ivoire); font: inherit; }
.dom-form input:focus, .dom-form textarea:focus { border-color: var(--or); outline: none; box-shadow: 0 0 0 3px rgba(207, 165, 87, .25); }
.dom-form button { grid-column: 1 / -1; justify-self: start; padding: 16px 30px; border: 0; border-radius: 999px; background-color: var(--or); color: var(--reglisse); font: 600 .86rem/1 var(--f-corps); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.dom-form button:hover { background-color: var(--or-pale); }
.dom-form__retour { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 10px; background-color: rgba(207, 165, 87, .14); color: var(--ivoire); font-size: .95rem; }
.dom-form__note { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--ivoire-2); opacity: .8; }

/* Bande finale */
body.domconf #bande-finale { border-top: 1px solid rgba(207, 165, 87, .22); }
body.domconf #in-bande { align-items: center !important; text-align: center; gap: 22px !important; }
body.domconf #in-bande .elementor-widget { width: 100%; }
body.domconf #in-bande .elementor-widget-button { width: auto; }
body.domconf #in-bande .dom-script p { font-size: clamp(2rem, 4.4vw, 3.2rem); }

/* ---------- Pages WooCommerce (boutique, catégorie, fiche produit) ---------- */
.dom-wc { max-width: var(--largeur); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--gouttiere) var(--section-y); }
.dom-wc .woocommerce-breadcrumb { font-size: .82rem; letter-spacing: .06em; color: var(--ivoire-2); margin: 0 0 22px; }
.dom-wc .woocommerce-breadcrumb a { color: var(--or-pale); text-decoration: none; }
.dom-ariane__sep { margin: 0 8px; opacity: .5; }
.dom-wc .woocommerce-products-header__title, .dom-wc .product_title { font-family: var(--f-titre); font-weight: 400; color: var(--ivoire); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; }
.dom-wc .term-description { max-width: 46em; margin-bottom: 18px; }
.dom-wc .woocommerce-result-count { color: var(--ivoire-2); font-size: .9rem; }
.dom-wc .woocommerce-ordering select { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(207, 165, 87, .5); background-color: var(--reglisse-2); color: var(--ivoire); font: inherit; }

.dom-wc div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.dom-wc div.product::before, .dom-wc div.product::after { display: none; }
.dom-wc div.product .woocommerce-product-gallery, .dom-wc div.product .summary { float: none !important; width: auto !important; margin: 0 !important; }
.dom-wc div.product .woocommerce-product-gallery__image img { border-radius: 14px; border: 1px solid rgba(207, 165, 87, .5); }
.dom-wc div.product .woocommerce-tabs, .dom-wc div.product .related, .dom-wc div.product .upsells { grid-column: 1 / -1; }
.dom-wc div.product p.price, .dom-wc div.product span.price { font-family: var(--f-corps); font-weight: 600; font-size: 1.5rem; color: var(--or) !important; margin: 0 0 18px; }
.dom-wc .woocommerce-product-details__short-description { color: var(--ivoire-2); margin-bottom: 22px; }
.dom-wc div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 24px; }
.dom-wc div.product form.cart.variations_form { display: block; }
.dom-wc div.product form.cart .quantity input { width: 78px; padding: 14px 10px; border-radius: 999px; border: 1px solid rgba(207, 165, 87, .6); background-color: var(--reglisse-2); color: var(--ivoire); text-align: center; font: inherit; }
.dom-wc .single_add_to_cart_button, .dom-wc button.button, .dom-wc a.button, .dom-wc input.button {
  padding: 16px 28px !important; border-radius: 999px !important; border: 0; background-color: var(--or) !important; color: var(--reglisse) !important;
  font-family: var(--f-corps) !important; font-weight: 600 !important; font-size: .86rem !important; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
}
.dom-wc .single_add_to_cart_button:hover, .dom-wc button.button:hover, .dom-wc a.button:hover { background-color: var(--or-pale) !important; }
.dom-wc .single_add_to_cart_button.disabled { opacity: .55; }
.dom-wc table.variations { margin: 0 0 16px; border: 0; }
.dom-wc table.variations th, .dom-wc table.variations td { display: block; padding: 0 0 8px; border: 0; background: none; text-align: left; }
.dom-wc table.variations label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.dom-wc table.variations select { min-width: 240px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(207, 165, 87, .6); background-color: var(--reglisse-2); color: var(--ivoire); font: inherit; }
.dom-wc .reset_variations { color: var(--or-pale); font-size: .85rem; }
.dom-wc .woocommerce-variation-price .price { font-size: 1.3rem; }
.dom-wc .product_meta { font-size: .88rem; color: var(--ivoire-2); border-top: 1px solid rgba(207, 165, 87, .25); padding-top: 14px; }
.dom-wc .product_meta a { color: var(--or-pale); }
.dom-wc .woocommerce-tabs { margin-top: 20px; }
.dom-wc .woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0 !important; margin: 0 0 18px !important; list-style: none; border-bottom: 1px solid rgba(207, 165, 87, .3); }
.dom-wc .woocommerce-tabs ul.tabs::before, .dom-wc .woocommerce-tabs ul.tabs li::before, .dom-wc .woocommerce-tabs ul.tabs li::after { display: none !important; }
.dom-wc .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.dom-wc .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 16px !important; color: var(--ivoire-2) !important; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; text-decoration: none; border-bottom: 2px solid transparent; }
.dom-wc .woocommerce-tabs ul.tabs li.active a { color: var(--or-pale) !important; border-bottom-color: var(--or); }
.dom-wc .woocommerce-Tabs-panel h2 { font-size: 1.5rem; }
.dom-wc .related > h2, .dom-wc .upsells > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 22px; text-align: center; }
.dom-wc .woocommerce-message, .dom-wc .woocommerce-info, .dom-wc .woocommerce-error { background-color: var(--reglisse-2); color: var(--ivoire); border-top-color: var(--or); }
.dom-wc .woocommerce-message::before, .dom-wc .woocommerce-info::before { color: var(--or); }
.dom-wc .woocommerce-message a.button { margin-left: 12px; }
.dom-wc .woocommerce-pagination ul { border: 0 !important; display: flex; gap: 6px; justify-content: center; }
.dom-wc .woocommerce-pagination ul li { border: 0 !important; }
.dom-wc .woocommerce-pagination a, .dom-wc .woocommerce-pagination span { border-radius: 8px; color: var(--ivoire) !important; }

/* Panier, commande, compte : blocs WooCommerce sur fond ivoire (ils sont dessinés pour un fond clair) */
body.woocommerce-cart .dom-page, body.woocommerce-checkout .dom-page, body.woocommerce-account .dom-page {
  max-width: var(--largeur); margin: clamp(24px, 4vw, 48px) auto var(--section-y); padding: clamp(24px, 4vw, 48px) var(--gouttiere);
  background-color: var(--ivoire); color: var(--texte-sombre); border-radius: 18px;
}
body.woocommerce-cart .dom-page h1, body.woocommerce-checkout .dom-page h1, body.woocommerce-account .dom-page h1,
body.woocommerce-cart .dom-page h2, body.woocommerce-checkout .dom-page h2, body.woocommerce-account .dom-page h2 { color: var(--reglisse); }
body.woocommerce-cart .dom-page h1, body.woocommerce-checkout .dom-page h1, body.woocommerce-account .dom-page h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 24px; }
body.woocommerce-cart .dom-page a, body.woocommerce-checkout .dom-page a, body.woocommerce-account .dom-page a { color: var(--berlingot-sombre); }
body.domconf .wc-block-components-button:not(.is-link), body.domconf .wc-block-cart__submit-button, body.domconf .wc-block-components-checkout-place-order-button {
  background-color: var(--reglisse) !important; color: var(--ivoire) !important; border-radius: 999px !important; font-family: var(--f-corps); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
body.domconf .wc-block-components-button:not(.is-link):hover { background-color: var(--berlingot-sombre) !important; }
body.domconf .wc-block-components-product-name { font-family: var(--f-titre); color: var(--reglisse) !important; font-size: 1.1rem; }
body.domconf .woocommerce-account .woocommerce-MyAccount-navigation ul { padding-left: 0; list-style: none; }

/* Pages simples (mentions légales) */
.dom-page--simple { max-width: 820px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gouttiere) var(--section-y); }
.dom-legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 8px 0 28px; }
.dom-legal h2 { font-size: 1.35rem; color: var(--or-pale); margin: 34px 0 10px; }
.dom-legal__retour a { font-size: .9rem; text-decoration: none; }

/* ---------- Pied de page ---------- */
.dom-pied { border-top: 1px solid rgba(207, 165, 87, .45); background-color: #17110C; padding: 56px var(--gouttiere) 28px; font-size: .95rem; }
.dom-pied__grille { max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
.dom-pied__logo { width: 170px; height: auto; margin-bottom: 10px; }
.dom-pied__slogan { font-family: var(--f-script); font-size: 1.7rem; color: var(--or-pale); margin: 0 0 6px; line-height: 1.2; }
.dom-pied__titre { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--or); margin: 6px 0 14px; }
.dom-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dom-pied a { color: var(--ivoire-2); text-decoration: none; }
.dom-pied a:hover { color: var(--or-pale); }
.dom-pied__reseaux { display: flex; gap: 18px; margin-top: 4px; }
.dom-pied__reseaux a { border-bottom: 1px solid rgba(207, 165, 87, .6); }
.dom-pied__bas { max-width: var(--largeur); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(207, 165, 87, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; opacity: .85; }
.dom-pied__bas p { margin: 0; }
.dom-pied__bas a { text-decoration: underline; text-underline-offset: 3px; }

/* Barre d'accès rapide mobile */
.dom-collant { display: none; }
@media (max-width: 700px) {
  .dom-collant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(100%); transition: transform .25s; box-shadow: 0 -8px 24px rgba(0, 0, 0, .4); }
  .dom-collant.est-visible { transform: translateY(0); }
  .dom-collant a { padding: 16px 10px; text-align: center; font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
  .dom-collant__appel { background-color: var(--or); color: var(--reglisse); }
  .dom-collant__boutique { background-color: var(--berlingot-sombre); color: #fff; }
  body.domconf { padding-bottom: 56px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  body.domconf #rayons-grille, body.domconf ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  body.domconf #in-hero, body.domconf #in-cartes, body.domconf #in-contact { grid-template-columns: 1fr; }
  body.domconf #rayons-grille, body.domconf ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.domconf #engagement-etiquette { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  body.domconf #engagement .dom-surtitre p::before { display: block; }
  body.domconf #engagement .dom-illu img { width: 130px; height: 130px; }
  body.domconf #faq-liste, body.domconf #livraison-grille { grid-template-columns: 1fr; }
  .dom-wc div.product { grid-template-columns: 1fr; }
  .dom-pied__grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body.domconf #hero-visuel { display: none !important; }
  body.domconf #in-annonce { gap: 8px 20px !important; }
  body.domconf ul.products { gap: 14px; }
  body.domconf ul.products li.product { padding: 10px 10px 16px !important; }
  body.domconf ul.products li.product .woocommerce-loop-product__title { font-size: 1rem !important; }
  body.domconf ul.products li.product .button { padding: 10px 12px; font-size: .7rem; }
  .dom-form { grid-template-columns: 1fr; }
  .dom-pied__grille { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  body.domconf #rayons-grille { grid-template-columns: 1fr !important; }
}
