/* Présentation des composants WCFM ; leur logique reste fournie par l’extension. */
:is(#wcfm-main-content,#wcfmmp-stores-lists,#wcfmmp-store,#wcfm_membership_container,#wcfm_registration_form) {
 font-family:var(--wp--preset--font-family--montserrat);color:var(--wp--preset--color--noir);font-size:14px;line-height:1.7;max-width:100%;
}
:is(#wcfm-main-content,#wcfmmp-stores-lists,#wcfmmp-store,#wcfm_membership_container,#wcfm_registration_form) :is(h1,h2,h3) {
 font-family:var(--wp--preset--font-family--combo);color:var(--wp--preset--color--orange);line-height:1.2;
}
:is(#wcfm-main-content,#wcfmmp-stores-lists,#wcfmmp-store,#wcfm_membership_container,#wcfm_registration_form) :is(input[type=submit],button[type=submit],.wcfm_submit_button,.wcfmmp-store-search-btn,.wcfm_membership_subscribe_button) {
 background:var(--wp--preset--color--orange)!important;color:var(--wp--preset--color--noir)!important;border:1px solid var(--wp--preset--color--orange)!important;border-radius:8px;min-height:44px;padding:12px 18px;font:600 12px/1.4 var(--wp--preset--font-family--montserrat);box-shadow:none;
}
:is(#wcfm-main-content,#wcfmmp-stores-lists,#wcfmmp-store,#wcfm_membership_container,#wcfm_registration_form) :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),select,textarea) {
 border:1px solid #c7bdaf;border-radius:8px;background:#fff;color:var(--wp--preset--color--noir);min-height:44px;padding:10px 12px;max-width:100%;font-family:inherit;
}
:is(#wcfm-main-content,#wcfmmp-stores-lists,#wcfmmp-store,#wcfm_membership_container,#wcfm_registration_form) :focus-visible {outline:3px solid var(--wp--preset--color--orange);outline-offset:3px}
#wcfmmp-stores-lists .store-wrapper {border:1px solid var(--wp--preset--color--orange);border-radius:0;box-shadow:none;overflow:hidden}
#wcfmmp-stores-lists .store-footer {background:var(--wp--preset--color--creme)}
#wcfmmp-stores-lists .store-data h2 a {color:var(--wp--preset--color--orange)}
#wcfm-main-content .wcfm-container {background:var(--wp--preset--color--creme);box-shadow:none;border:1px solid #ded5c7}
#wcfm-main-content .wcfm-page-headig {background:var(--wp--preset--color--noir);color:var(--wp--preset--color--creme)}
#wcfm-main-content .wcfm_menu {background:var(--wp--preset--color--noir)}
#wcfm-main-content .wcfm_menu a {color:var(--wp--preset--color--creme)}
#wcfm-main-content .wcfm_menu .active {border-left:3px solid var(--wp--preset--color--orange)}
@media(max-width:760px){#wcfmmp-stores-lists{width:100%}#wcfmmp-stores-lists :is(.left_sidebar,.right_side){float:none;width:100%;margin-inline:0}#wcfmmp-stores-lists .wcfmmp-single-store{width:100%;margin-inline:0}#wcfm-main-content .wcfm-container{padding:16px}}
/* Grille et compositions de la marketplace HTML validée. */
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 30px;padding:0;margin:28px 0;list-style:none}
#wcfmmp-stores-lists .merchant-card{float:none;width:auto!important;margin:0!important;padding:28px;border:1px solid var(--wp--preset--color--orange);border-radius:0;background:#fff;text-align:left;box-shadow:none}
#wcfmmp-stores-lists .merchant-card h2{font-size:29px;line-height:1.15;margin:16px 0}
#wcfmmp-stores-lists .merchant-card h2 a{color:var(--wp--preset--color--orange);text-decoration:none}
#wcfmmp-stores-lists .merchant-logo{display:flex;width:170px;height:170px;align-items:center;justify-content:center;background:var(--wp--preset--color--creme);border:2px solid var(--wp--preset--color--noir);outline:1px solid var(--wp--preset--color--orange);outline-offset:5px;margin:8px 8px 25px;padding:16px}
#wcfmmp-stores-lists .merchant-logo img{width:100%;height:100%;object-fit:contain;border-radius:0}
#wcfmmp-stores-lists .merchant-description{font-size:12px;line-height:1.8}
#wcfmmp-stores-lists .merchant-card .button{display:inline-flex;margin-top:20px;min-height:44px;background:var(--wp--preset--color--orange);color:var(--wp--preset--color--noir);padding:12px 18px;border:0;border-radius:8px;text-decoration:none;font:600 12px/1.4 var(--wp--preset--font-family--montserrat)}
#wcfmmp-store{width:min(1240px,calc(100% - 64px));margin:30px auto 65px;box-shadow:none}
#wcfmmp-store .header_area{background:var(--wp--preset--color--creme);border-bottom:1px solid var(--wp--preset--color--orange);padding:25px 30px}
#wcfmmp-store .header_area :is(.header_left,.header_right){background:transparent;color:var(--wp--preset--color--noir)}
#wcfmmp-store .tab_area .tab_links{border-bottom:3px dotted var(--wp--preset--color--orange)}
#wcfmmp-store .body_area{background:#fff}
#wcfmmp-store ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 30px}
#wcfmmp-store ul.products li.product{float:none;width:auto!important;margin:0!important;font-size:12px}
#wcfmmp-store ul.products li.product img{aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid var(--wp--preset--color--orange)}
#wcfmmp-store ul.products .woocommerce-loop-product__title{font-family:var(--wp--preset--font-family--combo);font-size:29px;color:var(--wp--preset--color--orange)}
#wcfmmp-store ul.products li.product .button{background:var(--wp--preset--color--orange);color:var(--wp--preset--color--noir);border-radius:8px;min-height:44px;padding:12px 18px;font-size:12px}
@media(max-width:760px){#wcfmmp-stores-wrap ul.wcfmmp-store-wrap,#wcfmmp-store ul.products{grid-template-columns:1fr;gap:35px}#wcfmmp-stores-lists .merchant-card{padding:24px}#wcfmmp-store{width:calc(100% - 32px)}#wcfmmp-store .header_area{padding:25px}}
#wcfmmp-store .merchant-identity{display:grid;grid-template-columns:230px 1fr;gap:45px;align-items:center;margin-bottom:32px}
#wcfmmp-store .merchant-identity h1{font-family:var(--wp--preset--font-family--combo);font-size:50px;margin:12px 0 20px;color:var(--wp--preset--color--orange)}
#wcfmmp-store .merchant-logo{width:170px;height:170px;display:flex;align-items:center;justify-content:center;background:var(--wp--preset--color--creme);border:2px solid var(--wp--preset--color--noir);outline:1px solid var(--wp--preset--color--orange);outline-offset:5px;padding:16px;margin:8px}
#wcfmmp-store .merchant-logo img{width:100%;height:100%;object-fit:contain}
#wcfmmp-store .merchant-introduction{font-size:14px;line-height:1.8}
#wcfmmp-store .merchant-details{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;background:var(--wp--preset--color--creme);padding:25px 30px;margin:32px 0}
#wcfmmp-store .merchant-details h2{font-size:25px;margin:0 0 10px}
#wcfmmp-store .merchant-details p{font-size:12px}
.cr-product-page{padding-block:30px 65px}.cr-product-page .reference-heading{margin:25px 0 36px}.cr-product-page .reference-heading h1{font-size:50px;line-height:1.1;width:auto;padding-bottom:18px;border-bottom:3px dotted var(--wp--preset--color--orange)}
.cr-product-page .reference-body{gap:55px;align-items:flex-start;flex-wrap:nowrap}.cr-product-page .reference-story,.cr-product-page .reference-purchase{min-width:0}
.cr-product-page .reference-photo{border:1px solid var(--wp--preset--color--orange);background:#fff;margin-bottom:28px}
.cr-product-page .reference-photo img{object-fit:contain}.cr-product-page .reference-description{font-size:14px;line-height:1.8}.cr-product-page .reference-purchase{padding-top:0}.cr-product-page .reference-purchase .wp-block-woocommerce-product-price{margin-block:24px;font-weight:600}
.cr-product-page :is(.single_add_to_cart_button,.wc-block-components-product-button__button){background:var(--wp--preset--color--orange)!important;color:var(--wp--preset--color--noir)!important;border:0;border-radius:8px;min-height:48px;padding:12px 18px;font:600 12px/1.4 var(--wp--preset--font-family--montserrat)}
.cr-product-page :is(input.qty,select){min-height:44px;border:1px solid #aaa;border-radius:8px;padding:10px;background:#fff;color:var(--wp--preset--color--noir)}
.cr-product-page .cr-product-details{margin-top:28px}.cr-product-page .woocommerce-tabs ul.tabs{padding:0;border-bottom:3px dotted var(--wp--preset--color--orange)}
@media(max-width:760px){#wcfmmp-store .merchant-identity{grid-template-columns:1fr;gap:24px}#wcfmmp-store .merchant-identity h1,.cr-product-page .reference-heading h1{font-size:37px}#wcfmmp-store .merchant-details{grid-template-columns:1fr;gap:20px;padding:25px}.cr-product-page .reference-body{flex-direction:column;gap:32px}.cr-product-page .reference-body>.wp-block-column{flex-basis:auto!important;width:100%}}
/* Contrôles WooCommerce : même vocabulaire que les boutons du prototype. */
.wp-site-blocks main .woocommerce .button,.wp-site-blocks main .wc-block-components-button:not(.is-link){background:var(--wp--preset--color--orange);color:var(--wp--preset--color--blanc);border:0;border-radius:8px;min-height:44px;padding:12px 18px;font:600 12px/1.4 var(--wp--preset--font-family--montserrat);box-shadow:none;text-decoration:none}
.wp-site-blocks main .woocommerce :is(input.input-text,select,textarea){font-family:var(--wp--preset--font-family--montserrat);border:1px solid #c7bdaf;border-radius:8px;min-height:44px;padding:10px 12px;background:#fff;color:var(--wp--preset--color--noir)}
.wp-site-blocks main .wc-block-grid__product-title{font-family:var(--wp--preset--font-family--combo);color:var(--wp--preset--color--orange);font-size:24px;line-height:1.2}
@media(max-width:760px){.wp-site-blocks main .wc-block-grid__products{display:grid;grid-template-columns:1fr;gap:24px;margin:0}.wp-site-blocks main .wc-block-grid__products>.wc-block-grid__product{width:auto;max-width:none;flex-basis:auto;padding:0;margin:0;border:0}}

/* Recherche et panneau de filtres : composition du HTML de référence. */
.merchant-filter-tools{display:grid;grid-template-columns:1fr auto 240px;align-items:end;gap:16px;margin-top:30px}.merchant-filter-tools label{display:block;font-size:11px;margin-bottom:6px}.merchant-filter-tools input,.merchant-filter-tools select{width:100%;min-height:44px;padding:10px 14px;border:1px solid #d9d9d3;background:#fff;border-radius:8px}.merchant-filter-count{grid-column:1/3;font-size:12px;margin:0}.merchant-reset{justify-self:end}.merchant-filter-empty{padding-block:25px}#merchant-filters{position:fixed;inset:0 0 0 auto;margin:0;width:min(450px,100%);height:100dvh;max-height:100dvh;padding:30px;border:0;background:#fff}#merchant-filters::backdrop{background:#0008}#merchant-filters fieldset{border:0;border-top:1px solid #ddd;margin:20px 0;padding:18px 0}#merchant-filters legend{font-weight:600;font-size:13px}#merchant-filters .filter-choice{font-size:12px;min-height:38px}#merchant-filters input[type=range]{width:100%;accent-color:var(--wp--preset--color--orange);margin-top:15px}#merchant-filters>.button{width:100%;margin-top:20px}
@media(max-width:760px){.merchant-filter-tools{grid-template-columns:1fr 1fr;gap:12px}.merchant-filter-tools form{grid-column:1/-1}.merchant-filter-tools select{font-size:11px}.merchant-filter-count{grid-column:1}.merchant-reset{font-size:10px}#merchant-filters{padding:24px}}

#wcfmmp-stores-lists .wcfmmp-stores-content-holder,#wcfmmp-stores-lists .wcfmmp-stores-content{width:100%;float:none;margin:0;padding:0}#wcfmmp-stores-lists ul.wcfmmp-store-wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 30px;padding:0;margin:28px 0;list-style:none}#wcfmmp-stores-lists ul.wcfmmp-store-wrap>.wcfm-clearfix{display:none}.merchant-heading{max-width:850px;margin-bottom:35px}.market-page{padding-block:30px 65px}.merchant-heading h1{font-size:clamp(37px,4.31vw,62px);line-height:1.1}.market-crumbs{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:35px}.market-crumbs a{text-decoration:none;border-bottom:1px solid var(--wp--preset--color--orange);padding-bottom:6px}#merchant-filters input:not([type=hidden]){width:100%;min-height:44px;border:1px solid #d9d9d3;border-radius:8px;padding:10px 14px}#wcfmmp-store .right_side{width:100%;float:none}.merchant-filter-tools .button,#merchant-filters .button{color:var(--wp--preset--color--blanc)}@media(max-width:760px){#wcfmmp-stores-lists ul.wcfmmp-store-wrap{grid-template-columns:1fr;gap:35px}}
#wcfmmp-store .merchant-identity h1{font-size:62px;line-height:1.1;margin:12px 0 28px}
#wcfmmp-store .merchant-logo,#wcfmmp-stores-lists .merchant-logo{padding:0}
#wcfmmp-store .merchant-selection-title{font-size:36px;margin-top:35px}
#wcfmmp-store .merchant-product h3{font:600 29px/1.15 var(--wp--preset--font-family--combo);margin:16px 0;color:var(--wp--preset--color--orange)}
#wcfmmp-store .merchant-product h3 a{text-decoration:none}
#wcfmmp-store .merchant-product .merchant-description{font-size:11px;line-height:1.7;margin-block:9px;min-height:56px}
#wcfmmp-store .merchant-product .seller-name{font-size:10px;font-weight:500;line-height:1.6}
#wcfmmp-store .merchant-product .product-milk{font-size:10px;line-height:1.5;margin:8px 0}
#wcfmmp-store .merchant-product .merchant-read{font-size:10px;margin-top:10px}
#wcfmmp-store ul.products .merchant-product img{margin:0;width:100%;height:100%;border:0;object-fit:contain}
#wcfmmp-store .merchant-product .product-buy .button{font-size:10px;margin:0;min-height:40px;padding:10px 12px;color:var(--wp--preset--color--blanc)}
@media(max-width:760px){#wcfmmp-store .merchant-identity h1{font-size:37px}#wcfmmp-store .merchant-product .merchant-description{min-height:0}#wcfmmp-store ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 16px}#wcfmmp-store .merchant-product .product-buy{flex-wrap:wrap}}

#wcfmmp-store .merchant-photo{display:block;aspect-ratio:1;overflow:hidden;background:#fff;border:1px solid var(--wp--preset--color--orange)}
