/* ITDA V26 – mobile scroll-aware header and product-focus view. 2026-11-04 */
:root{--itda-v26-font:"Pretendard Variable","Pretendard","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;--itda-v26-navy:#172b4b;--itda-v26-accent:#3468ed}
@media(max-width:767px){
 html.itda-v26-scroll #header.itda-v26-sticky{
   position:fixed!important;top:0!important;left:0!important;right:0!important;
   width:100%!important;margin:0!important;z-index:9000!important;
   background:#fff!important;will-change:transform;
   transform:translate3d(0,var(--itda-v26-header-y,0px),0)!important;
   transition:transform 65ms linear!important;
   box-shadow:0 1px 0 rgba(25,40,60,.07)!important;
 }
 html.itda-v26-scroll #container.padt45{padding-top:0!important}
 html.itda-v26-scroll #itda-v26-header-spacer{display:block!important;width:100%;height:var(--itda-v26-header-h,0px)!important;pointer-events:none}
 html.itda-v26-scroll #header.itda-v26-sticky .itda-v11-mobile-header{font-family:var(--itda-v26-font)!important}
 html.itda-v26-detail #itda-v26-header-spacer,
 html.itda-v26-detail #header,
 html.itda-v26-detail #content_title,
 html.itda-v26-detail .top_ad{display:none!important}
 html.itda-v26-detail #container,
 html.itda-v26-detail #container.sub_wrap{
   padding:0 0 calc(168px + env(safe-area-inset-bottom))!important;
   margin:0!important;min-height:0!important;background:#fff!important
 }
 html.itda-v26-detail #wrapper{background:#fff!important}
 html.itda-v26-detail form[name="fbuyform"]{margin:0!important;padding:0!important}
 html.itda-v26-detail .sp_wrap,
 html.itda-v26-detail .sp_wrap *:not(.fa):not(.im){
   font-family:var(--itda-v26-font)!important;
   letter-spacing:-.025em
 }
 html.itda-v26-detail .sp_wrap{
   box-sizing:border-box!important;margin:0!important;padding:0!important;
   width:100%!important;max-width:none!important;
   color:#202d3f!important;background:#fff!important
 }
 /* Image first — full viewport width, no extra navigation/heading above it. */
 html.itda-v26-detail .sp_wrap .sp_sub_wrap{
   box-sizing:border-box!important;margin:0!important;padding:0!important;
   border:0!important;width:100%!important;max-width:none!important;
   height:auto!important;aspect-ratio:1/1!important;
   position:relative!important;overflow:hidden!important;background:#fff!important
 }
 html.itda-v26-detail .sp_wrap .sp_sub_wrap .v_cont{
   box-sizing:border-box!important;width:100%!important;max-width:none!important;
   height:100%!important;max-height:none!important;margin:0!important;padding:0!important
 }
 html.itda-v26-detail .sp_wrap .sp_sub_wrap .v_horiz,
 html.itda-v26-detail .sp_wrap .sp_sub_wrap .v_horiz li{
   width:100%!important;height:100%!important;max-width:none!important;
   padding:0!important;margin:0!important;box-sizing:border-box!important
 }
 html.itda-v26-detail .sp_wrap .sp_sub_wrap .v_horiz img{
   display:block!important;width:100%!important;height:100%!important;
   max-width:none!important;max-height:none!important;object-fit:contain!important;
   background:#fff!important
 }
 html.itda-v26-detail .sp_wrap .sp_sub_wrap .sp_b_a{
   background:rgba(29,45,68,.55)!important;border-radius:999px!important;
   width:30px!important;height:35px!important;line-height:35px!important;
   font-size:20px!important;top:50%!important;transform:translateY(-50%)!important;
   margin-top:0!important
 }
 html.itda-v26-detail .itda-v26-back,
 html.itda-v26-detail .itda-v26-wish{
   position:absolute!important;z-index:5!important;display:flex!important;
   justify-content:center!important;align-items:center!important;
   border:1px solid rgba(30,44,60,.07)!important;
   border-radius:50%!important;width:46px!important;height:46px!important;
   padding:0!important;background:rgba(255,255,255,.96)!important;
   box-shadow:0 2px 13px rgba(12,26,45,.15)!important;
   color:#142843!important;cursor:pointer!important
 }
 html.itda-v26-detail .itda-v26-back{top:15px!important;left:15px!important}
 html.itda-v26-detail .itda-v26-wish{bottom:18px!important;right:15px!important}
 html.itda-v26-detail .itda-v26-back svg,
 html.itda-v26-detail .itda-v26-wish svg{
   width:24px!important;height:24px!important;fill:none!important;stroke:currentColor!important;
   stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important
 }
 html.itda-v26-detail .itda-v26-back:focus-visible,
 html.itda-v26-detail .itda-v26-wish:focus-visible{
   outline:3px solid #397af2!important;outline-offset:3px!important
 }
 html.itda-v26-detail .sp_wrap .subject{
   padding:20px 18px 13px!important;margin:0!important;border:0!important;
   font-size:19px!important;line-height:1.45!important;font-weight:750!important;
   color:#1b283c!important;word-break:keep-all!important;overflow-wrap:anywhere!important
 }
 html.itda-v26-detail .sp_wrap .subject .sub_txt{font-size:14px!important;line-height:1.5!important}
 /* Hide legacy 7–8 tiny social icons and the satisfaction/product-count summary.
    Product recommendation and its dedicated share CTA remain intact. */
 html.itda-v26-detail .sp_wrap>.sp_sns{display:none!important}
 html.itda-v26-detail .sp_wrap>.itda-share-v17-promo{
   margin:0 13px 14px!important;box-sizing:border-box!important
 }
 html.itda-v26-detail .sp_wrap>.sp_tbox{
   margin:0!important;padding:12px 17px!important;border-top:1px solid #edf0f4!important;
   font-size:14px!important;line-height:1.5!important
 }
 html.itda-v26-detail .sp_wrap .sp_tbox .tlst,
 html.itda-v26-detail .sp_wrap .sp_obox .tlst{
   float:left!important;width:30%!important;font-size:13px!important;color:#66778a!important
 }
 html.itda-v26-detail .sp_wrap .sp_tbox .trst,
 html.itda-v26-detail .sp_wrap .sp_obox .trst{width:70%!important;font-size:14px!important}
 html.itda-v26-detail .sp_wrap .sp_tbox .trst-amt{font-size:23px!important;color:#e72f63!important;font-weight:850!important}
 /* One swipeable line containing four independent pieces of product metadata. */
 html.itda-v26-detail .itda-v26-facts{
   box-sizing:border-box!important;display:flex!important;flex-wrap:nowrap!important;
   overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
   gap:14px!important;align-items:center!important;width:100%!important;
   padding:13px 17px!important;margin:0 0 5px!important;
   background:#f8fafc!important;border-top:1px solid #e7ebf0!important;
   border-bottom:1px solid #e7ebf0!important;
   scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important
 }
 html.itda-v26-detail .itda-v26-facts::-webkit-scrollbar{display:none}
 html.itda-v26-detail .itda-v26-fact{
   display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;
   gap:5px!important;white-space:nowrap!important;font-size:11px!important;
   line-height:1.4!important;color:#3a4b62!important;scroll-snap-align:start!important
 }
 html.itda-v26-detail .itda-v26-fact b{
   font-size:10px!important;color:#7b899a!important;font-weight:600!important
 }
 html.itda-v26-detail .itda-v26-fact span,
 html.itda-v26-detail .itda-v26-fact em{
   color:#27364b!important;font-style:normal!important;font-size:11px!important;font-weight:700!important
 }
 html.itda-v26-detail .sp_wrap .sp_tab{
   margin-top:22px!important;border-top:9px solid #f3f5f8!important
 }
 html.itda-v26-detail .sp_wrap .sp_tab a{
   box-sizing:border-box!important;height:48px!important;line-height:46px!important;
   font-size:14px!important;font-weight:700!important;letter-spacing:-.04em!important;
   color:#64748b!important;border-bottom:2px solid #e5e9ef!important
 }
 html.itda-v26-detail .sp_wrap .sp_tab li.active a{
   color:#162d50!important;border-bottom:3px solid #1c355b!important;font-weight:850!important
 }
 html.itda-v26-detail .sp_wrap .sp_msgt,
 html.itda-v26-detail .sp_wrap .sp_vbox,
 html.itda-v26-detail .sp_wrap .sp_vbox_mr,
 html.itda-v26-detail .sp_wrap .sp_opt_set,
 html.itda-v26-detail .sp_wrap .sp_rel{font-size:13px!important;line-height:1.5!important}
 /* Preserve existing option validation and checkout functions; only style native buttons. */
 html.itda-v26-detail .sp_wrap .sp_btn.itda-v26-purchase-bar{
   box-sizing:border-box!important;position:fixed!important;z-index:9996!important;
   display:grid!important;grid-template-columns:1fr 1.35fr!important;gap:10px!important;
   left:0!important;right:0!important;bottom:calc(73px + env(safe-area-inset-bottom))!important;
   width:100%!important;height:auto!important;min-height:74px!important;
   margin:0!important;padding:10px 13px!important;background:rgba(255,255,255,.99)!important;
   border-top:1px solid #e7ebef!important;box-shadow:0 -3px 12px rgba(15,34,59,.04)!important
 }
 html.itda-v26-detail .sp_btn.itda-v26-purchase-bar p,
 html.itda-v26-detail .sp_btn.itda-v26-purchase-bar span{
   margin:0!important;padding:0!important;float:none!important;display:block!important;
   width:100%!important;min-width:0!important
 }
 html.itda-v26-detail .sp_btn.itda-v26-purchase-bar button{
   display:block!important;box-sizing:border-box!important;
   width:100%!important;min-height:52px!important;height:52px!important;
   border-radius:9px!important;font-family:var(--itda-v26-font)!important;
   font-size:16px!important;font-weight:850!important;line-height:1.2!important;
   letter-spacing:-.04em!important;box-shadow:none!important;cursor:pointer!important
 }
 html.itda-v26-detail .sp_btn.itda-v26-purchase-bar .itda-v26-cart-btn{
   background:#fff!important;color:#2857af!important;border:1.5px solid #3673ef!important
 }
 html.itda-v26-detail .sp_btn.itda-v26-purchase-bar .itda-v26-buy-btn{
   background:#3269ed!important;color:#fff!important;border:1.5px solid #3269ed!important
 }
 html.itda-v26-detail #it3-assistant .it3-float-stack.itda-v22-dock{
   bottom:calc(167px + env(safe-area-inset-bottom))!important
 }
}
@media(max-width:359px){
 html.itda-v26-detail .sp_btn.itda-v26-purchase-bar{gap:7px!important;padding:8px!important}
 html.itda-v26-detail .sp_btn.itda-v26-purchase-bar button{font-size:14px!important}
 html.itda-v26-detail .itda-v26-facts{gap:11px!important;padding:11px!important}
}
@media(prefers-reduced-motion:reduce){
 html.itda-v26-scroll #header.itda-v26-sticky{transition:none!important}
}

/* V26.1: legacy .sp_btn p spans all columns; enforce two distinct cells. */
@media(max-width:767px){
 html.itda-v26-detail #container .sp_wrap .sp_btn.itda-v26-purchase-bar>span{
   grid-column:1!important;grid-row:1!important;min-width:0!important;
   width:100%!important;max-width:100%!important
 }
 html.itda-v26-detail #container .sp_wrap .sp_btn.itda-v26-purchase-bar>p{
   grid-column:2!important;grid-row:1!important;min-width:0!important;
   width:100%!important;max-width:100%!important
 }
 html.itda-v26-detail #container .sp_wrap .sp_btn.itda-v26-purchase-bar>span>button,
 html.itda-v26-detail #container .sp_wrap .sp_btn.itda-v26-purchase-bar>p>button{
   display:block!important;width:100%!important;height:52px!important;
   min-height:52px!important;margin:0!important;padding:0 6px!important
 }
}
