/* Native WooCommerce brands, styled for Michel. */
.michel-brands-section{margin-block:36px 40px}
.michel-brand-grid{list-style:none!important;padding:0!important;margin:0!important;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.michel-brand-item{min-width:0;margin:0!important;padding:0!important}
.michel-brand-card{height:144px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:20px 18px 12px;border:1px solid #E8ECE5;border-radius:14px;background:#fff;color:#1E1E1E;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.michel-brand-card:hover{border-color:#7CB342;box-shadow:0 4px 16px #1e1e1e08;color:var(--michel-soft-ink)}
.michel-brand-card:focus-visible{outline:3px solid #7CB342;outline-offset:3px}
.michel-brand-name{font-size:clamp(19px,1.6vw,25px);font-weight:650;line-height:1.2;text-align:center;margin:auto 0;overflow-wrap:anywhere}
.michel-brand-visual{display:flex;align-items:center;justify-content:center;min-height:0;height:64px}
.michel-brand-visual img{max-width:100%;width:auto!important;height:100%!important;object-fit:contain}
.michel-brand-label{font-size:12px;text-align:center;line-height:1.2;color:#666}
.michel-brand-card-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#666}
.michel-brand-card-foot svg{width:17px;height:17px;color:#689F38}
.michel-brand-directory{margin-top:24px!important}
.michel-brands-intro{color:#666}
.michel-brand-archive-description{margin-top:28px;padding-top:20px;border-top:1px solid #E8ECE5;font-size:14px;line-height:1.6;color:var(--michel-ui-muted);overflow-wrap:anywhere}
.michel-brand-archive-description>:first-child{margin-top:0}
.michel-brand-archive-description>:last-child{margin-bottom:0}
.michel-brand-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px;margin:20px 0 24px;border:1px solid #E8ECE5;border-radius:14px;background:#fff;clear:both}
.michel-brand-filters label{display:flex;flex-direction:column;gap:6px;color:#666;font-size:13px;min-width:0}
.michel-brand-filters input:not([type=checkbox]),.michel-brand-filters select{height:44px;border:1px solid var(--michel-ui-border);border-radius:10px;padding:8px 10px;background:var(--michel-ui-bg);color:var(--michel-ui-text);font:inherit;min-width:0;max-width:100%}
.michel-brand-filters input[type=number]{width:120px}
.michel-brand-filters select{width:230px}
.michel-brand-filters .michel-brand-stock{flex-direction:row;align-items:center;min-height:44px}
.michel-brand-stock input{width:18px;height:18px;accent-color:#7CB342}
.michel-brand-filters .button{height:44px;padding:0 18px;border:0;border-radius:24px}
.michel-brand-reset{display:inline-flex;align-items:center;min-height:44px;color:var(--michel-soft-ink);font-size:14px}
@media(max-width:1199px){.michel-brand-card{padding-inline:14px}}
@media(max-width:1023px){.michel-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 .michel-brands-section{margin-block:26px 28px}
 .michel-brands-section .section-heading h2{font-size:23px}
 .michel-brands-section .section-heading .eyebrow{display:none}
 .michel-brand-carousel{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b8d59a transparent;padding:4px 2px 12px!important}
 .michel-brand-carousel .michel-brand-item{flex:0 0 156px;scroll-snap-align:start}
 .michel-brand-card{height:130px;padding:16px 14px 12px}
 .michel-brand-name{font-size:22px}
 .michel-brand-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .michel-brand-filters{gap:10px;padding:12px}
 .michel-brand-filters label:first-child{width:100%}
 .michel-brand-filters select{width:100%}
 .michel-brand-filters label:nth-child(2),.michel-brand-filters label:nth-child(3){flex:1 1 40%}
 .michel-brand-filters input[type=number]{width:100%}
 .michel-brand-filters .michel-brand-stock{width:100%}
}
@media(prefers-reduced-motion:reduce){.michel-brand-card{transition:none}}
/* Alphabet directory: all brands are rendered once; filtering needs no API request. */
.michel-brand-browser [hidden]{display:none!important}
.michel-brand-search{display:flex;gap:12px;max-width:680px;margin:22px 0 20px}
.michel-brand-search-field{position:relative;display:flex;align-items:center;flex:1;min-width:0}
.michel-brand-search-field>svg{position:absolute;left:16px;width:20px;height:20px;color:var(--michel-ui-active-text);pointer-events:none}
.michel-brand-search input{width:100%;height:50px;padding:10px 50px 10px 46px;border:1px solid var(--michel-ui-border);border-radius:12px;background:var(--michel-ui-bg);font:inherit;color:var(--michel-ui-text)}
.michel-brand-search input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
.michel-brand-search input::-ms-clear{display:none}
.michel-brand-search-clear{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;border-radius:50%;color:var(--michel-ui-muted);cursor:pointer}
.michel-brand-search-clear:before{content:"";position:absolute;width:26px;height:26px;border-radius:50%;background:#edf0e9;transition:background .15s}
.michel-brand-search-clear svg{position:relative;width:15px;height:15px}
.michel-brand-search-clear:hover:before{background:var(--michel-ui-active-bg)}.michel-brand-search-clear:hover{color:var(--michel-soft-ink)}
.michel-brand-search>.button{height:50px;padding:0 24px;border:0;border-radius:12px}
.michel-brand-alphabet{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.michel-brand-alphabet a{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 10px;border:1px solid var(--michel-ui-border);border-radius:10px;background:var(--michel-ui-bg);color:var(--michel-ui-text);font-weight:600;text-decoration:none}
.michel-brand-alphabet a:hover,.michel-brand-alphabet a:focus-visible{color:var(--michel-soft-ink);border-color:var(--michel-ui-active-border);background:var(--michel-ui-active-bg)}
.michel-brand-results{font-size:14px;color:#666;margin:12px 0 26px}
.michel-brand-letter-group{margin:0 0 32px}
.michel-brand-letter-group>h2{display:flex;align-items:center;gap:16px;font-size:25px;margin:0 0 16px;scroll-margin-top:180px;color:var(--michel-soft-ink)}
.michel-brand-letter-group>h2:after{content:"";height:1px;background:#E8ECE5;flex:1}
.michel-brand-letter-group .michel-brand-directory{margin-top:0!important}
.michel-brand-no-results{padding:32px 20px;border:1px solid #E8ECE5;border-radius:14px;text-align:center;color:#666}
.michel-brand-no-results h2{font-size:22px;color:#1E1E1E}
@media(max-width:767px){.michel-brand-search{gap:8px}.michel-brand-search>.button{padding:0 14px}.michel-brand-alphabet{gap:5px}.michel-brand-alphabet a{min-width:44px}.michel-brand-letter-group{margin-bottom:26px}.michel-brand-letter-group>h2{scroll-margin-top:155px}.michel-brand-search input{font-size:16px}}

@media(max-width:767px){.michel-brand-alphabet{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 2px 9px;scrollbar-width:thin;scrollbar-color:#b8d59a transparent}.michel-brand-alphabet a{flex:none}}
.entry-content .michel-brand-card,.entry-content .michel-brand-card:hover,.entry-content .michel-brand-alphabet a{text-decoration:none}
.michel-brand-browser .michel-brand-visual img{max-width:min(100%,170px)}
#michel-brand-groups{display:block;columns:auto}
@media(min-width:768px){.michel-brand-browser .michel-brand-card{height:140px}}

/* Brand directory uses the same compact breadcrumb rhythm as information pages. */
.michel-brands-page{padding-top:24px}
.michel-brand-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:var(--michel-ui-muted);font-size:12px;margin-bottom:24px}
.michel-brand-breadcrumb .icon{width:13px;height:13px;transform:rotate(-90deg);color:#8b9484}
.michel-brand-breadcrumb a:hover{color:var(--michel-soft-ink)}
.michel-brands-page>article>h1{margin-top:0}
@media(max-width:767px){.michel-brands-page{padding-top:16px}.michel-brand-breadcrumb{font-size:11px;margin-bottom:16px}}
