/* ITM-MOB-V4: phone polish (<=767px) - glued search, hiding bottom bar, pagination, chips, filter panel */
h1.ih-h1{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important}
@media (max-width:767px){
/* search row glued to the header: exact header height from JS (--itm-hh) */
body div.search-inner{top:var(--itm-hh, calc(48px + 5rem)) !important;margin-top:calc(var(--itm-hh, calc(48px + 5rem)) - 30px - 2rem) !important}
body .itm-fab{top:calc(var(--itm-hh, calc(48px + 5rem)) + 5px) !important}
/* bottom nav: company yellow, hides while scrolling down, back when scrolling up */
body #mobile-menu.bottom-menu:has(> a > .mobile-main-button){background-color:#EBD412 !important;transition:transform .25s ease !important}
body.itm-bnav-hide #mobile-menu.bottom-menu:has(> a > .mobile-main-button){transform:translateY(110%) !important}
/* back-to-top: small circle bottom-right */
body #itm-totop{left:auto !important;right:12px !important;width:42px !important;height:42px !important;min-width:0 !important;padding:0 !important;border-radius:50% !important;display:flex !important;align-items:center !important;justify-content:center !important;transition:bottom .25s ease}
body #itm-totop span{display:none !important}
body.itm-bnav-hide #itm-totop{bottom:16px !important}
/* breadcrumbs take one line */
body .itm-bc{white-space:nowrap !important;overflow-x:auto !important;overflow-y:hidden !important;scrollbar-width:none;font-size:12px !important;line-height:1.6 !important}
body .itm-bc::-webkit-scrollbar{display:none}
body .itm-bc a,body .itm-bc span{font-size:12px !important}
body .product-box-head > span{display:none !important}
body .product-box-head > span:last-of-type{display:inline-block !important;font-size:0 !important;margin:0 8px 6px 0 !important;vertical-align:middle !important}
body .product-box-head > span:last-of-type a{font-size:13px !important}
body .product-box-head > span:last-of-type a::before{content:"\2039\00a0"}
body .product-box-head > .itm-catnav{display:inline-block !important;vertical-align:middle !important;margin:0 0 6px !important;max-width:100% !important}
/* pagination: numbered buttons like the desktop */
body #paginate-man{display:flex !important;align-items:center !important;gap:6px !important;flex-wrap:nowrap !important;overflow-x:auto !important;scrollbar-width:none;padding:2px 0 !important}
body #paginate-man::-webkit-scrollbar{display:none}
body #paginate-man > div{display:none !important}
body #paginate-man a.number{display:inline-block !important}
body #paginate-man button.paginate,body #paginate-man button.fab{width:34px !important;height:34px !important;min-width:34px !important;line-height:32px !important;margin:0 !important;padding:0 !important;border-radius:8px !important;box-shadow:none !important;font-size:14px !important;font-weight:700 !important;background:#fff !important;border:1px solid #e3e3dd !important;color:#222 !important}
body #paginate-man button.paginate.bg-amber-500{background:#EBD412 !important;border-color:#d8c20f !important}
body #paginate-man button.fab i{color:#555 !important;font-size:18px !important;line-height:32px !important}
/* stock switch + sort on one line */
body .itm-sortbar{flex-wrap:nowrap !important;justify-content:space-between !important;align-items:center !important;gap:8px !important}
body .itm-sortbar select{width:auto !important;max-width:150px !important;height:34px !important;font-size:13px !important}
/* "solo / no battery" badge to the top-left so it does not cover the SKU + price tag */
body .product-image.inline > .itm-solo{left:10px !important;right:auto !important;top:10px !important;width:56px !important;height:auto !important}
/* types chips: two rows + show-all button (space reserved when 5+ chips so nothing jumps) */
body .itm-types{position:relative !important}
body .itm-types .itm-types-row{flex-wrap:wrap !important;overflow:hidden !important;max-height:94px !important;-webkit-mask-image:none !important;mask-image:none !important}
body .itm-types.itm-tp-open .itm-types-row{max-height:none !important}
body .itm-types .itm-type{height:42px !important;box-sizing:border-box !important;padding:4px 10px 4px 5px !important;border-radius:21px !important;flex:1 1 calc(50% - 4px) !important;min-width:0 !important;max-width:calc(50% - 4px) !important}
body .itm-types .itm-type .ck{display:none !important}
body .itm-types .itm-type .nm{display:block !important;flex:1 1 auto !important;min-width:0 !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
body .itm-types .itm-type .n{flex:none !important}
body .itm-types:has(.itm-types-row > .itm-type:nth-child(5)){padding-bottom:50px !important}
.itm-tp-more{position:absolute;left:10px;right:10px;bottom:8px;height:36px;border:1px dashed #d8c20f;border-radius:10px;background:#fffbe0;color:#6b5a00;font-size:13px;font-weight:600;font-family:inherit}
}
@media (min-width:768px){.itm-tp-more{display:none !important}}
@media (max-width:767px){
body #itm-filter-panel .itm-fp{overflow:clip !important}
body #itm-filter-panel .itm-fp-cart,body #itm-filter-panel .itm-qb{display:none !important}
body #itm-filter-panel .itm-fp-head{position:sticky !important;top:0 !important;z-index:3 !important;background:#fff !important}
body #itm-filter-panel .itm-fp-apply{position:sticky !important;bottom:0 !important;z-index:3 !important;background:#fff !important;box-shadow:0 -2px 8px rgba(0,0,0,.08) !important}
}
