/* Definitive mobile override: loaded after all theme and footer styles. */
@media (max-width:700px){
 html,body{max-width:100%;overflow-x:clip}
 .site-header{height:auto!important;min-height:0!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:9px 12px!important}
 .site-header .brand{margin-right:auto!important;flex:0 0 auto!important}
 .site-header .brand img{width:96px!important;max-height:55px!important}
 .site-header .header-search{order:20!important;flex:1 0 100%!important;max-width:none!important;width:100%!important;height:45px!important;margin:3px 0 0!important}
 .site-header .favorites-open{order:3!important;margin:0!important;width:37px!important;height:37px!important;min-width:37px!important;padding:4px!important;position:relative!important}
 .site-header .account-open{order:4!important;padding:10px 8px!important;font-size:11px!important;white-space:nowrap!important}
 .site-header .cart-open{order:5!important;padding:10px 9px!important;font-size:11px!important;white-space:nowrap!important;background:#15171d!important;color:#fff!important}
 .category-section{padding-top:24px!important;padding-bottom:38px!important}
 .category-section .section-title{gap:10px!important;flex-wrap:wrap!important;margin-bottom:16px!important}
 .category-section .section-title h1{font-size:clamp(24px,6vw,30px)!important}
 .category-section .all-categories-link{color:#15171d!important;border-color:#d5dae2!important;background:#fff!important;font-size:11px!important}
 .category-section .category-strip{display:block!important;width:100%!important;overflow:hidden!important}
 .category-section .category-grid{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:12px!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;touch-action:pan-x!important;-webkit-overflow-scrolling:touch!important;padding:5px 3px 16px!important;transform:none!important;scrollbar-width:thin!important}
 .category-section .category-card{flex:0 0 142px!important;width:142px!important;min-width:142px!important;max-width:142px!important;height:165px!important;min-height:165px!important;aspect-ratio:auto!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:center!important;gap:5px!important;overflow:hidden!important;position:relative!important;padding:12px 9px!important;border-radius:16px!important;border:1px solid #e3e7ed!important;scroll-snap-align:start!important;writing-mode:horizontal-tb!important;transform:none!important}
 .category-section .category-card img{display:block!important;position:static!important;flex:0 0 auto!important;align-self:center!important;width:92px!important;height:92px!important;max-width:92px!important;max-height:92px!important;object-fit:contain!important;margin:0 auto!important;transform:none!important}
 .category-section .category-card .category-label{display:block!important;visibility:visible!important;position:static!important;width:100%!important;max-width:100%!important;min-height:36px!important;margin:0!important;padding:0!important;color:#20232a!important;text-align:center!important;font-size:12px!important;font-weight:750!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;writing-mode:horizontal-tb!important;transform:none!important}
 .category-section .category-card .category-label *{white-space:normal!important}
 .category-section .category-arrow{display:none!important}
 .catalog-section{padding-top:36px!important}
 .catalog-section .section-title{padding-right:0!important}
 .theme-toggle{position:fixed!important;right:10px!important;bottom:calc(80px + env(safe-area-inset-bottom))!important;top:auto!important;left:auto!important;z-index:40!important;max-width:100px!important;min-height:36px!important;padding:6px 9px!important;font-size:11px!important;box-shadow:0 4px 16px #0002!important}
 .catalog-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .product-card{min-width:0!important}
 .product-image{height:150px!important}
 .product-info{padding:10px!important;min-width:0!important}
 .product-actions{flex-wrap:wrap!important}
 .product-actions .add-button{min-width:0!important}
 .footer,.footer *{max-width:100%}
}
@media(max-width:380px){.category-section .category-card{flex-basis:130px!important;width:130px!important;min-width:130px!important}.site-header .brand img{width:80px!important}.site-header .account-open{font-size:10px!important}}
