/* Match the single-product footer scale without inheriting its page positioning. */
#footer-preview-position{scroll-margin-top:76px;}
.mall-footer-shell{--mf-unit:50px;width:100%;font-family:Arial,"Microsoft JhengHei",sans-serif;color:#222;text-align:center;line-height:1.4;}
.mall-footer-shell *{box-sizing:border-box;}
.mall-footer-shell .main-footer1,.mall-footer-shell .main-footer,.mall-footer-shell .mall-footer-single-footer{width:100%!important;max-width:none!important;margin:0!important;transform:none!important;position:static!important;padding:calc(var(--mf-unit)*.44) calc(var(--mf-unit)*.3) calc(var(--mf-unit)*.3);font-size:calc(var(--mf-unit)*.26);line-height:1.4;background:#fafafa;color:#222;}
.mall-footer-shell .main-footer{background:#222;color:white;text-align:left;}
.mall-footer-shell .main-footer1>div,.mall-footer-shell .mall-footer-single-footer>div{max-width:510px;margin-left:auto;margin-right:auto;}
.mall-footer-shell .flex{display:flex;}.mall-footer-shell .flex-ai-c{align-items:center;}.mall-footer-shell .flex-sp-c{justify-content:center;}.mall-footer-shell .flex-sp-b{justify-content:space-between;}.mall-footer-shell .flex-column{flex-direction:column;}.mall-footer-shell .bold{font-weight:700;}.mall-footer-shell .tac{text-align:center;}
.mall-footer-shell .fs24{font-size:calc(var(--mf-unit)*.24)!important;}.mall-footer-shell .fs26{font-size:calc(var(--mf-unit)*.26)!important;}.mall-footer-shell .fs28{font-size:calc(var(--mf-unit)*.28)!important;}.mall-footer-shell .fs30{font-size:calc(var(--mf-unit)*.30)!important;}.mall-footer-shell .fs32{font-size:calc(var(--mf-unit)*.32)!important;}
.mall-footer-shell .color666{color:#666;}.mall-footer-shell .mt20{margin-top:calc(var(--mf-unit)*.2);}.mall-footer-shell .mt10{margin-top:calc(var(--mf-unit)*.1);}.mall-footer-shell .mb20{margin-bottom:calc(var(--mf-unit)*.2);}.mall-footer-shell .ml20{margin-left:calc(var(--mf-unit)*.2);}.mall-footer-shell .mt50{margin-top:calc(var(--mf-unit)*.5);}
.mall-footer-shell .main-footer1>.flex:first-child>.fs26{font-size:calc(var(--mf-unit)*.32)!important;}
.mall-footer-shell .main-footer1-touch-icon,.mall-footer-shell .mall-footer-single-footer>.flex:first-child>.mall-footer-single-line-icon{width:calc(var(--mf-unit)*.28)!important;height:calc(var(--mf-unit)*.24)!important;object-fit:contain;margin:0;flex-shrink:0;}
.mall-footer-shell .main-footer1-tab,.mall-footer-shell .mall-footer-single-tab{display:flex;justify-content:space-around;margin-top:0!important;margin-bottom:0!important;font-size:calc(var(--mf-unit)*.26)!important;font-weight:bold;line-height:1.4;gap:0;}
.mall-footer-shell .main-footer1-tab>div,.mall-footer-shell .mall-footer-single-tab>div{width:50%;text-align:center;}
.mall-footer-shell .main-footer1-tab>div>div,.mall-footer-shell .mall-footer-single-tab>div>div{margin:calc(var(--mf-unit)*.36) 0 0!important;font-size:inherit!important;line-height:inherit!important;cursor:pointer;}
.mall-footer-shell .main-footer1-social-icon{display:flex;width:calc(var(--mf-unit)*3)!important;max-width:100%;transform:none!important;justify-content:space-between;margin:calc(var(--mf-unit)*.5) auto calc(var(--mf-unit)*.4)!important;}
.mall-footer-shell .main-footer1-social-icon>button{width:calc(var(--mf-unit)*.4)!important;height:calc(var(--mf-unit)*.38)!important;}
.mall-footer-shell .mall-footer-copyright{padding:0!important;line-height:1.4!important;}
.mall-footer-shell .mall-footer-single-tab-img{display:flex;width:calc(var(--mf-unit)*3.8);max-width:100%;margin:calc(var(--mf-unit)*.38) auto 0;transform:none;justify-content:space-between;}
.mall-footer-shell .mall-footer-single-tab-img>div{cursor:pointer;}
.mall-footer-shell .mall-footer-single-tab-img img{width:calc(var(--mf-unit)*.58);height:calc(var(--mf-unit)*.58);object-fit:contain;}
.mall-footer-shell .mall-footer-single-tab-content{border-top:1px solid #777;margin-top:calc(var(--mf-unit)*.5);padding-top:calc(var(--mf-unit)*.27);}
.mall-footer-shell .mall-footer-single-tab-content-width{width:calc(var(--mf-unit)*4.7);max-width:100%;margin:calc(var(--mf-unit)*.26) auto calc(var(--mf-unit)*.48);font-size:calc(var(--mf-unit)*.26);line-height:1.4;}
.mall-footer-shell .mall-footer-single-relation{width:calc(var(--mf-unit)*4.66);max-width:100%;margin:calc(var(--mf-unit)*.3) auto;font-size:calc(var(--mf-unit)*.26);font-weight:bold;line-height:calc(var(--mf-unit)*.36);letter-spacing:1px;}
.mall-footer-shell .mall-footer-single-time{border-top:1px solid #777;border-bottom:1px solid #777;padding:calc(var(--mf-unit)*.44) 0 calc(var(--mf-unit)*.55);margin-top:0;margin-bottom:0;gap:calc(var(--mf-unit)*.12);}
.mall-footer-shell .mall-footer-single-time-left{width:calc(var(--mf-unit)*3);max-width:46%;flex-shrink:0;text-align:center;}
.mall-footer-shell .mall-footer-single-time-left .mktwo{max-width:8.2em;margin-left:auto;margin-right:auto;}
.mall-footer-shell .mall-footer-single-time-right>div{cursor:pointer;}
.mall-footer-shell .mall-footer-single-time-icon{width:calc(var(--mf-unit)*.88);height:calc(var(--mf-unit)*.88);margin-bottom:calc(var(--mf-unit)*.12);object-fit:contain;flex-shrink:0;}
@media(max-width:767px){.mall-footer-shell{--mf-unit:calc(100vw / 7.5);}}

/* Desktop mall layout: scale to the wider content area; keep mobile unchanged. */
@media(min-width:768px){
 .mall-footer-shell{--mf-unit:75px;}
 .mall-footer-shell .main-footer1>div,.mall-footer-shell .mall-footer-single-footer>div{max-width:680px;}
}

@media(max-width:767px){.mall-footer-shell .mall-footer-single-time-left{width:44%;max-width:44%;}.mall-footer-shell .mall-footer-single-time-right>.ml20{margin-left:calc(var(--mf-unit)*.08);}}

/* Product footer stays within the storefront content width. */
.mall-footer-shell{max-width:750px;margin-left:auto;margin-right:auto;box-sizing:border-box;}
