/* QA2381 승인 시안 v2.5: 정본 부품과 견적 내부 배치. */
#pdp-estimate{padding:var(--bj-space-4) 0;background:var(--bj-clean);scroll-margin-top:var(--bj-space-3)}
#pdp-nbe-ny-estimate :is(div,p,section,header,fieldset,ul,li){margin-left:0;margin-right:0;min-width:0}
#pdp-nbe-ny-estimate :is(h2,h3,p,ul,fieldset){margin-top:0;margin-bottom:0}
#pdp-nbe-ny-estimate{container-type:inline-size;font-family:var(--bj-font-family);font-size:var(--bj-type-body);line-height:var(--bj-type-body-line);letter-spacing:var(--bj-type-body-tracking)}
:where(#pdp-nbe-ny-estimate,#pdp-nbe-estimateDock,#pdp-nbe-exampleModal,#pdp-nbe-examplePopover) :where(*){font-family:inherit;font-size:inherit}
#pdp-nbe-ny-estimate h2{font-size:var(--bj-type-section);font-weight:var(--bj-type-section-weight);line-height:var(--bj-type-section-line);color:var(--bj-ink)}
#pdp-nbe-ny-estimate h3,#pdp-nbe-exampleModal h3{font-size:var(--bj-type-subsection);font-weight:var(--bj-type-subsection-weight);line-height:var(--bj-type-subsection-line);color:var(--bj-ink);margin:0}
#pdp-nbe-ny-estimate p{font-size:var(--bj-type-body);line-height:var(--bj-type-body-line);color:var(--bj-muted);overflow-wrap:anywhere}
#pdp-nbe-ny-estimate .estimate-intro{padding-bottom:var(--bj-space-3);border-bottom:1px solid var(--bj-line)}
#pdp-nbe-ny-estimate .estimate-intro p{margin-top:var(--bj-space-1)}
#pdp-nbe-ny-estimate .estimate-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--bj-space-3);padding:var(--bj-space-3) 0}
#pdp-nbe-ny-estimate .estimate-field{display:flex;flex-direction:column;gap:var(--bj-space-1);align-items:stretch}
#pdp-nbe-ny-estimate .estimate-field>label,#pdp-nbe-ny-estimate legend{font-size:var(--bj-type-control);font-weight:var(--bj-type-control-weight);line-height:var(--bj-type-control-line);color:var(--bj-ink)}
#pdp-nbe-ny-estimate .document-field{border:0;padding:0;min-width:0}
#pdp-nbe-ny-estimate legend{margin-bottom:var(--bj-space-1);padding:0}
#pdp-nbe-ny-estimate .document-choices{display:grid;grid-template-columns:1fr 1fr;gap:var(--bj-space-1)}
#pdp-nbe-ny-estimate .document-choices label{display:flex;align-items:center;gap:var(--bj-space-1);min-height:48px;padding:var(--bj-space-1) var(--bj-space-2);border:1px solid var(--bj-line);border-radius:var(--bj-control-radius);cursor:pointer;font-size:var(--bj-type-control);font-weight:var(--bj-type-control-weight)}
#pdp-nbe-ny-estimate .document-choices label:has(:checked){border-color:var(--bj-charcoal);background:var(--bj-soft-surface)}
#pdp-nbe-ny-estimate input[type=radio],#pdp-nbe-ny-estimate input[type=checkbox]{accent-color:var(--bj-charcoal);flex:0 0 20px;width:20px;height:20px;margin:0}
#pdp-nbe-ny-estimate .bj-form-control>input{width:100%;padding:0 var(--bj-space-2)}
#pdp-nbe-ny-estimate .estimate-field>span{width:100%}
#pdp-nbe-ny-estimate .bj-form-control input:not([type=checkbox]):not([type=radio]){font-weight:var(--bj-type-control-weight)}
#pdp-nbe-ny-estimate .bj-form-control input:not([type=checkbox]):not([type=radio]){min-height:max(48px,3em)}
#pdp-nbe-ny-estimate .bj-form-select>select{height:max(48px,3em)}
#pdp-nbe-ny-estimate .bj-form-control :is(input:not([type=checkbox]):not([type=radio]),select),#pdp-nbe-ny-estimate .document-choices label{border-color:var(--bj-line-strong)}
#pdp-nbe-ny-estimate .bj-form-control :is(input:not([type=checkbox]):not([type=radio]),select):focus{border-color:var(--bj-charcoal)}
#pdp-nbe-ny-estimate .bj-form-control input:not([type=checkbox]):not([type=radio])[aria-invalid=true]{border-color:var(--bj-danger)}
#pdp-nbe-ny-estimate .estimate-error{color:var(--bj-danger)}
#pdp-nbe-ny-estimate .document-choices label:has(:checked){border-color:var(--bj-charcoal)}
#pdp-nbe-ny-estimate #pdp-nbe-quantityInfo{color:var(--bj-ink)}
#pdp-nbe-ny-estimate .estimate-options{border-left:0;border-right:0}
#pdp-nbe-ny-estimate .estimate-options .bj-disclosure__trigger{padding-left:0;padding-right:var(--bj-space-1)}
#pdp-nbe-optionsToggle{font-weight:inherit;line-height:inherit}
#pdp-nbe-ny-estimate #pdp-nbe-selectedCount{font-size:var(--bj-type-body);font-weight:var(--bj-type-body-weight);line-height:var(--bj-type-body-line);color:var(--bj-muted);margin-left:var(--bj-space-1)}
#pdp-nbe-ny-estimate .option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--bj-space-3)}
#pdp-nbe-ny-estimate .option-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:0 var(--bj-space-1);align-content:start;align-items:center;padding:var(--bj-space-2) 0;border-top:1px solid var(--bj-line)}
#pdp-nbe-ny-estimate .option-choice{display:flex;align-items:center;gap:var(--bj-space-1);min-height:44px;font-size:var(--bj-type-control);font-weight:var(--bj-type-control-weight);cursor:pointer;color:var(--bj-ink);overflow-wrap:anywhere}
#pdp-nbe-ny-estimate .option-row.is-locked .option-choice{color:var(--bj-muted);cursor:not-allowed}
#pdp-nbe-ny-estimate .option-row>p,#pdp-nbe-ny-estimate .option-extra{grid-column:1/-1}
#pdp-nbe-ny-estimate .option-row .option-amount{grid-column:2;grid-row:1;color:var(--bj-ink);font-size:var(--bj-type-body);font-weight:var(--bj-type-control-weight);white-space:nowrap}
#pdp-nbe-ny-estimate .option-choice{grid-column:1;grid-row:1}
#pdp-nbe-ny-estimate .option-row .option-note,#pdp-nbe-ny-estimate .option-hint{padding-left:calc(20px + var(--bj-space-1))}
#pdp-nbe-ny-estimate .option-hint{color:var(--bj-attention);margin-top:var(--bj-space-1)}
#pdp-nbe-ny-estimate .option-extra{display:grid;gap:var(--bj-space-1);padding-left:calc(20px + var(--bj-space-1));margin-top:var(--bj-space-1)}
#pdp-nbe-ny-estimate .option-extra label{font-size:var(--bj-type-control);font-weight:var(--bj-type-control-weight);line-height:var(--bj-type-control-line)}
#pdp-nbe-ny-estimate .option-extra input{width:100%;padding:0 var(--bj-space-2)}
:is(#pdp-nbe-ny-estimate,#pdp-nbe-exampleModal) .plain-action{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:var(--bj-space-1);border:0;background:transparent;color:var(--bj-ink);font:inherit;font-size:var(--bj-type-control);font-weight:var(--bj-type-control-weight);line-height:var(--bj-type-control-line);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#pdp-nbe-ny-estimate .plain-action{font-size:var(--bj-type-control)}
#pdp-nbe-ny-estimate .option-row>.plain-action{grid-column:3;grid-row:1;align-self:center}
#pdp-nbe-ny-estimate #pdp-nbe-selectionNotice{margin:var(--bj-space-2) 0;padding:var(--bj-space-2);color:var(--bj-attention)}
#pdp-nbe-ny-estimate .estimate-summary{margin-top:var(--bj-space-3)}
#pdp-nbe-ny-estimate .summary-totals{padding:var(--bj-space-3)}
#pdp-nbe-ny-estimate .total-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:var(--bj-space-1)}
#pdp-nbe-ny-estimate #pdp-nbe-estimateTotal{max-width:100%;overflow-wrap:anywhere;font-size:var(--bj-type-section);line-height:var(--bj-type-section-line);font-weight:var(--bj-type-action-weight);font-variant-numeric:tabular-nums;color:var(--bj-ink)}
#pdp-nbe-ny-estimate .estimate-summary p{margin-top:var(--bj-space-1)}
#pdp-nbe-ny-estimate ul,#pdp-nbe-exampleModal ul{padding:0;list-style:none}
#pdp-nbe-exampleModal li{display:flex;justify-content:space-between;gap:var(--bj-space-2);padding:var(--bj-space-1) 0;align-items:baseline;overflow-wrap:anywhere}
#pdp-nbe-exampleModal li span:last-child{flex-shrink:0;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#pdp-nbe-ny-estimate .estimate-prices{margin-top:var(--bj-space-4)}
#pdp-nbe-ny-estimate .estimate-prices>p{margin:var(--bj-space-1) 0 var(--bj-space-2)}
#pdp-nbe-ny-estimate .price-head,#pdp-nbe-ny-estimate .price-row{display:grid;grid-template-columns:minmax(100px,1fr) repeat(2,minmax(0,1.1fr)) minmax(0,1.2fr) minmax(0,1fr);gap:var(--bj-space-1);align-items:center;text-align:right}
#pdp-nbe-ny-estimate .price-head{padding:var(--bj-space-2) var(--bj-space-1);border-top:1px solid var(--bj-charcoal);border-bottom:1px solid var(--bj-line);font-size:var(--bj-type-control);color:var(--bj-muted)}
#pdp-nbe-ny-estimate .price-head span:first-child{text-align:left}
#pdp-nbe-ny-estimate .price-row{width:100%;min-height:56px;padding:var(--bj-space-1);border:0;border-bottom:1px solid var(--bj-line);background:transparent;color:var(--bj-ink);font-family:var(--bj-font-family);font-size:var(--bj-type-control);font-weight:var(--bj-type-control-weight);line-height:var(--bj-type-control-line);font-variant-numeric:tabular-nums;cursor:pointer}
#pdp-nbe-ny-estimate .price-row[aria-pressed=true]{background:var(--bj-soft-surface);font-weight:var(--bj-type-action-weight)}
#pdp-nbe-ny-estimate .price-qty{text-align:left;display:flex;flex-wrap:wrap;gap:0 var(--bj-space-1)}
#pdp-nbe-ny-estimate .price-amount{white-space:nowrap}
#pdp-nbe-ny-estimate .price-mobile-breakdown,#pdp-nbe-ny-estimate .price-unit-label{display:none}
#pdp-nbe-ny-estimate #pdp-nbe-allPrices{width:100%;margin-top:var(--bj-space-2)}
#pdp-nbe-ny-estimate [hidden],#pdp-nbe-estimateDock[hidden],#pdp-nbe-examplePopover[hidden]{display:none!important}
#pdp-nbe-ny-estimate :is(.plain-action,.document-choices input,.option-choice input,.price-row):focus-visible,#pdp-nbe-exampleModal .plain-action:focus-visible{outline:2px solid var(--bj-charcoal);outline-offset:3px}
#pdp-nbe-ny-estimate .bj-form-control :is(input,select):focus-visible,#pdp-nbe-estimateDock .bj-primary-action:focus-visible{outline-color:var(--bj-charcoal)}
#pdp-nbe-ny-estimate :is(input,select,button,summary,label),#pdp-nbe-exampleModal button{scroll-margin-top:100px;scroll-margin-bottom:160px}
#pdp-nbe-estimateDock{position:fixed;z-index:150;bottom:0;left:0;width:100%}
#pdp-nbe-estimateDock>.estimate-dock-rail{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--bj-space-2);padding:var(--bj-space-2) 0 calc(var(--bj-space-2) + env(safe-area-inset-bottom))}
#pdp-nbe-estimateDock .dock-summary{display:flex;flex-wrap:wrap;gap:var(--bj-space-2);align-items:baseline;min-width:0;color:var(--bj-ink)}
#pdp-nbe-estimateDock .dock-summary strong{max-width:100%;overflow-wrap:anywhere;font-size:var(--bj-type-subsection);font-weight:var(--bj-type-subsection-weight);line-height:var(--bj-type-subsection-line)}
#pdp-nbe-estimateDock .dock-summary span{font-size:var(--bj-type-control);font-weight:var(--bj-type-control-weight);line-height:var(--bj-type-control-line)}
body.pdp-nbe-example-open{overflow:hidden}
#pdp-nbe-exampleModal{width:min(640px,calc(100% - var(--bj-page-gutter-mobile)*2));max-height:calc(100dvh - var(--bj-space-3));padding:var(--bj-space-3);border:1px solid var(--bj-line);border-radius:var(--bj-control-radius);background:var(--bj-clean);font-size:var(--bj-type-body);line-height:var(--bj-type-body-line);overflow:auto}
#pdp-nbe-exampleModal::backdrop{background:color-mix(in srgb,var(--bj-charcoal) 45%,transparent)}
#pdp-nbe-exampleModal .modal-head{display:flex;align-items:center;justify-content:space-between;gap:var(--bj-space-2);margin:0;border-bottom:1px solid var(--bj-line);padding-bottom:var(--bj-space-2)}
#pdp-nbe-exampleModal p{font-size:var(--bj-type-body);line-height:var(--bj-type-body-line);color:var(--bj-muted);margin:var(--bj-space-2) 0;overflow-wrap:anywhere}
#pdp-nbe-exampleModal h2{margin:0;font-size:var(--bj-type-page);font-weight:var(--bj-type-page-weight);line-height:var(--bj-type-page-line);letter-spacing:var(--bj-type-page-tracking)}
#pdp-nbe-exampleModal .document-total strong,#pdp-nbe-ny-estimate .price-total{font-weight:var(--bj-type-action-weight)}
#pdp-nbe-popoverTitle{font-weight:var(--bj-type-control-weight)}
#pdp-nbe-exampleModal img{display:block;width:100%;height:auto}
#pdp-nbe-exampleModal .document-total{padding:var(--bj-space-2) 0;border-top:1px solid var(--bj-charcoal);text-align:right;font-size:var(--bj-type-subsection);overflow-wrap:anywhere}
#pdp-nbe-examplePopover{position:fixed;z-index:200;width:300px;padding:var(--bj-space-2);border:1px solid var(--bj-line);background:var(--bj-clean);font-size:var(--bj-type-body);line-height:var(--bj-type-body-line);pointer-events:auto}
#pdp-nbe-examplePopover img{width:100%;height:180px;object-fit:contain;display:block}
@media(max-width:767px){
 #pdp-nbe-ny-estimate .estimate-fields,#pdp-nbe-ny-estimate .option-grid{grid-template-columns:minmax(0,1fr)}
 #pdp-nbe-ny-estimate .summary-totals{padding:var(--bj-space-2)}
 #pdp-nbe-ny-estimate .price-head{display:none}
 #pdp-nbe-ny-estimate #pdp-nbe-priceRows{border-top:1px solid var(--bj-charcoal)}
 #pdp-nbe-ny-estimate .price-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);padding:var(--bj-space-2) var(--bj-space-1);gap:var(--bj-space-1)}
 #pdp-nbe-ny-estimate .price-qty{grid-row:1;grid-column:1}
 #pdp-nbe-ny-estimate .price-row>.price-base,#pdp-nbe-ny-estimate .price-row>.price-options{display:none}
 #pdp-nbe-ny-estimate .price-total{grid-row:1;grid-column:2}
 #pdp-nbe-ny-estimate .price-unit{grid-row:2;grid-column:2}
 #pdp-nbe-ny-estimate .price-unit-label{display:inline}
 #pdp-nbe-ny-estimate .price-mobile-breakdown{display:block;grid-column:1/-1;grid-row:3;text-align:left;color:var(--bj-muted);font-size:var(--bj-type-body);font-weight:var(--bj-type-body-weight)}
 #pdp-nbe-estimateDock>.estimate-dock-rail{width:100%;grid-template-columns:minmax(0,1fr);gap:var(--bj-space-1);padding:0}
 #pdp-nbe-estimateDock .dock-summary{justify-content:space-between;gap:var(--bj-space-1)}
 #pdp-nbe-estimateDock .bj-primary-action{width:100%}
 #pdp-nbe-exampleModal{padding:var(--bj-space-2)}
 #pdp-nbe-exampleModal li{flex-wrap:wrap;gap:var(--bj-space-1)}
 #pdp-nbe-examplePopover{display:none!important}
}

/* 글자 확대 시에도 같은 입력·옵션·비교 구조를 읽을 수 있게 재배치한다. */
@container(max-width:36em){
 #pdp-nbe-ny-estimate .estimate-fields,#pdp-nbe-ny-estimate .option-grid{grid-template-columns:minmax(0,1fr)}
 #pdp-nbe-ny-estimate .price-head{display:none}
 #pdp-nbe-ny-estimate #pdp-nbe-priceRows{border-top:1px solid var(--bj-charcoal)}
 #pdp-nbe-ny-estimate .price-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);padding:var(--bj-space-2) var(--bj-space-1);gap:var(--bj-space-1)}
 #pdp-nbe-ny-estimate .price-qty{grid-row:1;grid-column:1}
 #pdp-nbe-ny-estimate .price-row>.price-base,#pdp-nbe-ny-estimate .price-row>.price-options{display:none}
 #pdp-nbe-ny-estimate .price-total{grid-row:1;grid-column:2}
 #pdp-nbe-ny-estimate .price-unit{grid-row:2;grid-column:2}
 #pdp-nbe-ny-estimate .price-unit-label{display:inline}
 #pdp-nbe-ny-estimate .price-mobile-breakdown{display:block;grid-column:1/-1;grid-row:3;text-align:left;color:var(--bj-muted);font-size:var(--bj-type-body);font-weight:var(--bj-type-body-weight)}
}
@container(max-width:12em){
 #pdp-nbe-ny-estimate .document-choices{grid-template-columns:minmax(0,1fr)}
 #pdp-nbe-ny-estimate .option-row{grid-template-columns:minmax(0,1fr) auto}
 #pdp-nbe-ny-estimate .option-choice{grid-column:1/-1;grid-row:1}
 #pdp-nbe-ny-estimate .option-row .option-amount{grid-column:1;grid-row:2;justify-self:start;white-space:normal;overflow-wrap:anywhere}
 #pdp-nbe-ny-estimate .option-row>.plain-action{grid-column:2;grid-row:2}
 #pdp-nbe-ny-estimate .price-row{grid-template-columns:minmax(0,1fr);text-align:left}
 #pdp-nbe-ny-estimate .price-total{grid-column:1;grid-row:2;white-space:normal;overflow-wrap:anywhere}
 #pdp-nbe-ny-estimate .price-unit{grid-column:1;grid-row:3;white-space:normal;overflow-wrap:anywhere}
 #pdp-nbe-ny-estimate .price-mobile-breakdown{grid-row:4}
}

#pdp-nbe-ny-estimate .options-scope{margin:0 0 var(--bj-space-2)}
@media(prefers-reduced-motion:reduce){
 #pdp-nbe-ny-estimate .bj-disclosure__indicator{transition:none}
}

body #pdp-estimate{width:100%;max-width:100%;box-sizing:border-box}
body #pdp-nbe-ny-estimate{width:min(1000px,calc(100% - var(--bj-page-gutter-mobile)*2));max-width:100%;margin-inline:auto!important}
body #pdp-nbe-ny-estimate *,body #pdp-nbe-estimateDock *{box-sizing:border-box;font-family:var(--bj-font-family)!important}
body #pdp-nbe-ny-estimate form{display:block;margin:0;padding:0}
body #pdp-nbe-ny-estimate input,body #pdp-nbe-ny-estimate select{font-size:var(--bj-type-control)!important;line-height:var(--bj-type-control-line)!important}
#pdp-nbe-estimateDock .estimate-dock-rail{width:min(1000px,calc(100% - var(--bj-page-gutter-mobile)*2));margin-inline:auto}
#pdp-nbe-ny-estimate .estimate-inline-submit{width:100%;margin-top:var(--bj-space-2)}
#pdp-nbe-ny-estimate .document-help{margin-top:var(--bj-space-2)}
body.pdp-nbe-active{padding-bottom:var(--pdp-nbe-dock-height,160px)}
body.pdp-nbe-active .floating-support{bottom:calc(var(--pdp-nbe-dock-height,160px) + 16px)}

/* 상세의 레거시 !important 타이포를 견적 역할별 정본 값으로 한정한다. */
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate :is(p,.option-note,.option-hint){font-size:var(--bj-type-body)!important;line-height:var(--bj-type-body-line)!important;font-weight:var(--bj-type-body-weight)!important;letter-spacing:var(--bj-type-body-tracking)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate :is(input,select,label,legend,.plain-action,.option-amount,.option-choice span,.document-choices label){font-size:var(--bj-type-control)!important;line-height:var(--bj-type-control-line)!important;font-weight:var(--bj-type-control-weight)!important;letter-spacing:var(--bj-type-body-tracking)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate h2{font-size:var(--bj-type-section)!important;line-height:var(--bj-type-section-line)!important;font-weight:var(--bj-type-section-weight)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate :is(h3,h3 button,h3 button>span){font-size:var(--bj-type-subsection)!important;line-height:var(--bj-type-subsection-line)!important;font-weight:var(--bj-type-subsection-weight)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-estimateTotal{font-size:var(--bj-type-section)!important;line-height:var(--bj-type-section-line)!important;font-weight:var(--bj-type-action-weight)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate .price-row :is(span,strong){font-size:var(--bj-type-control)!important;line-height:var(--bj-type-control-line)!important;font-weight:var(--bj-type-control-weight)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate .price-row .price-total{font-weight:var(--bj-type-action-weight)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate .bj-primary-action{font-size:var(--bj-type-control)!important;line-height:var(--bj-type-control-line)!important;font-weight:var(--bj-type-action-weight)!important}

body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate .bj-form-select>select{font-size:var(--bj-type-body)!important;line-height:1.5!important;font-weight:var(--bj-type-control-weight)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate .option-row>p.option-amount{font-size:var(--bj-type-body)!important;line-height:var(--bj-type-body-line)!important;font-weight:var(--bj-type-control-weight)!important}
body.pdp-modern-page #pdp-estimate #pdp-nbe-ny-estimate .bj-primary-action{font-size:var(--bj-type-action)!important;font-weight:var(--bj-type-action-weight)!important;line-height:var(--bj-type-action-line)!important}

body.pdp-modern-page #pdp-estimate #pdp-nbe-selectedCount{font-size:var(--bj-type-body)!important;line-height:var(--bj-type-body-line)!important;font-weight:var(--bj-type-body-weight)!important}
