/* Pages WooCommerce natives (panier, checkout, compte) dans l'habillage du design — plugin MB Premium Front */
.mb-wc-page { background: #fff; color: #2C2420; font-family: 'Jost', system-ui, sans-serif; font-weight: 300; }
.mb-wc-main { padding: clamp(28px, 5vw, 64px) 0 80px; min-height: 60vh; }
.mb-wc-title { font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 36px; }
.mb-wc-main h2, .mb-wc-main h3 { font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 28px 0 14px; }
.mb-wc-main a { color: inherit; }
.mb-wc-main table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mb-wc-main th, .mb-wc-main td { padding: 14px 8px; border-bottom: 1px solid rgba(44, 36, 32, .12); text-align: left; vertical-align: middle; font-weight: 300; }
.mb-wc-main th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: #6F675F; }
.mb-wc-main img { max-width: 96px; height: auto; background: #f7f7f7; }
.mb-wc-main label { display: block; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6F675F; margin: 0 0 6px; }
.mb-wc-main input[type="text"], .mb-wc-main input[type="email"], .mb-wc-main input[type="tel"], .mb-wc-main input[type="password"],
.mb-wc-main input[type="number"], .mb-wc-main select, .mb-wc-main textarea {
  width: 100%; border: 0; border-bottom: 1px solid #2C2420; border-radius: 0; background: transparent;
  padding: 10px 2px; font: inherit; font-size: 16px; color: inherit; box-shadow: none;
}
.mb-wc-main input:focus, .mb-wc-main select:focus, .mb-wc-main textarea:focus { outline: none; border-bottom-width: 2px; }
.mb-wc-main .form-row { margin: 0 0 20px; }
.mb-wc-main .button, .mb-wc-main button[type="submit"], .mb-wc-main #place_order, .mb-wc-main .checkout-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
  background: #2C2420; color: #fff; border: 0; border-radius: 0; font: inherit; font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer; text-decoration: none;
}
.mb-wc-main #place_order, .mb-wc-main .checkout-button { width: 100%; }
.mb-wc-main .button:hover, .mb-wc-main button[type="submit"]:hover { background: #000; color: #fff; }
.mb-wc-main .woocommerce-info, .mb-wc-main .woocommerce-message, .mb-wc-main .woocommerce-error {
  list-style: none; border: 1px solid rgba(44, 36, 32, .12); background: #faf8f5; padding: 14px 18px; margin: 0 0 24px; font-size: 14px;
}
.mb-wc-main .woocommerce-error { border-color: #b3261e; }
/* checkout : formulaire à gauche, récapitulatif à droite */
@media (min-width: 900px) {
  .mb-wc-main form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 56px; align-items: start; }
  .mb-wc-main form.checkout > * { grid-column: 1; }
  .mb-wc-main form.checkout #order_review_heading, .mb-wc-main form.checkout #order_review { grid-column: 2; }
  .mb-wc-main form.checkout #order_review_heading { grid-row: 1; }
  .mb-wc-main form.checkout #order_review { grid-row: 2 / span 20; position: sticky; top: 110px; }
  .mb-wc-main .col2-set .col-1, .mb-wc-main .col2-set .col-2 { width: 100%; float: none; }
}
.mb-wc-main #payment { background: #faf8f5; padding: 18px; margin-top: 18px; }
.mb-wc-main #payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; }
.mb-wc-main .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 32px; }
.mb-wc-main .woocommerce-MyAccount-navigation a { font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.mb-wc-main .woocommerce-MyAccount-navigation .is-active a { border-bottom: 1px solid currentColor; }

/* Priorité sur les styles intégrés des plugins (fond beige, Montserrat, champs encadrés) */
html body.mb-wc-page { background: #fff !important; }
html body.mb-wc-page .mb-wc-main, html body.mb-wc-page .mb-wc-main *:not(i):not([class*="icon"]):not(svg):not(path) { font-family: 'Jost', system-ui, sans-serif !important; }
html body.mb-wc-page .mb-wc-main h1, html body.mb-wc-page .mb-wc-main h2, html body.mb-wc-page .mb-wc-main h3 { font-weight: 300 !important; color: #2C2420 !important; }
html body.mb-wc-page .mb-wc-main h2, html body.mb-wc-page .mb-wc-main h3 { font-size: 13px !important; letter-spacing: .16em !important; font-weight: 500 !important; }
html body.mb-wc-page .mb-wc-main input[type="text"], html body.mb-wc-page .mb-wc-main input[type="email"],
html body.mb-wc-page .mb-wc-main input[type="tel"], html body.mb-wc-page .mb-wc-main input[type="password"],
html body.mb-wc-page .mb-wc-main select, html body.mb-wc-page .mb-wc-main textarea {
  border: 0 !important; border-bottom: 1px solid #2C2420 !important; border-radius: 0 !important; background: transparent !important;
  box-shadow: none !important; padding: 10px 2px !important; min-height: 0 !important;
}
html body.mb-wc-page .mb-wc-main .select2-container .select2-selection { border: 0 !important; border-bottom: 1px solid #2C2420 !important; border-radius: 0 !important; }
html body.mb-wc-page .mb-wc-main #order_review_heading { display: none !important; } /* titre repris dans le récapitulatif */
html body.mb-wc-page .mb-wc-main #order_review { background: #faf8f5 !important; border: 0 !important; box-shadow: none !important; }
html body.mb-wc-page .mb-wc-main .woocommerce-info { border-top: 0 !important; }
html body.mb-wc-page .mb-wc-main #place_order, html body.mb-wc-page .mb-wc-main .button { background: #2C2420 !important; color: #fff !important; border-radius: 0 !important; }
html body.mb-wc-page .joinchat { display: none !important; } /* une seule bulle WhatsApp : celle du design */
/* articles du blog dans l'habillage du design */
.mb-wc-main.is-post { max-width: 760px; }
.mb-wc-main.is-post p, .mb-wc-main.is-post li { font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.mb-wc-main.is-post h2 { font-size: 15px !important; margin-top: 40px !important; }
.mb-wc-main.is-post img { max-width: 100%; height: auto; }
/* pied de page : identique au reste du site */
html body.mb-wc-page .mb-site-footer, html body.mb-wc-page footer { background: #fff !important; }
html body.mb-wc-page .mb-site-footer, html body.mb-wc-page .mb-site-footer *:not(svg):not(path) { font-family: 'Jost', system-ui, sans-serif !important; }
/* même style de libellé que l'en-tête et les pages du design (chrome.css : 11 px, 500, .12em, capitales) */
html body.mb-wc-page .mb-site-footer h3 { font-size: 11px !important; letter-spacing: .12em !important; text-transform: uppercase !important; font-weight: 500 !important; color: #6F675F !important; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; line-height: 1.45 !important; }
html body.mb-wc-page .mb-site-footer p, html body.mb-wc-page .mb-site-footer span { font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; color: #6F675F !important; font-weight: 300 !important; }
html body.mb-wc-page .mb-site-footer a { font-size: 11px !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: #2C2420 !important; font-weight: 500 !important; }
html body.mb-wc-page .mb-site-footer .mb-news h3 { font-size: 11px !important; }
html body.mb-wc-page #mbc-drawer-legacy, html body.mb-wc-page #mbc-overlay-legacy { display: none !important; }
html body.mb-wc-page .mbc-drawer:not(.is-open) { box-shadow: none !important; visibility: hidden !important; }

/* hauteur finale de l’en-tête réservée avant le JavaScript (pas de saut, CLS) */
@media (min-width: 1101px) { body:not(.mb-home) > header { min-height: 169px; box-sizing: border-box; } }
