.amh-cm{--amh-cm-accent:#00A86B;--amh-cm-ink:#1f2a26;--amh-cm-soft:#F2FAF6;--amh-cm-line:#e3efe9;--amh-cm-radius:12px;--amh-cm-width:1200px;position:static;direction:rtl;font-family:inherit}
.amh-cm-btn{display:inline-flex;align-items:center;gap:10px;height:42px;padding:0 6px;margin:0;border:0;background:none;color:var(--amh-cm-ink);font-weight:700;font-size:14px;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:0}
.amh-cm-btn:hover,.amh-cm.is-open .amh-cm-btn{color:var(--amh-cm-accent);background:none}
.amh-cm-burger{display:inline-flex;flex-direction:column;gap:4px;width:18px}
.amh-cm-burger i{display:block;height:2px;border-radius:2px;background:currentColor}
.amh-cm-burger i:nth-child(2){width:70%}
.amh-cm--drop .amh-cm-panel{position:absolute;top:100%;right:50%;transform:translate(50%,8px);width:min(var(--amh-cm-width),calc(100vw - 30px));min-height:340px;max-height:72vh;display:flex;background:#fff;border:1px solid var(--amh-cm-line);border-radius:0 0 var(--amh-cm-radius) var(--amh-cm-radius);box-shadow:0 18px 40px rgba(10,60,40,.12);opacity:0;visibility:hidden;transition:opacity .18s,transform .18s,visibility .18s;z-index:400;overflow:hidden}
.amh-cm--drop.is-open .amh-cm-panel{opacity:1;visibility:visible;transform:translate(50%,0)}
.amh-cm-shade{position:fixed;inset:0;top:auto;height:0;background:rgba(15,30,25,.35);opacity:0;pointer-events:none;transition:opacity .18s;z-index:300}
.amh-cm.is-open .amh-cm-shade{height:100vh;top:0;opacity:1}
.amh-cm-roots{list-style:none;margin:0;padding:8px 0;width:230px;flex:none;background:var(--amh-cm-soft);overflow-y:auto;border-left:1px solid var(--amh-cm-line)}
.amh-cm-root{margin:0}
.amh-cm-root a{display:flex;align-items:center;gap:10px;padding:10px 16px;color:var(--amh-cm-ink);font-size:14px;font-weight:500;border-right:3px solid transparent;text-decoration:none}
.amh-cm-root img{width:32px;height:32px;object-fit:contain;flex:none}
.amh-cm-root.is-on a{color:var(--amh-cm-accent);background:#fff;border-right-color:var(--amh-cm-accent);font-weight:700}
.amh-cm-panes{flex:1;min-width:0;position:relative}
.amh-cm-pane{display:none;max-height:72vh;padding:18px 24px;overflow-y:auto;box-sizing:border-box}
.amh-cm-pane.is-on{display:block}
.amh-cm-all{display:inline-flex;align-items:center;gap:6px;color:var(--amh-cm-accent);font-size:13px;font-weight:700;margin-bottom:16px;text-decoration:none}
.amh-cm-all b,.amh-cm-sub b{font-size:18px;line-height:1}
.amh-cm-body{display:flex;gap:24px;align-items:flex-start}
.amh-cm-cols{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 24px}
.amh-cm-sub{display:flex;align-items:center;gap:6px;padding:8px 10px 8px 0;border-right:2px solid var(--amh-cm-accent);color:var(--amh-cm-ink);font-weight:700;font-size:14px;text-decoration:none}
.amh-cm-sub:hover{color:var(--amh-cm-accent)}
.amh-cm-col ul{list-style:none;margin:4px 0 10px;padding:0 12px 0 0}
.amh-cm-col li a{display:block;padding:5px 0;color:#5f6b66;font-size:13px;text-decoration:none}
.amh-cm-col li a:hover{color:var(--amh-cm-accent)}
.amh-cm-pic{flex:none;width:260px;border-radius:var(--amh-cm-radius);overflow:hidden;background:var(--amh-cm-soft)}
.amh-cm-pic img{display:block;width:100%;height:auto}
/* page mode (phones): tabs right, cards left */
.amh-cm--page .amh-cm-panel{display:flex;min-height:70vh;background:#fff;border:1px solid var(--amh-cm-line);border-radius:var(--amh-cm-radius);overflow:hidden}
.amh-cm--page .amh-cm-roots{width:120px}
.amh-cm--page .amh-cm-root a{flex-direction:column;text-align:center;gap:6px;padding:12px 6px;font-size:12px}
.amh-cm--page .amh-cm-root img{width:44px;height:44px}
.amh-cm--page .amh-cm-pane{padding:14px}
.amh-cm--page .amh-cm-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.amh-cm--page .amh-cm-sub{flex-direction:column;justify-content:flex-start;text-align:center;padding:10px 6px;border:1px solid var(--amh-cm-line);border-radius:var(--amh-cm-radius);font-size:12px;height:100%;box-sizing:border-box}
.amh-cm--page .amh-cm-sub img{width:100%;aspect-ratio:1;object-fit:contain;background:var(--amh-cm-soft);border-radius:calc(var(--amh-cm-radius) - 4px)}
.amh-cm--page .amh-cm-sub b{display:none}
@media (min-width:768px){.amh-cm--page .amh-cm-roots{width:200px}.amh-cm--page .amh-cm-cols{grid-template-columns:repeat(4,minmax(0,1fr))}.amh-cm--page .amh-cm-root a{flex-direction:row;text-align:right;font-size:14px}}
@media (max-width:1024px){.amh-cm--drop{display:none}}
/* side panel opened by the WoodMart bottom-toolbar categories button (option aminh_cm_toolbar) */
.amh-cm-side{position:fixed;top:0;bottom:0;right:0;width:min(420px,100vw);display:flex;flex-direction:column;background:#fff;z-index:100000;transform:translateX(100%);visibility:hidden;transition:transform .25s ease,visibility .25s;direction:rtl}
.amh-cm-side.is-open{transform:none;visibility:visible}
.amh-cm-side-shade{position:fixed;inset:0;background:rgba(0,0,0,.4);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;z-index:99999}
.amh-cm-side-shade.is-open{opacity:1;visibility:visible}
html.amh-cm-lock,html.amh-cm-lock body{overflow:hidden}
.amh-cm-side-head{display:flex;align-items:center;justify-content:space-between;flex:none;height:52px;padding:0 14px;border-bottom:1px solid var(--amh-cm-line,#e3efe9);font-weight:700;font-size:15px;color:var(--amh-cm-ink,#1f2a26)}
.amh-cm-side .amh-cm-side-x{width:36px;height:36px;min-height:0;padding:0;margin:0;border:0;background:transparent;color:inherit;font-size:26px;line-height:1;box-shadow:none;cursor:pointer}
.amh-cm-side .amh-cm{flex:1;min-height:0}
.amh-cm-side .amh-cm-panel{height:100%;min-height:0;border:0;border-radius:0}
.amh-cm-side .amh-cm-roots{width:96px;padding:0;padding-bottom:70px}
.amh-cm-side .amh-cm-root a{font-size:11px;padding:12px 4px}
.amh-cm-side .amh-cm-root img{width:40px;height:40px;object-fit:cover;border-radius:50%}
.amh-cm-side .amh-cm-pane{max-height:100%;height:100%;padding:12px 10px 80px}
.amh-cm-side .amh-cm-cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.amh-cm-side .amh-cm-sub{padding:6px 4px;font-size:11px;line-height:1.5}
.amh-cm-side .amh-cm-sub img{object-fit:cover;aspect-ratio:3/4}
/* drop mode, categories without a third level: one list + a larger picture */
.amh-cm-cols--flat{flex:none;width:240px;grid-template-columns:minmax(0,1fr);gap:2px}
.amh-cm-cols--flat .amh-cm-sub{border-right:0;padding:10px 0;font-weight:500}
.amh-cm-cols--flat + .amh-cm-pic{width:auto;flex:1;max-width:520px}
.amh-cm-cols--flat + .amh-cm-pic img{aspect-ratio:16/9;object-fit:cover}
/* WoodMart hides this button unless the shop category side panel exists */
html body:has(.amh-cm-side) .wd-toolbar-shop-cat{display:flex}
/* six toolbar buttons share the width (WoodMart gives each 20%) */
.wd-toolbar:has(.wd-toolbar-shop-cat)>*{flex:1 1 0;min-width:0}
.wd-toolbar-shop-cat>a{width:100%}.wd-toolbar-shop-cat .wd-toolbar-label{width:100%;text-align:center}
