/* MarocAchat : haut de page des categories compact (21/10/2026). H1, description courte, puis les produits ; classes Woodmart existantes, scope categories et marques. */
.tax-product_cat .page-title .wd-nav-product-cat,.tax-product_brand .page-title .wd-nav-product-cat{gap:6px 8px}
.tax-product_cat .page-title .nav-link-count{display:none}
@media (min-width:769px){
.tax-product_cat .page-title .wd-nav-product-cat{flex-wrap:wrap;max-height:84px;overflow:hidden}
}
@media (max-width:768px){
.tax-product_cat .page-title .container,.tax-product_brand .page-title .container{padding-block:0}
.tax-product_cat .page-title,.tax-product_brand .page-title{padding-block:12px 8px;margin-bottom:12px}
.tax-product_cat .page-title .entry-title,.tax-product_brand .page-title .entry-title{font-size:24px;line-height:1.2;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tax-product_cat .page-title .wd-btn-show-cat{display:none}
.tax-product_cat .page-title .wd-nav-product-cat{display:flex!important;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:8px;margin:0 -15px;padding:2px 15px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tax-product_cat .page-title .wd-nav-product-cat::-webkit-scrollbar{display:none}
.tax-product_cat .page-title .wd-nav-product-cat>li{flex:0 0 auto;margin:0;width:auto}
.tax-product_cat .page-title .wd-nav-product-cat .category-nav-link{padding:6px 14px;min-height:34px;white-space:nowrap}
.tax-product_cat .mcs-court{margin:0 0 12px;font-size:15px;line-height:1.5}
/* bandeau para : sans le logo (deja en en-tete), une seule rangee defilante */
.mcp-head{margin:0 0 12px;padding:8px}
.mcp-head__id{display:none}
.mcp-trust{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;scrollbar-width:none}
.mcp-trust::-webkit-scrollbar{display:none}
.mcp-trust li{flex:0 0 auto;padding:6px 10px;gap:8px}
.mcp-trust__ico{width:28px;height:28px}
.mcp-trust__txt{font-size:.72rem;white-space:nowrap}
.mcp-trust__txt strong{font-size:.78rem}
}
body.term-22 .page-title .wd-nav-product-cat,body.term-122 .page-title .wd-nav-product-cat{display:none!important}
/* Tuiles de sous-categories (pages mere) : une rangee defilante a accrochage, image + nom */
.mcc{margin:0 0 14px}
.mcc__liste{display:flex;flex-wrap:nowrap;gap:10px;margin:0;padding:2px 0 6px;list-style:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.mcc__item{flex:0 0 150px;margin:0;scroll-snap-align:start}
.mcc__lien{display:block;color:inherit;text-decoration:none}
.mcc__img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:#f3f3f3}
.mcc__nom{display:-webkit-box;margin-top:6px;font-size:13px;line-height:1.25;font-weight:600;text-align:center;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:768px){
.mcc{margin:0 -15px 12px}
.mcc__liste{gap:8px;padding:0 15px 4px;scroll-padding-inline:15px;scrollbar-width:none}
.mcc__liste::-webkit-scrollbar{display:none}
.mcc__item{flex-basis:112px}
.mcc__nom{font-size:12px;margin-top:4px}
}
/* 22/10 : produits en premier. Intro 2 lignes max (le texte complet reste dans la page, texte long en bas) ; vignettes = premier bloc ; chips redondantes masquees quand les vignettes existent ; fil d'Ariane masque sur mobile (le schema reste) */
.tax-product_cat .mcs-court p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mcc-on .mcs-univers:first-of-type .mcs-liens{display:none}
@media (max-width:768px){
.tax-product_cat .shop-loop-head{display:none}
.mcc-on .mcs-univers h2{font-size:1.15rem;margin:0 0 8px}
.mcc-on .mcs-univers{margin-top:0}
.mcc__item{flex-basis:100px}
.tax-product_cat .mcs-court{margin:0 0 8px}
}
