/*
 * Mon Échoppe – modèle « Atelier » (thème Kadence).
 * Couleurs : variables de l'ambiance (--me-primary, --me-bg, --me-bg-2, --me-radius), posées par Theme::css().
 * Polices : Fraunces (titres) et Inter (texte), servies par le plugin, sans appel à Google Fonts.
 */
@font-face{font-family:"ME Fraunces";src:url(fonts/fraunces.woff2) format("woff2");font-weight:300 900;font-display:swap}
@font-face{font-family:"ME Inter";src:url(fonts/inter.woff2) format("woff2");font-weight:100 900;font-display:swap}

:root{
	--me-primary:#2F6B57;--me-primary-dark:#285B4A;--me-bg:#F7F5EF;--me-bg-2:#EDEBE5;--me-radius:8px;
	--global-heading-font-family:"ME Fraunces",Georgia,serif;
	--global-body-font-family:"ME Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
	--global-primary-nav-font-family:"ME Inter",system-ui,sans-serif;
	--me-ink:#1F1F1D;--me-muted:#5C5B55;--me-line:rgba(31,31,29,.10);
	--me-card-r:14px;--me-box-r:8px; /* posés par Theme::css() selon la forme choisie */
}
body{font-family:var(--global-body-font-family);color:var(--me-ink);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.entry-title,.site-title,.product_title,.woocommerce-loop-product__title{font-family:var(--global-heading-font-family);letter-spacing:-.01em}
h1,.entry-title,.product_title{font-weight:600}
a{text-underline-offset:3px}

/* En-tête : sobre, une fine ligne en bas */
.site-header .site-main-header-wrap,.site-header .site-header-row-container-inner{background:#fff}
.site-header{border-bottom:1px solid var(--me-line)}
.site-branding .site-title{font-weight:600;font-size:clamp(20px,2.4vw,26px)}
.site-branding .custom-logo{max-height:64px;width:auto}
.main-navigation .primary-menu-container>ul>li.menu-item>a{font-weight:500;font-size:15px}
.main-navigation .primary-menu-container>ul>li.current-menu-item>a,.main-navigation .primary-menu-container>ul>li>a:hover{color:var(--me-primary)}

/* Zone de titre des pages (Panier, Boutique…) : teinte de l'ambiance, plus compacte */
.entry-hero .entry-hero-container-inner{background:var(--me-bg-2,var(--global-palette7))}
.entry-hero .hero-section-overlay{background:transparent}
.entry-hero.entry-hero .entry-header{min-height:0!important;padding:32px 0 26px}
.entry-hero .entry-title{font-size:clamp(28px,4vw,42px)}

/* Blocs de contenu : cartes blanches arrondies */
.content-bg,.entry.content-bg,.site-main .woocommerce-cart-form,.woocommerce .cart-collaterals .cart_totals{border-radius:var(--me-card-r)}
.entry.content-bg{box-shadow:0 1px 2px rgba(31,31,29,.04),0 8px 24px rgba(31,31,29,.05)}

/* Boutons */
.button,button.button,.wp-element-button,.wp-block-button__link,input[type=submit],.woocommerce a.button,.woocommerce button.button,.wc-block-components-button:not(.is-link){
	background:var(--me-primary);color:#fff;border:0;border-radius:var(--me-radius,8px);font-weight:600;letter-spacing:.01em;
	padding:.8em 1.5em;transition:background .2s,transform .15s,box-shadow .2s;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.button:hover,.wp-element-button:hover,.wp-block-button__link:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.wc-block-components-button:not(.is-link):hover{
	background:var(--me-primary-dark,var(--me-primary));color:#fff;transform:translateY(-1px);box-shadow:0 6px 16px rgba(31,31,29,.14)}
.button:focus-visible,.wp-element-button:focus-visible,a:focus-visible{outline:3px solid color-mix(in srgb,var(--me-primary) 45%,transparent);outline-offset:2px}

/* Grille des produits */
.woocommerce ul.products{gap:24px}
.woocommerce ul.products li.product{background:#fff;border-radius:var(--me-card-r);overflow:hidden;box-shadow:0 1px 2px rgba(31,31,29,.05),0 6px 18px rgba(31,31,29,.05);transition:transform .2s,box-shadow .2s}
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(31,31,29,.10)}
.woocommerce ul.products li.product a img,.woocommerce ul.products li.product .woocommerce-loop-image-link img{aspect-ratio:1/1;object-fit:cover;width:100%;margin:0;border-radius:0}
.woocommerce ul.products li.product .product-details,.woocommerce ul.products li.product .entry-content-wrap{padding:12px 16px 16px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;font-weight:600;line-height:1.3;margin:0 0 2px;padding:0}
.woocommerce ul.products li.product .price{margin:0}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--me-ink);font-weight:700}
.woocommerce ul.products li.product .price del,.woocommerce div.product p.price del{color:var(--me-muted);font-weight:400;opacity:.8}
.woocommerce ul.products li.product .price ins,.woocommerce div.product p.price ins{text-decoration:none;color:var(--me-primary)}
.woocommerce span.onsale{background:var(--me-primary);color:#fff;border-radius:999px;min-height:0;min-width:0;line-height:1;padding:7px 12px;font-size:12px;font-weight:700;top:12px;left:12px;right:auto}

/* Fiche produit */
.woocommerce div.product .product_title{font-size:clamp(28px,3.4vw,40px);line-height:1.15;margin-bottom:10px}
.woocommerce div.product p.price{font-size:24px}
.woocommerce div.product div.images img{border-radius:var(--me-card-r)}
.woocommerce div.product form.cart .single_add_to_cart_button{height:auto;min-height:48px;line-height:1.2;padding:.9em 2em;font-size:16px}
.woocommerce div.product form.cart .quantity .qty{height:48px}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-weight:600}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--me-primary)}
.woocommerce .quantity .qty{border-radius:var(--me-radius,8px)}
.woocommerce .stock.out-of-stock{color:#A93226;font-weight:600}
.woocommerce .stock.in-stock{color:#1E6B45}

/* Champs de formulaire (panier, paiement, compte) */
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],select,textarea,.wc-block-components-text-input input{
	border-radius:var(--me-radius,8px);border-color:rgba(31,31,29,.18)}
textarea,.me-field textarea{border-radius:var(--me-box-r,8px)!important}
input:focus,select:focus,textarea:focus{border-color:var(--me-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--me-primary) 18%,transparent);outline:0}

/* Panier et paiement (blocs WooCommerce) */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-weight:700}
.wc-block-cart .wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{width:100%;padding:1em;font-size:16px}
.wc-block-components-radio-control__option-checked,.wc-block-components-radio-control-accordion-option--checked-option-highlighted{box-shadow:inset 0 0 0 2px var(--me-primary)!important}
.wp-block-woocommerce-empty-cart-block h2{font-family:var(--global-heading-font-family)}

/* Messages */
.woocommerce-message,.woocommerce-info,.wc-block-components-notice-banner.is-info,.wc-block-components-notice-banner.is-success{border-radius:var(--me-box-r,8px);border-top-color:var(--me-primary)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--me-primary)}

/* En-tête : icônes Mon compte et panier */
.me-hicon,.header-cart-button,.header-mobile-cart-wrap .header-cart-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;color:var(--me-ink)!important;transition:background .2s,color .2s}
.me-hicon:hover,.header-cart-button:hover{background:var(--me-bg-2,#EFEBE3);color:var(--me-primary)!important}
.header-html-inner .me-hicon,.mobile-html-inner .me-hicon{vertical-align:middle}
.header-cart-button,.me-hfav{position:relative}
.header-cart-wrap .header-cart-total,.header-mobile-cart-wrap .header-cart-total{position:absolute!important;top:2px;right:-7px;margin:0!important;background:var(--me-primary)!important;color:#fff!important;font-size:11px;font-weight:700;min-width:18px;height:18px;line-height:18px;border-radius:999px;padding:0 5px;text-align:center;box-shadow:0 0 0 2px #fff}
.me-hcount{box-shadow:0 0 0 2px #fff}
.mobile-html-inner,.header-html-inner{display:flex;align-items:center;gap:2px;white-space:nowrap}
@media (max-width:1024px){
	#mobile-header .custom-logo{max-height:46px!important;width:auto;max-width:150px;height:auto}
	#mobile-header .site-header-main-section-right{gap:0}
	#mobile-header .me-hicon,#mobile-header .header-cart-button{width:38px;height:38px}
	#mobile-header .me-hicon svg,#mobile-header .header-cart-button svg{width:21px;height:21px}
	#mobile-header .site-header-item{margin:0!important}
	#mobile-header .mobile-toggle-open-container .menu-toggle-open{padding-left:6px;padding-right:2px}
}
@media (max-width:360px){#mobile-header .custom-logo{max-width:120px}}
.site-header-item-html,.site-header-item-cart{margin-left:4px}

/* Favoris */
.me-card,.woocommerce ul.products li.product{position:relative}
.me-fav{position:absolute;top:10px;right:10px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.92);color:var(--me-ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(31,31,29,.12);transition:transform .15s,color .2s}
.me-fav svg{fill:none;stroke:currentColor;stroke-width:1.8;width:20px;height:20px}
.me-fav:hover,.me-fav:focus,.me-fav:active,.me-fav.is-on{background:rgba(255,255,255,.95)!important;box-shadow:0 2px 8px rgba(31,31,29,.12)!important}
.me-fav:hover{color:var(--me-primary)!important;transform:scale(1.06)}
.me-fav.is-on{color:var(--me-primary)!important}.me-fav.is-on svg{fill:currentColor}
.me-fav.pop{transform:scale(1.25)}
.me-fav--single:hover,.me-fav--single:focus,.me-fav--single.is-on{background:#fff!important;box-shadow:none!important}
.me-fav--single{position:static;width:auto;height:auto;min-height:48px;border-radius:var(--me-radius,8px);padding:0 16px;gap:8px;background:#fff;border:1px solid rgba(31,31,29,.2);box-shadow:none;font:inherit;font-weight:600;font-size:15px;margin-left:10px;vertical-align:middle}
.me-hfav{position:relative}
.me-hcount{position:absolute;top:2px;right:-7px;min-width:18px;height:18px;line-height:18px;padding:0 5px;border-radius:999px;background:var(--me-primary);color:#fff;font-size:11px;font-weight:700;text-align:center}
.me-hcount[hidden]{display:none}
.me-favempty{background:#fff;border-radius:var(--me-card-r);padding:28px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.me-favempty p{margin:0;color:var(--me-muted)}
.woocommerce-account .me-favpage{padding:0}.woocommerce-account .me-favpage .me-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
@media (max-width:767px){.me-fav{width:34px;height:34px;top:8px;right:8px}.me-fav--single{margin:10px 0 0;width:100%;justify-content:center}}

/* Pied de page */
.site-footer .site-footer-wrap{border-top:1px solid var(--me-line)}
.site-footer,.site-footer a{font-size:14px}
.site-footer a:hover{color:var(--me-primary)}
.monechoppe-credit{text-align:center;font-size:12px;padding:10px 16px 14px;color:var(--me-muted)}
.monechoppe-credit a{color:inherit;font-weight:600}

/* Bandeau d'annonce */
.monechoppe-announce{letter-spacing:.01em}

/* ========== Modèle Atelier : blocs des pages (Blocks.php + Pages.php) ========== */
.me-section{padding:clamp(32px,4.5vw,56px) 24px}
/* Deux sections de même fond qui se suivent : pas de double espace */
.me-white+.me-white,.me-section:not(.me-white):not(.me-band)+.me-section:not(.me-white):not(.me-band){padding-top:0}
/* Pas de marge Kadence entre les blocs des pages du modèle : seul le padding des sections compte */
.single-content:has(.me-section)>*{margin-top:0!important;margin-bottom:0!important}
.me-section>*{max-width:1200px;margin-left:auto;margin-right:auto}
.me-section--tight{padding-top:clamp(16px,2.5vw,28px)}
.me-section--first{padding-top:clamp(28px,4vw,44px)}
.me-white{background:#fff}
.me-band{background:var(--me-primary);color:#fff}
.me-band .me-h2,.me-band .me-lead,.me-band a{color:#fff}
.me-band .me-lead{opacity:.9}
.me-h2{font-family:var(--global-heading-font-family);font-size:clamp(28px,3.2vw,40px);line-height:1.12;font-weight:600;margin:0 0 8px}
.me-sub{color:var(--me-muted);margin:0}
.me-head{margin-bottom:20px!important}
.me-head,.me-head>.wp-block-group__inner-container,.me-cta,.me-cta>.wp-block-group__inner-container{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:16px}
.me-cta>.wp-block-group__inner-container{align-items:center;width:100%}
.me-head .wp-block-group__inner-container .wp-block-group__inner-container{display:block}
.me-head .wp-block-group{width:auto;flex:1 1 320px;margin:0!important}
.me-head .me-more{flex:none}
.me-head .me-h2{margin-bottom:6px}
.me-more{margin:0;font-weight:600}.me-more a{color:var(--me-primary);text-decoration:none}
.me-kicker{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:13px;font-weight:700;color:var(--me-primary);margin:0 0 10px}
.me-kicker+.me-h2,.me-kicker+h2,.me-kicker+h1,.me-kicker+.wp-block-heading{margin-top:0!important;margin-block-start:0!important}
.me-kicker:has(+.me-h2),.me-kicker:has(+.wp-block-heading){margin-bottom:8px!important;margin-block-end:8px!important}
.me-lead{font-size:clamp(16px,1.5vw,18px);line-height:1.7;color:var(--me-muted)}
.me-split{gap:clamp(32px,5vw,64px)!important}
.me-btn,.me-section .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 26px;border-radius:var(--me-radius,8px);background:var(--me-primary);color:#fff!important;font-weight:600;font-size:16px;text-decoration:none;border:1px solid var(--me-primary);cursor:pointer;line-height:1.2;transition:background .2s,transform .15s}
.me-btn:hover,.me-section .wp-block-button__link:hover{background:var(--me-primary-dark,var(--me-primary));transform:translateY(-1px)}
.me-btn--ghost,.me-section .is-style-outline .wp-block-button__link{background:transparent;color:var(--me-ink)!important;border-color:rgba(31,31,29,.25)}
.me-btn--ghost:hover,.me-section .is-style-outline .wp-block-button__link:hover{background:rgba(31,31,29,.05)}
.me-band .is-style-outline .wp-block-button__link{color:#fff!important;border-color:rgba(255,255,255,.6)}
.me-btn--line{background:#fff;color:var(--me-primary)!important;min-height:44px;font-size:14px;padding:0 14px;width:100%}
.me-btn--line:hover{background:var(--me-primary);color:#fff!important}
.me-round{width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:var(--me-ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 3px rgba(31,31,29,.12)}
.me-round:hover{color:var(--me-primary)}
.me-round svg,.me-ic svg{flex:none;width:18px!important;height:18px!important;max-width:none}
.me-ic svg{width:22px!important;height:22px!important}
.me-noimg{background:linear-gradient(135deg,var(--me-bg-2,#EDEBE5),#fff)}

/* Carrousel d'accueil */
.me-hero-c{position:relative;background:var(--me-bg-2,var(--global-palette7));padding:clamp(28px,4.5vw,56px) 24px clamp(68px,7vw,84px)}
.me-hero-track{display:grid;max-width:1200px;margin:0 auto}
.me-hero-slide{grid-area:1/1;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:clamp(28px,5vw,56px);align-items:center;opacity:0;visibility:hidden;transition:opacity .6s,visibility .6s}
.me-hero-slide.is-on{opacity:1;visibility:visible}
.me-hero-text{display:flex;flex-direction:column;align-items:flex-start}
.me-hero-title{font-family:var(--global-heading-font-family);font-size:clamp(36px,5vw,60px);line-height:1.06;font-weight:600;margin:0 0 16px!important;padding:0}
.me-hero-text .me-kicker{margin-bottom:8px}
.me-hero-text .me-lead{margin:0 0 26px;max-width:500px}
.me-actions{display:flex;gap:12px;flex-wrap:wrap}
.me-hero-img{width:100%;height:clamp(280px,36vw,460px);object-fit:cover;border-radius:24px;display:block}
.me-hero-nav{position:absolute;left:0;right:0;bottom:22px;display:flex;justify-content:center;align-items:center;gap:14px}
.me-hero-nav .me-round{width:40px;height:40px}
.me-dots{display:flex;gap:8px}
.me-dot{width:10px;height:10px;border-radius:5px;border:0;padding:0;background:rgba(31,31,29,.25);cursor:pointer;transition:width .3s,background .3s}
.me-dot.is-on{width:28px;background:var(--me-primary)}

/* Réassurance */
.me-trustwrap{background:#fff;border-bottom:1px solid var(--me-line);padding:20px 24px}
.me-trust-bar{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.me-trust-item{display:flex;gap:14px;align-items:center}
.me-trust-item b{display:block;font-size:15px}.me-trust-item small{font-size:13px;color:var(--me-muted)}
.me-ic{width:44px;height:44px;border-radius:50%;background:var(--me-bg-2,#EFEBE3);color:var(--me-primary);display:flex;align-items:center;justify-content:center;flex:none}

/* Univers */
.me-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.me-cat{position:relative;display:block;border-radius:20px;overflow:hidden;text-decoration:none;color:var(--me-ink)}
.me-cat-img{width:100%;height:340px;object-fit:cover;display:block;transition:transform .5s}
.me-cat:hover .me-cat-img{transform:scale(1.04)}
.me-cat-label{position:absolute;left:16px;right:16px;bottom:16px;background:#fff;border-radius:12px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;color:var(--me-primary);font-size:20px}
.me-cat-label b{display:block;font-family:var(--global-heading-font-family);font-size:20px;color:var(--me-ink)}
.me-cat-label small{font-size:13px;color:var(--me-muted)}

/* Cartes produits du modèle */
.me-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:24px}
.me-card{background:#fff;border-radius:var(--me-card-r);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(31,31,29,.05),0 6px 18px rgba(31,31,29,.05);transition:transform .2s,box-shadow .2s}
.me-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(31,31,29,.10)}
.me-card-media{position:relative;display:block}
.me-card-img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.me-badge{position:absolute;top:12px;left:12px;background:var(--me-primary);color:#fff;font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px}
.me-badge--dark{background:var(--me-ink)}
.me-card-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.me-card-cat{font-size:12px;color:var(--me-muted);text-transform:uppercase;letter-spacing:.08em}
.me-card-title{font-family:var(--global-heading-font-family);font-size:18px;font-weight:600;line-height:1.3;margin:0!important;padding:0}
.me-card-title a{color:var(--me-ink);text-decoration:none}
.me-card-price{font-weight:700;font-size:17px;margin-bottom:8px}
.me-card-price del{color:var(--me-muted);font-weight:400;font-size:14px}
.me-card-price ins{text-decoration:none}
.me-card .me-btn--line{margin-top:auto}
.me-card .added_to_cart{font-size:13px;font-weight:600;color:var(--me-primary);text-align:center;margin-top:6px}
.me-empty{color:var(--me-muted)}

/* Kadence (boutique) : bouton toujours visible sous le prix, pas de bloc qui glisse sur la photo */
.woocommerce ul.products li.product .product-action-wrap{position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;margin-top:10px;background:transparent!important;padding:0!important}
.woocommerce ul.products li.product .product-action-wrap .button{width:100%;background:#fff;color:var(--me-primary);border:1px solid var(--me-primary);min-height:44px;height:auto;line-height:1.2;padding:10px 14px;font-size:14px;text-transform:none;letter-spacing:0}
.woocommerce ul.products li.product .product-action-wrap .button:hover{background:var(--me-primary);color:#fff}
.woocommerce ul.products li.product .product-action-wrap .added_to_cart{display:block;text-align:center;font-size:13px;margin-top:6px;text-transform:none}
.woocommerce ul.products li.product .product-details{position:static!important;transform:none!important;background:transparent!important}

/* Mosaïque « Notre maison » */
.me-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:200px 200px;gap:16px}
.me-mosaic-img{width:100%;height:100%;object-fit:cover;border-radius:var(--me-card-r,20px);display:block}
.me-mosaic-fill{background:linear-gradient(135deg,color-mix(in srgb,var(--me-primary) 22%,var(--me-bg,#fff)),color-mix(in srgb,var(--me-primary) 8%,var(--me-bg,#fff)))}
.me-mosaic-1{grid-row:1/3}
.me-mosaic--1{display:block}
.me-mosaic--1 .me-mosaic-img{height:clamp(300px,34vw,440px)}

/* Avis (option) */
.me-reviews{text-align:center}
.me-rev-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:20px;text-align:left}
.me-rev{margin:0;background:#fff;border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:14px}
.me-stars{color:#C98A1B;letter-spacing:3px;font-size:18px}
.me-rev blockquote{margin:0;font-family:var(--global-heading-font-family);font-size:19px;line-height:1.5;border:0;padding:0}
.me-rev figcaption{font-size:14px;color:var(--me-muted)}

/* Formulaire de contact */
.me-form{background:#fff;color:var(--me-ink);border-radius:20px;padding:clamp(22px,3vw,32px);display:flex;flex-direction:column;gap:16px;box-shadow:0 1px 2px rgba(31,31,29,.05)}
.me-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.me-field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--me-ink)}
.me-field small{display:inline;font-weight:400;color:var(--me-muted)}
.me-lbl{display:block}
.me-req{color:var(--me-primary);text-decoration:none!important;font-weight:700;border:0;cursor:help}
.me-req-note{margin:-4px 0 0;font-size:12.5px;color:var(--me-muted)}
.me-field input,.me-field textarea,.me-field select{font:inherit;font-weight:400;font-size:16px;padding:12px 14px;border:1px solid rgba(31,31,29,.18);border-radius:var(--me-radius,8px);background:#fff;color:var(--me-ink);width:100%;box-sizing:border-box}
.me-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--me-muted);line-height:1.5}
.me-check input{width:18px;height:18px;margin-top:1px;flex:none}
.me-check a{color:var(--me-primary)!important}
.me-form .me-btn{align-self:flex-start}
.me-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.me-notice{margin:0;padding:12px 16px;border-radius:var(--me-box-r,8px);font-size:14px;font-weight:600}
.me-notice--ok{background:#E6F2EC;color:#1E6B45}.me-notice--err{background:#FBE6E3;color:#A93226}

/* Coordonnées */
.me-contact{display:flex;flex-direction:column;gap:12px;margin:20px 0}
.me-contact p{margin:0;padding:16px 18px;background:#fff;border-radius:14px;line-height:1.6;color:var(--me-ink)}
.me-contact strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--me-primary)}
.me-contact a{color:var(--me-ink)!important}
.me-contact br{display:none}
.me-contact-page .me-contact p{background:var(--me-bg,#F7F5EF)}
.me-contact-page .me-box{background:var(--me-bg,#F7F5EF)}
.me-band .me-contact p{background:rgba(255,255,255,.1);color:#fff}
.me-band .me-contact strong,.me-band .me-contact a{color:#fff!important}
.me-box{background:#fff;border-radius:16px;padding:22px}
.me-box h3{font-size:20px;margin:0 0 6px}.me-box p{margin:0;color:var(--me-muted)}

/* Galerie À propos */
.me-gal-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px}
.me-gal-nav{display:flex;gap:8px}
.me-gal-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,calc((100% - 40px)/3));gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.me-gal-track::-webkit-scrollbar{display:none}
.me-gal-item{margin:0;scroll-snap-align:start}
.me-gal-img{width:100%;height:360px;object-fit:cover;border-radius:20px;display:block}
.me-gal-item figcaption{font-size:14px;color:var(--me-muted);margin-top:8px}

/* Engagements, appel à l'action */
.me-values .wp-block-column{background:var(--me-bg,#F7F5EF);border-radius:20px;padding:22px 24px}
.me-values h3{font-size:22px;margin:0 0 8px}.me-values p{margin:0;color:var(--me-muted)}
.me-cta{background:var(--me-primary);color:#fff;border-radius:28px;padding:clamp(32px,5vw,56px)!important;gap:24px;align-items:center}
.me-cta .me-h2{color:#fff;margin:0}
.me-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link{background:#fff;color:var(--me-ink)!important;border-color:#fff}
.me-cta .is-style-outline .wp-block-button__link{color:#fff!important;border-color:rgba(255,255,255,.6)}

/* FAQ */
.me-faq{display:flex;flex-direction:column;gap:12px;max-width:860px}
.me-faq details{background:var(--me-bg-2,#F2EFE8);border:1px solid var(--me-line);border-left:4px solid color-mix(in srgb,var(--me-primary) 35%,transparent);border-radius:14px;transition:border-color .2s,background .2s}
.me-faq details[open]{background:#fff;border-left-color:var(--me-primary);box-shadow:0 6px 18px rgba(31,31,29,.06)}
.me-faq summary:hover{color:var(--me-primary)}
.me-faq summary{list-style:none;cursor:pointer;padding:16px 20px;font-weight:600;font-size:17px;display:flex;justify-content:space-between;gap:16px}
.me-faq summary::-webkit-details-marker{display:none}
.me-faq summary::after{content:"+";color:var(--me-primary);font-size:22px;line-height:1}
.me-faq details[open] summary::after{content:"−"}
.me-faq details p{margin:0;padding:0 20px 18px;color:var(--me-muted);line-height:1.65}

/* Boutique : pastilles de catégories */
.me-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.me-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;background:#fff;color:var(--me-ink);font-weight:500;font-size:15px;text-decoration:none;border:1px solid var(--me-line)}
.me-chip small{color:var(--me-muted)}
.me-chip.is-on{background:var(--me-primary);color:#fff;border-color:var(--me-primary)}.me-chip.is-on small{color:rgba(255,255,255,.8)}

/* Pied de page Mon Échoppe : liens utiles */
.me-footlinks{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;padding:22px 20px 4px;font-size:14px;border-top:1px solid var(--me-line)}
.me-footlinks a{color:var(--me-muted);text-decoration:none}
.me-footlinks a:hover{color:var(--me-primary);text-decoration:underline}

/* En-tête fixe au défilement (0.2.21) : languette démo, bandeau d'annonce, menu */
/* 0.2.24 : le bandeau d'annonce défile avec la page (gain de place), seul le menu reste fixe */
#masthead{position:sticky;top:calc(var(--me-ab,var(--wp-admin--admin-bar--height,0px)) + var(--med-h,0px));z-index:999}

/* Bouton « haut de page » */
.me-top{position:fixed;right:20px;bottom:20px;z-index:998;width:48px;height:48px;border-radius:50%;background:var(--me-primary);color:#fff!important;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(31,31,29,.22);transition:transform .2s,opacity .2s}
.me-top[hidden]{display:none}
.me-top:hover{transform:translateY(-2px)}

/* Mobile */
@media (max-width:767px){
	.woocommerce ul.products{gap:12px}
	.woocommerce ul.products:not(.columns-1){grid-template-columns:repeat(2,minmax(0,1fr))!important}
	.woocommerce ul.products li.product .product-details,.woocommerce ul.products li.product .entry-content-wrap{padding:10px 12px 14px}
	.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}
	.entry-hero .entry-header{padding:28px 0 22px}
	.woocommerce div.product form.cart .single_add_to_cart_button{flex:1}
	.brand.has-logo-image .site-title-wrap{display:none}
	.me-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.me-card-body{padding:12px 12px 14px}.me-card-title{font-size:15px}
	.me-cat-img{height:240px}
	.me-mosaic{grid-template-rows:150px 150px}
	.me-gal-track{grid-auto-columns:80%}
	.me-gal-img{height:280px}
	.me-hero-text{align-items:stretch}
	/* Réassurance : 2 lignes de 2 */
	.me-trustwrap{padding:16px}
	.me-trust-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
	.me-trust-item{gap:10px;align-items:flex-start}
	.me-trust-item .me-ic{width:36px;height:36px}.me-trust-item .me-ic svg{width:18px!important;height:18px!important}
	.me-trust-item b{font-size:13.5px;line-height:1.3}.me-trust-item small{font-size:12px;line-height:1.35;display:block}
	/* Espacements plus serrés */
	.me-section{padding:28px 16px}
	.content-area{margin-top:16px}
	.woocommerce .woocommerce-notices-wrapper:empty{display:none}
	.me-section--tight{padding-top:12px}
	.me-head{margin-bottom:16px!important}
	.entry-hero.entry-hero .entry-header{padding:20px 0 16px}
	.entry-hero .entry-title{font-size:28px}
	/* Boutique : pastilles sur une ligne qui défile, nombre de résultats et tri côte à côte */
	.me-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px 12px;padding:0 16px 2px}
	.me-chips::-webkit-scrollbar{display:none}
	.me-chip{flex:none;min-height:36px;padding:0 14px;font-size:14px}
	.kadence-shop-top-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;padding-bottom:0!important}
	.kadence-shop-top-item{margin:0!important}
	.woocommerce .woocommerce-result-count{font-size:13px;margin:0;color:var(--me-muted)}
	.woocommerce .woocommerce-ordering{margin:0}
	.woocommerce .woocommerce-ordering select{font-size:14px;padding:6px 28px 6px 10px;min-height:36px;width:auto;max-width:170px}
	/* Cartes produits : bouton sur une ligne, espaces resserrés */
	.woocommerce ul.products li.product .product-details,.woocommerce ul.products li.product .entry-content-wrap{padding:10px 10px 12px}
	.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;margin-bottom:2px}
	.woocommerce ul.products li.product .price{font-size:15px}
	.woocommerce ul.products li.product .product-action-wrap{margin-top:10px}
	.woocommerce ul.products li.product .product-action-wrap .button{font-size:13px;padding:8px 8px;min-height:40px;white-space:nowrap;gap:4px}
	.woocommerce ul.products li.product .product-action-wrap .button svg,.woocommerce ul.products li.product .product-action-wrap .button .kadence-svg-iconset{display:none}
	.me-card-body{gap:4px}.me-card-price{margin-bottom:6px}
	.me-btn--line{font-size:13px;padding:0 8px;white-space:nowrap;min-height:40px}
	.me-btn--line svg{display:none}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
/* Panier et commande sur petit téléphone (≤ 480 px) : rien ne dépasse à droite. */
@media (max-width:480px){.woocommerce-cart .content-bg .entry-content-wrap,.woocommerce-checkout .content-bg .entry-content-wrap{padding-left:12px;padding-right:12px}.wc-block-cart-items{table-layout:fixed;width:100%!important}.wc-block-cart-items td.wc-block-cart-item__image{width:64px!important;padding-right:12px!important}.wc-block-cart-items td.wc-block-cart-item__image img{width:64px!important}.wc-block-cart-item__total{padding-left:6px!important}.wc-block-cart-item__total .wc-block-components-product-price{white-space:nowrap}}
/* Page 404 : chariot vide, neutre, aux couleurs de l'ambiance. */
.me-404{padding:40px 0 64px}
.me-404-box{max-width:640px;margin:0 auto;text-align:center;background:#fff;border-radius:var(--me-card-r,16px);padding:40px 28px 44px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.me-404-visual{position:relative;max-width:340px;margin:0 auto 8px;color:var(--me-primary)}
.me-404-num{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:Fraunces,Georgia,serif;font-weight:700;font-size:150px;line-height:1;color:var(--me-primary);opacity:.09;letter-spacing:-4px;pointer-events:none;transform:translateY(-8px)}
.me-404-art{position:relative;width:100%;height:auto;display:block}
.me-404-q{transform-origin:252px 40px;animation:me404q 3.2s ease-in-out infinite}
@keyframes me404q{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(8deg)}}
@media (prefers-reduced-motion:reduce){.me-404-q{animation:none}}
.me-404-title{font-size:clamp(28px,5vw,40px);margin:4px 0 10px;color:var(--me-ink,#1f1f1d)}
.me-404-text{color:var(--me-muted,#6b6b66);font-size:17px;line-height:1.55;margin:0 auto 24px;max-width:460px}
.me-404-search{display:flex;max-width:420px;margin:0 auto 22px;border:1px solid var(--me-line,#e3ded6);border-radius:999px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.me-404-search:focus-within{border-color:var(--me-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--me-primary) 18%,transparent)}
.me-404-search input[type=search]{flex:1;border:0!important;box-shadow:none!important;background:transparent;padding:12px 18px;font-size:16px;min-width:0;outline:0}
.me-404-search button{border:0;background:var(--me-primary);color:#fff;width:52px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:0;padding:0}
.me-404-search button:hover{background:var(--me-primary-dark,var(--me-primary))}
.me-404-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.me-404-actions .me-btn{align-self:auto}
.me-404-news{max-width:1200px;margin:56px auto 0}
.me-404-news h2{text-align:center;margin:0 0 24px;font-size:clamp(22px,3.5vw,30px)}
@media (max-width:767px){.me-404{padding:20px 0 40px}.me-404-box{padding:28px 18px 32px}.me-404-num{font-size:110px}.me-404-actions .me-btn{flex:1 1 100%}}
/* Grille produits : « Promo ! » à gauche (le cœur favoris est à droite), lignes plus aérées, bouton détaché du prix. */
.woocommerce ul.products li.product span.onsale,.woocommerce ul.products li.product .onsale{left:12px!important;right:auto!important;top:12px!important}
.woocommerce ul.products{row-gap:36px!important}
.woocommerce ul.products li.product .product-action-wrap{margin-top:14px!important}
@media (max-width:767px){.woocommerce ul.products{row-gap:24px!important}.woocommerce ul.products li.product .product-action-wrap{margin-top:10px!important}}
/* Option « carte » : plan d'accès sur la page Contact (chargé au clic). */
.me-map{margin-top:16px}
.me-map .me-map-addr{margin:0 0 12px;color:var(--me-muted,#6b6b66)}
.me-map-frame{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:var(--me-bg-2,#f1ede6);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:16px;margin-bottom:14px}
.me-map-frame.is-on{padding:0}
.me-map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.me-map-load{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;background:var(--me-primary);color:#fff;font-weight:600;padding:10px 18px;cursor:pointer}
.me-map-load:hover{background:var(--me-primary-dark,var(--me-primary))}
.me-map-frame small{font-size:12px;color:var(--me-muted,#6b6b66);max-width:260px;line-height:1.4}
.me-map-dir{width:100%}
.me-hero-title .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Panier : bandeau modes de livraison */
.me-cart-ship{display:flex;gap:12px;align-items:flex-start;background:color-mix(in srgb,var(--me-primary) 7%,#fff);border:1px solid color-mix(in srgb,var(--me-primary) 22%,#fff);color:var(--me-ink,#1e3e34);border-radius:var(--me-card-r,12px);padding:14px 18px;margin:0 0 24px;font-size:15px;line-height:1.5}
.me-cart-ship svg{flex:0 0 auto;margin-top:1px}
.me-cart-ship p{margin:0}
.me-cart-ship span{display:block;font-size:13.5px;opacity:.85}

/* Mon compte : boutons d'actions des commandes compacts, sur une ligne */
.woocommerce-orders-table__cell-order-actions{white-space:nowrap}
.woocommerce-orders-table__cell-order-actions .button{display:inline-block!important;width:auto!important;padding:7px 14px!important;font-size:14px!important;line-height:1.3!important;min-height:0!important;margin:2px 6px 2px 0!important}
.woocommerce-orders-table__cell-order-actions .button:last-child{margin-right:0!important}
.me-docs .button{padding:9px 16px!important;font-size:14px!important;margin:0 8px 8px 0!important}
@media (max-width:768px){.woocommerce-orders-table__cell-order-actions{white-space:normal}}
/* « Mes pages » : vidéo, Instagram, aperçu */
.me-video{position:relative;width:100%;max-width:960px;margin:0 auto;aspect-ratio:16/9;border-radius:var(--me-card-r,16px);overflow:hidden;background:#000}
.me-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.me-insta{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.me-insta a,.me-insta img{display:block}
.me-insta img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:calc(var(--me-card-r,16px) / 2)}
.me-insta-link{text-align:center;margin:22px 0 0}
@media (max-width:760px){.me-insta{grid-template-columns:repeat(3,minmax(0,1fr))}}
.me-preview-flag{position:sticky;top:0;z-index:50;background:#1e3e34;color:#fff;text-align:center;font:600 14px/1.4 system-ui,sans-serif;padding:10px 16px}
.me-google .me-h2{margin-bottom:20px}
