@media(max-width:768px){#header,header.header,.xans-layout-header,#aside,#aside_full{visibility:hidden!important}#ksmall-mheader{visibility:visible!important}}
body{font-display:swap}
.xans-product-menupackage,.product_menupackage{display:none!important}
.xans-board-listpackage,.boardList,.board_list_wrap,.xans-board-listheader,.xans-board-listmain,.xans-board-titlepackage,.board_main_t{display:none!important}
.xans-layout-footer .footer_menu li:nth-child(1),.xans-layout-footer .footer_menu li:nth-child(3),.xans-layout-footer .footer_menu li:nth-child(5){display:none!important}
.store_bt,.footer_store_bt,[class*="store_bt"]{display:none!important;height:0!important;padding:0!important;margin:0!important;border:0!important}
.xans-layout-footer,#footer{display:block!important;visibility:visible!important}
#footer{margin-top:40px!important;padding:24px 16px!important}
.path,#header_03 .path,.titleArea h2{display:none!important}
.titleArea{padding:0!important;margin:0!important;border:0!important;height:0!important}
.ksmall-mypage,.ksmall-login,.ksmall-basket,.ksmall-join{font-family:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",sans-serif!important}
.ksmall-mypage *,.ksmall-login *,.ksmall-basket *,.ksmall-join *{letter-spacing:normal!important;word-spacing:normal!important}
.km-title,.kb-title,.ks-login-title{display:block!important;width:auto!important;padding:0 0 8px 0!important;margin:0 0 8px 0!important;border:0!important;border-bottom:2px solid #1f3d7a!important;font-size:22px!important;font-weight:700!important;color:#1f3d7a!important;text-align:left!important;letter-spacing:normal!important;word-spacing:normal!important;white-space:nowrap!important;overflow:visible!important;background:none!important;text-indent:0!important;line-height:1.6!important}
.ks-login-title{text-align:center!important;border:0!important;border-bottom:0!important}
.kb-sub,.km-sub{padding:0!important;margin:0 0 18px 0!important;text-align:left!important}
.ksmall-mypage,.ksmall-basket{position:relative!important;direction:ltr!important;width:100%!important;max-width:1180px!important;margin:30px auto 60px!important;box-sizing:border-box!important}
.ksmall-login{position:relative!important;direction:ltr!important;width:100%!important;max-width:460px!important;margin:50px auto 80px!important;padding:0 16px!important;box-sizing:border-box!important}
.ksmall-login .ks-login-card{max-width:460px!important;width:100%!important;margin:0 auto!important;padding:36px 32px!important;background:#fff!important;border:1px solid #e6e8ea!important;border-radius:8px!important;box-shadow:0 4px 16px rgba(0,0,0,0.04)!important;box-sizing:border-box!important}
.ksmall-login #ksLoginForm{display:block!important;width:100%!important;box-sizing:border-box!important}
.ksmall-login .ks-btn-login{display:block!important;width:100%!important;box-sizing:border-box!important;margin:14px 0 18px!important;padding:14px 0!important;height:48px!important;font-size:16px!important;font-weight:700!important;background:#1f3d7a!important;color:#fff!important;border:0!important;border-radius:4px!important;cursor:pointer!important;text-align:center!important}
.ksmall-login .ks-btn-login:hover{background:#16306b!important}
.ksmall-login .ks-field input{width:100%!important;box-sizing:border-box!important}
.ksmall-login .ks-actions{display:flex!important;gap:10px!important;width:100%!important}
.ksmall-login .ks-actions a{flex:1!important;width:auto!important;text-align:center!important;height:44px!important;line-height:44px!important;box-sizing:border-box!important}
/* Join page button row alignment */
.ksmall-join .btn-row{display:flex!important;justify-content:center!important;gap:12px!important;align-items:center!important;flex-wrap:wrap!important;text-align:center!important;margin-top:40px!important;padding-top:30px!important;border-top:2px solid #333!important}
.ksmall-join .btn-row button,.ksmall-join .btn-row a{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:14px 44px!important;min-width:140px!important;font-size:16px!important;font-weight:600!important;border-radius:4px!important;text-decoration:none!important;cursor:pointer!important;border:0!important;margin:0!important;line-height:1.4!important;box-sizing:border-box!important}
.ksmall-join .btn-row .primary{background:#1f3d7a!important;color:#fff!important}
.ksmall-join .btn-row .primary:hover{background:#16306b!important}
.ksmall-join .btn-row .cancel{background:#fff!important;color:#555!important;border:1px solid #d0d4d9!important}
.ksmall-join .btn-row .cancel:hover{background:#f0f1f4!important}
@media(max-width:768px){
  .ksmall-join .btn-row{gap:8px!important;padding-top:20px!important;margin-top:24px!important}
  .ksmall-join .btn-row button,.ksmall-join .btn-row a{padding:12px 24px!important;min-width:110px!important;font-size:14px!important;flex:1 1 40%!important}
}
.km-title,.kb-title{position:relative!important;left:auto!important;right:auto!important;width:auto!important;display:block!important;float:none!important;clear:both!important}
.ksmall-login .ks-login-title{text-align:center!important}
#category-top,#category-top li{white-space:nowrap}
#header_topMenu{white-space:nowrap;overflow:hidden}
#header_03 > .path,#header_03 .titleArea{display:none!important}
/* Product list sort menu (신상품/상품명/낮은가격/...) — hide because static mirror can't sort */
.xans-product-orderby,ul#type.xans-product-orderby,#type.xans-product-orderby{display:none!important}
/* BANK INFO hidden globally — only shown in order modal */
.bank_account,#footer .bank_account{display:none!important;visibility:hidden!important;height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important}
@media(min-width:769px){#footer{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:space-between!important;gap:40px!important;padding:32px 16px!important;max-width:1260px!important;margin:0 auto!important}#footer .call_center,#footer .cs_box,#footer .footer_return{flex:1 1 45%!important;max-width:48%!important;margin:0!important;float:none!important;width:auto!important}#footer .bank_account,#footer .store_bt,#footer .divClear,#footer ._line{display:none!important;width:0!important}#footer .footer_menu,#footer .footer_info,#footer .info_corp,#footer .footer_corp{flex:1 1 100%!important;max-width:100%!important;margin-top:18px!important}}
/* Global overflow guard */
html,body{overflow-x:hidden!important;max-width:100vw!important}
img,video,iframe{max-width:100%!important;height:auto!important}
@media(max-width:768px){
  body,#wrap,#container,.-frame{width:100%!important;min-width:0!important;max-width:100vw!important;box-sizing:border-box!important}
  body{overflow-x:hidden!important}
  /* product detail responsive stack */
  .xans-product-detail .imgArea,.xans-product-detail .infoArea,.xans-product-detail .headingArea{width:100%!important;float:none!important;margin:0 0 16px!important;padding:0 12px!important;box-sizing:border-box!important}
  .xans-product-detail{padding:0!important;margin:12px 0!important;min-height:0!important}
  .xans-product-detail .imgArea img{width:100%!important;height:auto!important;max-width:100%!important}
  .xans-product-detail .imgArea .listImg,.xans-product-detail .imgArea .keyImg{width:100%!important;height:auto!important}
  /* Footer mobile reflow */
  #footer{display:flex!important;flex-direction:column!important;gap:18px!important;padding:24px 16px!important;text-align:center!important}
  #footer ._section,#footer .cs_box,#footer .bank_account,#footer .footer_return,#footer .footer_menu,#footer .footer_info{width:100%!important;max-width:100%!important;margin:0!important;float:none!important;padding:8px 0!important;text-align:center!important}
  #footer h4{font-size:14px!important;margin:0 0 8px!important}
  #footer{font-size:12px!important;line-height:1.7!important}
  #ksmall-mfooter{display:none!important}
}
