/*!
Theme Name: Wallox Child theme
Theme URI: https://bracketweb.com/walloxwp/
Template: wallox
Author: Layerdrops
Author URI: https://themeforest.net/user/Layerdrops
Description: This is a Child theme for Wallox WordPress theme.
Version: 2.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wallox-child
*/

/* =====================================================================
   Miroir Design : charte 2026 (graphite, argent, laiton)
   ===================================================================== */
:root {
	--md-ink: #1f2327;
	--md-ink-2: #3a4046;
	--md-steel: #67707a;
	--md-line: #d9dde1;
	--md-mist: #f1f3f4;
	--md-paper: #ffffff;
	--md-brass: #8c6b37;
	--md-brass-hi: #c3a36b;
	--md-font: "Jost", "Helvetica Neue", Arial, sans-serif;
	--md-wrap: 1200px;
	--md-gut: clamp(16px, 4vw, 40px);
	--md-sec: clamp(56px, 7vw, 96px);
	--md-r: 3px;
}

/* Polices : tout le site en Jost (variables du thème et d'Elementor) */
:root, body { --wallox-font: var(--md-font); --wallox-heading-font: var(--md-font); --wallox-special-font: var(--md-font); --heading-font: var(--md-font); }
body[class*="elementor-kit-"] { --e-global-typography-primary-font-family: "Jost"; --e-global-typography-secondary-font-family: "Jost"; --e-global-typography-text-font-family: "Jost"; --e-global-typography-accent-font-family: "Jost"; }

/* Couleurs du thème Wallox alignées sur la charte (boutons, accents, fonds) */
:root, body { --wallox-text: #67707a; --wallox-text-rgb: 103, 112, 122; --wallox-text-dark: #1f2327; --wallox-text-dark-rgb: 31, 35, 39; --wallox-text-gray: #67707a; --wallox-text-gray-rgb: 103, 112, 122; --wallox-base: #8c6b37; --wallox-base-rgb: 140, 107, 55; --wallox-gray: #f1f3f4; --wallox-gray-rgb: 241, 243, 244; --wallox-border-color: #d9dde1; --wallox-border-color-rgb: 217, 221, 225; --wallox-letter-space: 0.01em; --wallox-letter-space-xl: 0.02em; }
.wallox-btn, .thm-btn, .single_add_to_cart_button, .woocommerce .button, .product-details__review-title, .woocommerce-review-link { text-transform: none !important; }

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--md-font) !important; color: var(--md-ink); background: var(--md-paper); overflow-x: clip; }
body, body p, body li, body input, body select, body textarea, body button { font-family: var(--md-font); }
h1, h2, h3, h4, h5, h6,
.elementor-heading-title, .footer-widget__title, .sec-title__title,
.woocommerce-loop-product__title, .product_title, .page-header__title { font-family: var(--md-font) !important; letter-spacing: -0.01em; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--md-brass); outline-offset: 3px; }
.custom-cursor__cursor, .custom-cursor__cursor-two { display: none !important; }

/* ---------- En-tête ---------- */
.elementor-location-header > .e-con,
.elementor-location-header .elementor-element.e-parent { background: rgba(255, 255, 255, .96) !important; border-bottom: 1px solid var(--md-line); box-shadow: none !important; }
.elementor-location-header .tahefobu-site-logo img { max-height: 64px; width: auto; }
.elementor-location-header .tahefobu-nav-menu > li > a.tahefobu-menu-item {
	font-family: var(--md-font) !important; font-size: 15px !important; font-weight: 500 !important; letter-spacing: .01em;
	color: var(--md-ink) !important; padding: 10px 14px !important; position: relative;
}
.elementor-location-header .tahefobu-nav-menu > li > a.tahefobu-menu-item::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--md-brass);
	transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.elementor-location-header .tahefobu-nav-menu > li > a.tahefobu-menu-item:hover::after,
.elementor-location-header .tahefobu-nav-menu > li.current-menu-item > a.tahefobu-menu-item::after { transform: scaleX(1); }
.elementor-location-header .tahefobu-sub-menu { background: var(--md-paper) !important; border: 1px solid var(--md-line) !important; box-shadow: 0 12px 30px rgba(31, 35, 39, .08) !important; }
.elementor-location-header .tahefobu-sub-menu a { color: var(--md-ink) !important; font-family: var(--md-font) !important; font-size: 15px !important; }
.elementor-location-header .elementor-icon, .elementor-location-header .elementor-icon i,
.elementor-location-header .elementor-icon-box-title a, .elementor-location-header .elementor-menu-cart__toggle .elementor-button { color: var(--md-ink) !important; fill: var(--md-ink) !important; }
.elementor-location-header .elementor-icon-box-title a, .elementor-location-header .elementor-menu-cart__toggle .elementor-button-text { font-family: var(--md-font) !important; }
.elementor-location-header .elementor-icon-box-title { font-size: 13px !important; font-weight: 500 !important; margin-top: 2px !important; }
.elementor-location-header .elementor-menu-cart__toggle .elementor-button { background: transparent !important; border: 0 !important; font-weight: 500 !important; }
.elementor-location-header .elementor-menu-cart__toggle .elementor-button-icon[data-counter]::before { background: var(--md-brass) !important; color: #fff !important; }
.elementor-location-header .tahefobu-mobile-toggle-line { background: var(--md-ink) !important; }
.elementor-location-header .tahefobu-mobile-nav-menu { background: var(--md-paper) !important; border-top: 1px solid var(--md-line); }
.elementor-location-header .tahefobu-mobile-nav-menu a { color: var(--md-ink) !important; font-family: var(--md-font) !important; font-size: 16px !important; }

@media (max-width: 1024px) {
	.elementor-location-header .elementor-element-78d65126 > .e-con-inner { flex-wrap: nowrap !important; align-items: center !important; gap: 8px !important; }
	.elementor-location-header .elementor-element-4ed8dc08 { order: 1; flex: 1 1 auto !important; width: auto !important; min-width: 0; }
	.elementor-location-header .elementor-element-16b2e51 { order: 2; flex: 0 0 auto !important; width: auto !important; }
	.elementor-location-header .elementor-element-1448549a { order: 3; flex: 0 0 auto !important; width: auto !important; }
	.elementor-location-header .elementor-element-4ed8dc08 .tahefobu-site-logo-wrapper, .elementor-location-header .elementor-element-4ed8dc08 .tahefobu-site-logo { text-align: left !important; justify-content: flex-start !important; }
	.elementor-location-header .elementor-menu-cart__toggle .elementor-button-text { display: none !important; }
}

/* ---------- Pied de page ---------- */
.elementor-location-footer .main-footer, .elementor-location-footer > .e-con { background: var(--md-ink) !important; border-top: 1px solid #353b41; }
.elementor-location-footer .footer-widget__text, .elementor-location-footer .footer-widget__links a, .elementor-location-footer [class*="copyright"] { text-transform: none !important; }
.elementor-location-footer .footer-widget__links li { list-style: none !important; padding-left: 0 !important; }
.elementor-location-footer .footer-widget__links li > i { display: none !important; }
.elementor-location-footer .footer-widget__links li::before, .elementor-location-footer .footer-widget__links li::marker { display: none !important; content: none !important; }
.elementor-location-footer .footer-widget__info i, .elementor-location-footer .footer-widget__info i::before { color: var(--md-brass-hi) !important; }
.elementor-location-footer .elementor-widget-social-icons { display: none !important; }
.elementor-location-footer .bw-split-in-right, .elementor-location-footer .bw-split-in-right * { opacity: 1 !important; transform: none !important; -webkit-mask: none !important; mask: none !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
.elementor-location-footer .footer-widget__title { color: #fff !important; font-size: 17px !important; font-weight: 500 !important; margin-bottom: 18px !important; }
.elementor-location-footer .footer-widget__title::after, .elementor-location-footer .footer-widget__title::before { display: none !important; }
.elementor-location-footer, .elementor-location-footer p, .elementor-location-footer li,
.elementor-location-footer a, .elementor-location-footer .footer-widget__text { color: #c4cad0 !important; font-size: 15px !important; line-height: 1.7 !important; }
.elementor-location-footer a:hover { color: var(--md-brass-hi) !important; }
.elementor-location-footer .wallox-btn, .elementor-location-footer .footer-widget__btn {
	background: var(--md-brass) !important; color: #fff !important; border-radius: var(--md-r) !important; padding: 12px 22px !important; font-weight: 500 !important;
}
.elementor-location-footer .wallox-btn::before, .elementor-location-footer .wallox-btn::after { display: none !important; }
.elementor-location-footer .elementor-social-icon { background: transparent !important; border: 1px solid #4b525a; }
.elementor-location-footer .elementor-social-icon i { color: #c4cad0 !important; }
.elementor-location-footer [class*="copyright"], .elementor-location-footer [class*="copyright"] * { color: #9aa2aa !important; font-size: 14px !important; }

/* ---------- Boutons ---------- */
.md-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
	font: 500 16px/1.2 var(--md-font); letter-spacing: .01em; text-decoration: none; border-radius: var(--md-r);
	border: 1px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease; cursor: pointer;
}
.md-btn.md-btn--brass { background: var(--md-brass); color: #fff !important; }
.md-btn.md-btn--brass:hover { background: #765a2d; }
.md-btn.md-btn--line { background: transparent; color: var(--md-ink) !important; border-color: var(--md-ink); }
.md-btn.md-btn--line:hover { background: var(--md-ink); color: #fff !important; }
.md-btn.md-btn--light { background: #fff; color: var(--md-ink) !important; }
.md-btn.md-btn--light:hover { background: var(--md-brass-hi); }
.md-btn.md-btn--ghost { background: transparent; color: #fff !important; border-color: #6f7881; }
.md-btn.md-btn--ghost:hover { border-color: #fff; }
.md a[href^="tel:"] { white-space: nowrap; }

/* ---------- Structure des sections ---------- */
.md { font-family: var(--md-font); color: var(--md-ink); font-size: 17px; line-height: 1.65; }
.md *, .md *::before, .md *::after { box-sizing: border-box; }
.md p { margin: 0 0 1em; color: inherit; font-size: inherit; line-height: inherit; }
.md h1, .md h2, .md h3 { color: var(--md-ink); margin: 0; font-weight: 400; }
.md h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 300; }
.md h3 { font-size: 21px; line-height: 1.3; font-weight: 500; }
.md a { color: var(--md-ink); }
.md img { display: block; max-width: 100%; height: auto; }
.md-wrap { width: 100%; max-width: calc(var(--md-wrap) + 2 * var(--md-gut)); margin: 0 auto; padding: 0 var(--md-gut); }
.md-sec { padding: var(--md-sec) 0; }
.md-sec--mist { background: var(--md-mist); }
.md-sec--ink { background: var(--md-ink); color: #dfe3e6; }
.md-sec--ink h2, .md-sec--ink h3 { color: #fff; }
.md-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.md-head p { color: var(--md-steel); max-width: 56ch; margin: 0; }
.md .md-link { color: var(--md-ink); font-weight: 500; text-decoration: underline !important; text-decoration-color: var(--md-brass-hi) !important; text-decoration-thickness: 1px !important; }
.md .md-link:hover { text-decoration-color: var(--md-brass) !important; color: var(--md-brass); }

/* ---------- Héros : le titre et son reflet ---------- */
.md-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--md-mist) 0, #fff 72%); }
.md-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.md-title { position: relative; margin-bottom: 14px; }
.md-title h1, .md-title__mirror span {
	font-family: var(--md-font) !important; font-weight: 300; font-size: clamp(46px, 7.2vw, 96px); line-height: .98; letter-spacing: -0.035em; color: var(--md-ink);
}
.md-title h1 { margin: 0; padding-bottom: .06em; }
.md-title__mirror { display: block; position: relative; height: .62em; font-size: clamp(46px, 7.2vw, 96px); overflow: hidden; pointer-events: none; user-select: none; border-top: 1px solid rgba(31, 35, 39, .16); }
.md-title__mirror span {
	display: block; transform: translateY(calc(-100% - var(--md-mirror-trim, .12em))) scaleY(-1); transform-origin: 50% 100%;
	-webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .34) 0, rgba(0, 0, 0, 0) .62em);
	mask-image: linear-gradient(to top, rgba(0, 0, 0, .34) 0, rgba(0, 0, 0, 0) .62em);
	color: #5b636b; filter: blur(.4px);
}
.md-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--md-ink-2); max-width: 44ch; }
.md-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.md-facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 620px; }
.md-facts li { border-top: 1px solid var(--md-line); padding-top: 12px; font-size: 15px; line-height: 1.45; color: var(--md-steel); }
.md-facts strong { display: block; color: var(--md-ink); font-weight: 500; font-size: 16px; }
.md-hero__img { margin: 0; position: relative; }
.md-hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--md-r); }
.md-hero__img figcaption { margin-top: 10px; font-size: 14px; color: var(--md-steel); }

/* ---------- Matières ---------- */
.md-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
.md-mat { display: block; text-decoration: none; color: inherit; }
.md-mat__img { overflow: hidden; border-radius: var(--md-r); background: #ece9e4; }
.md-mat__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.md-mat:hover .md-mat__img img { transform: scale(1.03); }
.md-mat h3 { margin-top: 16px; }
.md-mat p { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: var(--md-steel); }
.md .md-mat__go { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--md-brass-hi); }
.md-mat:hover .md-mat__go { color: var(--md-brass); }

/* ---------- Étapes ---------- */
.md-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: md-step; }
.md-steps li { counter-increment: md-step; border-top: 1px solid var(--md-ink); padding-top: 20px; }
.md-steps li::before { content: counter(md-step); display: block; font-size: 44px; font-weight: 300; line-height: 1; color: var(--md-brass); margin-bottom: 18px; }
.md-steps p { margin: 8px 0 0; color: var(--md-steel); font-size: 16px; }

/* ---------- Réalisations / usages ---------- */
.md-uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.md-use { display: block; text-decoration: none; color: inherit; }
.md-use img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--md-r); }
.md-use h3 { margin-top: 14px; font-size: 19px; }
.md-use p { margin: 4px 0 0; font-size: 15px; color: var(--md-steel); line-height: 1.5; }
.md-use:hover h3 { color: var(--md-brass); }
.md .md-also { margin: 36px 0 0; color: var(--md-steel); font-size: 16px; }

/* ---------- Boutique (shortcode WooCommerce) ---------- */
.md-shop-head { padding-bottom: 0; }
.md-shop-head .md-head { margin-bottom: 0; }
.md-shop-grid { padding: clamp(32px, 4vw, 48px) 0 var(--md-sec); }
.md-shop-grid .woocommerce ul.products, .md-shop-grid ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin: 0 !important; padding: 0 !important; }
.md-shop-grid ul.products::before, .md-shop-grid ul.products::after { display: none !important; }
.md-shop-grid ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important; text-align: left !important; }
.md-shop-grid ul.products li.product img { border-radius: var(--md-r); aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 12px !important; }
.md-shop-grid ul.products li.product .woocommerce-loop-product__title, .md-shop-grid ul.products li.product h2 { font-size: 17px !important; font-weight: 500 !important; color: var(--md-ink) !important; line-height: 1.35 !important; padding: 0 !important; }
.md-shop-grid ul.products li.product .price { color: var(--md-steel) !important; font-size: 15px !important; font-weight: 400 !important; }

/* Grille produits (accueil, boutique, catégories) */
.woocommerce ul.products li.product__all-single, ul.products li.product__all-single { background: transparent !important; text-align: left !important; box-shadow: none !important; }
ul.products li.product__all-single .product__all-img { border: 0 !important; border-radius: var(--md-r); overflow: hidden; background: var(--md-mist) !important; }
ul.products li.product__all-single .product__all-img img { transition: transform .5s ease; }
ul.products li.product__all-single:hover .product__all-img img { transform: scale(1.03); }
ul.products li.product__all-single .product__all-content { padding: 14px 0 0 !important; text-align: left !important; background: transparent !important; border: 0 !important; }
ul.products li.product__all-single .star-rating { display: none !important; }
ul.products li.product__all-single .product__item__title { font: 500 17px/1.35 var(--md-font) !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 0 4px !important; text-align: left !important; }
ul.products li.product__all-single .product__item__title a { color: var(--md-ink) !important; }
ul.products li.product__all-single .product__item__title a:hover { color: var(--md-brass) !important; }
ul.products li.product__all-single .product__all-price { text-align: left !important; justify-content: flex-start !important; }
ul.products li.product__all-single .product__all-price .price, ul.products li.product__all-single .product__all-price .amount { color: var(--md-steel) !important; font: 400 15px/1.4 var(--md-font) !important; }
ul.products li.product__all-single .product__add-to-cart { text-align: left !important; margin-top: 12px !important; display: flex !important; justify-content: flex-start !important; }
ul.products li.product__all-single .product__all-price .price { display: block !important; text-align: left !important; }
ul.products li.product__all-single .product__add-to-cart .button {
	background: transparent !important; color: var(--md-ink) !important; border: 1px solid var(--md-ink) !important; border-radius: var(--md-r) !important;
	font: 500 14px/1.2 var(--md-font) !important; text-transform: none !important; letter-spacing: .01em !important; padding: 9px 16px !important; min-height: 0 !important; box-shadow: none !important;
}
ul.products li.product__all-single .product__add-to-cart .button::before, ul.products li.product__all-single .product__add-to-cart .button::after { display: none !important; }
ul.products li.product__all-single .product__add-to-cart .button:hover { background: var(--md-ink) !important; color: #fff !important; }

/* ---------- Avis ---------- */
.md-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.md-quote { margin: 0; border-left: 2px solid var(--md-brass-hi); padding: 4px 0 4px 24px; }
.md-quote p { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; font-weight: 300; color: var(--md-ink); margin: 0 0 14px; }
.md-quote footer { font-size: 15px; color: var(--md-steel); }
.md-quote footer strong { color: var(--md-ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.md-faq { border-top: 1px solid var(--md-line); }
.md-faq details { border-bottom: 1px solid var(--md-line); }
.md-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 22px 0; font-size: 19px; font-weight: 500; color: var(--md-ink); }
.md-faq summary::-webkit-details-marker { display: none; }
.md-faq summary::after { content: "+"; font-weight: 300; font-size: 28px; line-height: 1; color: var(--md-brass); transition: transform .2s ease; }
.md-faq details[open] summary::after { transform: rotate(45deg); }
.md-faq .md-faq__a { padding: 0 0 24px; color: var(--md-ink-2); max-width: 72ch; }
.md-faq .md-faq__a ul { margin: 0 0 1em; padding-left: 1.2em; }
.md-faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; }
.md-faq-wrap .md-side p { color: var(--md-steel); }

/* ---------- Bandeau contact ---------- */
.md-cta { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 64px; align-items: start; }
.md-cta h2 { color: #fff; }
.md h2 + p, .md-side h2 + p { margin-top: 16px; }
.md-cta p { color: #c4cad0; }
.md-cta .md-actions { margin-top: 24px; }
.md-coords { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.md-coords li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #3a4046; font-size: 16px; color: #dfe3e6; }
.md-coords li:first-child { border-top: 1px solid #3a4046; }
.md-coords span { color: #9aa2aa; }
.md-coords a { color: #fff; text-decoration: none; }
.md-coords a:hover { color: var(--md-brass-hi); }

/* ---------- Pages intérieures ---------- */
.md-page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); background: var(--md-mist); }
.md-page-hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; font-weight: 300; letter-spacing: -0.03em; }
.md-page-hero p { margin: 18px 0 0; max-width: 60ch; color: var(--md-ink-2); font-size: 19px; }
.md-crumbs { font-size: 14px; color: var(--md-steel); margin-bottom: 18px; }
.md-crumbs a { color: var(--md-steel); }
.md-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.md-split--rev .md-split__img { order: -1; }
.md-split img { width: 100%; border-radius: var(--md-r); aspect-ratio: 4 / 5; object-fit: cover; }
.md-split h2 { margin-bottom: 20px; }
.md-list { list-style: none; margin: 20px 0 0; padding: 0; }
.md-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--md-line); position: relative; }
.md-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 14px; height: 1px; background: var(--md-brass); }
.md-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.md-cols3 > div { border-top: 1px solid var(--md-line); padding-top: 18px; }
.md-cols3 p { color: var(--md-steel); font-size: 16px; margin-top: 8px; }
.md-gallery { columns: 3 280px; column-gap: 16px; }
.md-gallery a { display: block; margin: 0 0 16px; break-inside: avoid; }
.md-gallery img { width: 100%; border-radius: var(--md-r); }
.md-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.md-contact .md-coords li { border-color: var(--md-line); color: var(--md-ink); }
.md-contact .md-coords li:first-child { border-top-color: var(--md-line); }
.md-contact .md-coords span { color: var(--md-steel); }
.md-contact .md-coords a { color: var(--md-ink); }
.md-map { margin-top: 28px; }
.md-map iframe { width: 100%; height: 300px; border: 0; border-radius: var(--md-r); filter: grayscale(1) contrast(1.05); }
.md-form { background: var(--md-mist); padding: clamp(24px, 4vw, 40px); border-radius: var(--md-r); }
.md-form .wpcf7 label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 14px; color: var(--md-ink); }
.md-form .wpcf7 input[type=text], .md-form .wpcf7 input[type=email], .md-form .wpcf7 input[type=tel], .md-form .wpcf7 textarea, .md-form .wpcf7 select {
	width: 100%; border: 1px solid #c9ced3; background: #fff; border-radius: var(--md-r); padding: 12px 14px; font: 400 16px/1.4 var(--md-font); color: var(--md-ink); margin-top: 6px;
}
.md-form .wpcf7 input:focus, .md-form .wpcf7 textarea:focus { border-color: var(--md-ink); outline: none; box-shadow: 0 0 0 3px rgba(140, 107, 55, .18); }
.md-form .wpcf7 textarea { min-height: 140px; }
.md-form .wpcf7 input[type=submit], .md-form .wpcf7 button {
	background: var(--md-brass) !important; color: #fff !important; border: 0 !important; border-radius: var(--md-r) !important; min-height: 48px; padding: 12px 28px !important; font: 500 16px var(--md-font) !important; cursor: pointer;
}
.md-form .wpcf7 input[type=submit]:hover { background: #765a2d !important; }

/* ---------- Pages WooCommerce et contenus classiques ---------- */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .single_add_to_cart_button, .checkout-button {
	font-family: var(--md-font) !important; border-radius: var(--md-r) !important;
}
.woocommerce .button.alt, .woocommerce button.button.alt, .single_add_to_cart_button, .checkout-button { background: var(--md-brass) !important; color: #fff !important; }
.woocommerce .button.alt:hover, .single_add_to_cart_button:hover, .checkout-button:hover { background: #765a2d !important; }
.woocommerce .price, .woocommerce-Price-amount { color: var(--md-ink); }

/* Galerie, formulaire de contact */
.md-gallery figure { margin: 0 0 20px; break-inside: avoid; }
.md-gallery figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--md-steel); }
.md-form__title { font-size: 26px !important; margin-bottom: 20px !important; }
.md-form .wpcf7 p { margin: 0; }
.md-form .md-f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.md-form .wpcf7 input[type=number] { width: 100%; border: 1px solid #c9ced3; background: #fff; border-radius: var(--md-r); padding: 12px 14px; font: 400 16px/1.4 var(--md-font); color: var(--md-ink); margin-top: 6px; }
.md-form .wpcf7 select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--md-ink) 50%), linear-gradient(135deg, var(--md-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.md-form .wpcf7 .wpcf7-acceptance { display: block; margin: 4px 0 18px; font-size: 14px; color: var(--md-steel); font-weight: 400; }
.md-form .wpcf7 .wpcf7-acceptance input { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; accent-color: var(--md-brass); }
.md-form .wpcf7 .wpcf7-not-valid-tip { font-size: 13px; color: #a3261d; margin-top: 4px; }
.md-form .wpcf7 .wpcf7-response-output { margin: 16px 0 0 !important; border-radius: var(--md-r); font-size: 15px; }
.md-map-link { margin-top: 20px; }
@media (max-width: 767px) { .md-form .md-f2 { grid-template-columns: minmax(0, 1fr); } }

/* Titres de pages, boutique, avis */
@font-face { font-family: "star"; src: url("/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
.md-pt { max-width: calc(var(--md-wrap) + 2 * var(--md-gut)); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--md-gut) 12px; }
.md-pt h1, .md-shop-intro h1 { font: 300 clamp(34px, 4.4vw, 56px)/1.06 var(--md-font) !important; letter-spacing: -0.03em; color: var(--md-ink); margin: 0 0 12px; }
.md-shop-intro { margin: 0 0 28px; max-width: 760px; }
.md-shop-intro p, .md-shop-intro__desc { color: var(--md-steel); font-size: 17px; line-height: 1.6; }
.md-shop-intro a { color: var(--md-ink); text-decoration: underline; text-decoration-color: var(--md-brass-hi); }
.shop-one__product-count, .woocommerce-ordering, .woocommerce-ordering select, .product-details__review-title, .review-form-one__title, .product-details__quantity-title, .product-details__socials__title { text-transform: none !important; font-family: var(--md-font) !important; }
.woocommerce-ordering select { background: #fff !important; border: 1px solid var(--md-line) !important; border-radius: var(--md-r) !important; }

/* Fiche produit : galerie contenue dans l'écran sur mobile */
.woocommerce-product-gallery, .woocommerce-product-gallery__wrapper, .woocommerce-product-gallery__image { max-width: 100% !important; }
.woocommerce-product-gallery img { max-width: 100% !important; height: auto !important; }
@media (max-width: 991px) { .product__card { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 767px) { table.variations, table.variations tbody, table.variations tr, table.variations th, table.variations td { display: block !important; width: 100% !important; } table.variations td.value select, table.variations .select2-container { width: 100% !important; max-width: 100% !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.md-hero__grid, .md-head, .md-cta, .md-faq-wrap, .md-split, .md-contact { grid-template-columns: minmax(0, 1fr); }
	.md-hero__img { max-width: 520px; }
	.md-mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md-shop-grid .woocommerce ul.products, .md-shop-grid ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.md-split--rev .md-split__img { order: 0; }
}
@media (max-width: 767px) {
	.md { font-size: 16px; }
	.md-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.md-facts li { padding: 10px 0; }
	.md-steps, .md-quotes, .md-cols3 { grid-template-columns: minmax(0, 1fr); }
	.md-mats { grid-template-columns: minmax(0, 1fr); }
	.md-mat__img img { aspect-ratio: 16 / 10; }
	.md-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.md-use h3 { font-size: 17px; }
	.md-use p { display: none; }
	.md-shop-grid .woocommerce ul.products, .md-shop-grid ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.md-actions .md-btn { flex: 1 1 100%; }
	.md-coords li { grid-template-columns: 92px minmax(0, 1fr); }
	.md-faq summary { font-size: 17px; }
	.elementor-location-header .tahefobu-site-logo img { max-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.md *, .md *::before, .md *::after { transition: none !important; }
}

/* Liens longs (URL, e-mails) : retour à la ligne sur mobile */
.site-main .wp-block-heading a, .site-main p a:not([class]), .site-main li a:not([class]) { overflow-wrap: anywhere; }
.error-404__sub-title, .error-404__text, .error-404__btn span { text-transform: none !important; }
