/* Match the existing Related Products quantity selector and orange Add control. */
body.mahis-card-cart-enabled ul.products li.product .mahis-unified-cart-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap;gap:4px;margin-top:10px;width:100%;box-sizing:border-box;overflow:visible}
body.mahis-card-cart-enabled ul.products li.product .mahis-unified-cart-row .mty-qty-stepper{display:flex!important;align-items:center!important;width:74px!important;flex:0 0 74px!important;height:32px!important;border:1px solid #e3e7ef;border-radius:8px;overflow:hidden}
body.mahis-card-cart-enabled ul.products li.product .mahis-unified-cart-row .mty-qty-btn{display:block!important;width:22px!important;min-width:22px!important;flex:0 0 22px!important;height:32px!important;border:0;padding:0;background:#f5f6f9;color:#1b2a4a;font-size:15px;font-weight:700;line-height:1;cursor:pointer}
body.mahis-card-cart-enabled ul.products li.product .mahis-unified-cart-row .mty-qty-input{display:block!important;width:30px!important;min-width:30px!important;max-width:30px!important;flex:0 0 30px!important;height:32px!important;margin:0;padding:0!important;border:0;border-left:1px solid #e3e7ef;border-right:1px solid #e3e7ef;text-align:center;background:#fff;color:#10192e;font-size:12.5px;font-weight:700;appearance:textfield;-moz-appearance:textfield}
.mahis-unified-cart-row .mty-qty-input::-webkit-inner-spin-button,.mahis-unified-cart-row .mty-qty-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.mahis-card-cart-enabled ul.products li.product .mahis-unified-cart-row .mty-add-cart-btn{display:flex!important;align-items:center;justify-content:center;flex:1 1 56px!important;min-width:56px!important;gap:6px;height:32px!important;border:0;border-radius:8px;padding:0 6px!important;background:#e8630f;color:#fff;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
body.mahis-card-cart-enabled ul.products li.product .mahis-unified-cart-row .mty-add-cart-btn span{display:inline!important}
.mahis-unified-cart-row .mty-add-cart-btn svg{width:14px;height:14px;flex:none}
body.mahis-card-cart-enabled ul.products li.product .mahis-unified-cart-row .mty-add-cart-btn:hover{background:#cf560c}
.mahis-unified-cart-row .mty-add-cart-btn:disabled{opacity:.65;cursor:wait}
body ul.products li.product a[data-mahis-unified-link="1"]{display:none!important}
body.mahis-card-cart-disabled ul.products li.product :is(.mty-qty-cart-row,.mty-add-cart-btn,.add_to_cart_button,.added_to_cart){display:none!important}
.mahis-unified-cart-row :focus-visible,.mahis-category-tree :focus-visible{outline:3px solid #f27a1a;outline-offset:2px}
.mahis-cart-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Native disclosure controls: click/tap a parent name or arrow to expand. */
.mty-catdd-panel.mahis-tree-panel{display:none!important;width:390px!important;max-width:calc(100vw - 40px)!important;max-height:70vh;overflow-y:auto;grid-template-columns:none!important;padding:8px!important}
.mty-catdd-panel.mahis-tree-panel.is-open{display:block!important}
.mahis-category-tree{display:block;color:#1b2a4a;font-family:inherit}
.mahis-category-tree .mahis-category-branch{display:block;margin:0;border:0;border-bottom:1px solid #edf0f3}
.mahis-category-tree .mahis-category-branch>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:13px 12px!important;min-height:44px;font-size:14px;font-weight:600;color:#1b2a4a;background:#fff;cursor:pointer}
.mahis-category-tree summary::-webkit-details-marker{display:none}
.mahis-category-arrow{font-size:22px;line-height:1;transition:transform .15s ease;flex:none}
.mahis-category-branch[open]>summary>.mahis-category-arrow{transform:rotate(90deg)}
.mahis-category-tree .mahis-category-children{padding:0 0 7px 14px;border-left:2px solid #f2e2d4;margin:0 8px 8px}
.mahis-category-tree a{display:block!important;width:auto!important;height:auto!important;min-height:40px;padding:10px 12px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#1b2a4a!important;font-size:13px!important;font-weight:400!important;line-height:1.5;text-decoration:none!important}
.mahis-category-tree a:hover,.mahis-category-tree summary:hover{background:#fff4eb!important;color:#c95e10!important}
.mahis-category-tree a.mahis-category-view-all{font-weight:600!important;color:#c95e10!important}
.mahis-category-tree .mahis-brand-list{display:flex!important;flex-direction:column!important;gap:0!important;padding:0 0 8px 14px}
.mahis-category-tree .mahis-brand-list>a{flex:none!important;text-align:left!important}
.mahis-mobile-category-title{font-size:14px;font-weight:700;color:#1b2a4a;padding:16px 18px 8px;margin:0}
#mty-offcanvas .mahis-category-tree{padding:0 6px}
@media(prefers-reduced-motion:reduce){.mahis-category-arrow{transition:none}}
