/* ==========================================================================
   Sud Granulés — couche design 2026
   Chargée en dernier depuis header.tpl (après HOOK_HEADER), hors CCC.
   Surcharge global.css / product.css sans les modifier.
   Sommaire : 1 jetons · 2 base · 3 boutons · 4 formulaires · 5 en-tête
   6 code postal · 7 accueil · 8 fiche produit · 9 panier et commande
   10 compte, contact, CMS, 404 · 11 pied de page
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Jetons --------------------------------------------------------------- */
:root {
  --sg-mousse: #606c38;
  --sg-foret: #283618;
  --sg-creme: #fefae0;
  --sg-blond: #dda15e;
  --sg-braise: #bc6c25;

  --sg-braise-fonce: #9c5719;
  --sg-papier: #fffdf1;
  --sg-trait: rgba(40, 54, 24, 0.18);
  --sg-trait-fort: rgba(40, 54, 24, 0.45);
  --sg-texte-doux: #55603a;
  --sg-erreur: #a3261a;

  --sg-police: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sg-rayon: 6px;
  --sg-rayon-bloc: 14px;
  --sg-largeur: 1180px;
  --sg-case: 54px;
}

/* 2. Base ----------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--sg-creme);
  color: var(--sg-foret);
  font: 400 16px/1.55 var(--sg-police);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Une seule famille partout. Les icônes FontAwesome (<i>, .icon-*) gardent la leur. */
#page *:not(i):not([class^="icon-"]):not([class*=" icon-"]) {
  font-family: var(--sg-police) !important;
}

#page,
.columns-container,
#columns,
.header-container,
#header { background: transparent; }

.columns-container,
#contact .columns-container {
  background: transparent;
  background-image: none;
  min-height: 46vh;
  padding-top: 0;
}
#page,
#page * { text-shadow: none !important; }

.container,
#columns.container {
  width: auto;
  max-width: var(--sg-largeur);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
#columns { padding-top: 40px; padding-bottom: 72px; }
#index #columns { padding: 0; max-width: none; }

#page h1,
#page h2,
#page h3,
#page .page-heading,
#page .page-subheading {
  color: var(--sg-foret);
  font-stretch: 80%;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-transform: none;
}

#page a { color: var(--sg-foret); text-decoration-color: var(--sg-trait-fort); }
#page a:hover { color: var(--sg-braise-fonce); }

#page :focus-visible {
  outline: 3px solid var(--sg-blond);
  outline-offset: 2px;
}

#page .page-heading {
  border: 0;
  border-bottom: 1px solid var(--sg-trait);
  font-size: 34px;
  margin: 0 0 28px;
  padding: 0 0 16px;
  text-align: left;
  overflow: visible;
}
#page .page-subheading {
  border: 0;
  border-bottom: 1px solid var(--sg-trait);
  font-size: 22px;
  margin: 0 0 18px;
  padding: 0 0 12px;
}

#page .box {
  background: var(--sg-papier);
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  padding: 28px;
}

#page p,
#page li,
#page td,
#page th,
#page label { font-size: 16px; line-height: 1.55; }
#page label { color: var(--sg-foret); font-weight: 600; }

/* Messages */
#page .alert {
  border-radius: var(--sg-rayon);
  border: 1px solid var(--sg-trait);
  border-left-width: 6px;
  background: var(--sg-papier);
  color: var(--sg-foret);
  font-weight: 500;
  padding: 16px 18px;
  text-shadow: none;
}
#page .alert:before { color: inherit; }
#page .alert-warning { border-left-color: var(--sg-blond); }
#page .alert-danger { border-left-color: var(--sg-erreur); color: var(--sg-erreur); }
#page .alert-success { border-left-color: var(--sg-mousse); }
#page .alert a { color: inherit; text-decoration: underline; }
#page .alert ol,
#page .alert ul { margin: 6px 0 0 18px; }

/* Tableaux génériques */
#page table.table,
#page table.std {
  background: var(--sg-papier);
  border: 1px solid var(--sg-trait);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--sg-rayon-bloc);
  overflow: hidden;
  width: 100%;
  box-shadow: none;
}
#page table.table > thead > tr > th,
#page table.std thead th {
  background: var(--sg-foret);
  border: 0;
  color: var(--sg-creme);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  text-shadow: none;
}
#page table.table > tbody > tr > td,
#page table.table > tfoot > tr > td,
#page table.std tbody td {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--sg-trait);
  color: var(--sg-foret);
  font-variant-numeric: tabular-nums;
  padding: 14px 16px;
  text-align: left;
}

#page table.table tbody tr,
#page table.std tbody tr,
#page table.table tbody tr:nth-child(odd),
#page table.table tbody tr:nth-child(even),
#page table.std tbody tr:nth-child(odd),
#page table.std tbody tr:nth-child(even) { background: transparent; }
#page table.table th,
#page table.table td,
#page table.std th,
#page table.std td { border-left: 0 !important; border-right: 0 !important; }
#page table.table tbody tr:first-child td,
#page table.std tbody tr:first-child td { border-top: 0; }

/* 3. Boutons -------------------------------------------------------------- */
.sg-btn,
#page .button--mimas,
#page .button.button-medium,
#page .button.button-small,
#page .button.exclusive-medium,
#page .btn.btn-default,
#page .button.btn,
#page input.button,
#page a.button,
#page button.button {
  align-items: center;
  background: var(--sg-foret);
  background-image: none;
  border: 2px solid var(--sg-foret);
  border-radius: var(--sg-rayon);
  box-shadow: none;
  color: var(--sg-creme);
  cursor: pointer;
  display: inline-flex;
  font-size: 17px;
  font-weight: 650;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 50px;
  padding: 12px 22px;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  width: auto;
}
#page .button--mimas::before,
#page .button--mimas::after { display: none; }
#page .button--mimas span,
#page .button span,
#page .btn.btn-default span {
  background: none;
  border: 0;
  color: inherit;
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  mix-blend-mode: normal;
  padding: 0;
  text-shadow: none;
  transform: none;
}
#page .button span i,
#page .btn span i { color: inherit; font-size: 1em; margin: 0 0 0 8px; vertical-align: 0; }
#page .button span i.left { margin: 0 8px 0 0; }

.sg-btn:hover,
#page .button--mimas:hover,
#page .button.button-medium:hover,
#page .button.button-small:hover,
#page .button.exclusive-medium:hover,
#page .btn.btn-default:hover,
#page input.button:hover,
#page a.button:hover,
#page button.button:hover {
  background: var(--sg-mousse);
  border-color: var(--sg-mousse);
  color: var(--sg-creme);
}

/* Action principale : une seule par écran */
.sg-btn--primary,
#page #add_to_cart .button--mimas,
#page .standard-checkout,
#page #SubmitLogin,
#page #submitMessage,
#page #submitAccount,
#page #submitAddress,
#page button[name="processAddress"],
#page button[name="processCarrier"],
#page .cart_navigation .button-medium,
#page #layer_cart .button-container a.button-medium {
  background: var(--sg-braise);
  border-color: var(--sg-braise);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  min-height: 56px;
  padding: 14px 28px;
}
.sg-btn--primary:hover,
#page #add_to_cart .button--mimas:hover,
#page .standard-checkout:hover,
#page #SubmitLogin:hover,
#page #submitMessage:hover,
#page #submitAccount:hover,
#page #submitAddress:hover,
#page button[name="processAddress"]:hover,
#page button[name="processCarrier"]:hover,
#page .cart_navigation .button-medium:hover,
#page #layer_cart .button-container a.button-medium:hover {
  background: var(--sg-braise-fonce);
  border-color: var(--sg-braise-fonce);
  color: #fff;
}

/* Liens habillés en bouton : repasser devant la couleur des liens (#page a) */
#page a.sg-btn,
#page a.sg-btn:hover { color: var(--sg-creme); text-decoration: none; }
#page a.sg-btn--primary,
#page a.sg-btn--primary:hover { color: #fff; }
#page a.sg-btn--ghost { color: var(--sg-foret); }
#page a.sg-btn--ghost:hover { color: var(--sg-creme); }

/* Action secondaire */
.sg-btn--ghost,
#page .button.exclusive-medium,
#page .cart_navigation .button-exclusive,
#page #SubmitCreate {
  background: transparent;
  border-color: var(--sg-foret);
  color: var(--sg-foret);
}
.sg-btn--ghost:hover,
#page .button.exclusive-medium:hover,
#page .cart_navigation .button-exclusive:hover,
#page #SubmitCreate:hover {
  background: var(--sg-foret);
  border-color: var(--sg-foret);
  color: var(--sg-creme);
}

#page button[disabled],
#page .button.disabled,
#page .sg-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}

/* 4. Formulaires ---------------------------------------------------------- */
#page .form-control,
#page input[type="text"],
#page input[type="email"],
#page input[type="password"],
#page input[type="tel"],
#page input[type="number"],
#page textarea,
#page select {
  background: #fff;
  border: 1px solid var(--sg-trait-fort);
  border-radius: var(--sg-rayon);
  box-shadow: none;
  color: var(--sg-foret);
  font-size: 16px;
  height: auto;
  line-height: 1.4;
  max-width: 100%;
  min-height: 48px;
  padding: 11px 14px;
}
#page textarea { min-height: 150px; }
#page .form-control:focus,
#page input:focus,
#page textarea:focus,
#page select:focus {
  border-color: var(--sg-foret);
  box-shadow: 0 0 0 3px rgba(221, 161, 94, 0.55);
  outline: 0;
}
#page .form-group { margin-bottom: 18px; }
#page .form-group.form-error input,
#page .form-group.form-error textarea { border-color: var(--sg-erreur); background-color: #fff; background-image: none; }
#page .form-group.form-ok input,
#page .form-group.form-ok textarea { border-color: var(--sg-mousse); background-color: #fff; background-image: none; }
#page .required sup,
#page sup { color: var(--sg-braise-fonce); }

/* jquery.uniform (select, cases, fichier) */
#page div.selector,
#page div.uploader {
  background: #fff;
  border: 1px solid var(--sg-trait-fort);
  border-radius: var(--sg-rayon);
  height: 48px;
  line-height: 46px;
  max-width: 100%;
}
#page div.selector span,
#page div.uploader span.filename {
  background: none;
  border: 0;
  color: var(--sg-foret);
  font-size: 16px;
  height: 46px;
  line-height: 46px;
  padding: 0 40px 0 14px;
  text-shadow: none;
  width: 100% !important;
}
#page div.selector { position: relative; }
#page div.selector:after {
  border: solid var(--sg-foret);
  border-width: 0 2px 2px 0;
  content: "";
  height: 9px;
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 16px;
  transform: rotate(45deg);
  width: 9px;
}
#page div.selector select { height: 46px; min-height: 0; padding: 0; width: 100% !important; }
#page div.uploader span.action {
  background: var(--sg-foret);
  border-radius: 0 5px 5px 0;
  color: var(--sg-creme);
  font-size: 15px;
  font-weight: 600;
  height: 46px;
  line-height: 46px;
  text-shadow: none;
}
#page div.uploader input { height: 46px; }

/* 5. En-tête -------------------------------------------------------------- */
.header-container { background: var(--sg-foret); }
#header { z-index: 20; padding: 0; }
#header .nav {
  background: var(--sg-foret);
  border: 0;
  box-shadow: none;
}
#header .nav .container { padding-top: 0; padding-bottom: 0; }
#header .nav .row { margin: 0; }
#header .nav nav.nav-header {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 76px;
  width: 100%;
}
#header .nav #header_logo {
  flex: 0 0 auto;
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}
#header .nav #header_logo a { display: block; }
#header .nav #header_logo img.logo {
  height: 38px !important;
  max-height: none;
  max-width: none;
  padding: 0;
  width: auto !important;
}

/* Code postal dans la barre */
#header .nav div.desktop {
  align-items: center;
  flex: 1 1 auto;
  gap: 12px;
  justify-content: flex-end;
  width: auto;
}
#header .textcodepostal.desktop,
.columns-container .textcodepostal.mobile {
  color: var(--sg-creme);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
#header .textcodepostal.desktop span,
.columns-container .textcodepostal.mobile span {
  border: 0;
  color: var(--sg-blond);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.04em;
}
#page .modifier-codepostal-header:not(.button--mimas) {
  background: transparent;
  border: 1.5px solid rgba(254, 250, 224, 0.55);
  border-radius: var(--sg-rayon);
  color: var(--sg-creme);
  font-size: 15px;
  font-weight: 600;
  min-height: 40px;
  padding: 7px 14px;
  transition: background-color 0.15s, color 0.15s;
}
#page .modifier-codepostal-header:not(.button--mimas):hover {
  background: var(--sg-creme);
  border-color: var(--sg-creme);
  color: var(--sg-foret);
  padding: 7px 14px;
}
#page .link-disabled-buche { text-decoration: none; }

/* Panier, compte ; recherche retirée (un seul produit en vente) */
#header .group-cart {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}
#header #search_block_top { display: none; }
#header .shopping_cart {
  float: none;
  padding: 0;
  position: relative;
  width: auto;
}
#header .shopping_cart > a:first-child {
  align-items: center;
  background: transparent;
  border-radius: var(--sg-rayon);
  color: var(--sg-creme);
  display: flex;
  height: 48px;
  justify-content: center;
  overflow: visible;
  padding: 0;
  position: relative;
  text-shadow: none;
  width: 48px;
}
#header .shopping_cart > a:first-child:before {
  color: var(--sg-creme);
  float: none;
  font-size: 24px;
  line-height: 1;
  padding: 0;
}
#header .shopping_cart > a:first-child:after { display: none; }
#header .shopping_cart > a:first-child:hover { background: rgba(254, 250, 224, 0.12); }
#header .shopping_cart .ajax_cart_quantity {
  background: var(--sg-blond);
  border-radius: 20px;
  color: var(--sg-foret);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  min-width: 20px;
  padding: 0 5px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 2px;
}
#header .shopping_cart .ajax_cart_total,
#header .shopping_cart .ajax_cart_no_product,
#header .shopping_cart .ajax_cart_product_txt,
#header .shopping_cart .ajax_cart_product_txt_s { display: none !important; }

#header .header_user_info { float: none; margin: 0; padding: 0; border: 0; }
#header .header_user_info a {
  align-items: center;
  background: transparent;
  border-radius: var(--sg-rayon);
  display: flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  width: 48px;
}
#header .header_user_info a:hover { background: rgba(254, 250, 224, 0.12); }
#header .header_user_info svg { height: 23px; width: 23px; }
#header .header_user_info svg path { fill: var(--sg-creme); }

/* Aperçu panier au survol */
#header .cart_block {
  background: var(--sg-papier);
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  box-shadow: 0 18px 40px rgba(40, 54, 24, 0.22);
  color: var(--sg-foret);
  right: 0;
  top: 54px;
  width: 300px;
}
#header .cart_block .block_content,
#header .cart_block .cart-prices,
#header .cart_block .cart-buttons { background: transparent; border-color: var(--sg-trait); }
#header .cart_block *,
#header .cart_block .price,
#header .cart_block a { color: var(--sg-foret); text-shadow: none; }
#header .cart_block .cart-buttons a#button_order_cart { color: var(--sg-creme); width: 100%; }
#header .cart_block .cart-buttons a#button_order_cart span { color: inherit; }

/* Bandeau code postal, pages intérieures sur mobile */
.header-container,
#header { margin: 0; padding: 0; }
.columns-container > .mobile {
  margin: 0;
  background: var(--sg-foret);
  border-top: 1px solid rgba(254, 250, 224, 0.15);
  gap: 12px;
  padding: 10px 16px;
}

/* 6. Code postal : fenêtre + cases -------------------------------------- */
#estimation.estimation {
  align-items: center;
  background: rgba(40, 54, 24, 0.72);
  box-shadow: none;
  display: none;
  flex-direction: column;
  height: 100%;
  inset: 0;
  justify-content: center;
  left: 0;
  margin: 0;
  padding: 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9000;
}
#estimation.estimation::before { display: none; }

#estimation .sg-cp-dialog {
  background: var(--sg-creme);
  border-radius: var(--sg-rayon-bloc);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  max-width: 440px;
  padding: 36px 36px 32px;
  position: relative;
  text-align: left;
  width: 100%;
}
#page #estimation .sg-cp-dialog .sg-cp-title {
  color: var(--sg-foret);
  font-stretch: 80%;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.12;
  font-size: 28px;
  margin: 0 0 8px;
  padding-right: 40px;
}
#estimation .sg-cp-dialog p.sg-cp-help {
  color: var(--sg-texte-doux);
  font-size: 16px;
  margin: 0 0 22px;
}
#estimation.estimation label {
  color: var(--sg-foret);
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  position: static;
}
#estimation .form-control-postal {
  display: block !important;
  position: static;
  visibility: visible;
  width: 100%;
}
#estimation .form-control-postal.unvisible { visibility: visible; }
#estimation .form-control-postal.error,
#estimation .form-control-postal.success {
  background: none;
  border: 0;
  color: var(--sg-foret);
  line-height: 1.55;
  margin: 0;
  padding: 0;
}

#page #estimation .sg-cp-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--sg-foret);
  cursor: pointer;
  display: flex !important;
  float: none;
  font-size: 30px !important;
  font-weight: 400;
  height: 44px;
  justify-content: center;
  line-height: 1;
  opacity: 1;
  position: absolute;
  right: 12px;
  text-shadow: none;
  top: 12px;
  transform: none;
  width: 44px;
}
#page #estimation .sg-cp-close:hover { background: rgba(40, 54, 24, 0.1); }

/* Cases « code postal », comme sur une enveloppe */
.sg-cases {
  background:
    repeating-linear-gradient(
      to right,
      var(--sg-trait-fort) 0 2px,
      transparent 2px calc(var(--sg-case) - 2px),
      var(--sg-trait-fort) calc(var(--sg-case) - 2px) var(--sg-case)
    ),
    #fff;
  border-bottom: 2px solid var(--sg-trait-fort);
  border-top: 2px solid var(--sg-trait-fort);
  border-radius: 4px;
  display: inline-block;
  height: 64px;
  /* clip (et non hidden) : le navigateur ne doit pas faire défiler les cases quand le curseur arrive au bout */
  overflow: hidden;
  overflow: clip;
  position: relative;
  vertical-align: top;
  width: calc(var(--sg-case) * 5);
}
#page .sg-cases input {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  caret-color: var(--sg-braise);
  color: var(--sg-foret);
  display: block;
  font-size: 32px;
  font-stretch: 100%;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  height: 60px;
  letter-spacing: calc(var(--sg-case) - 1ch);
  line-height: 60px;
  margin: 0;
  max-width: none;
  min-height: 0;
  outline: 0;
  padding: 0 0 0 calc((var(--sg-case) - 1ch) / 2);
  text-align: left;
  width: calc(var(--sg-case) * 6);
}
#page .sg-cases input::placeholder { color: rgba(40, 54, 24, 0.22); opacity: 1; }
#page .sg-cases input::selection { background: transparent; color: var(--sg-foret); }
.sg-cases:focus-within { box-shadow: 0 0 0 3px var(--sg-blond); }
.sg-cases.is-ok,
.form-control-postal.success .sg-cases { box-shadow: 0 0 0 3px var(--sg-mousse); }
.sg-cases.is-ko,
.form-control-postal.error .sg-cases { box-shadow: 0 0 0 3px var(--sg-erreur); }

#estimation .form-control-postal i { display: none; }
#estimation .form-control-postal small {
  background: none;
  border: 0;
  line-height: 1.4;
  bottom: auto;
  color: var(--sg-erreur);
  display: block;
  font-size: 15px;
  font-weight: 600;
  left: auto;
  margin: 10px 0 0;
  min-height: 22px;
  padding: 0;
  position: static;
  text-align: left;
  transform: none;
  visibility: hidden;
  width: auto;
}
#estimation .form-control-postal.error small { visibility: visible; }
#estimation #loading { display: none; }
#page #estimation #valider {
  background: var(--sg-braise);
  border-color: var(--sg-braise);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin: 10px 0 0;
  min-height: 56px;
  width: 100%;
}
#page #estimation #valider:hover { background: var(--sg-braise-fonce); border-color: var(--sg-braise-fonce); }

/* 7. Accueil -------------------------------------------------------------- */
.sg-wrap {
  margin: 0 auto;
  max-width: var(--sg-largeur);
  padding: 0 24px;
}

.sg-hero {
  background: var(--sg-foret);
  color: var(--sg-creme);
  overflow: hidden;
}
.sg-hero__grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  padding-bottom: 72px;
  padding-top: 56px;
}
#page .sg-hero h1 {
  color: var(--sg-creme);
  font-size: clamp(46px, 7vw, 92px);
  font-stretch: 68%;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 0.94;
  margin: 0 0 18px;
  padding: 0;
  text-align: left;
  width: auto;
}
#page .sg-hero .sg-hero__slogan {
  color: var(--sg-blond);
  font-size: clamp(20px, 2.2vw, 26px);
  font-stretch: 90%;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 34px;
}

.sg-cpform { margin: 0; max-width: 520px; }
#page .sg-cpform label {
  color: var(--sg-creme);
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
}
#page .sg-cpform .sg-cpform__help {
  color: rgba(254, 250, 224, 0.78);
  font-size: 15px;
  margin: 0 0 14px;
}
.sg-cpform__row {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.sg-hero .sg-cases {
  --sg-trait-fort: rgba(40, 54, 24, 0.5);
  border-color: #fff;
}
.sg-cpform__row .sg-btn { min-height: 64px; }
#page .sg-cpform .sg-cpform__msg {
  color: #ffd9b0;
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0 0;
  min-height: 24px;
}

.sg-hero__visual { position: relative; text-align: center; }
.sg-hero__visual img {
  height: auto;
  max-width: 100%;
  position: relative;
  width: 440px;
}
.sg-hero__visual:before {
  background: var(--sg-mousse);
  border-radius: 50%;
  bottom: 2%;
  content: "";
  height: 22%;
  left: 6%;
  opacity: 0.55;
  position: absolute;
  right: 6%;
}

/* Arrivée de la palette : une seule séquence au chargement, ~1,1 s.
   La palette roule depuis la droite, levée sur le transpalette, puis se pose ;
   le texte monte en trois temps. Transform et opacité uniquement (pas de saut de mise en page). */
@keyframes sg-palette-arrive {
  0% { opacity: 0; transform: translate(34%, -10px); }
  18% { opacity: 1; }
  72% { opacity: 1; transform: translate(0, -10px); }
  88% { transform: translate(0, 2px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes sg-sol {
  0% { opacity: 0; transform: scaleX(0.35); }
  100% { opacity: 0.55; transform: scaleX(1); }
}
@keyframes sg-monte {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.sg-hero__visual img { animation: sg-palette-arrive 1.1s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.sg-hero__visual:before { animation: sg-sol 0.45s ease-out 0.7s both; }
.sg-hero__text > h1 { animation: sg-monte 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.sg-hero__text > .sg-hero__slogan { animation: sg-monte 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) 0.09s both; }
.sg-hero__text > .sg-cpform { animation: sg-monte 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) 0.18s both; }

/* Titre animé en JavaScript (js/sg-refresh.js). Tant que le script n'a pas pris la main le titre
   est masqué ; s'il ne se charge jamais, il réapparaît seul au bout de 2,5 s. */
@keyframes sg-secours { to { opacity: 1; } }
.sg-js .sg-hero__text > h1 { animation: sg-secours 0.01s linear 2.5s forwards; opacity: 0; }
.sg-js .sg-hero__text > h1.sg-pret { animation: none; opacity: 1; }
.sg-hero h1 .sg-mot { display: inline-block; white-space: nowrap; }
.sg-hero h1 .sg-lettre { display: inline-block; will-change: transform, opacity; }

/* Profondeur au pointeur : --sg-px / --sg-py (de -1 à 1) sont posées par js/sg-refresh.js.
   Propriété « translate » séparée de « transform » pour ne pas gêner les animations ci-dessus. */
.sg-hero__visual { --sg-px: 0; --sg-py: 0; }
.sg-hero__visual img { translate: calc(var(--sg-px) * -14px) calc(var(--sg-py) * -9px); }
.sg-hero__visual:after { translate: calc(var(--sg-px) * 18px) calc(var(--sg-py) * 12px); }
.sg-hero__visual:before { translate: calc(var(--sg-px) * -6px) 0; }

/* Fond derrière la palette : cernes de bois (rappel du logo) dans un halo chaud,
   qui apparaît quand la palette se pose puis « respire » très lentement. */
.sg-hero__visual { isolation: isolate; }
.sg-hero__visual img { z-index: 1; }
.sg-hero__visual:after {
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 15px, rgba(254, 250, 224, 0.1) 15px 16.5px),
    repeating-radial-gradient(circle at 47% 53%, transparent 0 27px, rgba(221, 161, 94, 0.16) 27px 29px),
    radial-gradient(circle at 50% 50%, rgba(221, 161, 94, 0.5) 0, rgba(188, 108, 37, 0.22) 36%, rgba(188, 108, 37, 0) 66%);
  border-radius: 50%;
  content: "";
  height: 0;
  left: -14%;
  margin-top: -64%;
  -webkit-mask-image: radial-gradient(circle, #000 22%, transparent 68%);
  mask-image: radial-gradient(circle, #000 22%, transparent 68%);
  padding-bottom: 128%;
  pointer-events: none;
  position: absolute;
  top: 46%;
  width: 128%;
  z-index: 0;
  animation: sg-halo-entre 0.9s ease-out 0.6s both, sg-halo-respire 7s ease-in-out 1.5s infinite alternate;
}
@keyframes sg-halo-entre {
  0% { opacity: 0; transform: scale(0.82); }
  100% { opacity: 0.78; transform: scale(1); }
}
@keyframes sg-halo-respire {
  0% { opacity: 0.78; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.07); }
}

/* Bandeau des faits */
.sg-faits {
  background: var(--sg-blond);
  color: var(--sg-foret);
}
#page .sg-faits ul {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
#page .sg-faits li {
  border-left: 1px solid rgba(40, 54, 24, 0.28);
  font-size: 15px;
  line-height: 1.35;
  padding: 20px 24px;
}
#page .sg-faits li:first-child { border-left: 0; padding-left: 0; }
.sg-faits strong {
  display: block;
  font-size: 21px;
  font-stretch: 82%;
  font-weight: 750;
  line-height: 1.15;
  margin-bottom: 2px;
}

/* Fiche technique */
.sg-section { padding: 80px 0; }
#page .sg-section h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 12px;
}
#page .sg-section .sg-intro {
  color: var(--sg-texte-doux);
  font-size: 18px;
  margin: 0 0 32px;
  max-width: 60ch;
}
.sg-fiche {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.sg-fiche__photo {
  background: #fff;
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  padding: 28px;
  text-align: center;
}
.sg-fiche__photo img { height: auto; max-width: 100%; width: 340px; }
.sg-fiche__photo a { display: block; }
#page .sg-fiche__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0;
}
#page a.sg-lien {
  color: var(--sg-foret);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#page a.sg-lien:hover { color: var(--sg-braise-fonce); }
#page table.sg-specs {
  background: transparent;
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
  margin: 0 0 32px;
  width: 100%;
}
#page table.sg-specs,
#page table.sg-specs tbody,
#page table.sg-specs tr { background: transparent; box-shadow: none; }
#page table.sg-specs th,
#page table.sg-specs td {
  background: transparent;
  color: var(--sg-foret);
  border: 0;
  border-bottom: 1px solid var(--sg-trait);
  font-size: 17px;
  padding: 14px 0;
  text-align: left;
  vertical-align: baseline;
}
#page table.sg-specs tr:first-child th,
#page table.sg-specs tr:first-child td { border-top: 2px solid var(--sg-foret); }
#page table.sg-specs th {
  color: var(--sg-texte-doux);
  font-weight: 500;
  padding-right: 24px;
  width: 44%;
}
#page table.sg-specs td { font-variant-numeric: tabular-nums; font-weight: 650; }

/* Livraison */
.sg-livraison { background: var(--sg-papier); border-top: 1px solid var(--sg-trait); }
.sg-livraison__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 36px;
}
#page .sg-livraison h3 { font-size: 22px; margin: 0 0 8px; }
#page .sg-livraison p { color: var(--sg-texte-doux); margin: 0; max-width: 38ch; }
.sg-livraison__grid > div { border-top: 2px solid var(--sg-foret); padding-top: 18px; }

/* 8. Fiche produit -------------------------------------------------------- */
#product .primary_block { margin: 0 0 56px; }
#product .primary_block > .container { display: none; }
#product .pb-left-column,
#product .pb-center-column { padding-left: 0; padding-right: 0; }
#product .primary_block.row {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
#product .primary_block.row:before,
#product .primary_block.row:after { display: none; }
#product .pb-left-column,
#product .pb-center-column { float: none; width: auto; }

#product #image-block {
  float: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  padding: 24px;
  text-align: center;
  width: 100%;
}
#product #image-block #view_full_size { display: block; }
#product #image-block img { height: auto; max-width: 100%; }
#product #image-block .zoomPad { float: none; display: inline-block; }
#product #views_block { margin: 16px 0 0; width: auto; }
#product #thumbs_list { float: none; width: auto; }
#product #thumbs_list ul#thumbs_list_frame { display: flex; gap: 12px; height: auto; padding: 0; width: auto !important; }
#product #thumbs_list li {
  background: #fff;
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon);
  float: none;
  height: 84px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  width: 84px;
}
#product #thumbs_list li a { border: 0; display: block; height: 100%; margin: 0; }
#product #thumbs_list li a:hover,
#product #thumbs_list li a.shown { box-shadow: inset 0 0 0 2px var(--sg-braise); border: 0; }
#product #thumbs_list li img { border: 0; height: 82px; width: 82px; }

#product .pb-center-column,
#product .pb-center-column * { letter-spacing: normal; }
#product .pb-center-column { text-align: left; }
#product .pb-center-column h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 22px;
  text-align: left;
}
#product .box-info-product {
  background: transparent;
  border: 0;
  padding: 0;
}
#product .content_prices { padding: 0; text-align: left; border: 0; }
#product .content_prices br { display: none; }
#product .content_prices p { margin: 0; text-align: left; }
#product p.our_price_display {
  color: var(--sg-foret);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
#product p.our_price_display .price {
  color: var(--sg-foret);
  font-size: 54px;
  font-stretch: 78%;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.01em;
}
#product p.our_price_display.small {
  color: var(--sg-texte-doux);
  font-size: 17px;
  font-weight: 500;
  margin-top: 10px;
}
#product p.our_price_display.small span { color: inherit; font-size: inherit; }
#product p.our_price_display.small .price {
  color: var(--sg-foret);
  font-size: 19px;
  font-stretch: 100%;
  font-weight: 700;
}
#product .content_prices > div:first-child > p:not([id]):not([class]) {
  background: var(--sg-mousse);
  border-radius: 40px;
  color: var(--sg-creme);
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  margin: 18px 12px 0 0;
  padding: 5px 14px;
}
#product #pQuantityAvailable {
  color: var(--sg-texte-doux);
  display: inline-block;
  font-size: 15px;
  margin-top: 18px;
}
#product #pQuantityAvailable span {
  background: none;
  border: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
  padding: 0;
}
#product #quantityAvailableTxt,
#product #quantityAvailableTxtMultiple { display: none !important; }

#product .alma-pp-container {
  background: #fff;
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  margin: 26px 0 0;
  max-width: 460px;
  padding: 6px 10px;
}
#product .alma-pp-container p { font-size: 15px; }
#page .alma-payment-plans-container { border: 0; width: 100%; max-width: none; }

#product .product_attributes { background: transparent; border: 0; box-shadow: none; padding: 0; margin-top: 30px; text-align: left; }
#product #quantity_wanted_p {
  display: block;
  float: none;
  margin: 0 0 10px;
  padding: 0;
  text-align: left !important;
  width: auto;
}
#product #quantity_wanted_p label {
  display: block;
  float: none;
  text-align: left !important;
  width: auto;
  color: var(--sg-foret);
  font-size: 17px;
  font-weight: 650;
}
#product .quantity-product {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: start;
  margin: 0;
  max-width: 460px;
}
#product .quantity-product .clearfix { display: none; }
#product .btn-palette {
  background: #fff;
  border: 2px solid var(--sg-trait-fort);
  border-radius: var(--sg-rayon);
  box-shadow: none;
  color: var(--sg-foret);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  min-height: 68px;
  outline: 0;
  transform: none;
  padding: 10px 8px;
  transition: border-color 0.15s, background-color 0.15s;
  width: auto;
}
#product .btn-palette::first-line { font-size: 18px; font-weight: 750; }
#product .btn-palette:hover { background: #fff; border-color: var(--sg-foret); transform: none; }
#product .btn-palette:focus-visible { outline: 3px solid var(--sg-braise); outline-offset: 2px; }
#product .btn-palette.active-btn,
#product .btn-palette.active-btn:hover {
  background: var(--sg-blond);
  border-color: var(--sg-foret);
  color: var(--sg-foret);
}

#product .box-cart-bottom { background: transparent; border: 0; box-shadow: none; margin: 26px 0 0; padding: 0; }
#product #add_to_cart,
#product #add_to_cart.card {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none;
  width: auto;
}
#page #add_to_cart .button--mimas { max-width: 460px; width: 100%; min-height: 60px; }
#product #reservation-btn { color: var(--sg-foret); font-weight: 650; }

/* Onglets Tarifs / Description */
#product .tabs { margin: 0; }
#product .tabs .nav-tabs {
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--sg-foret);
  display: flex;
  gap: 4px;
  margin: 0 0 28px;
  padding: 0;
}
#product .tabs .nav-tabs li { float: none; margin: 0; }
#product .tabs .nav-tabs li a {
  background: transparent;
  border: 0;
  border-radius: var(--sg-rayon) var(--sg-rayon) 0 0;
  color: var(--sg-foret);
  font-size: 18px;
  font-weight: 650;
  margin: 0;
  padding: 12px 22px;
}
#product .tabs .nav-tabs li a:hover { background: rgba(40, 54, 24, 0.08); color: var(--sg-foret); }
#product .tabs .nav-tabs li.active a,
#product .tabs .nav-tabs li.active a:hover {
  background: var(--sg-foret);
  border: 0;
  color: var(--sg-creme);
}
#product .tab-content { background: transparent; border: 0; padding: 0; }
#product .page-product-box { margin: 0; padding: 0; }
#product .page-product-heading {
  background: none;
  border: 0;
  color: var(--sg-foret);
  font-size: 22px;
  margin: 0 0 16px;
  padding: 0;
}
#product #quantityPalette { overflow-x: auto; }
#product table.table-product-discounts { margin: 0; min-width: 560px; }
#product table.table-product-discounts tr td,
#product table.table-product-discounts tr th { text-align: left; width: auto; font-size: 16px; }
#product table.table-product-discounts tbody tr:nth-child(even) td,
#product table.table-product-discounts tbody tr:nth-child(odd) td { background: transparent; }

/* Texte saisi dans l'éditeur : on neutralise couleurs et polices en ligne */
#page .rte { color: var(--sg-foret); max-width: 72ch; }
#page .rte span[style],
#page .rte p[style],
#page .rte font {
  color: inherit !important;
  font-size: inherit !important;
  text-decoration: none !important;
}
#page .rte p,
#page .rte li { font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
#page .rte ul { list-style: disc; margin: 0 0 20px; padding-left: 22px; }
#page .rte ul li { margin-bottom: 6px; }
#page .rte ul li::marker { color: var(--sg-braise); }

/* Fenêtre « Produit ajouté au panier » */
#page #layer_cart {
  background: var(--sg-creme);
  border-radius: var(--sg-rayon-bloc);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: var(--sg-foret);
  left: 50%;
  margin: 0;
  max-width: calc(100% - 32px);
  transform: translateX(-50%);
  width: 560px;
}
#page #layer_cart .layer_cart_product { border: 0; padding: 32px; }
#page #layer_cart .layer_cart_product .title {
  color: var(--sg-mousse);
  display: block;
  font-size: 24px;
  font-stretch: 82%;
  font-weight: 750;
  line-height: 1.2;
  margin: 0 40px 20px 0;
}
#page #layer_cart { margin-top: 24px; }
#page #layer_cart .layer_cart_product .title i,
#page #layer_cart .layer_cart_product .title i:before { color: var(--sg-mousse); }
#page #layer_cart .layer_cart_product .title i { color: var(--sg-mousse); font-size: 24px; margin-right: 8px; float: none; padding: 0; }
#page #layer_cart .layer_cart_product_info { padding: 0; }
#page #layer_cart .layer_cart_product_info > div { font-size: 16px; padding: 2px 0; }
#page #layer_cart .layer_cart_product_info .product-name,
#page #layer_cart #layer_cart_product_title { color: var(--sg-foret); display: block; font-size: 17px; font-weight: 650; padding: 0 0 8px; }
#page #layer_cart .dark { color: var(--sg-texte-doux); font-weight: 500; }
#page #layer_cart .cross {
  color: var(--sg-foret);
  height: 44px;
  opacity: 1;
  right: 12px;
  top: 12px;
  width: 44px;
}
#page #layer_cart .cross:before { color: var(--sg-foret); font-size: 24px; line-height: 44px; }
#page #layer_cart .button-container { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
#page #layer_cart .button-container .btn { margin: 0; }
.layer_cart_overlay { background: var(--sg-foret); opacity: 0.72 !important; }

/* 9. Panier et commande --------------------------------------------------- */
#page ul.step {
  background: transparent;
  border: 0;
  counter-reset: none;
  display: flex;
  gap: 6px;
  margin: 0 0 28px;
  overflow: visible;
  padding: 0;
}
#page ul.step li {
  background: transparent;
  border: 0;
  border-bottom: 4px solid var(--sg-trait);
  flex: 1 1 0;
  float: none;
  text-align: left;
  width: auto;
}
#page ul.step li a,
#page ul.step li span,
#page ul.step li.step_current span,
#page ul.step li.step_done a {
  background: transparent;
  background-image: none;
  border: 0;
  color: var(--sg-texte-doux);
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  padding: 0 0 10px;
  text-shadow: none;
}
#page ul.step li a:after,
#page ul.step li span:after,
#page ul.step li a:before,
#page ul.step li span:before { display: none; }
#page ul.step li em { font-style: normal; }
#page ul.step li.step_current { border-bottom-color: var(--sg-braise); }
#page ul.step li.step_current span { color: var(--sg-foret); font-weight: 750; }
#page ul.step li.step_done { border-bottom-color: var(--sg-mousse); }
#page ul.step li.step_done a { color: var(--sg-mousse); }

#page #order-detail-content { overflow-x: auto; }
#page #cart_summary .cart_product img { border: 1px solid var(--sg-trait); border-radius: var(--sg-rayon); background: #fff; }
#page #cart_summary .product-name,
#page #cart_summary .product-name a { color: var(--sg-foret); font-size: 17px; font-weight: 650; }
#page #cart_summary .price,
#page #cart_summary .price span { color: var(--sg-foret); font-weight: 600; }
#page #cart_summary tfoot td { background: transparent; }
#page #cart_summary td.cart_quantity > a {
  background: none;
  border: 0;
  color: var(--sg-foret);
  display: inline-block;
  font-size: 15px;
  padding: 0;
  text-decoration: underline;
}
#page #cart_summary td.cart_quantity > a span { color: inherit; }
#page #cart_summary td.cart_quantity input,
#page #cart_summary td.cart_quantity .cart_quantity_input {
  background: transparent;
  border: 0;
  box-shadow: none;
  font-weight: 650;
  min-height: 0;
  padding: 0;
  text-align: center;
}
#page #cart_summary .cart_total_price .total_price_container span { font-size: 16px; font-weight: 650; text-transform: none; }
#page #HOOK_SHOPPING_CART .alma-widget-container {
  background: #fff;
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  margin: 24px 0 0 auto;
  max-width: 420px;
  padding: 6px 10px;
}
#page #cart_summary tfoot .cart_total_price td,
#page #cart_summary tfoot #total_price_container,
#page #cart_summary tfoot .total_price_container { font-size: 20px; font-weight: 750; }
#page #cart_summary #total_price { color: var(--sg-foret); font-size: 24px; font-weight: 800; }
#page .cart_voucher .title-offers,
#page .cart_voucher h4 { color: var(--sg-foret); }
#page .cart_quantity_button a,
#page .cart_delete a {
  background: #fff;
  border: 1px solid var(--sg-trait-fort);
  border-radius: var(--sg-rayon);
  color: var(--sg-foret);
  min-height: 0;
  padding: 6px 10px;
}
#page .cart_navigation {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin: 28px 0 0;
}
#page .cart_navigation:before,
#page .cart_navigation:after { display: none; }
#page .cart_navigation .button-exclusive { border: 2px solid var(--sg-foret); border-radius: var(--sg-rayon); font-size: 16px; font-weight: 650; padding: 12px 18px; text-decoration: none; }
#page .cart_navigation .button-exclusive i { margin-right: 8px; }
#page .cart_last_product { display: none; }
#page .heading-counter { color: var(--sg-texte-doux); font-size: 16px; font-stretch: 100%; font-weight: 500; float: none; display: block; margin-top: 8px; }
#page .address,
#page ul.address,
#page .order_carrier_content,
#page .delivery_option > div > table,
#page .payment_module a,
#page p.payment_module a {
  background: var(--sg-papier);
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  color: var(--sg-foret);
}
#page p.payment_module a:hover { background: #fff; border-color: var(--sg-foret); }
#page ul.address li.address_title h3,
#page .address_title .page-subheading { border-bottom: 1px solid var(--sg-trait); }

/* 10. Compte, contact, CMS, 404 ------------------------------------------ */
#authentication #center_column .row { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
#authentication #center_column .row:before,
#authentication #center_column .row:after { display: none; }
#authentication #center_column .row > div { float: none; padding: 0; width: auto; }
#authentication #create-account_form,
#authentication #login_form { min-height: 0; height: 100%; }
#authentication .form_content .form-control { max-width: 380px; width: 100%; }
#authentication .lost_password a { text-decoration: underline; }
#authentication #SubmitCreate span,
#authentication #SubmitLogin span { align-items: center; display: inline-flex; gap: 10px; }
#authentication #SubmitCreate i,
#authentication #SubmitLogin i { margin: 0; }
#authentication #account-creation_form .account_creation { background: var(--sg-papier); border: 1px solid var(--sg-trait); border-radius: var(--sg-rayon-bloc); margin-bottom: 24px; padding: 28px; }

#contact .contact-form-box {
  background: var(--sg-papier);
  background-image: none;
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  box-shadow: none;
  padding: 28px;
}
#contact .contact-form-box:before { display: none; }
#contact .contact-form-box fieldset { background: transparent; padding: 0; }
#contact .contact-form-box .form-control,
#contact .contact-form-box div.selector,
#contact .contact-form-box div.uploader { width: 100% !important; max-width: 420px; }
#contact .contact-form-box .col-md-9 .form-control,
#contact .contact-form-box textarea.form-control { max-width: none; }
#contact .submit { margin-top: 12px; text-align: left; }
#page a.artiubenda-widget-privacy { color: var(--sg-foret) !important; }
#contact .checkbox label { font-weight: 500; }

#my-account ul.myaccount-link-list { list-style: none; margin: 0; padding: 0; }
#my-account ul.myaccount-link-list li { margin: 0 0 10px; }
#my-account ul.myaccount-link-list li a {
  align-items: center;
  background: var(--sg-papier);
  background-image: none;
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon);
  color: var(--sg-foret);
  display: flex;
  font-size: 17px;
  font-weight: 600;
  min-height: 56px;
  padding: 0;
  text-shadow: none;
}
#my-account ul.myaccount-link-list li a:hover { border-color: var(--sg-foret); background: #fff; }
#my-account ul.myaccount-link-list li a i { background: none; border: 0; color: var(--sg-mousse); font-size: 22px; padding: 0 16px; text-shadow: none; width: auto; }
#my-account ul.myaccount-link-list li a span { background: none; border: 0; color: inherit; padding: 0; text-shadow: none; text-transform: none; }
#page ul.footer_links { border-top: 1px solid var(--sg-trait); margin-top: 28px; padding-top: 20px; }

#cms #center_column h1,
#cms #center_column .rte h1,
#cms #center_column .rte > h2:first-child { border: 0; font-size: 34px; margin: 0 0 24px; }
#cms #center_column .rte center { text-align: left; }
#cms #center_column .rte center > p { margin-left: 0; margin-right: 0; text-align: left !important; }
#cms #center_column .rte .title-about {
  border-radius: var(--sg-rayon-bloc);
  box-shadow: inset 0 0 0 2000px rgba(40, 54, 24, 0.6);
  margin-bottom: 36px;
  overflow: hidden;
}
#cms #center_column .rte .title-about h2,
#cms #center_column .rte .title-about h2 strong {
  border: 0;
  color: var(--sg-creme);
  font-size: clamp(32px, 5vw, 52px);
  font-stretch: 72%;
  font-weight: 800;
  margin: 0;
  text-transform: lowercase;
}
#cms #center_column .rte .title-about h2::first-letter { text-transform: uppercase; }
#cms #center_column .rte .video-container iframe { border-radius: var(--sg-rayon-bloc); max-width: 100%; }
#cms #center_column .rte .text-important {
  background: var(--sg-foret);
  border-radius: var(--sg-rayon);
  color: var(--sg-creme);
  margin: 24px 0;
  padding: 16px 20px;
}
#cms #center_column .rte .text-important h3,
#cms #center_column .rte .text-important p {
  border: 0;
  color: var(--sg-creme);
  font-size: 17px;
  font-stretch: 100%;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
  max-width: none;
  padding: 0;
}
#cms #center_column .rte .text-important p + p { margin-top: 6px; }
#cms #center_column .rte .container-livraison {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 0 32px;
}
#cms #center_column .rte .container-livraison table {
  border: 0;
  background: transparent;
  border-collapse: collapse;
  box-shadow: none;
  margin: 0;
  width: 100%;
}
#cms #center_column .rte .container-livraison tr { background: transparent; }
#cms #center_column .rte .container-livraison td {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sg-trait);
  font-size: 16px;
  padding: 12px 0;
  text-align: left;
}
#cms #center_column .rte .container-livraison td + td { font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; }
#cms #center_column .rte .container-livraison td[colspan] { border-bottom: 2px solid var(--sg-foret); color: var(--sg-texte-doux); }
#cms #center_column .rte .container-livraison img {
  background: #fff;
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon-bloc);
  height: auto;
  max-width: 100%;
  padding: 12px;
  width: 100%;
}
#cms #center_column .rte p.steps-livraison {
  border: 0;
  border-bottom: 1px solid var(--sg-trait-fort);
  color: var(--sg-foret);
  font-size: 22px;
  font-stretch: 80%;
  font-weight: 750;
  line-height: 1.2;
  margin: 36px 0 14px;
  max-width: none;
  padding: 0 0 10px;
  text-transform: none;
}
#cms #center_column .rte p.steps-livraison::first-letter { text-transform: uppercase; }
#cms #center_column .rte .subtitle2 { margin: 44px 0 18px; text-align: left; }
#cms #center_column .rte .subtitle2 span {
  color: var(--sg-foret);
  display: block;
  font-size: 26px;
  font-stretch: 80%;
  font-weight: 750;
  text-transform: lowercase;
}
#cms #center_column .rte .subtitle2 span::first-letter { text-transform: uppercase; }
#cms #center_column .rte .accordeon-container { padding: 0 8px 0 0; }
#cms #center_column .rte .accordeon {
  background: var(--sg-papier);
  border: 1px solid var(--sg-trait);
  border-radius: var(--sg-rayon);
  box-shadow: none;
  margin: 0 0 10px;
}
#cms #center_column .rte .accordeon-title {
  background: transparent;
  box-shadow: none;
  color: var(--sg-foret);
  font-size: 16px;
  font-weight: 650;
  padding: 14px 44px 14px 16px;
  text-align: left;
  text-transform: lowercase;
}
#cms #center_column .rte .accordeon-title::first-letter { text-transform: uppercase; }
#cms #center_column .rte .accordeon-text { background: transparent; padding: 0 16px 12px; }
#cms #center_column .rte .accordeon-text p { font-size: 14px; max-width: none; text-align: left !important; }
#cms #center_column .rte { max-width: none; }
#cms #center_column .rte p { font-size: 16px; line-height: 1.6; max-width: 78ch; }
#cms #center_column .rte img { height: auto; max-width: 100%; }
#cms #center_column .rte h2,
#cms #center_column .rte h3 { border-color: var(--sg-trait-fort); font-size: 22px; margin: 34px 0 14px; }

#pagenotfound .pagenotfound { background: none; margin: 40px auto; max-width: 620px; text-align: left; }
#pagenotfound .pagenotfound h1 {
  color: var(--sg-foret);
  font-size: 40px;
  font-stretch: 80%;
  font-weight: 750;
  line-height: 1.12;
  margin: 0 0 12px;
  text-align: left;
  text-transform: none;
}
#pagenotfound .pagenotfound p {
  border: 0;
  color: var(--sg-texte-doux);
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  text-align: left;
  text-transform: none;
}
#pagenotfound .pagenotfound h3,
#pagenotfound .pagenotfound form { display: none; }
#pagenotfound .pagenotfound .buttons { margin-top: 24px; }

/* 11. Pied de page ------------------------------------------------------- */
.footer-container {
  background: var(--sg-foret);
  background-image: none;
  margin: 0;
  padding: 0;
}
.footer-container #footer {
  color: var(--sg-creme);
  padding-bottom: 44px;
  padding-top: 52px;
}
.footer-container #footer .row { display: flex; flex-wrap: wrap; gap: 40px 48px; margin: 0; }
.footer-container #footer .row:before,
.footer-container #footer .row:after,
.footer-container #footer .row > .clearfix { display: none; }
.footer-container #footer .footer-block {
  border: 0;
  flex: 1 1 200px;
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}
.footer-container #footer #block_contact_infos { border: 0; flex: 1.4 1 300px; padding: 0; }
.footer-container #footer #block_contact_infos > div { padding: 0; }
.footer-container #footer h4,
.footer-container #footer h4 a {
  color: var(--sg-blond);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: none;
}
.footer-container #footer ul { margin: 0; padding: 0; }
.footer-container #footer ul li,
.footer-container #footer #block_contact_infos > div ul li {
  color: var(--sg-creme);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  padding: 0 0 8px;
}
.footer-container #footer ul li a,
.footer-container #footer a {
  color: var(--sg-creme);
  font-weight: 400;
  text-decoration: none;
  text-shadow: none;
}
.footer-container #footer ul li a:hover,
.footer-container #footer a:hover { color: var(--sg-blond); text-decoration: underline; }
.footer-container #footer #block_contact_infos > div ul li {
  overflow: visible;
  padding-left: 30px;
  position: relative;
}
.footer-container #footer #block_contact_infos > div ul li > span,
.footer-container #footer #block_contact_infos > div ul li > span a {
  color: var(--sg-creme);
  font-size: 16px;
  font-weight: 600;
}
.footer-container #footer #block_contact_infos > div ul li i {
  color: var(--sg-blond);
  float: none;
  font-size: 18px;
  left: 0;
  line-height: 24px;
  margin: 0;
  position: absolute;
  top: 0;
  width: 22px;
}
.footer-container #footer #social_block {
  align-items: center;
  background: none;
  border-top: 1px solid rgba(254, 250, 224, 0.18);
  display: flex;
  flex: 1 1 100%;
  flex-direction: row-reverse;
  float: none !important;
  gap: 12px;
  justify-content: flex-end;
  order: 9;
  padding: 24px 0 0;
  width: 100%;
}
.footer-container #footer #social_block h4 { color: var(--sg-creme); float: none; font-size: 16px; font-weight: 500; line-height: 1.3; margin: 0; padding: 0; }
.footer-container #footer #social_block ul { float: none; }
.footer-container #footer #social_block ul li { float: none; height: auto; padding: 0; width: auto; }
.footer-container #footer #social_block ul li a {
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(254, 250, 224, 0.55);
  border-radius: 50%;
  color: var(--sg-creme);
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.footer-container #footer #social_block ul li a:before { color: inherit; font-size: 20px; }
.footer-container #footer #social_block ul li a:hover { background: var(--sg-creme); color: var(--sg-foret); text-decoration: none; }
.footer-container #footer #social_block ul li a span { display: none; }
.footer-container #footer .card-container { display: none; }

/* Adaptation petits écrans ------------------------------------------------ */
@media (max-width: 991px) {
  .sg-hero__grid { gap: 28px; grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; padding-top: 36px; }
  .sg-hero__visual img { width: 300px; }
  .sg-fiche { gap: 32px; grid-template-columns: minmax(0, 1fr); }
  .sg-fiche__photo img { width: 240px; }
  .sg-livraison__grid { gap: 28px; grid-template-columns: minmax(0, 1fr); }
  .sg-section { padding: 56px 0; }
  #product .primary_block.row { gap: 28px; grid-template-columns: minmax(0, 1fr); }
  #product #image-block img { max-height: 300px; width: auto; }
  #authentication #center_column .row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  :root { --sg-case: 48px; }
  .container,
  #columns.container,
  .sg-wrap { padding-left: 18px; padding-right: 18px; }
  #columns { padding-top: 28px; padding-bottom: 48px; }
  #header .nav nav.nav-header { min-height: 64px; }
  #header .nav #header_logo img.logo { height: 32px !important; }
  #page .page-heading { font-size: 28px; }
  #page .box { padding: 20px; }
  #page .sg-faits ul { grid-template-columns: minmax(0, 1fr); }
  #page .sg-faits li,
  #page .sg-faits li:first-child { border-left: 0; border-top: 1px solid rgba(40, 54, 24, 0.28); padding: 14px 0; }
  #page .sg-faits li:first-child { border-top: 0; }
  .sg-cpform__row .sg-btn { flex: 1 1 100%; }
  #page table.sg-specs th,
  #page table.sg-specs td { font-size: 16px; padding: 12px 0; }
  #estimation .sg-cp-dialog { padding: 28px 22px 24px; }
  #product p.our_price_display .price { font-size: 44px; }
  #product #image-block { padding: 14px; }
  #product #image-block img { max-height: 210px; }
  #product .btn-palette { font-size: 14px; padding: 8px 4px; }
  #product .btn-palette::first-line { font-size: 16px; }
  #product table.table-product-discounts { min-width: 0; }
  #product table.table-product-discounts tr td,
  #product table.table-product-discounts tr th { font-size: 14px; padding: 10px 8px; }
  /* Ajouter au panier reste visible en bas d'écran pendant le choix */
  #product .box-cart-bottom {
    background: var(--sg-creme);
    border-top: 1px solid var(--sg-trait);
    bottom: 0;
    margin: 22px -18px 0;
    padding: 12px 18px;
    position: sticky;
    z-index: 5;
  }
  #page #add_to_cart .button--mimas { max-width: none; }
  #product .tabs .nav-tabs li a { font-size: 16px; padding: 10px 14px; }
  #page ul.step { align-items: flex-end; }
  #page ul.step li { flex: 1 1 0; }
  #page ul.step li { min-width: 24px; width: auto !important; }
  #page ul.step li.step_current { flex: 0 0 auto; }
  #page ul.step li.step_current span { padding-right: 12px; }
  #page ul.step li:not(.step_current) a,
  #page ul.step li:not(.step_current) span { font-size: 0; padding: 0; }
  #cms .rte .container-livraison { grid-template-columns: minmax(0, 1fr); }
  #page .cart_navigation > * { flex: 1 1 100%; }

  /* Pied de page : tout visible, pas d'accordéon */
  .footer-container #footer { padding-bottom: 32px; padding-top: 36px; }
  .footer-container #footer .row { gap: 28px; }
  .footer-container #footer .footer-block { flex: 1 1 100%; }
  .footer-container #footer .footer-block h4 { cursor: default; padding: 0; }
  .footer-container #footer .footer-block h4:after { display: none; }
  .footer-container #footer .footer-block .toggle-footer { display: block !important; }
}

@media (prefers-reduced-motion: reduce) {
  #page * { transition: none !important; scroll-behavior: auto !important; }
  .sg-hero__visual img,
  .sg-hero__visual:before,
  .sg-hero__visual:after,
  .sg-hero__text > * { animation: none !important; }
  .sg-hero__visual:after { opacity: 0.85; }
  .sg-js .sg-hero__text > h1 { opacity: 1; }
}
