/* MidaccsModern. Every selector is scoped to this theme; legacy commerce remains intact. */
body.midaccs-modern{--m-bg:#f6f7fa;--m-surface:#fff;--m-fg:#202638;--m-muted:#727a8c;--m-border:#e6e9f0;--m-accent:#5166e9;--m-accent-soft:#eef0ff;--m-navy:#101326;--m-violet:#784bdf;--m-font:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;--m-width:1200px;--m-gutter:clamp(16px,3vw,32px);--m-nav-height:68px;--m-ease:cubic-bezier(.2,.7,.2,1);margin:0;background:var(--m-bg)!important;background-image:none!important;color:var(--m-fg);font-family:var(--m-font);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased;min-width:0}
body.midaccs-modern .m-topnav *,body.midaccs-modern .m-home *,body.midaccs-modern .m-footer *{box-sizing:border-box;font-family:inherit}
body.midaccs-modern .m-topnav,body.midaccs-modern .m-home,body.midaccs-modern .m-footer{font-family:var(--m-font);text-shadow:none}
body.midaccs-modern [hidden]{display:none!important}
body.midaccs-modern .m-shell{width:100%;max-width:var(--m-width);padding-left:var(--m-gutter);padding-right:var(--m-gutter);margin-left:auto;margin-right:auto}
body.midaccs-modern .m-topnav a,body.midaccs-modern .m-home a,body.midaccs-modern .m-footer a{color:inherit;text-decoration:none;text-shadow:none}
body.midaccs-modern .m-home button,body.midaccs-modern .m-home input,body.midaccs-modern .m-home select{font:inherit}
body.midaccs-modern .m-home button{cursor:pointer}
body.midaccs-modern .m-topnav svg,body.midaccs-modern .m-home svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body.midaccs-modern :is(.m-topnav,.m-home,.m-footer) :is(a,button,input,select,summary):focus-visible{outline:3px solid #a7b3ff;outline-offset:3px}
body.midaccs-modern .m-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.midaccs-modern .m-skip{position:fixed;left:16px;top:-80px;z-index:2000;background:var(--m-accent);color:#fff;padding:12px 20px;border-radius:8px;text-decoration:none}
body.midaccs-modern .m-skip:focus{top:12px}
body.midaccs-modern .m-topnav{position:sticky;top:0;z-index:50;min-height:var(--m-nav-height);background:#101326f5;color:#fff;backdrop-filter:blur(16px);border-bottom:1px solid #ffffff0b}
body.midaccs-modern .m-topnav-inner{display:flex;align-items:center;gap:12px;min-height:var(--m-nav-height)}
body.midaccs-modern .m-brand{display:flex;align-items:center;gap:10px;min-width:0;margin-right:auto;font-weight:750;font-size:18px;letter-spacing:.05em;min-height:44px}
body.midaccs-modern .m-brand-name{max-width:220px;overflow-wrap:anywhere}
body.midaccs-modern .m-brand-art{display:flex;align-items:center;justify-content:center;padding:4px 9px;background:#faf9f6;border:1px solid #ffffff26;border-radius:11px;flex-shrink:0}
body.midaccs-modern .m-brand-logo{display:block;width:76px;height:auto;object-fit:contain}
@media(max-width:760px){body.midaccs-modern .m-brand-art{padding:4px 8px;border-radius:9px}body.midaccs-modern .m-brand-logo{width:60px}}
body.midaccs-modern .m-navigation,body.midaccs-modern .m-account{display:flex;align-items:center;gap:5px;flex-shrink:0}
body.midaccs-modern .m-nav-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 12px;border:0;border-radius:9px;background:none;color:#c1c4d5;font-size:14px;white-space:nowrap;transition:background .2s,color .2s;cursor:pointer}
body.midaccs-modern .m-nav-link svg{width:19px;height:19px}
body.midaccs-modern .m-nav-link:hover,body.midaccs-modern .m-nav-link.active{background:#ffffff0e;color:#fff}
body.midaccs-modern .m-register{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #ffffff2b;border-radius:8px;padding:0 16px;font-size:14px}
body.midaccs-modern .m-register:hover{background:#ffffff12}
body.midaccs-modern .m-user-toggle{max-width:170px}
body.midaccs-modern .m-user-toggle>span{overflow:hidden;text-overflow:ellipsis}
body.midaccs-modern .m-user-toggle img{border-radius:50%;object-fit:cover}
body.midaccs-modern .m-account .dropdown-menu{padding:7px;min-width:190px;background:#fff;border:1px solid var(--m-border);border-radius:12px;box-shadow:0 14px 35px #151c3820}
body.midaccs-modern .m-account .dropdown-item{min-height:44px;display:flex;align-items:center;gap:9px;color:var(--m-fg);font-size:14px;border-radius:7px;white-space:nowrap}
body.midaccs-modern .m-account .dropdown-item:hover{background:var(--m-accent-soft);color:var(--m-accent)}
body.midaccs-modern .m-language:empty{display:none}
body.midaccs-modern .m-language{max-width:150px;flex-shrink:0}
body.midaccs-modern .m-language :is(button,.btn){font-size:14px;min-height:44px;color:inherit}
body.midaccs-modern .m-home{min-width:0}

body.midaccs-modern .m-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:10px 23px;border:1px solid transparent;border-radius:9px;font-size:15px;font-weight:550;text-decoration:none;transition:background .2s,border-color .2s;line-height:1.4}
body.midaccs-modern .m-notice-actions .m-button-primary{background:linear-gradient(180deg,#6379f5,#4d62df);color:#fff;box-shadow:0 1px 0 #ffffff26 inset,0 8px 18px -10px #5770ff99}
body.midaccs-modern .m-notice-actions .m-button-primary:hover{background:#6278f2;color:#fff}
body.midaccs-modern .m-notice-actions .m-button-outline{border-color:#d4dbef;background:#fff;color:#46577c}
body.midaccs-modern .m-notice-actions .m-button-outline:hover{background:#edf0ff;border-color:#bac5f3}

body.midaccs-modern .m-home-body{padding-top:22px;padding-bottom:46px}
body.midaccs-modern .m-notice{margin:0 0 25px;border:1px solid #e0e5f0;border-radius:10px;background:#f0f2f8;min-width:0}
body.midaccs-modern .m-notice-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;color:#253450}
body.midaccs-modern .m-notice-intro{min-width:0}
body.midaccs-modern .m-notice-actions{display:flex;gap:10px;flex-shrink:0}
body.midaccs-modern .m-notice-actions .m-button{font-size:14px;padding:10px 16px;min-height:44px;gap:8px}

body.midaccs-modern .m-notice-heading h1{margin:0;font-size:21px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
body.midaccs-modern .m-notice-brief{margin:3px 0 0;font-size:13px;color:#7b859d;min-width:0}
body.midaccs-modern .m-notice-content{border-top:1px solid #e0e5f0;padding:20px;background:#fff;border-radius:0 0 10px 10px;color:var(--m-fg);font-size:15px;line-height:1.8;overflow-wrap:anywhere}
body.midaccs-modern .m-notice-content a{color:var(--m-accent);text-decoration:underline;text-underline-offset:3px}
body.midaccs-modern .m-notice-content :is(img,video,iframe,table){max-width:100%}
body.midaccs-modern .m-notice-content img{height:auto}
body.midaccs-modern .m-notice-content p:last-child{margin-bottom:0}
body.midaccs-modern .m-shop{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;align-items:start;scroll-margin-top:90px}
body.midaccs-modern .m-side{position:sticky;top:calc(var(--m-nav-height) + 16px);display:grid;gap:14px;max-height:calc(100dvh - var(--m-nav-height) - 32px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d8deeb transparent;min-width:0;padding:3px}
body.midaccs-modern .m-search{display:flex;align-items:center;gap:9px;min-height:46px;background:#fff;border:1px solid var(--m-border);border-radius:10px;padding:0 12px;min-width:0;margin:0;cursor:text}
body.midaccs-modern .m-search:focus-within{border-color:#9aa9f4;box-shadow:0 0 0 3px var(--m-accent-soft)}
body.midaccs-modern .m-search svg{width:18px;height:18px;color:#8a94a9}
body.midaccs-modern .m-search input{width:100%;min-width:0;height:44px;border:0;background:transparent;outline:0!important;font-size:14px;color:var(--m-fg);padding:0;box-shadow:none}
body.midaccs-modern .m-search input::placeholder{color:#929bad}
body.midaccs-modern .m-categories{border:1px solid var(--m-border);border-radius:12px;background:#fff;padding:7px;display:grid;gap:3px}
body.midaccs-modern .m-side-title{font-size:13px;font-weight:550;letter-spacing:.4px;color:#8c95a8;margin:0;padding:10px 11px 8px;line-height:1.4}
body.midaccs-modern .m-category{position:relative;display:flex;align-items:center;gap:9px;min-height:46px;padding:9px 10px;border-radius:8px;font-size:14px;color:#637087;transition:background .2s,color .2s;min-width:0}
body.midaccs-modern .m-category:hover{background:#f5f6fb;color:var(--m-accent)}
body.midaccs-modern .m-category.m-is-active{background:var(--m-accent-soft);color:var(--m-accent);font-weight:550}
body.midaccs-modern .m-category.m-is-active::before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 2px 2px 0;background:var(--m-accent)}
body.midaccs-modern .m-category-icon{width:19px;height:19px;flex-shrink:0;color:#8a93aa;position:relative;display:grid;place-items:center}
body.midaccs-modern .m-category-icon svg{width:18px;height:18px;stroke-width:1.5}
body.midaccs-modern .m-category.m-is-active .m-category-icon{color:var(--m-accent)}
body.midaccs-modern .m-category-name{min-width:0;flex:1;overflow-wrap:anywhere;line-height:1.5}
body.midaccs-modern .m-category-count{font-size:12px;color:#939db2;font-variant-numeric:tabular-nums;flex-shrink:0}
body.midaccs-modern .m-category.m-is-active .m-category-count{color:#7080cc}
body.midaccs-modern .m-side-help{display:flex;flex-direction:column;gap:6px;border:1px solid var(--m-border);border-radius:10px;padding:16px;font-size:14px;background:#ffffff50;color:#7e899f}
body.midaccs-modern .m-side-help strong{display:flex;justify-content:space-between;gap:10px;color:var(--m-accent);font-size:14px;font-weight:500}
body.midaccs-modern .m-list-area{min-width:0}
body.midaccs-modern .m-list-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;margin:3px 0 15px}
body.midaccs-modern .m-list-heading{display:flex;align-items:baseline;gap:11px;min-width:0;flex-wrap:wrap}
body.midaccs-modern .m-list-heading h2{font-size:19px;font-weight:650;letter-spacing:-.25px;line-height:1.5;margin:0;overflow-wrap:anywhere}
body.midaccs-modern #m-result-count{font-size:13px;color:#8792a7;white-space:nowrap}
body.midaccs-modern .m-sort{display:block;position:relative;flex-shrink:0;margin:0}
body.midaccs-modern .m-sort select{appearance:none;border:1px solid var(--m-border);border-radius:8px;background:#fff;min-height:44px;width:144px;padding:0 30px 0 13px;font-size:14px;color:#66738a;cursor:pointer}
body.midaccs-modern .m-sort svg{width:13px;height:13px;position:absolute;right:11px;top:50%;transform:translateY(-50%);pointer-events:none;color:#8793a9}
body.midaccs-modern .m-filter-status{display:flex;align-items:center;gap:15px;justify-content:space-between;border:1px solid #e2e7fb;border-radius:8px;background:#f0f3ff;margin-bottom:12px;padding:2px 12px;font-size:14px;color:#6576a9}
body.midaccs-modern #m-filter-label{overflow-wrap:anywhere;min-width:0}
body.midaccs-modern .m-filter-status button{min-height:44px;padding:0;border:0;background:none;color:var(--m-accent);font-size:14px;white-space:nowrap}
body.midaccs-modern .m-filter-status button>span{font-size:19px;margin-left:4px}
body.midaccs-modern .m-product-list{border:1px solid var(--m-border);border-radius:12px;background:#fff;overflow:hidden;min-width:0}
body.midaccs-modern .m-product-group-heading{display:flex;align-items:center;gap:12px;min-width:0;margin:22px 0 0;padding:12px 2px;scroll-margin-top:calc(var(--m-preview-offset,0px) + var(--m-nav-height) + 20px)}
body.midaccs-modern .m-product-group-heading:first-child{margin-top:0}
body.midaccs-modern .m-product-group-heading::before{content:'';width:4px;height:22px;flex-shrink:0;border-radius:3px;background:var(--m-accent)}
body.midaccs-modern .m-product-group-heading::after{content:'';flex:1;min-width:16px;height:1px;background:#dce2ef}
body.midaccs-modern .m-product-group-heading h3{margin:0;min-width:0;font-size:18px;font-weight:650;line-height:1.5;color:#344362;overflow-wrap:anywhere}
body.midaccs-modern .m-product-group-heading>span{flex-shrink:0;font-size:12px;color:#7e8aa1;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:760px){body.midaccs-modern .m-product-group-heading{gap:9px;margin-top:16px;padding-block:10px}body.midaccs-modern .m-product-group-heading h3{font-size:16px}}
body.midaccs-modern .m-product{display:grid;grid-template-columns:44px minmax(0,1fr) 120px;gap:16px;padding:22px;border-top:1px solid #edf0f5;align-items:start;min-width:0;scroll-margin-top:95px;transition:background .2s}
body.midaccs-modern .m-product:first-child{border-top:0}
body.midaccs-modern .m-product:hover{background:#fcfcff}
body.midaccs-modern .m-product-icon{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:linear-gradient(140deg,#626dcc,#424e92);color:#fff;margin-top:2px;flex-shrink:0;overflow:hidden}
body.midaccs-modern .m-product-icon svg{width:23px;height:23px;stroke-width:1.4}
body.midaccs-modern .m-image-fallback img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;opacity:0}
body.midaccs-modern .m-image-loaded img{opacity:1}
body.midaccs-modern .m-image-loaded>svg{visibility:hidden}
body.midaccs-modern .m-product-copy{min-width:0}
body.midaccs-modern .m-product :is(h3,h4){font-size:15px;line-height:1.75;margin:0 0 8px;font-weight:550;letter-spacing:0;min-width:0}
body.midaccs-modern .m-product-name{display:block;overflow-wrap:anywhere;word-break:normal;color:var(--m-fg)}
body.midaccs-modern .m-product-name:hover{color:var(--m-accent)}
body.midaccs-modern .m-product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;color:#8590a4;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
body.midaccs-modern .m-product-meta b{font-weight:500;font-variant-numeric:tabular-nums}
body.midaccs-modern .m-product-category{color:#7b88a8}
body.midaccs-modern .m-stock-unavailable{padding:1px 7px;border-radius:5px;background:#f0f1f5;color:#81889b;font-size:12px}
body.midaccs-modern .m-product-side{display:flex;flex-direction:column;align-items:flex-end;gap:10px;padding-top:1px;min-width:0}
body.midaccs-modern .m-product-price{font-size:22px;font-weight:650;line-height:1.3;letter-spacing:-.6px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#303e7b}
body.midaccs-modern .m-product-price small{font-size:14px;font-weight:550;margin-right:2px;letter-spacing:0}
body.midaccs-modern .m-product-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e2e6f7;border-radius:8px;background:#f2f4fd;color:#5367c2;font-size:14px;min-height:44px;padding:7px 13px;white-space:nowrap;transition:background .2s,color .2s}
body.midaccs-modern .m-product-link:hover{background:var(--m-accent);border-color:var(--m-accent);color:#fff}
body.midaccs-modern .m-empty{display:flex;flex-direction:column;align-items:center;padding:45px 20px;border:1px dashed #dce2ed;border-radius:12px;background:#fff;text-align:center;color:#8b95a9}
body.midaccs-modern .m-empty>svg{height:42px;width:42px;stroke-width:1.5;margin-bottom:18px;color:#a3aed0}
body.midaccs-modern .m-empty h3{font-size:18px;font-weight:550;margin:0 0 8px;color:#586782}
body.midaccs-modern .m-empty p{font-size:14px;margin:0 0 22px}
body.midaccs-modern .m-list-note{font-size:13px;color:#939daf;text-align:center;margin:23px 0 0;line-height:1.8}
body.midaccs-modern .m-noscript{font-size:14px;padding:14px;border:1px solid var(--m-border);border-radius:8px;background:#fff;margin:15px 0 0;color:#76829a}
body.midaccs-modern .m-footer{background:#fff;border-top:1px solid var(--m-border);color:#8b94a6;margin:0;padding:0}
body.midaccs-modern .m-footer-main{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:27px;padding-bottom:23px;min-width:0}
body.midaccs-modern .m-footer-brand{display:flex;align-items:center;gap:15px;min-width:0;flex-wrap:wrap}
body.midaccs-modern .m-footer-logo{display:block;width:76px;height:auto;object-fit:contain}
body.midaccs-modern .m-footer-brand strong{font-size:16px;letter-spacing:.8px;font-weight:700;color:#5a6681;overflow-wrap:anywhere}
body.midaccs-modern .m-footer-brand>span{font-size:14px;color:#98a0b0}
body.midaccs-modern .m-footer nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
body.midaccs-modern .m-footer nav a{display:inline-flex;align-items:center;gap:5px;min-height:44px;font-size:14px;white-space:nowrap}
body.midaccs-modern .m-footer nav a:hover{color:var(--m-accent)}
body.midaccs-modern .m-footer-legal{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #f0f2f6;padding-top:15px;padding-bottom:19px;font-size:13px;overflow-wrap:anywhere}
body.midaccs-modern .m-footer-content{min-width:0;overflow-wrap:anywhere}
body.midaccs-modern .m-footer-content :is(img,video,iframe){max-width:100%}
body.midaccs-modern .m-footer-content p:last-child{margin-bottom:0}
body.midaccs-modern .m-footer-legal>a{min-height:44px;display:inline-flex;align-items:center;flex-shrink:0}

@media(max-width:1000px){body.midaccs-modern .m-nav-shop{display:none}body.midaccs-modern .m-topnav-inner{gap:8px}body.midaccs-modern .m-nav-link{padding:0 9px}body.midaccs-modern .m-shop{grid-template-columns:200px minmax(0,1fr);gap:20px}body.midaccs-modern .m-product{grid-template-columns:38px minmax(0,1fr) 105px;padding:19px 17px;gap:13px}body.midaccs-modern .m-product-icon{width:38px;height:38px;border-radius:10px}body.midaccs-modern .m-product-price{font-size:21px}body.midaccs-modern .m-product-link{padding:7px 10px}body.midaccs-modern .m-language{max-width:105px}body.midaccs-modern .m-brand-name{max-width:165px}}
@media(max-width:760px){body.midaccs-modern{--m-nav-height:60px}body.midaccs-modern .m-topnav-inner{gap:3px}body.midaccs-modern .m-brand{font-size:16px;gap:8px}body.midaccs-modern .m-brand-name{max-width:130px}body.midaccs-modern .m-navigation{gap:0}body.midaccs-modern .m-nav-link{width:44px;height:44px;padding:0}body.midaccs-modern .m-nav-link>span{display:none}body.midaccs-modern .m-nav-link svg{width:21px;height:21px}body.midaccs-modern .m-register{font-size:14px;min-width:44px;padding:0 9px}body.midaccs-modern .m-account{gap:3px}body.midaccs-modern .m-user-toggle{width:48px}body.midaccs-modern .m-user-toggle img{width:26px;height:26px}body.midaccs-modern .m-user-toggle::after{margin-left:0}body.midaccs-modern .m-language{max-width:78px}body.midaccs-modern .m-language:has(> :empty){display:none}body.midaccs-modern .m-language :is(button,.btn){padding-left:5px;padding-right:5px;font-size:12px}body.midaccs-modern .m-home-body{padding-top:15px;padding-bottom:30px}body.midaccs-modern .m-notice{margin-bottom:15px}body.midaccs-modern .m-notice-heading{align-items:stretch;flex-direction:column;gap:14px;padding:16px}body.midaccs-modern .m-notice-heading h1{font-size:20px}body.midaccs-modern .m-notice-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.midaccs-modern .m-notice-actions .m-button{min-width:0;padding:10px 8px;overflow-wrap:anywhere}body.midaccs-modern .m-notice-content{padding:15px;font-size:14px}body.midaccs-modern .m-shop{grid-template-columns:minmax(0,1fr);gap:17px;scroll-margin-top:76px}body.midaccs-modern .m-side{position:static;display:flex;flex-direction:column;max-height:none;overflow:visible;gap:12px;padding:0;min-width:0}body.midaccs-modern .m-search{min-height:44px;border-radius:9px}body.midaccs-modern .m-search input{height:44px;font-size:14px}body.midaccs-modern .m-categories{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;border:0;border-radius:0;background:none;padding:3px 0;min-width:0}body.midaccs-modern .m-categories::-webkit-scrollbar{display:none}body.midaccs-modern .m-side-title{display:none}body.midaccs-modern .m-category{min-height:44px;flex-shrink:0;padding:9px 13px;border:1px solid var(--m-border);border-radius:8px;background:#fff;gap:7px;font-size:14px}body.midaccs-modern .m-category-name{white-space:nowrap;max-width:230px;overflow:hidden;text-overflow:ellipsis}body.midaccs-modern .m-category-count{font-size:12px}body.midaccs-modern .m-category.m-is-active{border-color:#d9e0ff}body.midaccs-modern .m-category.m-is-active::before{display:none}body.midaccs-modern .m-category-icon{display:none}body.midaccs-modern .m-side-help{display:none}body.midaccs-modern .m-list-header{margin:0 0 12px;gap:12px;min-height:44px}body.midaccs-modern .m-list-heading{gap:4px 8px}body.midaccs-modern .m-list-heading h2{font-size:17px;line-height:1.4}body.midaccs-modern #m-result-count{font-size:12px}body.midaccs-modern .m-sort select{font-size:13px;width:133px;padding-left:11px;min-height:44px}body.midaccs-modern .m-product{grid-template-columns:34px minmax(0,1fr);padding:17px 14px;gap:10px;align-items:start;scroll-margin-top:75px}body.midaccs-modern .m-product-icon{width:34px;height:34px;border-radius:9px;margin-top:2px}body.midaccs-modern .m-product-icon svg{width:20px;height:20px}body.midaccs-modern .m-product :is(h3,h4){font-size:14px;line-height:1.75;margin-bottom:7px}body.midaccs-modern .m-product-meta{font-size:12px;gap:4px 10px;line-height:1.7}body.midaccs-modern .m-product-side{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center;padding-top:1px;gap:10px}body.midaccs-modern .m-product-price{font-size:21px}body.midaccs-modern .m-product-price small{font-size:14px}body.midaccs-modern .m-product-link{font-size:14px;min-height:44px;padding:7px 13px;gap:8px}body.midaccs-modern .m-list-note{font-size:12px;line-height:1.8;margin-top:20px}body.midaccs-modern .m-filter-status{font-size:14px;padding:4px 11px}body.midaccs-modern .m-filter-status button{font-size:14px}body.midaccs-modern .m-footer-main{flex-direction:column;align-items:flex-start;gap:9px;padding-top:21px;padding-bottom:14px}body.midaccs-modern .m-footer-brand{gap:10px}body.midaccs-modern .m-footer-brand>span{font-size:13px}body.midaccs-modern .m-footer nav{gap:23px}body.midaccs-modern .m-footer nav a{font-size:14px}body.midaccs-modern .m-footer-legal{flex-direction:column;gap:8px;font-size:12px;padding-top:13px;padding-bottom:17px}body.midaccs-modern .m-footer-legal>a{min-height:32px;flex-shrink:1}body.midaccs-modern .m-footer-content{font-size:12px}}
@media(max-width:380px){body.midaccs-modern .m-brand{font-size:14px;gap:6px}body.midaccs-modern .m-brand-name{max-width:102px}body.midaccs-modern .m-brand-mark{width:26px;height:26px}body.midaccs-modern .m-language{max-width:50px}body.midaccs-modern .m-register{padding:0 7px}body.midaccs-modern .m-list-heading{flex-direction:column;gap:0}body.midaccs-modern .m-sort select{width:125px;font-size:12px}body.midaccs-modern .m-product{padding:16px 12px;gap:9px;grid-template-columns:30px minmax(0,1fr)}body.midaccs-modern .m-product-icon{width:30px;height:30px}body.midaccs-modern .m-product :is(h3,h4){font-size:14px}}
@media(max-width:760px){body.midaccs-modern .m-brand{flex-shrink:0}body.midaccs-modern .m-brand-name{white-space:nowrap;overflow-wrap:normal;max-width:none}body.midaccs-modern .m-register{display:none}body.midaccs-modern .m-language{max-width:78px;min-width:0}body.midaccs-modern .m-language .select2-container{width:78px!important;max-width:78px}body.midaccs-modern .m-language .select2-selection__rendered{max-width:78px;overflow:hidden;text-overflow:ellipsis}body.midaccs-modern .m-language .select2-selection{background:#ffffff0c!important;border-color:#ffffff1f!important;color:#b8c0dc!important;font-size:12px}}
@media(max-width:380px){body.midaccs-modern .m-language{max-width:44px}body.midaccs-modern .m-language .select2-container{width:44px!important;max-width:44px}body.midaccs-modern .m-language .select2-selection__rendered{max-width:44px}body.midaccs-modern .m-topnav-inner{gap:2px}body.midaccs-modern .m-brand{font-size:14px}}
@media(prefers-reduced-motion:reduce){body.midaccs-modern,body.midaccs-modern *,body.midaccs-modern *::before,body.midaccs-modern *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep the installed Select2 flag and label inside the compact mobile header. */
@media(max-width:640px){body.midaccs-modern .m-language .select2-selection{padding:0 18px 0 6px!important;background-position:right 5px center!important;background-size:9px 7px!important}}
@media(max-width:380px){body.midaccs-modern .m-language .select2-selection__rendered .table-item-name{display:none}}

/* Shared quick return control, positioned clear of device safe areas. */
body.midaccs-modern .m-back-to-top{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:70;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;box-sizing:border-box;width:52px;min-height:56px;padding:7px 4px;border:1px solid #dce2f2;border-radius:12px;background:#fff;color:#5266bc;box-shadow:0 5px 20px #1828551a;font:12px/1.4 var(--m-font);cursor:pointer;transition:background 200ms,border-color 200ms,box-shadow 200ms}
body.midaccs-modern .m-back-to-top:hover{background:#eef1ff;border-color:#b8c5ed;box-shadow:0 5px 22px #5166e926}
body.midaccs-modern .m-back-to-top:focus-visible{outline:3px solid #a7b3ff;outline-offset:3px}
body.midaccs-modern .m-back-to-top svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* The storefront uses the viewport; reading and checkout pages keep their own widths. */
body.midaccs-modern.m-wide-storefront{--m-gutter:clamp(20px,1.7vw,32px)}
body.midaccs-modern.m-wide-storefront .m-shell{max-width:none;margin-inline:0}
body.midaccs-modern.m-wide-storefront .m-home-body{
    display:grid;grid-template-columns:224px minmax(0,1fr);
    column-gap:clamp(28px,2.5vw,48px);row-gap:28px;align-items:start;
    padding-top:26px;padding-bottom:48px;
}
body.midaccs-modern.m-wide-storefront .m-side{
    grid-column:1;grid-row:1 / span 2;align-self:start;
    top:calc(var(--m-preview-offset,0px) + var(--m-nav-height) + 20px);
    max-height:calc(100dvh - var(--m-preview-offset,0px) - var(--m-nav-height) - 40px);
    padding:3px;gap:16px;
}
body.midaccs-modern.m-wide-storefront .m-categories{padding:10px 8px;border-radius:14px}
body.midaccs-modern.m-wide-storefront .m-category{min-height:48px;padding-block:11px}
body.midaccs-modern.m-wide-storefront .m-side-title{padding:12px 10px;font-weight:650;color:#707c94}
body.midaccs-modern.m-wide-storefront .m-notice{grid-column:2;grid-row:1;margin:0;border-radius:14px}
body.midaccs-modern.m-wide-storefront .m-notice-content{border-radius:0 0 14px 14px}
body.midaccs-modern.m-wide-storefront .m-shop{grid-column:2;grid-row:2;display:block;min-width:0;scroll-margin-top:calc(var(--m-preview-offset,0px) + var(--m-nav-height) + 22px)}
body.midaccs-modern.m-wide-storefront .m-list-header{margin:0 0 18px;min-height:48px}
body.midaccs-modern.m-wide-storefront .m-list-heading h2{font-size:22px}
body.midaccs-modern.m-wide-storefront .m-product-list{display:grid;gap:12px;border:0;background:transparent;overflow:visible}
body.midaccs-modern.m-wide-storefront .m-product{
    grid-template-columns:48px minmax(0,1fr) 220px;gap:20px;align-items:center;
    min-height:112px;padding:22px 24px;border:1px solid var(--m-border);border-radius:14px;
    background:#fff;transition:border-color 200ms,box-shadow 200ms;
}
body.midaccs-modern.m-wide-storefront .m-product:hover{border-color:#cbd3f2;box-shadow:0 4px 18px #27315d08}
body.midaccs-modern.m-wide-storefront .m-product-icon{width:48px;height:48px;border-radius:12px;margin:0}
body.midaccs-modern.m-wide-storefront .m-product :is(h3,h4){font-size:16px;line-height:1.75;margin-bottom:10px;font-weight:600}
body.midaccs-modern.m-wide-storefront .m-product-meta{gap:7px 14px}
body.midaccs-modern .m-product-stock{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border:1px solid #e4e9f2;border-radius:6px;background:#f4f6fb;color:#5e6e89;font-size:12px;font-variant-numeric:tabular-nums}
body.midaccs-modern .m-product-stock b{font-weight:650}
body.midaccs-modern .m-stock-unknown{background:#f7f8fa;color:#7a8596}
body.midaccs-modern .m-product-stock.m-stock-unavailable{background:#f7f3f2;border-color:#eee3df;color:#8c7167}
body.midaccs-modern.m-wide-storefront .m-product-side{flex-direction:row;align-items:center;justify-content:flex-end;gap:24px;padding:0}
body.midaccs-modern.m-wide-storefront .m-product-price{font-size:24px;white-space:normal;overflow-wrap:anywhere;min-width:0}
body.midaccs-modern.m-wide-storefront .m-product-link{min-height:46px;flex-shrink:0}

@media(min-width:1025px) and (max-width:1399px){
    body.midaccs-modern.m-wide-storefront .m-home-body{grid-template-columns:232px minmax(0,1fr);column-gap:28px}
    body.midaccs-modern.m-wide-storefront .m-product{grid-template-columns:44px minmax(0,1fr) 120px;gap:18px;padding:22px}
    body.midaccs-modern.m-wide-storefront .m-product-icon{width:44px;height:44px}
    body.midaccs-modern.m-wide-storefront .m-product-side{flex-direction:column;align-items:flex-end;gap:10px}
}
@media(max-width:1024px){
    body.midaccs-modern.m-wide-storefront .m-home-body{grid-template-columns:minmax(0,1fr);row-gap:22px;padding-top:20px}
    body.midaccs-modern.m-wide-storefront .m-notice{grid-column:1;grid-row:1}
    body.midaccs-modern.m-wide-storefront .m-side{grid-column:1;grid-row:2;position:static;max-height:none;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr);padding:0;gap:12px}
    body.midaccs-modern.m-wide-storefront .m-categories{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;background:transparent;border:0;border-radius:0;padding:4px 2px 8px}
    body.midaccs-modern.m-wide-storefront .m-side-title{display:none}
    body.midaccs-modern.m-wide-storefront .m-category{flex-shrink:0;min-height:44px;padding:9px 13px;border:1px solid var(--m-border);border-radius:9px;background:#fff}
    body.midaccs-modern.m-wide-storefront .m-category.m-is-active{background:var(--m-accent-soft);border-color:#ccd5ff}
    body.midaccs-modern.m-wide-storefront .m-category.m-is-active::before{display:none}
    body.midaccs-modern.m-wide-storefront .m-category-name{white-space:nowrap;max-width:230px;overflow:hidden;text-overflow:ellipsis}
    body.midaccs-modern.m-wide-storefront .m-side-help{display:none}
    body.midaccs-modern.m-wide-storefront .m-shop{grid-column:1;grid-row:3}
}
@media(max-width:760px){
    body.midaccs-modern.m-wide-storefront{--m-gutter:16px}
    body.midaccs-modern.m-wide-storefront .m-home-body{padding-top:16px;row-gap:18px;padding-bottom:32px}
    body.midaccs-modern.m-wide-storefront .m-list-header{margin-bottom:14px}
    body.midaccs-modern.m-wide-storefront .m-list-heading h2{font-size:19px}
    body.midaccs-modern.m-wide-storefront .m-product{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:18px 15px;min-height:0}
    body.midaccs-modern.m-wide-storefront .m-product-icon{width:36px;height:36px;border-radius:10px;align-self:start;margin-top:2px}
    body.midaccs-modern.m-wide-storefront .m-product :is(h3,h4){font-size:15px;margin-bottom:9px}
    body.midaccs-modern.m-wide-storefront .m-product-meta{gap:6px 9px;font-size:12px}
    body.midaccs-modern.m-wide-storefront .m-product-side{grid-column:1 / -1;flex-direction:row;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #f0f2f7;gap:16px}
    body.midaccs-modern.m-wide-storefront .m-product-price{font-size:22px}
}
