/* Scope native styling to the loader's explicitly identified surfaces. */
:is(body.dw-native,.dw-react-app,.dwc-inspect) { touch-action:manipulation; }
body.dw-native { font:400 var(--dw-text-body)/var(--dw-leading-body) var(--dw-font); color:var(--dw-text); background:var(--dw-bg); zoom:1 !important; text-size-adjust:100%; }
body.dw-native :is(#doz_header,#doz_footer_wrap,.shop-content,#cocoaModal,.modal-dialog) { font-family:var(--dw-font); }
body.dw-native :is(#cocoaModal,.modal-dialog) :is(button,.btn) { min-height:44px; }
body.dw-native :is(#cocoaModal,.modal-dialog) :is(input,select) { font-size:16px; }
.dw-store-footer { font:400 12px/1.6 var(--dw-font); color:var(--dw-text-2); background:var(--dw-surface); border-top:1px solid var(--dw-border); padding-inline:var(--dw-page-gutter); }
.dw-store-footer details { max-width:var(--dw-page-width); margin:auto; }
.dw-store-footer summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; cursor:pointer; list-style:none; padding-inline:8px; margin-inline:-8px; }
.dw-store-footer summary::after { content:'스토어 정보 +'; }
.dw-store-footer details[open] summary::after { content:'스토어 정보 −'; }
.dw-store-footer .dw-store-legal { white-space:pre-line; padding-block:8px 16px; }
.dw-store-footer .dw-policy-links { display:flex; gap:16px; padding-bottom:16px; }
.dw-store-footer .dw-policy-links > a { min-width:44px; min-height:var(--dw-control-min-h); display:inline-flex; align-items:center; }
.dw-store-footer :is(a,summary):focus-visible { outline:2px solid var(--dw-accent,#2b3f52)!important; outline-offset:3px; }
.dw-store-footer summary:focus-visible { outline-offset:-2px; }
.dw-store-footer a { color:inherit; scroll-margin-block:8px; }
.dw-store-footer.dw-footer-bounded :is(.dw-store-content,.dw-react-footer-info) { box-sizing:border-box; max-block-size:var(--dw-footer-content-height); overflow-y:auto; overscroll-behavior-y:contain; scroll-padding-block:8px; overflow-wrap:anywhere; padding-inline:8px; margin-inline:-8px; }
.dw-unified-crate.dwc-footer-yield { min-block-size:0; overflow-y:auto; overflow-x:hidden; }
body.dw-native #doz_header :is(.inline-section-wrap,.inline-inside,.inline-section,.inline-col-group) {
  height:var(--dw-header-h) !important; min-height:var(--dw-header-h) !important;
}
body.dw-native #doz_header .inline-inside {
  max-width:calc(var(--dw-page-width) + 2 * var(--dw-page-gutter)) !important; margin-inline:auto !important;
  padding-inline:var(--dw-page-gutter) !important;
}
body.dw-native #doz_header :is(img.normal_logo,img.scroll_logo) { max-height:32px; width:auto; object-fit:contain; }
body.dw-native #doz_header :is(.icon_type_menu a,.inline_widget.login_btn a,.dw-header-cart) {
  min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center;
}
body.dw-native .dw-header-cart { color:inherit; text-decoration:none; }
body.dw-native .dw-header-cart svg { width:20px; height:20px; }
body.dw-native #prod_detail :is(input,select,textarea) { font-size:var(--dw-text-input); }
body.dw-native #prod_detail :is(button,.btn) { min-height:var(--dw-control-min-h); font-size:var(--dw-text-control); }
body.dw-native-product .shop-content .goods_wrapper { margin-inline:0 !important; }
body.dw-native :is(#doz_header,#prod_detail,.shop-content.cart,.shop-content.mypage,#dawol-crate) :is(a,button,input,select,textarea,summary):focus-visible {
  outline:2px solid var(--dw-accent); outline-offset:2px;
}
#dawol-crate { font:400 var(--dw-text-body)/var(--dw-leading-body) var(--dw-font); color:var(--dw-text); }
@media (prefers-reduced-motion:reduce) {
  :is(#dawol-crate,.dw-native-spec) * { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* Verified Imweb mobile table: remove cell padding and inline baseline overflow. */
body.dw-native #doz_header #inline_header_mobile { --dw-header-h:48px; }
body.dw-native #doz_header #inline_header_mobile .inline-col-group { padding-block:0!important; box-sizing:border-box; vertical-align:middle; }
body.dw-native #doz_header #inline_header_mobile :is(img.normal_logo,img.scroll_logo) { max-height:28px; }
body.dw-native #doz_header #inline_header_mobile .widget.inline_widget.icon_type_menu { display:inline-flex; align-items:center; gap:0; line-height:1; vertical-align:middle; }
body.dw-native #doz_header #inline_header_mobile :is(.dw-header-cart,a[onclick*="MOBILE_SLIDE_MENU.slideNavToggle"]) { width:44px; height:44px; min-width:44px; min-height:44px; padding:0!important; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; line-height:1; vertical-align:middle; }
body.dw-native #doz_header #inline_header_mobile .dw-header-cart svg { width:22px; height:22px; }
body.dw-native #doz_header #inline_header_mobile a[onclick*="MOBILE_SLIDE_MENU.slideNavToggle"] > span.icon-menu { font-size:22px; line-height:1; }
body.dw-native #doz_header #inline_header_mobile :is(.dw-header-cart,a[onclick*="MOBILE_SLIDE_MENU.slideNavToggle"]):focus-visible { outline:2px solid #fff!important; outline-offset:-3px; }
body.dw-native #doz_header .widget.inline_widget.logo a { min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
body.dw-native #doz_header a:focus-visible { outline:2px solid #fff!important; outline-offset:-3px; }
@media (min-width:992px) {
  @media not all and (min-width:1100px) {
    body.dw-native #doz_header .inline-col-group { padding-block:calc((var(--dw-header-h) - var(--dw-control-min-h))/2)!important; box-sizing:border-box; vertical-align:middle; }
  }
}
body.dw-native-product #doz_header_wrap { min-height:var(--dw-header-h,64px)!important; }
body.dw-native-product #doz_header { position:fixed!important; top:0!important; left:0!important; width:100%!important; z-index:1000!important; }
@media (max-width:991px) {
  body.dw-native #mobile_slide_menu_wrap.right-slide.slide_open button.navbar-toggle.close.slide-close {
    box-sizing:border-box;
    min-width:44px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:2px;
    margin-right:-6px;
  }
}
@media (max-width:363px) {
  body.dw-native #mobile_slide_menu_wrap.right-slide #mobile_slide_menu { max-width:calc(100vw - 64px); }
  body.dw-native #mobile_slide_menu_wrap.right-slide.slide_open button.navbar-toggle.close.slide-close { right:calc(100vw - 54px)!important; }
}
@media (max-width:363px) {
  body.dw-native:has(#mobile_slide_menu_wrap.right-slide.slide_open) #inline_header_mobile #logo_w2025072286f08198bbf1e { opacity:0; }
}

/* Imweb caches sticky-header dimensions at its own breakpoints. Keep the
   fixed section and its reserved space aligned with our responsive tokens. */
body.dw-native #doz_header .inline-section-wrap.fixed_transform._fixed_header_section { width:100% !important; }
body.dw-native #doz_header .inline-section-wrap.fixed_transform._fixed_header_section + .spacer { height:var(--dw-header-h) !important; width:100% !important; }

/* Match the common 20px header icon box; native links retain their 44px targets. */
body.dw-native #doz_header .inline_widget.login_btn .icon_class > i { font-size:20px; font-weight:400; line-height:1; width:20px; height:20px; display:inline-block; }

/* Native document pages: let spare viewport space precede the footer.
   The crate owns its own height and footer and is deliberately excluded. */
body.dw-native:not(:has(#dawol-crate)):has(> #dwStoreFooter) {
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
}
body.dw-native:not(:has(#dawol-crate)):has(> #dwStoreFooter) > * { flex-shrink:0; }
body.dw-native:not(:has(#dawol-crate)) > #dwStoreFooter { margin-top:auto; }
