/* 네이버페이 주문형 N pay 버튼 자리(2026-11-24). 버튼 모양은 네이버페이 SDK가 그린다(템플릿형, 기본 200~1280px). */
.mz-npay{width:100%;min-width:200px;max-width:1280px;margin:10px 0 0}
.mz-npay[hidden]{display:none!important}
.mz-npay-cart{margin-top:12px}
/* 상품 화면 카드형(2026-11-24): 토스 경유 '네이버페이로 구매' 자리 = 카카오페이 옆 칸. 토스 버튼은 npay-order-v1.js가 숨긴다.
   2026-11-24 높이 맞춤: SDK가 위에 18px 여백(padding-top)을 두고 버튼을 40px로 그려서 카카오페이(46px)보다 낮고 아래로 처졌다.
   여백을 없애고 버튼을 칸 높이(카카오페이 .c-kakaopay min-height 46px)에 꽉 채워 글자·로고를 가운데로, 모서리도 카카오페이와 같은 6px.
   SDK 최소 폭 200px도 이 칸에서만 풀어서 폰(390px)에서도 카카오페이와 나란히 반반(1fr 1fr) 놓는다. 360px 이하는 claude-pdp가 한 줄씩.
   SDK 규칙이 !important라 같은 !important + 더 구체적인 선택자로 덮는다. */
.c-pay-wallets>.mz-npay{grid-column:auto;align-self:stretch;min-width:0;width:auto;max-width:none;margin:0;display:flex;flex-direction:column;min-height:46px}
.c-pay-wallets>.mz-npay>*{flex:1 1 auto;min-width:0}
.c-pay-wallets>.mz-npay .npay_button_sdk_wrapper{display:flex!important;flex-direction:column!important;padding-top:0!important;margin:0!important;min-width:0!important;max-width:none!important;width:100%!important;height:100%!important}
.c-pay-wallets>.mz-npay .npay_button_sdk_wrapper .npay_button_area{display:flex!important;flex:1 0 auto!important;min-height:46px!important}
.c-pay-wallets>.mz-npay .npay_button_sdk_wrapper .npay_main_cell{display:flex!important;flex:1 1 auto!important;min-width:0!important}
.c-pay-wallets>.mz-npay .npay_button_sdk_wrapper .npay_link_order{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;box-sizing:border-box!important;min-height:46px!important;height:auto!important;padding:0 8px!important;border-radius:6px!important;white-space:nowrap!important}
.c-pay-wallets>.mz-npay .npay_button_sdk_wrapper .npay_logo{flex:none!important}
.c-pay-wallets:has(>.mz-npay[data-npay-mounted]:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:360px){.c-pay-wallets:has(>.mz-npay[data-npay-mounted]:not([hidden])){grid-template-columns:1fr}}
.c-pay-wallets [data-npay-replaced][hidden]{display:none!important}
/* SDK가 아직 버튼을 그리기 전(또는 SDK 파일이 안 들어옴)에는 빈 칸을 만들지 않는다. */
.mz-npay:not([data-npay-mounted]){display:none}
/* 검수(샌드박스) 중에는 토스 경유 '네이버페이로 구매' 버튼과 헷갈리지 않게 작은 설명을 붙인다. */
.mz-npay[data-npay-mode=sandbox]::before{content:'네이버페이 주문형 (검수 시험)';display:block;margin:0 0 4px;font-size:11px;line-height:1.4;color:#6b7280}
