/*
 * Unified customer product detail surface.
 *
 * The invitation detail remains the visual authority. Every rule is scoped to
 * the exact Gate 0 release surface so legacy and /factoryb/ pages are untouched.
 * Layout v2 uses explicit intro, hero, standard and supporting content roles.
 */

body.pdp-unified-product-detail {
    --pdp-unified-ink: var(--pdp-ink, #181817);
    --pdp-unified-muted: var(--pdp-muted, #66635e);
    --pdp-unified-line: var(--pdp-line, #ece9e6);
    --pdp-unified-soft: var(--pdp-soft, #f5f5f3);
    --pdp-unified-radius: var(--pdp-radius-card, 8px);
    color: var(--pdp-unified-ink);
}

/* Module E: shared detail components own typography, rows, story and policies. */
body.pdp-unified-product-detail .pdp-address-service {
    font-family: var(--pdp-font-family, Pretendard, sans-serif);
    margin-bottom: var(--pdp-space-64, 64px);
}
body.pdp-unified-product-detail .pdp-address-service__media img { display: block; width: 100%; height: auto; }
body.pdp-unified-product-detail .pdp-address-service__summary { width: 100%; min-width: 0; }
body.pdp-unified-product-detail .addressServiceRow li:last-child { word-break: keep-all; overflow-wrap: anywhere; }
body.pdp-unified-product-detail .pdp-address-service__lead {
    margin: 8px 0 24px; color: var(--pdp-unified-muted);
    font-size: var(--bjw-t3-size, 15px); line-height: var(--bjw-t3-line, 24px); word-break: keep-all;
}
body.pdp-unified-product-detail .pdp-address-service__price-basis { margin-right: 8px; color: var(--pdp-muted); font-size: var(--pdp-type-utility-size); }
body.pdp-unified-product-detail .pdp-address-service__summary #productSpecArea { width: 100%; min-width: 0; margin-inline: 0; }
body.pdp-unified-product-detail .pdp-address-service__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
body.pdp-unified-product-detail .pdp-address-service .pdp-purchase-action { text-decoration: none; }
body.pdp-unified-product-detail .pdp-address-service__dock { display: none; }
/* 신청 경로는 공통 제작 단계의 가로 구성, 화면 예시는 선택 펼침으로 제공합니다. */
body.pdp-unified-product-detail .pdp-policy-section--wide > :is(.pdp-section-heading, .pdp-preserved-editorial) { width: min(var(--pdp-rail-wide, 1000px), 100%); margin-inline: auto; }
body.pdp-unified-product-detail .pdp-policy-section--wide > .pdp-section-heading { max-width: none; padding-inline: 0; }
/* 청첩장 제작 단계와 같은 3열·32px 간격·18px 들여쓰기·좌측 구분선. */
body.pdp-unified-product-detail .pdp-preserved-facts.pdp-preserved-facts--columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border: 0; }
body.pdp-unified-product-detail .pdp-preserved-facts.pdp-preserved-facts--columns > div,
body.pdp-unified-product-detail .pdp-preserved-facts.pdp-preserved-facts--columns > div:first-child { display: block; padding: 0 0 0 18px; border: 0; border-left: 2px solid var(--bj-line, #ece9e6); }
body.pdp-unified-product-detail .pdp-preserved-facts.pdp-preserved-facts--columns dt { color: var(--production-ink); font-size: var(--production-subheading-size, 20px) !important; font-weight: var(--bjw-w-strong, 600) !important; line-height: 30px !important; }
body.pdp-unified-product-detail .pdp-preserved-facts.pdp-preserved-facts--columns dd { margin-top: 8px; color: var(--production-muted); font-size: var(--production-body-size, 16px); font-weight: var(--bjw-w-body, 400); line-height: 25.6px; }
@media (max-width: 1099px) {
    body.pdp-unified-product-detail .pdp-policy-section--wide > :is(.pdp-section-heading, .pdp-preserved-editorial) { width: calc(100% - 32px); }
}
body.pdp-unified-product-detail .pdp-address-guide__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pdp-space-24); margin: var(--pdp-space-32) 0 var(--pdp-space-16); }
body.pdp-unified-product-detail .pdp-address-guide__step { display: flex; min-width: 0; flex-direction: column; gap: var(--pdp-space-12); }
body.pdp-unified-product-detail .pdp-address-guide__caption { display: grid; align-content: start; gap: var(--pdp-space-8); }
body.pdp-unified-product-detail .pdp-address-guide__caption h3 { margin: 0; font-size: var(--pdp-type-subsection-size); line-height: var(--bjw-t2-line, var(--pdp-type-subsection-line)); font-weight: var(--pdp-type-subsection-weight); word-break: keep-all; }
body.pdp-unified-product-detail .pdp-address-guide__caption p { margin: 0; color: var(--pdp-muted); font-size: var(--pdp-type-body-size); line-height: var(--bjw-t3-line, var(--pdp-type-body-line)); word-break: keep-all; overflow-wrap: anywhere; }
body.pdp-unified-product-detail .pdp-address-guide__step > p { margin: 0; color: var(--pdp-muted); font-size: var(--pdp-type-body-size); line-height: var(--bjw-t3-line, var(--pdp-type-body-line)); word-break: keep-all; }
body.pdp-unified-product-detail .pdp-address-guide__routes dd p { margin: 0 0 8px; }
body.pdp-unified-product-detail .pdp-preserved-facts--columns + .pdp-production-policy-list { margin-top: var(--pdp-space-32); }

body.pdp-unified-product-detail .pdp-address-guide__screen { margin: 0; }
body.pdp-unified-product-detail .pdp-address-guide__screen a { position: relative; display: block; aspect-ratio: 4 / 3; border: 1px solid var(--pdp-line); background: var(--bj-clean); cursor: zoom-in; }
body.pdp-unified-product-detail .pdp-address-guide__screen a:focus-visible { outline: 2px solid var(--pdp-ink); outline-offset: 4px; }
body.pdp-unified-product-detail .pdp-address-guide__screen img { display: block; width: 100%; height: 100%; object-fit: contain; box-sizing: border-box; }
body.pdp-unified-product-detail .pdp-address-guide__zoom { position: absolute; top: var(--bj-space-1); right: var(--bj-space-1); display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; color: var(--bj-ink); background: var(--bj-clean); font-size: var(--bjw-t3-size, var(--bj-type-caption)); line-height: var(--bjw-t3-line, var(--bj-type-caption-line)); pointer-events: none; }
@media (max-width: 1023px) and (min-width: 768px) {
    body.pdp-unified-product-detail .pdp-address-service .pdp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 0 24px; box-sizing: border-box; }
}
@media (max-width: 767px) {
    body.pdp-unified-product-detail .pdp-preserved-facts.pdp-preserved-facts--columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    body.pdp-unified-product-detail .pdp-address-guide__grid { grid-template-columns: minmax(0, 1fr); gap: var(--pdp-space-24); }
    body.pdp-unified-product-detail .pdp-address-guide__step { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: var(--pdp-space-12) var(--pdp-space-16); }
    body.pdp-unified-product-detail .pdp-address-guide__step > :is(p, .pdp-address-guide__caption:last-child) { grid-column: 1 / -1; }
    body.pdp-unified-product-detail .pdp-address-guide__zoom { padding: 4px; font-size: 0; gap: 0; }
    body.pdp-unified-product-detail #document_middle.pdp-address-service { padding-top: 0 !important; padding-bottom: 80px; }
    body.pdp-unified-product-detail .pdp-address-service .pdp-hero-grid { display: block; }
    body.pdp-unified-product-detail .pdp-address-service .pdp-address-service__summary { width: 100%; margin: 0; padding: 20px 16px 0; box-sizing: border-box; }
    body.pdp-unified-product-detail .pdp-address-service__lead { font-size: var(--bjw-t3-size, 16px); }
    body.pdp-unified-product-detail .pdp-address-service__actions,
    body.pdp-unified-product-detail .pdp-address-service .pdp-unified-section-nav { display: none; }
    body.pdp-unified-product-detail .pdp-address-service .pdp-address-service__dock {
        position: fixed; right: 0; bottom: 0; left: 0; z-index: 140;
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
        min-height: 65px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--pdp-unified-line); background: #fff; box-sizing: border-box;
    }
    body.pdp-unified-product-detail .pdp-address-service__dock .pdp-purchase-action { min-height: 52px; font-size: var(--pdp-type-button-size); padding: 0 8px; }
}

/* 상세 페이지에서는 목록 탐색용 카테고리 레일을 반복 노출하지 않는다. */
body.pdp-unified-product-detail > .categoryMenuAllWrapper {
    display: none !important;
}

body.pdp-unified-product-detail #document_middle.pdp-product-shell {
    width: min(1064px, calc(100vw - 48px));
    max-width: 100%;
    margin: 0 auto;
    padding-top: 60px !important;
}

/* 뒤로가기 행이 이미 상단 탐색 여백을 소유하므로 본문이 다시 60px을 더하지 않는다. */
body.pdp-unified-product-detail .pdp-product-back-row + #document_middle.pdp-product-shell {
    padding-top: 16px !important;
}

body.pdp-unified-product-detail #document_middle > table {
    width: 100%;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

body.pdp-unified-product-detail .pdp-unified-purchase-panel {
    width: 100%;
    min-width: 0;
}

body.pdp-unified-product-detail .pdp-unified-primary-action {
    display: flex !important;
    width: 100% !important;
    min-height: 56px;
    margin-top: 20px !important;
    padding: 0 20px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pdp-unified-ink) !important;
    border-radius: 6px;
    background: var(--pdp-unified-ink) !important;
    color: #fff !important;
    font-family: var(--pdp-font-family, Pretendard, sans-serif) !important;
    font-size: var(--bjw-t3-size, 16px) !important;
    font-weight: var(--bjw-w-strong, 700) !important;
    line-height: var(--bjw-t3-line, 1.35) !important;
    letter-spacing: -.01em !important;
    cursor: pointer;
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-unified-primary-action:hover {
    background: #0f1011 !important;
}

html:not([data-pdp-input="pointer"]) body.pdp-unified-product-detail .pdp-unified-primary-action:focus-visible {
    outline: 2px solid var(--pdp-color-focus, var(--bj-ink, #181817));
    outline-offset: 3px;
}

html:not([data-pdp-input="pointer"]) body.pdp-unified-product-detail :is(
    .productQtySelect,
    .pdp-mobile-thumbnail,
    .pdp-purchase-action
):focus-visible {
    border-radius: var(--pdp-radius-control, 8px);
    outline: 2px solid var(--pdp-color-focus, var(--bj-ink, #181817)) !important;
    outline-offset: 3px;
}

body.pdp-unified-product-detail .pdp-unified-primary-action .basket_count {
    position: static !important;
    margin-right: 8px;
}

body.pdp-unified-product-detail .tab_href_head,
body.pdp-unified-product-detail .tab_href_btns,
body.pdp-unified-product-detail #productOpsTabMenu {
    display: none !important;
}

body.pdp-unified-product-detail .pdp-unified-section-heading {
    width: min(1064px, 100%);
    margin: 72px auto 28px;
    color: var(--pdp-unified-ink);
    font-family: var(--pdp-font-family, Pretendard, sans-serif);
    font-size: var(--bjw-t2-size, 26px);
    font-weight: var(--bjw-w-strong, 700);
    line-height: var(--bjw-t2-line, 1.35);
    letter-spacing: -.025em;
    text-align: left;
}

body.pdp-unified-product-detail .pdp-unified-mobile-shell {
    width: 100%;
    max-width: 100%;
    overflow: clip;
}

body.pdp-unified-product-detail .pdp-unified-mobile-gallery,
body.pdp-unified-product-detail .pdp-unified-mobile-purchase,
body.pdp-unified-product-detail .pdp-unified-mobile-content {
    width: 100%;
    min-width: 0;
}

body.pdp-unified-product-detail .pdp-unified-mobile-purchase,
body.pdp-unified-product-detail .pdp-purchase-actions {
    padding-top: 0;
    padding-bottom: 0;
}

body.pdp-unified-product-detail .pdp-unified-mobile-content #product_detail_bottom_area {
    margin-top: 48px;
}

body.pdp-unified-product-detail .pdp-unified-mobile-content section > article > .article_content {
    padding-right: 16px;
    padding-left: 16px;
}

body.pdp-unified-product-detail .pdp-product-code {
    margin: 7px 0 0;
    color: var(--pdp-subtle, #85817b);
    font-family: var(--pdp-font-family, Pretendard, sans-serif);
    font-size: var(--pdp-type-meta-size, 12px);
    font-weight: var(--bjw-w-body, 500);
    line-height: var(--bjw-t3-line, var(--pdp-type-meta-line, 18px));
    letter-spacing: .01em;
}

/*
 * The product renderer is the authority for the hero-media aspect.  The
 * invitation stage remains 5:6, while square product media keeps a square
 * stage. Thumbnail separation follows the shared 16px gallery rhythm.
 */
body.pdp-unified-product-detail #document_middle .sc-preview-size-base.sc-preview-size-square {
    height: auto !important;
    aspect-ratio: 1 / 1;
}

body.pdp-unified-product-detail #document_middle .sc-preview-size-base.sc-preview-size-square > #photoz_area {
    height: 100% !important;
}

body.pdp-unified-product-detail #document_middle .pdp-thumbnail-gap.pdp-thumbnail-gap--square {
    height: var(--pdp-space-16, 16px);
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions {
    margin-top: var(--pdp-space-16, 16px);
}

body.pdp-unified-product-detail .pdp-modern-purchase-surface #productSpecArea > div[class*="Row"]:not(.productDeliveryRow) > ul {
    min-height: 44px !important;
}

body.pdp-unified-product-detail .pdp-modern-purchase-surface select[data-pdp-availability="sold-out"]:disabled,
body.pdp-unified-product-detail .pdp-modern-purchase-surface select[data-pdp-availability="sale-stopped"]:disabled {
    border-color: var(--pdp-color-control, #c9c5c0);
    background-color: #f5f4f3;
    background-image: none !important;
    color: var(--pdp-muted, #777);
    cursor: not-allowed;
    opacity: 1;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions > .pdp-purchase-actions__grid {
    grid-template-columns: minmax(132px, .9fr) minmax(0, 1.35fr) !important;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-sample="0"] > .pdp-purchase-actions__grid {
    grid-template-columns: var(--pdp-purchase-grid-cols, repeat(2, minmax(0, 1fr))) !important;
}

/* (2026-11-24 대표님 «장바구니 담기 굳이 필요 없지 않아?») 장바구니·샘플 단추가 없는 구매 칸(연하장 소량 «소량 주문 담기» 하나)은
   남은 단추 하나가 줄 전체. 상품 코드 예외 없이 칸 표시(연하장 갈래 data-pdp-business-group + has-cart·has-sample)로만 — 다른 상품 안 바뀜, 강제 표시 더하지 않고 변수로. */
body.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-actions[data-pdp-has-cart="0"][data-pdp-has-sample="0"] > .pdp-purchase-actions__grid {
    --pdp-purchase-grid-cols: minmax(0, 1fr);
    --pdp-purchase-order-col: 1 / -1;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions > .pdp-purchase-actions__grid [data-pdp-action="cart"] {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 18px !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    gap: 8px;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions > .pdp-purchase-actions__grid [data-pdp-action="order"] {
    grid-column: var(--pdp-purchase-order-col, 2) !important;
    grid-row: 1 !important;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-sample="1"] > .pdp-purchase-actions__grid {
    grid-template-columns: 52px repeat(2, minmax(0, 1fr)) !important;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-sample="1"] > .pdp-purchase-actions__grid :is([data-pdp-action="sample"], [data-pdp-sample-link]) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-sample="1"] > .pdp-purchase-actions__grid [data-pdp-action="order"] {
    grid-column: 3 !important;
}

body.pdp-unified-product-detail :is(
    .pdp-direct-purchase-actions > .pdp-purchase-actions__grid,
    .pdp-direct-purchase-dock .pdp-purchase-dock__actions
) [data-pdp-action="cart"] .pdp-purchase-action__label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap !important;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-sample="1"] > .pdp-purchase-actions__grid [data-pdp-action="cart"] {
    padding: 0 !important;
}

/* (10-30 답례품 · 대표님 21310 «청첩장 상세 기준») 샘플이 없어도 장바구니를 청첩장처럼 아이콘 칸 + 넓은 [주문하기]로 —
   넘긴 상품만(product_purchase_direct_actions.php data-pdp-cart-compact) · 칸 크기·글 숨김은 바로 위 샘플 줄 규칙 그대로 */
body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-cart-compact="1"][data-pdp-has-sample="0"] > .pdp-purchase-actions__grid {
    grid-template-columns: var(--pdp-purchase-grid-cols, 52px minmax(0, 1fr)) !important;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-cart-compact="1"] > .pdp-purchase-actions__grid [data-pdp-action="cart"] {
    padding: 0 !important;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-cart-compact="1"] > .pdp-purchase-actions__grid [data-pdp-action="cart"] .pdp-purchase-action__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-sample="1"] > .pdp-purchase-actions__grid [data-pdp-action="cart"] .pdp-purchase-action__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

body.pdp-unified-product-detail .withOrderDcPriceRow > ul {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 16px;
    align-items: center;
}

body.pdp-unified-product-detail .withOrderDcPriceRow > ul > li:first-child {
    min-width: 0;
    justify-self: start;
    text-align: left !important;
}

body.pdp-unified-product-detail .withOrderDcPriceRow .pdp-unified-discount-copy {
    display: flex !important;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

body.pdp-unified-product-detail .withOrderDcPriceRow .pdp-unified-discount-note {
    display: inline;
    color: var(--pdp-unified-muted) !important;
    font-size: var(--bjw-t4-size, 13px);
    font-weight: var(--bjw-w-body, 500) !important;
    line-height: var(--bjw-t4-line, 1.4);
}

body.pdp-unified-product-detail .withOrderDcPriceRow > ul > li:last-child {
    min-width: max-content;
    justify-self: end;
    text-align: right !important;
}

body.pdp-unified-product-detail .pdp-modern-purchase-surface #productSpecArea > .withOrderDcPriceRow > ul.pdp-unified-discount-group {
    display: flex !important;
    width: 100%;
    align-items: baseline;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

body.pdp-unified-product-detail .pdp-modern-purchase-surface #productSpecArea > .withOrderDcPriceRow > ul.pdp-unified-discount-group > li:first-child {
    width: auto !important;
    min-width: max-content;
    justify-self: auto;
}

body.pdp-unified-product-detail .pdp-modern-purchase-surface #productSpecArea > .withOrderDcPriceRow > ul.pdp-unified-discount-group > li:last-child,
body.pdp-unified-product-detail .pdp-modern-purchase-surface #productSpecArea > .withOrderDcPriceRow > ul.pdp-unified-discount-group > li:last-child > div {
    width: auto !important;
    min-width: max-content;
    flex: 0 0 auto;
}

body.pdp-unified-product-detail .withOrderDcPriceRow .widthOrderBox > div {
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: flex-end !important;
    text-align: right !important;
}

body.pdp-unified-product-detail .withOrderDcPriceRow > .pdp-unified-discount-benefits {
    width: 100%;
    margin: 8px 0 0;
    border-radius: var(--pdp-radius-control, 8px);
    background: #fafaf9;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    body.pdp-unified-product-detail .withOrderDcPriceRow > .pdp-unified-discount-benefits {
        width: calc(100% - var(--pdp-field-label-width) - var(--pdp-field-gap));
        margin-left: auto;
    }
}

/* QA #2904 R4.3 — 답례품 이야기·정보·설명용 스티커 레일. */
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-photo-chapter .pdp-preserved-story-header {
    margin-bottom: 0;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] [data-pdp-gift-story][hidden] {
    display: none !important;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-unified-detail-toggle[hidden] { display: none !important; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] #pdp-detail .pdp-preserved-editorial [data-pdp-gift-story] > .pdp-preserved-story-chapter {
    padding: 0;
    margin: var(--bj-space-4) 0 0;
    border-top: 0;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-gallery-controls { display: none; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] :is(.pdp-gift-story-pair, .pdp-gift-gallery-controls button, #pdp-gift-options, [data-pdp-gift-story] h2):focus-visible {
    outline: 2px solid var(--pdp-unified-ink);
    outline-offset: 4px;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-editorial .pdp-preserved-story-header {
    gap: var(--bj-space-2);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-editorial .pdp-preserved-story-header :is(h2, h3),
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-ingredients > h3 {
    --pdp-type-subsection-size: var(--bj-type-subsection);
    margin: 0;
    font-size: var(--bjw-t2-size, var(--bj-type-subsection));
    font-weight: var(--bj-type-subsection-weight);
    line-height: var(--bjw-t2-line, var(--bj-type-subsection-line));
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] #pdp-detail .pdp-preserved-editorial .pdp-gift-photo-chapter {
    gap: var(--bj-space-3);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-ingredients > p {
    margin-top: var(--bj-space-2);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-story-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bj-space-2);
    margin-top: calc(var(--bj-space-2) - var(--bj-space-3));
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-story-pair:focus-visible {
    outline: 2px solid var(--pdp-unified-ink);
    outline-offset: 4px;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-sticker-rail .bj-rail__track {
    display: flex;
    gap: var(--bj-space-2, 16px);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-sticker-rail .pdp-media {
    flex: 0 0 min(240px, 72vw);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 승인 R4.3 after.css 정보 추가 행 간격. PC/M 모두 24px. */
    gap: 24px 0;
    border-block: 1px solid var(--pdp-unified-line);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl[data-gift-fact-columns="1"] {
    grid-template-columns: minmax(0, 1fr);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl[data-gift-fact-columns="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl > div {
    padding: 20px 16px;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl > div:not(:nth-child(3n + 1)) {
    border-left: 1px solid var(--pdp-unified-line);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl > div:nth-child(n + 4) {
    border-top: 1px solid var(--pdp-unified-line);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl > div:nth-child(3n + 1) { padding-left: 0; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl > div:last-child { padding-right: 0; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs :is(dt, dd) {
    font-size: var(--bjw-t3-size, var(--bj-type-body));
    line-height: var(--bjw-t3-line, var(--bj-type-body-line));
    font-weight: var(--bjw-w-body, 400);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-trade-disclosure > summary {
    min-height: 52px;
    padding: 16px 0;
    border-top: 1px solid var(--pdp-unified-line);
    font-weight: var(--bjw-w-strong, 600);
}
@media (max-width: 767px) {
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl { display: block; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl > div {
        padding: 20px 0;
        border-left: 0 !important;
        border-top: 0;
        border-bottom: 1px solid var(--pdp-unified-line);
    }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl > div:last-child { border-bottom: 0; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > dl > div:nth-child(n + 4) { border-top: 0; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-story-pair {
        grid-template-columns: none;
        grid-auto-flow: column;
        /* R4.3 after.css mobile-gallery의 사진 폭과 동일. */
        grid-auto-columns: calc(100% - 58px);
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
    }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-story-pair > figure { scroll-snap-align: start; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-gallery-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: calc(8px - var(--bj-space-3));
        min-height: 48px;
        font-size: var(--bjw-t3-size, var(--bj-type-body));
        line-height: var(--bjw-t3-line, var(--bj-type-body-line));
    }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-gallery-controls p { margin: 0; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-gallery-controls > div { display: flex; gap: 8px; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-gallery-controls button {
        min-width: 44px;
        min-height: 44px;
        border: 1px solid var(--pdp-unified-line);
        background: var(--bj-clean);
        color: var(--pdp-unified-ink);
    }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-gallery-controls button:disabled { color: var(--pdp-unified-muted); }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] [data-pdp-gift-gallery-count] { white-space: nowrap; }
}

body.pdp-unified-product-detail .withOrderDcPriceRow > .pdp-unified-discount-benefits > summary {
    min-height: 58px;
    padding: 14px;
}

body.pdp-unified-product-detail .withOrderDcPriceRow .pdp-unified-discount-benefits__list,
body.pdp-unified-product-detail .withOrderDcPriceRow .pdp-included-benefits__list {
    background: #fafaf9;
}

body.pdp-unified-product-detail .pdp-unified-discount-benefits .pdp-unified-discount-copy,
body.pdp-unified-product-detail .pdp-unified-discount-benefits .pdp-unified-discount-note {
    min-width: 0;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

body.pdp-unified-product-detail .withOrderDcPriceRow .pdp-unified-discount-price {
    color: var(--pdp-accent, #b54a5a);
    font-weight: var(--bjw-w-amount, 700);
    white-space: nowrap;
}

body.pdp-unified-product-detail .withOrderDcPriceRow .pdp-unified-discount-saving {
    color: var(--pdp-unified-muted);
    font-weight: var(--bjw-w-strong, 600);
    white-space: nowrap;
}

body.pdp-unified-product-detail .freeDeliveryRow > ul {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 16px;
    align-items: baseline;
}

body.pdp-unified-product-detail .freeDeliveryRow > ul > li:last-child {
    display: block !important;
    min-width: 0;
    justify-self: end;
    text-align: right !important;
    white-space: nowrap;
}

body.pdp-unified-product-detail .pdp-related-product-banner {
    width: min(var(--pdp-rail-wide, 1000px), calc(100% - 32px));
    margin: 48px auto 0;
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-related-product-banner a,
body.pdp-unified-product-detail .pdp-related-product-banner img {
    display: block;
    width: 100%;
}

/* Block surface focus: the image-only banner gets a line under it; no box. */
body.pdp-unified-product-detail .pdp-related-product-banner a {
    position: relative;
}

body.pdp-unified-product-detail .pdp-related-product-banner a:focus-visible {
    outline: none;
}

body.pdp-unified-product-detail .pdp-related-product-banner a:focus-visible::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 2px;
    background: var(--pdp-unified-ink, #181817);
    content: '';
}

body.pdp-unified-product-detail :is(
    .pdp-related-product-banner__mobile-copy,
    .pdp-related-product-banner__mobile-arrow
) {
    display: none;
}

body.pdp-unified-product-detail .pdp-unified-section-nav {
    position: sticky;
    top: var(--pdp-sticky-header-offset, 0px);
    z-index: 39;
    display: block;
    width: 100vw;
    min-height: 54px;
    margin: 40px 0 0 calc(50% - 50vw);
    border: 0;
    border-bottom: 1px solid var(--bj-shell-divider, #f0eeec);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-unified-section-nav .pdp-section-nav__inner {
    display: flex;
    width: min(var(--pdp-rail-wide, 1000px), 100%);
    min-width: 0;
    margin: 0 auto;
}

body.pdp-unified-product-detail .pdp-unified-section-nav .pdp-section-nav__back {
    display: inline-flex;
    width: 54px;
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--pdp-unified-ink);
    cursor: pointer;
}

body.pdp-unified-product-detail .pdp-unified-section-nav .pdp-section-nav__back svg {
    width: 20px;
    height: 20px;
}

body.pdp-unified-product-detail .pdp-unified-section-nav a {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 54px;
    padding: 0 16px;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    color: var(--pdp-unified-muted);
    font-family: var(--pdp-font-family, Pretendard, sans-serif);
    font-size: var(--pdp-type-local-nav-size, 14px);
    font-weight: var(--bjw-w-strong, 600);
    line-height: var(--bjw-t3-line, var(--pdp-type-local-nav-line, 20px));
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-unified-section-nav a:is(.is-active, [aria-current="location"]) {
    color: var(--pdp-unified-ink);
}

body.pdp-unified-product-detail .pdp-unified-section-nav a:is(.is-active, [aria-current="location"])::after {
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--pdp-accent, #745a7a);
    content: '';
    transform: translateX(-50%);
}

html:not([data-pdp-input="pointer"]) body.pdp-unified-product-detail .pdp-unified-section-nav button:focus-visible {
    border-radius: var(--pdp-radius-control, 8px);
    outline: 2px solid var(--pdp-color-focus, var(--bj-ink, #181817));
    outline-offset: -3px;
}

/* Block surface focus: section tabs underline their label instead of drawing a box. */
body.pdp-unified-product-detail .pdp-unified-section-nav a:focus-visible {
    outline: none;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

body.pdp-unified-product-detail .pdp-semantic-lower-content,
body.pdp-unified-product-detail .pdp-semantic-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-semantic-section {
    scroll-margin-top: 66px;
}

body.pdp-unified-product-detail .pdp-semantic-section > .pdp-section-heading {
    margin-top: 0;
    margin-bottom: 0;
}

body.pdp-unified-product-detail #pdp-detail > .pdp-section-heading {
    width: min(var(--pdp-rail-story, 800px), calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 72px 0 8px;
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-unified-detail-section .productDetailInformRow,
body.pdp-unified-product-detail .pdp-unified-production-section > div {
    max-width: 100%;
}

body.pdp-unified-product-detail .pdp-unified-detail-section > :is(
    .product_detail_theme_block2,
    .product_detail_theme_block2_bottom,
    .productDetailInformRow
) {
    width: min(var(--pdp-rail-wide, 1000px), 100%);
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-unified-detail-section img,
body.pdp-unified-product-detail .pdp-unified-production-section img {
    max-width: 100%;
    height: auto;
}

body.pdp-unified-product-detail .pdp-preserved-editorial {
    width: min(var(--pdp-rail-story, 800px), calc(100% - 40px));
    min-width: 0;
    margin: 24px auto 0;
    color: var(--pdp-unified-ink);
    font-family: var(--pdp-font-family, Pretendard, sans-serif);
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-preserved-editorial > hr,
body.pdp-unified-product-detail .pdp-preserved-editorial > .btn_add_pdc_block {
    display: none !important;
}

body.pdp-unified-product-detail .pdp-preserved-editorial #pdc_area,
body.pdp-unified-product-detail .pdp-preserved-editorial-fallback {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible !important;
    flex-direction: column;
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-preserved-editorial :is(
    #pdc_area > .pdp-editorial-chapter,
    .pdp-preserved-story-chapter
) {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 56px 0;
    flex-direction: column;
    gap: 28px;
    border-top: 1px solid var(--pdp-unified-line);
    box-sizing: border-box;
}

body.pdp-unified-product-detail #pdp-detail
.pdp-preserved-editorial.pdp-editorial-detail
#pdc_area.pdp-editorial-detail-body > .pdp-editorial-chapter {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

body.pdp-unified-product-detail .pdp-preserved-editorial :is(
    #pdc_area > .pdp-editorial-chapter,
    .pdp-preserved-story-chapter
):first-child {
    padding-top: 32px;
    border-top: 0;
}

body.pdp-unified-product-detail .pdp-preserved-editorial :is(
    .pdp-editorial-chapter-header,
    .pdp-preserved-story-header
) {
    display: flex;
    width: min(100%, var(--pdp-rail-copy, 720px));
    min-width: 0;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 10px;
}

body.pdp-unified-product-detail .pdp-preserved-story-eyebrow {
    margin: 0 0 2px;
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t4-size, 12px);
    font-weight: var(--bjw-w-strong, 650);
    line-height: var(--bjw-t4-line, 18px);
    letter-spacing: .12em;
}

body.pdp-unified-product-detail .pdp-preserved-editorial :is(
    .pdp-editorial-title,
    .pdp-preserved-story-header h3
) {
    margin: 0;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t2-size, 20px);
    font-weight: var(--bjw-w-strong, 700);
    line-height: var(--bjw-t2-line, 28px);
    letter-spacing: -.025em;
    word-break: keep-all;
}

body.pdp-unified-product-detail .pdp-preserved-editorial :is(
    .pdp-editorial-chapter-header > .pdp-prose,
    .pdp-preserved-story-header > p:not(.pdp-preserved-story-eyebrow),
    .pdp-preserved-notices,
    .pdp-preserved-steps
) {
    margin: 0;
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t3-size, 16px);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, 26px);
    letter-spacing: -.01em;
    word-break: keep-all;
}

body.pdp-unified-product-detail .pdp-preserved-editorial #pdc_area > .pdp-editorial-intro {
    padding: 32px 0 !important;
    gap: 0;
    border-top: 0;
}

body.pdp-unified-product-detail .pdp-preserved-editorial #pdc_area > .pdp-editorial-hero {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 40px !important;
    gap: 0;
    border-top: 0;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-hero {
    position: relative;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-hero-mark {
    position: absolute;
    top: 56px;
    left: 48px;
    z-index: 2;
    display: block;
    width: min(35%, 280px);
    pointer-events: none;
}

body.pdp-unified-product-detail .pdp-preserved-editorial
.pdp-editorial-hero .pdp-media--hero .img_box {
    position: relative;
}

body.pdp-unified-product-detail .pdp-preserved-editorial
.pdp-editorial-hero[data-pdp-hero-overlay] .pdp-media--hero .img_box::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 30%;
    content: '';
    pointer-events: none;
}

body.pdp-unified-product-detail .pdp-preserved-editorial
.pdp-editorial-hero[data-pdp-hero-overlay='dark'] .pdp-media--hero .img_box::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%);
}

body.pdp-unified-product-detail .pdp-preserved-editorial
.pdp-editorial-hero[data-pdp-hero-overlay='light'] .pdp-media--hero .img_box::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 100%);
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-hero-mark img {
    display: block;
    width: 100%;
    height: auto;
}

body.pdp-unified-product-detail .pdp-preserved-basic-specs > h3 {
    margin: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pdp-unified-line);
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t2-size, 20px);
    font-weight: var(--bjw-w-strong, 700);
    line-height: var(--bjw-t2-line, 28px);
    letter-spacing: -.02em;
}

body.pdp-unified-product-detail .pdp-preserved-basic-specs > dl {
    display: grid;
    margin: 0;
    padding: 28px 0 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 28px;
}

body.pdp-unified-product-detail .pdp-preserved-basic-specs > dl > div,
body.pdp-unified-product-detail .pdp-preserved-basic-specs :is(dt, dd) {
    min-width: 0;
    margin: 0;
}

body.pdp-unified-product-detail .pdp-preserved-basic-specs dt {
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t4-size, 14px);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t4-line, 22px);
}

body.pdp-unified-product-detail .pdp-preserved-basic-specs dd {
    margin-top: 6px;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t3-size, 16px);
    font-weight: var(--bjw-w-strong, 650);
    line-height: var(--bjw-t3-line, 24px);
    word-break: keep-all;
}

body.pdp-unified-product-detail .pdp-preserved-editorial #pdc_area .pdp-media-grid--hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media--hero,
body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media--hero .img_box,
body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media--hero img {
    width: 100%;
    max-width: none;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting {
    display: grid;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px 0 0;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 32px;
    align-items: center;
    border-top: 1px solid var(--pdp-unified-line);
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting > .pdp-editorial-chapter-header {
    width: auto;
    grid-column: 1;
    grid-row: 1;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting > .pdc_row_img {
    min-width: 0;
    grid-column: 2;
    grid-row: auto;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting .pdp-editorial-title {
    font-size: var(--bjw-t2-size, 17px);
    line-height: var(--bjw-t2-line, 25px);
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting .pdp-prose {
    font-size: var(--bjw-t4-size, 14px);
    line-height: var(--bjw-t4-line, 22px);
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting .pdp-media-grid--supporting {
    display: block;
    width: 180px;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media-grid {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media-grid--single {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media {
    min-width: 0;
    margin: 0;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media :is(.img_box, img) {
    display: block;
    width: 100%;
    max-width: 100%;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media img {
    height: auto;
}

body.pdp-unified-product-detail .pdp-ribbon-hero .img_box {
    position: relative;
    overflow: hidden;
}

body.pdp-unified-product-detail .pdp-ribbon-hero .img_box::after {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    height: 32%;
    content: '';
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
}

body.pdp-unified-product-detail .pdp-ribbon-special-mark {
    position: absolute;
    z-index: 2;
    top: 48px;
    left: 48px;
    width: 220px;
    height: 116px;
    overflow: hidden;
    color: transparent;
    background: url('/m/img/pd_theme_el1-op-special-items_white.png') left top / contain no-repeat;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media figcaption {
    display: flex;
    margin-top: 12px;
    flex-direction: column;
    gap: 4px;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media figcaption :is(strong, span) {
    font-size: var(--bjw-t3-size, 15px);
    line-height: var(--bjw-t3-line, 24px);
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media figcaption strong {
    color: var(--pdp-unified-ink);
    font-weight: var(--bjw-w-amount, 700);
}

body.pdp-unified-product-detail .pdp-preserved-facts {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--pdp-unified-line);
    border-bottom: 1px solid var(--pdp-unified-line);
}

body.pdp-unified-product-detail .pdp-preserved-facts > div {
    min-width: 0;
    margin: 0;
    padding: 22px 24px;
    border-left: 1px solid var(--pdp-unified-line);
}

body.pdp-unified-product-detail .pdp-preserved-facts > div:first-child {
    padding-left: 0;
    border-left: 0;
}

body.pdp-unified-product-detail .pdp-preserved-facts :is(dt, dd) {
    margin: 0;
}

body.pdp-unified-product-detail .pdp-preserved-facts dt {
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t4-size, 13px);
    font-weight: var(--bjw-w-body, 500);
    line-height: var(--bjw-t4-line, 19px);
}

body.pdp-unified-product-detail .pdp-preserved-facts dd {
    margin-top: 5px;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t3-size, 15px);
    font-weight: var(--bjw-w-strong, 650);
    line-height: var(--bjw-t3-line, 23px);
    word-break: keep-all;
}

/* 이름 | 설명 줄 목록 — 모바일 사실 목록과 같은 직선형 표를 PC 에도 쓴다(DETAIL.PHOTO.MATERIAL_LAYOUT).
   설명이 문장이라 이름을 진하게, 설명을 본문 색으로 둔다. 모바일 줄 폭은 아래 모바일 사실 목록 규칙을 그대로 받는다. */
body.pdp-unified-product-detail .pdp-preserved-facts--rows {
    grid-template-columns: minmax(0, 1fr);
}

/* 상품 영상 — 위 대표 이미지(pdp-media--hero)와 같은 폭·비율 흐름 */
body.pdp-unified-product-detail .pdp-preserved-video video {
    display: block;
    width: 100%;
    height: auto;
    background: var(--pdp-soft, #f4f2ef);
}

/* 구매 영역 안내 줄이 이리로 보낸다 — 상세 섹션과 같은 상단 여백(고정 머리 아래) */
body.pdp-unified-product-detail .pdp-preserved-services {
    scroll-margin-top: 66px;
}

body.pdp-unified-product-detail .pdp-preserved-facts--rows > div {
    display: grid;
    padding: 18px 0;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 24px;
    align-items: baseline;
    border-top: 1px solid var(--pdp-unified-line);
    border-left: 0;
}

body.pdp-unified-product-detail .pdp-preserved-facts--rows > div:first-child {
    border-top: 0;
}

body.pdp-unified-product-detail .pdp-preserved-facts--rows dt {
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t3-size, 15px);
    font-weight: var(--bjw-w-strong, 650);
    line-height: var(--bjw-t3-line, 23px);
    word-break: keep-all;
}

/* (2026-11-10 대표님) 연하장 «편의상품» — 연하장 첫 화면(common/newyear-landing.css .nyLanding__services)과 같은 사진 카드.
   모든 항목 같은 8:5 사진 칸 · 이름 · 한 줄. PC 3칸(9개 = 3×3) · 폰 2칸. 사진은 배경째 그대로(contain). */
body.pdp-unified-product-detail .pdp-service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.pdp-unified-product-detail .pdp-service-card {
    min-width: 0;
    margin: 0;
    padding: 0;
}
body.pdp-unified-product-detail .pdp-service-card__photo {
    position: relative;
    aspect-ratio: 8 / 5;
    overflow: hidden;
    margin-bottom: 14px;
    border-radius: 8px;
    background: #dddbd6;
}
body.pdp-unified-product-detail .pdp-service-card__photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
}
body.pdp-unified-product-detail .pdp-service-card__name {
    margin: 0;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t3-size, 15px);
    font-weight: var(--bjw-w-strong, 650);
    line-height: var(--bjw-t3-line, 22px);
    word-break: keep-all;
}
body.pdp-unified-product-detail .pdp-service-card__desc {
    margin: 4px 0 0;
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t4-size, 14px);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t4-line, 20px);
    word-break: keep-all;
}
@media (max-width: 767px) {
    body.pdp-unified-product-detail .pdp-service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }
    body.pdp-unified-product-detail .pdp-service-card__photo {
        margin-bottom: 10px;
    }
    body.pdp-unified-product-detail .pdp-service-card__desc {
        font-size: var(--bjw-t4-size, 13px);
        line-height: var(--bjw-t4-line, 19px);
    }
}
body.pdp-unified-product-detail .pdp-preserved-facts--rows dd {
    margin-top: 0;
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t3-size, 15px);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, 23px);
}

/* 표가 구역의 마지막이고 바로 다음 구역이 윗줄을 그으면 표 밑줄은 긋지 않는다 — 두 줄이 겹쳐 보였다(대표님 40629 연하장 «주소 라벨지» 밑).
   다음 구역의 윗줄이 그 표의 끝줄 몫을 하고, 사이 간격(구역 아래 여백)은 그대로다. 마지막 구역의 표는 밑줄을 둔다. */
body.pdp-unified-product-detail .pdp-preserved-story-chapter:has(+ .pdp-preserved-story-chapter) > .pdp-preserved-facts:last-child {
    border-bottom: 0;
}

body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-preserved-sticker-guide {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

body.pdp-unified-product-detail .pdp-preserved-sticker-guide__media {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #f1f1ef;
}

body.pdp-unified-product-detail .pdp-preserved-sticker-guide__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 560 / 604;
    object-fit: cover;
}

body.pdp-unified-product-detail .pdp-preserved-sticker-guide__copy {
    min-width: 0;
}

body.pdp-unified-product-detail .pdp-preserved-steps {
    padding: 0;
    list-style: none;
    counter-reset: pdp-preserved-step;
}

body.pdp-unified-product-detail .pdp-preserved-steps li {
    position: relative;
    min-height: 30px;
    padding-left: 42px;
    counter-increment: pdp-preserved-step;
}

body.pdp-unified-product-detail .pdp-preserved-steps li + li {
    margin-top: 12px;
}

body.pdp-unified-product-detail .pdp-preserved-steps li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pdp-unified-line);
    border-radius: 50%;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t4-size, 12px);
    font-weight: var(--bjw-w-strong, 650);
    line-height: 1;
    content: counter(pdp-preserved-step, decimal-leading-zero);
}

body.pdp-unified-product-detail .pdp-preserved-notices {
    padding: 0;
    list-style: none;
}

body.pdp-unified-product-detail .pdp-preserved-notices li {
    position: relative;
    padding-left: 14px;
}

body.pdp-unified-product-detail .pdp-preserved-notices li + li {
    margin-top: 8px;
}

body.pdp-unified-product-detail .pdp-preserved-notices li::before {
    position: absolute;
    top: 11px;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    content: '';
}

body.pdp-unified-product-detail .pdp-preserved-editor-tools {
    display: flex;
    margin-top: 20px;
    justify-content: flex-end;
}

body.pdp-unified-product-detail .pdp-preserved-editor-link {
    display: inline-flex;
    min-height: 38px;
    padding: 0 14px;
    align-items: center;
    border: 1px solid var(--pdp-unified-line);
    border-radius: 6px;
    background: #fff;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t4-size, 13px);
    font-weight: var(--bjw-w-strong, 600);
    line-height: 1;
    text-decoration: none;
}

body.pdp-unified-product-detail #pdp-production > .pdp-section-heading,
body.pdp-unified-product-detail .pdp-unified-production-section > .pdp-section-description,
body.pdp-unified-product-detail .pdp-preserved-production {
    width: min(var(--pdp-rail-wide, 1000px), 100%);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

/*
 * Review sections already own the 1000px lower-content rail. Do not apply the
 * generic 24px page gutter a second time to their direct heading and list.
 */
@media (min-width: 769px) {
    body.pdp-unified-product-detail #pdp-reviews > :is(
        .pdp-section-heading,
        .after_list_write_group
    ) {
        width: min(var(--pdp-rail-wide, 1000px), 100%);
        max-width: none;
        margin-right: auto;
        margin-left: auto;
        box-sizing: border-box;
    }
}

/*
 * 태블릿·작은 노트북 폭(768~1099px) — 아래쪽 섹션은 1100px 부터 1000px 레일이 되고 그 아래는 화면 폭 그대로라(안쪽 여백 0)
 * 1000px 레일만으로는 좌우 여백이 0 이 된다. 청첩장 상세(.pdp-wedding-editorial)처럼 좌우 16px 를 남긴다.
 * 1100px 이상은 바깥 섹션이 이미 1000px 이므로 건드리지 않는다(여기서 또 빼면 968px 로 좁아진다).
 * 후기 영역 자식은 공용 후기 CSS 가 !important 로 폭을 잡으므로 같은 힘으로 덮는다(휴대폰 값과도 같다).
 */
@media (min-width: 769px) and (max-width: 1099px) {
    body.pdp-unified-product-detail #pdp-reviews > .pdp-section-heading,
    body.pdp-unified-product-detail #pdp-production > .pdp-section-heading,
    body.pdp-unified-product-detail .pdp-unified-production-section > .pdp-section-description,
    body.pdp-unified-product-detail .pdp-preserved-production {
        width: min(var(--pdp-rail-wide, 1000px), calc(100% - 32px));
    }
}

@media (min-width: 768px) and (max-width: 1099px) {
    body.pdp-unified-product-detail #pdp-reviews.pdp-review-surface > :is(
        .pdp-review-heading-row,
        .prd_review_gallery,
        .after_list_write_group,
        .pdp-global-review-preview
    ) {
        width: min(var(--pdp-rail-wide, 1000px), calc(100% - 32px)) !important;
    }

    body.pdp-unified-product-detail #pdp-production > .pdp-production-process {
        width: min(var(--pdp-rail-wide, 1000px), calc(100% - 32px));
        margin-right: auto;
        margin-left: auto;
        box-sizing: border-box;
    }
}

body.pdp-unified-product-detail .pdp-preserved-production {
    padding-bottom: 72px;
}

body.pdp-unified-product-detail .pdp-unified-production-section > .pdp-section-description {
    margin-top: 0;
    margin-bottom: 32px;
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t3-size, 16px);
    line-height: var(--bjw-t3-line, 26px);
}

/* Quantity-print introductions end on the shared wide-rail divider before
 * process media begins. Keep equal breathing room on both sides of the line. */
body.pdp-unified-product-detail .pdp-unified-production-section > .pdp-production-intro-divider {
    margin-bottom: 0;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--pdp-unified-line);
}

body.pdp-unified-product-detail .pdp-preserved-production__summary {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--pdp-unified-line);
    border-bottom: 1px solid var(--pdp-unified-line);
}

body.pdp-unified-product-detail .pdp-preserved-production__summary > div {
    width: 100%;
    min-width: 0;
    padding: 24px 20px;
    justify-self: stretch;
    border-left: 1px solid var(--pdp-unified-line);
    box-sizing: border-box;
}

body.pdp-unified-product-detail .pdp-preserved-production__summary > div:first-child {
    padding-left: 0;
    border-left: 0;
}

body.pdp-unified-product-detail .pdp-preserved-production__summary :is(dt, dd) {
    margin: 0;
}

body.pdp-unified-product-detail .pdp-preserved-production__summary dt {
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t4-size, 13px);
    font-weight: var(--bjw-w-body, 500);
    line-height: var(--bjw-t4-line, 19px);
}

body.pdp-unified-product-detail .pdp-preserved-production__summary dd {
    margin-top: 5px;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t3-size, 15px);
    font-weight: var(--bjw-w-strong, 650);
    line-height: var(--bjw-t3-line, 23px);
    word-break: keep-all;
}

body.pdp-unified-product-detail .pdp-preserved-production__shipping-fee dd {
    white-space: nowrap;
}

/* 수량 인쇄 상품(봉투 등)의 배송비는 조건까지 적혀 길다 — 칸 밖으로 나가지 않게 줄을 바꾼다 */
body.pdp-unified-product-detail [data-pdp-family-production] .pdp-preserved-production__shipping-fee dd {
    white-space: normal;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey {
    margin-top: 56px;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__header {
    display: grid;
    margin-bottom: 32px;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

body.pdp-unified-product-detail .pdp-preserved-production :is(
    .pdp-production-journey__header h3,
    .pdp-production-journey__header p,
    .pdp-production-journey__copy h4,
    .pdp-production-journey__copy p
) {
    margin: 0;
    font-family: inherit;
    letter-spacing: -.02em;
    word-break: keep-all;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__header h3,
body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__copy h4 {
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t2-size, 20px);
    font-weight: var(--bjw-w-strong, 700);
    line-height: var(--bjw-t2-line, 28px);
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__header p,
body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__copy > p {
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t3-size, 16px);
    line-height: var(--bjw-t3-line, 26px);
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__steps {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--pdp-unified-line);
    list-style: none;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__step {
    display: grid;
    padding: 30px 0;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 24px;
    border-bottom: 1px solid var(--pdp-unified-line);
    list-style: none;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__index {
    padding-top: 2px;
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t3-size, 16px);
    font-weight: var(--bjw-w-amount, 700);
    line-height: var(--bjw-t3-line, 26px);
    letter-spacing: .02em;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__copy {
    width: 100%;
    min-width: 0;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__copy > p {
    max-width: 760px;
    margin-top: 8px;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policies {
    margin: 32px 0 0;
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy-list {
    border-top: 1px solid var(--pdp-unified-line);
}

body.pdp-unified-product-detail .pdp-preserved-production
.pdp-production-journey + .pdp-production-policies .pdp-production-policy-list {
    border-top: 0;
}

body.pdp-unified-product-detail .pdp-preserved-production
.pdp-production-journey + .pdp-production-policies {
    margin-top: 0;
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy {
    margin: 0;
    border-bottom: 1px solid var(--pdp-unified-line);
}

body.pdp-unified-product-detail .pdp-preserved-production
.pdp-production-policy-list > .pdp-production-policy:last-child {
    border-bottom: 0;
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy > summary {
    position: relative;
    display: flex;
    min-height: 68px;
    padding: 20px 44px 20px 0;
    align-items: center;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t2-size, 18px);
    font-weight: var(--bjw-w-amount, 650);
    line-height: var(--bjw-t2-line, 27px);
    letter-spacing: -.02em;
    list-style: none;
    cursor: pointer;
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy > summary::-webkit-details-marker {
    display: none;
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy > summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 9px;
    height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: '';
    transform: translateY(-65%) rotate(45deg);
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy[open] > summary::after {
    transform: translateY(-35%) rotate(225deg);
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy__content {
    padding: 0 0 32px;
    color: var(--pdp-unified-muted);
    font-size: var(--bjw-t3-size, 15px);
    line-height: var(--bjw-t3-line, 24px);
    word-break: keep-all;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policy__content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policy__content li {
    position: relative;
    padding-left: 14px;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policy__content li + li {
    margin-top: 8px;
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policy__content li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    content: '';
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policy__subgroup {
    margin-top: 20px;
    padding: 20px 22px;
    background: var(--pdp-unified-soft);
}

body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policy__subgroup > strong {
    display: block;
    margin-bottom: 10px;
    color: var(--pdp-unified-ink);
    font-size: var(--bjw-t4-size, 14px);
    font-weight: var(--bjw-w-strong, 650);
}

/* Block surface focus: disclosure rows and the full-width description toggle underline their label. */
body.pdp-unified-product-detail .pdp-included-benefits > summary:focus-visible {
    outline: none;
}

body.pdp-unified-product-detail .pdp-included-benefits > summary:focus-visible > span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy > summary:focus-visible,
body.pdp-unified-product-detail .pdp-unified-discount-benefits > summary:focus-visible,
body.pdp-unified-product-detail .pdp-unified-detail-toggle:focus-visible {
    outline: none;
}

body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy > summary:focus-visible,
body.pdp-unified-product-detail .pdp-unified-discount-benefits > summary:focus-visible > span,
body.pdp-unified-product-detail .pdp-unified-detail-toggle:focus-visible > span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

body.pdp-unified-product-detail .pdp-unified-detail-toggle {
    display: flex;
    width: min(var(--pdp-rail-story, 800px), calc(100% - 40px));
    min-height: 52px;
    margin: 0 auto;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    font: inherit;
    box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.pdp-unified-product-detail .pdp-preserved-production__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pdp-unified-product-detail .pdp-preserved-production__summary > div:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-production__summary > div:nth-child(n + 3) {
        border-top: 1px solid var(--pdp-unified-line);
    }
}

@media (min-width: 1100px) {
    body.pdp-unified-product-detail #document_middle > table > tbody > tr:first-child {
        display: grid;
        grid-template-columns: 520px 48px 496px;
        align-items: start;
    }

    body.pdp-unified-product-detail #document_middle > table > tbody > tr:first-child > td {
        display: block;
        width: auto !important;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    body.pdp-unified-product-detail #pdp-service-guide > .pdp-section-heading { width: calc(100% - 32px); }
    body.pdp-unified-product-detail .withOrderDcPriceRow > .pdp-unified-discount-benefits > summary {
        min-height: 60px;
    }

    body.pdp-unified-product-detail {
        --pdp-mobile-content-padding: 16px;
    }

    body.pdp-unified-product-detail .mobileHeaderSurface--detail {
        position: relative !important;
        top: auto !important;
    }

    /*
     * m/style.css applies `section { padding: 50px 0; }` globally.  The
     * unified gallery is a semantic section, so without an explicit reset it
     * gains a blank 50px band above the hero and another one below the
     * thumbnail rail.  Invitation detail has neither band.
     */
    body.pdp-unified-product-detail .pdp-unified-mobile-gallery {
        padding: 0;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-actions {
        width: auto;
        margin: 0;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-actions > .pdp-purchase-actions__grid {
        display: none !important;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-actions > .pdp-purchase-actions__grid {
        grid-template-columns: minmax(132px, .9fr) minmax(0, 1.35fr) !important;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-actions > .pdp-purchase-actions__grid [data-pdp-action="order"] {
        grid-column: 2 !important;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-dock .pdp-purchase-dock__rail {
        height: calc(72px + env(safe-area-inset-bottom));
        padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-dock .pdp-purchase-dock__actions {
        grid-template-columns: 48px minmax(0, 1fr) !important;
    }

    /* 샘플이 있으면 주문하기 = 바 폭의 절반, 나머지 절반을 (장바구니 48px +) 샘플이 쓴다 — 청첩장 바와 같은 계약(09-30). */
    body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-cart="1"][data-pdp-has-sample="1"] .pdp-direct-purchase-dock .pdp-purchase-dock__actions {
        grid-template-columns: 48px minmax(0, 1fr) calc((100% - 8px) / 2) !important;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-cart="0"][data-pdp-has-sample="1"] .pdp-direct-purchase-dock .pdp-purchase-dock__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-actions[data-pdp-has-cart="0"][data-pdp-has-sample="0"] .pdp-direct-purchase-dock .pdp-purchase-dock__actions {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-dock [data-pdp-action="cart"] {
        width: 48px !important;
        min-width: 48px !important;
        height: 56px;
        min-height: 56px;
        padding: 0 !important;
        grid-column: auto !important;
        gap: 7px;
        border-color: #bdb8b1 !important;
        background: #fff !important;
        color: var(--pdp-unified-ink) !important;
        font-size: var(--bjw-t3-size, 16px);
        font-weight: var(--bjw-w-strong, 700);
    }

    /* (2026-11-20 대표님 66843 · 3cad) 직접 주문 막대 장바구니 글을 숨기던 규칙을 걷었다 — 폰 아래 막대는 장바구니도 글 단추(card/css/product-purchase-actions.css 끝 66843 절이 정함) */

    body.pdp-unified-product-detail .pdp-direct-purchase-dock :is([data-pdp-action="sample"], [data-pdp-sample-link]) {
        --pdp-type-purchase-action-size: var(--bjw-t3-size, 15px);
        grid-column: auto !important;
        height: 56px;
        min-height: 56px;
        padding: 0 8px;
        font-size: var(--bjw-t3-size, 15px);
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-dock :is([data-pdp-action="sample"], [data-pdp-sample-link]) .pdp-purchase-action__icon {
        display: none;
    }

    body.pdp-unified-product-detail .pdp-direct-purchase-dock [data-pdp-action="order"] {
        grid-column: auto !important;
        height: 56px;
        min-height: 56px;
        border-color: var(--pdp-unified-ink) !important;
        background: var(--pdp-unified-ink) !important;
        color: #fff !important;
        font-size: var(--bjw-t3-size, 16px);
        font-weight: var(--bjw-w-strong, 700);
    }

    body.pdp-unified-product-detail .pdp-related-product-banner {
        width: calc(100% - 32px);
        margin: 32px auto 24px;
    }

    body.pdp-unified-product-detail .pdp-related-product-banner a {
        display: flex;
        min-height: 76px;
        padding: 14px 18px;
        align-items: center;
        gap: 12px;
        background: #f6f5f3;
        color: var(--pdp-unified-ink);
        text-decoration: none;
        box-sizing: border-box;
        overflow: hidden;
    }

    body.pdp-unified-product-detail .pdp-related-product-banner img {
        display: block;
        width: 64px;
        height: 48px;
        flex: 0 0 64px;
        order: 2;
        object-fit: cover;
        object-position: 73% center;
    }

    body.pdp-unified-product-detail .pdp-related-product-banner__mobile-copy {
        display: block;
        min-width: 0;
        flex: 1 1 auto;
        order: 1;
    }

    body.pdp-unified-product-detail .pdp-related-product-banner__mobile-copy small,
    body.pdp-unified-product-detail .pdp-related-product-banner__mobile-copy strong {
        display: block;
    }

    body.pdp-unified-product-detail .pdp-related-product-banner__mobile-copy small {
        margin-bottom: 3px;
        color: var(--pdp-unified-muted);
        font-size: var(--bjw-t4-size, 11px);
        font-weight: var(--bjw-w-body, 500);
        line-height: var(--bjw-t4-line, 16px);
    }

    body.pdp-unified-product-detail .pdp-related-product-banner__mobile-copy strong {
        font-size: var(--bjw-t3-size, 15px);
        font-weight: var(--bjw-w-strong, 650);
        line-height: var(--bjw-t3-line, 22px);
    }

    body.pdp-unified-product-detail .pdp-related-product-banner__mobile-arrow {
        display: block;
        flex: 0 0 auto;
        order: 3;
        color: var(--pdp-unified-muted);
        font-size: var(--bjw-t2-size, 22px);
        font-weight: var(--bjw-w-strong, 300);
        line-height: 1;
    }

    body.pdp-unified-product-detail .pdp-unified-section-nav {
        top: 0;
        z-index: 120;
        height: 52px;
        min-height: 52px;
        margin-top: 0;
    }

    body.pdp-unified-product-detail .pdp-unified-section-nav .pdp-section-nav__inner {
        width: 100%;
        height: 52px;
    }

    body.pdp-unified-product-detail .pdp-unified-section-nav .pdp-section-nav__back {
        width: 44px;
        min-width: 44px;
        min-height: 52px;
        flex-basis: 44px;
    }

    body.pdp-unified-product-detail .pdp-unified-section-nav a {
        min-height: 52px;
        padding: 0 4px;
        font-size: var(--bjw-t3-size, 16px);
        font-weight: var(--bjw-w-strong, 600);
        line-height: var(--bjw-t3-line, 24px);
    }

    body.pdp-unified-product-detail .pdp-unified-mobile-content #product_detail_bottom_area {
        margin-top: 0;
    }

    body.pdp-unified-product-detail #product_detail_bottom_area .pdp-unified-detail-collapsible > .product_detail_theme_block2,
    body.pdp-unified-product-detail .pdp-unified-detail-section > .product_detail_theme_block2 {
        width: auto;
        margin: 50px 16px 0;
        padding: 0;
        box-sizing: border-box;
    }

    body.pdp-unified-product-detail #product_detail_bottom_area .pdp-unified-detail-collapsible > .product_detail_theme_block2::before,
    body.pdp-unified-product-detail .pdp-unified-detail-section > .product_detail_theme_block2::before {
        width: 100%;
    }

    body.pdp-unified-product-detail .pdp-semantic-section {
        scroll-margin-top: 64px;
    }

    body.pdp-unified-product-detail #pdp-detail > .pdp-section-heading,
    body.pdp-unified-product-detail .pdp-semantic-section > .pdp-section-heading {
        width: auto;
        max-width: none;
        margin: 0 16px;
        padding-top: 56px;
        padding-bottom: 8px;
        font-size: var(--bjw-t2-size, 24px);
        font-weight: var(--bjw-w-strong, 600);
        line-height: var(--bjw-t2-line, 1.35);
    }

    body.pdp-unified-product-detail .pdp-unified-detail-section > .pdp-section-heading {
        box-shadow: none;
    }

    body.pdp-unified-product-detail .pdp-unified-production-section > .pdp-section-heading {
        padding-top: 48px;
    }

    body.pdp-unified-product-detail .pdp-semantic-section > .pdp-section-description {
        width: auto;
        max-width: none;
        margin: 0 16px 28px;
        padding: 0;
        font-size: var(--bjw-t3-size, 16px);
        line-height: var(--bjw-t3-line, 1.6);
    }

    body.pdp-unified-product-detail .withOrderDcPriceRow > ul,
    body.pdp-unified-product-detail .freeDeliveryRow > ul {
        column-gap: 10px;
    }

    body.pdp-unified-product-detail .withOrderDcPriceRow .pdp-unified-discount-copy {
        gap: 4px;
        font-size: var(--bjw-t4-size, 14px) !important;
    }

    body.pdp-unified-product-detail .withOrderDcPriceRow .pdp-unified-discount-note {
        font-size: var(--bjw-t4-size, 12px);
    }

    body.pdp-unified-product-detail .pdp-modern-purchase-surface #productSpecArea > div[class*="Row"]:not(.productDeliveryRow) > ul {
        min-height: 56px !important;
    }

    body.pdp-unified-product-detail .freeDeliveryRow > ul > li:last-child {
        font-size: var(--bjw-t4-size, 13px) !important;
        letter-spacing: -.025em;
        max-width: 100%;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    body.pdp-unified-product-detail #product_detail_bottom_area .pdp-preserved-editorial,
    body.pdp-unified-product-detail .pdp-preserved-editorial {
        width: auto;
        max-width: none;
        margin: 20px 16px 0;
        border-top: 1px solid var(--pdp-unified-line);
    }

    body.pdp-unified-product-detail #product_detail_bottom_area .pdp-preserved-editorial :is(
        #pdc_area > .pdp-editorial-chapter,
        .pdp-preserved-story-chapter
    ),
    body.pdp-unified-product-detail .pdp-preserved-editorial :is(
        #pdc_area > .pdp-editorial-chapter,
        .pdp-preserved-story-chapter
    ) {
        width: 100% !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 24px 0;
        gap: 24px;
    }

    body.pdp-unified-product-detail #product_detail_bottom_area .pdp-preserved-editorial :is(
        #pdc_area > .pdp-editorial-chapter,
        .pdp-preserved-story-chapter
    ):first-child,
    body.pdp-unified-product-detail .pdp-preserved-editorial :is(
        #pdc_area > .pdp-editorial-chapter,
        .pdp-preserved-story-chapter
    ):first-child {
        padding-top: 24px;
    }

    body.pdp-unified-product-detail #product_detail_bottom_area .pdp-preserved-editorial #pdc_area > .pdp-editorial-hero,
    body.pdp-unified-product-detail .pdp-preserved-editorial #pdc_area > .pdp-editorial-hero {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 0 24px !important;
        gap: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-hero-mark {
        top: 24px;
        left: 20px;
        width: min(44%, 150px);
    }

    body.pdp-unified-product-detail #product_detail_bottom_area .pdp-preserved-editorial #pdc_area > .pdp-editorial-intro,
    body.pdp-unified-product-detail .pdp-preserved-editorial #pdc_area > .pdp-editorial-intro {
        padding: 0 0 24px !important;
        gap: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial :is(
        .pdp-editorial-chapter-header,
        .pdp-preserved-story-header
    ) {
        width: 100%;
        max-width: none;
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial :is(
        .pdp-editorial-title,
        .pdp-preserved-story-header h3
    ) {
        font-size: var(--bjw-t2-size, 20px);
        line-height: var(--bjw-t2-line, 29px);
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial :is(
        .pdp-editorial-chapter-header > .pdp-prose,
        .pdp-preserved-story-header > p:not(.pdp-preserved-story-eyebrow),
        .pdp-preserved-notices,
        .pdp-preserved-steps
    ) {
        font-size: var(--bjw-t3-size, 16px);
        line-height: var(--bjw-t3-line, 25.6px);
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting {
        padding: 20px 0 0;
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 16px;
        align-items: center;
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting .pdp-editorial-title {
        font-size: var(--bjw-t3-size, 16px);
        line-height: var(--bjw-t3-line, 23px);
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting .pdp-prose {
        font-size: var(--bjw-t4-size, 14px);
        line-height: var(--bjw-t4-line, 22px);
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-editorial-supporting .pdp-media-grid--supporting {
        width: 112px;
    }

    body.pdp-unified-product-detail .pdp-preserved-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    body.pdp-unified-product-detail .pdp-preserved-facts > div {
        display: grid;
        padding: 17px 0;
        /* (2026-11-20 김 부장 · 낱말 꺾임) 머리 칸 최소 88→120px — 360 에서 «사업자등록번호»(16px · 약 112px)가 92px 칸에서 글자 중간에 꺾였다 */
        grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr);
        gap: 16px;
        align-items: baseline;
        border-top: 1px solid var(--pdp-unified-line);
        border-left: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-facts > div:first-child {
        padding-left: 0;
        border-top: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-facts dd {
        margin-top: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-preserved-sticker-guide {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
    }

    body.pdp-unified-product-detail .pdp-preserved-basic-specs > h3 {
        padding-bottom: 20px;
        font-size: var(--bjw-t2-size, 18px);
        line-height: var(--bjw-t2-line, 26px);
    }

    body.pdp-unified-product-detail .pdp-preserved-basic-specs > dl {
        padding-top: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 24px;
    }

    body.pdp-unified-product-detail .pdp-preserved-basic-specs dt {
        font-size: var(--bjw-t4-size, 14px);
        line-height: var(--bjw-t4-line, 22px);
    }

    body.pdp-unified-product-detail .pdp-preserved-basic-specs dd {
        font-size: var(--bjw-t3-size, 15px);
        line-height: var(--bjw-t3-line, 24px);
    }

    body.pdp-unified-product-detail .pdp-preserved-sticker-guide__media {
        width: 112px;
        margin: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-steps {
        margin-top: 22px;
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media-grid {
        gap: 8px;
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media figcaption {
        margin-top: 12px;
    }

    body.pdp-unified-product-detail .pdp-preserved-editorial .pdp-media figcaption :is(strong, span) {
        font-size: var(--bjw-t4-size, 14px);
        line-height: var(--bjw-t4-line, 22px);
    }

    body.pdp-unified-product-detail #pdp-production > .pdp-section-heading,
    body.pdp-unified-product-detail .pdp-unified-production-section > .pdp-section-description,
    body.pdp-unified-product-detail .pdp-preserved-production {
        width: auto;
        max-width: none;
        margin-right: 16px;
        margin-left: 16px;
    }

    body.pdp-unified-product-detail .pdp-preserved-production {
        margin-right: 16px;
        margin-left: 16px;
        padding-bottom: 56px;
    }

    body.pdp-unified-product-detail .pdp-unified-production-section > .pdp-section-description {
        margin-bottom: 24px;
    }

    body.pdp-unified-product-detail #pdp-production > .pdp-section-description.pdp-production-intro-divider {
        margin-bottom: 0;
        padding-bottom: 24px;
    }

    body.pdp-unified-product-detail .pdp-preserved-production__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pdp-unified-product-detail .pdp-preserved-production__summary > div {
        padding: 18px 14px;
    }

    body.pdp-unified-product-detail .pdp-preserved-production__summary > div:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-production__summary > div:nth-child(n + 3) {
        border-top: 1px solid var(--pdp-unified-line);
    }

    body.pdp-unified-product-detail .pdp-preserved-production__summary > :is(
        .pdp-preserved-production__delivery,
        .pdp-preserved-production__shipping-fee
    ) {
        display: grid;
        padding-right: 0;
        padding-left: 0;
        grid-column: 1 / -1;
        /* (2026-11-20 김 부장 · 낱말 꺾임) 머리 칸 최소 88→120px — 360 에서 «사업자등록번호»(16px · 약 112px)가 92px 칸에서 글자 중간에 꺾였다 */
        grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr);
        gap: 16px;
        align-items: baseline;
        border-left: 0;
    }

    body.pdp-unified-product-detail :is(
        .pdp-preserved-production__delivery,
        .pdp-preserved-production__shipping-fee
    ) dd {
        margin-top: 0;
    }

    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policies {
        margin-top: 24px;
    }

    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey {
        margin-top: 40px;
    }

    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__header {
        margin-bottom: 24px;
    }

    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__step {
        padding: 24px 0;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__header h3,
    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__copy h4 {
        font-size: var(--bjw-t2-size, 18px);
        line-height: var(--bjw-t2-line, 26px);
    }

    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__header p,
    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__copy > p,
    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-journey__index {
        font-size: var(--bjw-t3-size, 15px);
        line-height: var(--bjw-t3-line, 24px);
    }

    body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy > summary {
        min-height: 62px;
        padding-top: 17px;
        padding-bottom: 17px;
        font-size: var(--bjw-t2-size, 17px);
        line-height: var(--bjw-t2-line, 26px);
    }

    body.pdp-unified-product-detail :is(.pdp-preserved-production, .pdp-policy-section) .pdp-production-policy__content {
        padding-bottom: 28px;
        font-size: var(--bjw-t3-size, 15px);
        line-height: var(--bjw-t3-line, 24px);
    }

    body.pdp-unified-product-detail .pdp-preserved-production .pdp-production-policy__subgroup {
        padding: 18px;
    }

    body.pdp-unified-product-detail .pdp-ribbon-special-mark {
        top: 24px;
        left: 24px;
        width: 152px;
        height: 80px;
    }

    body.pdp-unified-product-detail .pdp-unified-detail-toggle {
        display: flex;
        width: calc(100% - 32px);
        min-height: 52px;
        margin: 0 16px;
        padding: 0 16px;
        align-items: center;
        justify-content: center;
        font: inherit;
    }

    body.pdp-unified-product-detail #document_middle.pdp-product-shell,
    body.pdp-unified-product-detail .pdp-product-back-row + #document_middle.pdp-product-shell {
        width: 100%;
        padding-top: 0 !important;
    }

    body.pdp-unified-product-detail #document_middle .sc-preview-size-base > #photoz_area {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.pdp-unified-product-detail #document_middle .sc-preview-size-base[data-pdp-preview-aspect="portrait"] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 5 / 6;
    }

    body.pdp-unified-product-detail #document_middle .sc-preview-size-base[data-pdp-preview-aspect="portrait"] > #photoz_area {
        height: 100% !important;
    }

    body.pdp-unified-product-detail #document_middle > table,
    body.pdp-unified-product-detail #document_middle > table > tbody {
        display: block;
        width: 100%;
    }

    body.pdp-unified-product-detail #document_middle > table > tbody > tr:first-child {
        display: block;
        width: 100%;
    }

    body.pdp-unified-product-detail #document_middle > table > tbody > tr:first-child > td:first-child {
        display: block;
        width: 100% !important;
        min-width: 0;
    }

    body.pdp-unified-product-detail #document_middle > table > tbody > tr:first-child > td:nth-child(2) {
        display: none;
    }

    body.pdp-unified-product-detail #document_middle > table > tbody > tr:first-child > .pdp-unified-purchase-panel {
        display: block;
        width: calc(100% - 32px) !important;
        min-width: 0;
        height: auto;
        margin: 32px 16px 0;
        box-sizing: border-box;
    }

    body.pdp-unified-product-detail .pdp-unified-purchase-panel #product_detail_price_area {
        width: 100%;
    }

    body.pdp-unified-product-detail .pdp-unified-primary-action {
        min-height: 52px;
        font-size: var(--bjw-t3-size, 16px) !important;
    }

    body.pdp-unified-product-detail .pdp-unified-section-heading {
        width: auto;
        margin: 56px 16px 24px;
        font-size: var(--bjw-t2-size, 24px);
    }

    body.pdp-unified-product-detail.pdp-unified-legacy-actions #product_detail_bottom_menu {
        display: block !important;
        width: 100% !important;
        bottom: 0 !important;
        left: 0 !important;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--pdp-unified-line);
        background: rgba(255, 255, 255, .98);
        transform: none !important;
    }

    body.pdp-unified-product-detail.pdp-unified-legacy-actions .product_detail_btn_wrapper {
        display: flex;
        min-height: 64px;
        padding: 6px 16px;
        align-items: center;
        gap: 8px;
    }

    body.pdp-unified-product-detail.pdp-unified-legacy-actions #product_detail_order_btn {
        display: flex !important;
        width: 100% !important;
        min-height: 52px;
        padding: 0 16px !important;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--pdp-unified-ink) !important;
        border-radius: 6px;
        background: var(--pdp-unified-ink) !important;
        color: #fff !important;
        font-family: var(--pdp-font-family, Pretendard, sans-serif) !important;
        font-size: var(--bjw-t3-size, 16px) !important;
        font-weight: var(--bjw-w-strong, 700) !important;
        line-height: var(--bjw-t3-line, 1.35) !important;
        box-sizing: border-box;
    }

    body.pdp-unified-product-detail.pdp-unified-legacy-actions #product_detail_order_btn .prod_detaile_order_text,
    body.pdp-unified-product-detail.pdp-unified-legacy-actions #product_detail_order_btn #order_submit_button {
        color: #fff !important;
        font-size: var(--bjw-t3-size, 16px) !important;
        font-weight: var(--bjw-w-strong, 700) !important;
    }

    body.pdp-unified-product-detail.pdp-unified-legacy-actions {
        padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    }
}

/* 연하장 하단도 청첩장의 제목·본문·탭 간격을 공유합니다. */
body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] #pdp-detail > .pdp-section-heading {
    width: var(--pdp-rail-story, 800px);
    max-width: calc(100% - 40px);
    margin-inline: auto;
    padding: var(--pdp-section-top) 0 var(--pdp-section-title-gap);
    border-bottom: 0;
}

body.pdp-modern-page[data-pdp-business-group="new_year"] #pdp-detail .pdp-preserved-editorial {
    --pdp-type-body-size: var(--bj-type-body, 16px);
    --pdp-type-body-line: var(--bj-type-body-line, 1.6);
}

body.pdp-modern-page[data-pdp-business-group="new_year"] .pdp-preserved-editorial :is(
    .pdp-editorial-chapter-header > .pdp-prose,
    .pdp-preserved-story-header > p:not(.pdp-preserved-story-eyebrow):not(.pdp-preserved-story-note),
    .pdp-preserved-notices,
    .pdp-preserved-steps
) {
    color: var(--pdp-ink);
}

body.pdp-modern-page[data-pdp-business-group="new_year"] .pdp-unified-section-nav {
    margin-top: 40px;
    border-bottom-color: var(--pdp-line);
}

@media (min-width: 768px) and (max-width: 1099px) {
    body.pdp-modern-page[data-pdp-business-group="new_year"] #pdp-detail .pdp-preserved-editorial {
        margin-inline: 20px;
    }

    body.pdp-modern-page[data-pdp-business-group="new_year"] .pdp-unified-section-nav,
    body.pdp-modern-page[data-pdp-business-group="new_year"] .pdp-unified-section-nav .pdp-section-nav__inner {
        height: 55px;
    }

    body.pdp-modern-page[data-pdp-business-group="new_year"] .pdp-unified-section-nav a {
        min-height: 54px;
        padding-inline: 16px;
    }
}

@media (max-width: 767px) {
    body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] #pdp-detail > .pdp-section-heading {
        width: auto;
        max-width: none;
        margin-inline: var(--pdp-page-gutter, 16px);
    }
}

/* 연하장 소량 구매도 청첩장 공통 버튼의 간격·테두리·패딩을 따릅니다. */
body.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-actions[data-pdp-has-sample="1"] > .pdp-purchase-actions__grid [data-pdp-action="cart"] {
    padding: 0 var(--pdp-space-12) !important;
    gap: 7px;
}
@media (max-width: 767px) {
    body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-dock .pdp-purchase-dock__rail {
        height: calc(64px + env(safe-area-inset-bottom));
        padding: 6px var(--pdp-mobile-content-padding) calc(6px + env(safe-area-inset-bottom));
    }
    body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-dock .pdp-purchase-action {
        height: 52px;
        min-height: 52px;
    }
    body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-dock [data-pdp-action="cart"] {
        padding: 0 var(--pdp-space-8) !important;
        border-color: var(--pdp-secondary-line) !important;
        gap: 6px;
    }
    body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-dock [data-pdp-sample-link] {
        --pdp-type-purchase-action-line: var(--bjw-t3-line, 1.2);
    }
    /* (2026-11-12 대표님 47744 «소량은 장바구니 넓게·글 보임») 규칙은 걷었다 — 11-14 대표님 52414 «한 줄 막대 · 장바구니는 그림만»(card/css/product-purchase-actions.css)이
       폭을 44px 로 묶은 채 이 규칙이 글만 다시 보여 «장바구니 담기»가 단추 밖으로 삐져나왔다(11-19 «연하장 소량 전수» P6 · 김 부장 결정: 나중 지시대로 그림만). */
}

@media (min-width: 768px) and (max-width: 768px) {
    body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-dock .pdp-purchase-dock__rail {
        padding-inline: var(--pdp-space-12);
    }
    body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-dock .pdp-purchase-action {
        min-height: 52px;
        padding-inline: var(--pdp-space-12);
    }
    body.pdp-modern-page.pdp-unified-product-detail[data-pdp-business-group="new_year"] .pdp-direct-purchase-dock [data-pdp-action="cart"] {
        padding-inline: var(--pdp-space-12) !important;
        border-color: var(--pdp-secondary-line) !important;
        gap: 6px;
    }
}

/* 답례품 상세 — 청첩장 상세 본문과 같은 글씨 단계(대표님 22170 · 연하장 상세와 같은 방식: 본문 글씨 변수를 공용 토큰으로). */
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] {
    --pdp-type-body-size: var(--bj-type-body, 16px);
    --pdp-type-body-line: var(--bj-type-body-line, 1.6);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-editorial .pdp-preserved-story-header > p:not(.pdp-preserved-story-eyebrow) {
    color: var(--pdp-unified-ink);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] details > summary {
    cursor: pointer;
}

/* (2026-11-03 대표님 26820 «구분선 2개 중복») 답례품 상세 — 칸은 칸 윗선 하나로만 나눈다. 표 위아래 선·제목 밑줄이 칸 구분선과 겹쳤다(GT034). 표 안 줄 사이 선은 둔다. */
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-facts--rows { border-top: 0; border-bottom: 0; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-basic-specs > h3 { border-bottom: 0; }

/* (2026-11-03) 답례품 상세 — «배송·교환·판매자» 큰 제목만 넓은 폭(1000)에 있어 아래 칸(800)보다 PC 에서 100px 왼쪽에 튀어나왔다. «상품 상세» 제목과 같은 폭으로. */
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] #pdp-production > .pdp-section-heading { width: min(var(--pdp-rail-story, 800px), calc(100% - 40px)); }

/* (2026-11-03 대표님 28483 «사진 사이 구분선은 필요 없고 업체·구성·스티커·포장은 구분선이 있으면 좋다»)
   답례품 상세 — 사진 칸끼리는 선 없이 이어 붙이고, 고르는 칸(업체·구성 / 스티커·포장)은 칸 윗선 + 줄 표 윗선으로 나눈다.
   공용 경계 규칙(product-detail-intro-boundary.css)이 대표 사진 다음 칸·접기 끝 칸의 윗선을 지워 두 칸에 선이 하나도 없었다.
   공용 칸 규칙이 :is(#pdc_area …) 라 아이디 무게를 가져서 #pdp-detail 을 넣어야 이긴다. */
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] #pdp-detail .pdp-preserved-editorial .pdp-gift-photo-chapter + .pdp-gift-photo-chapter {
    padding-top: 0;
    border-top: 0;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] #pdp-detail .pdp-preserved-editorial .pdp-preserved-story-chapter.pdp-gift-pick-chapter {
    border-top: 1px solid var(--pdp-unified-line);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-gift-pick-chapter .pdp-preserved-facts--rows {
    border-top: 1px solid var(--pdp-unified-line);
}

/* (2026-11-06 윤희 36404 «답례품 상세에 스티커/포장 이미지가 흐릿») 답례품 스티커 그림 칸.
   업체가 올린 그림은 한 장뿐이다(join/gift_pack_proc.php → gws1 /gift/<업체>/pack<idx> · 줄임판·큰 판을 만들지 않음).
   46개 상세 실측: 그림 원본이 145~1038px(대개 390~532px)인데 공용 사진 칸(.pdp-media img { width: 100% } · 2칸)이
   PC 에서 394px 로 늘려(기기 배율 2 면 788px 필요) 흐렸다 — 145px 그림은 2.7배.
   ① PC(768px 이상)는 4칸(약 191px · 폰 2칸 175px 와 비슷) — 칸 수는 최대 4장(탭 array_slice 0,4)과 같다.
   ② 어느 폭이든 원본보다 크게 늘리지 않는다(width: auto · 칸보다 크면 칸에 맞춰 줄임) · 작은 그림은 칸 가운데. */
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-editorial .pdp-media-grid--gift-stickers .pdp-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"] .pdp-preserved-editorial .pdp-media-grid--gift-stickers {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* QA #2904 R5a: 모든 답례품의 등록 원문·사진·옵션을 같은 위계로 표시한다. */
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common :is(#pdp-gift-story, .pdp-gift-option-rail, .pdp-gift-option-track) {
    width: 100%; min-width: 0; max-width: 100%;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-text {
    white-space: pre-line; overflow-wrap: anywhere; word-break: keep-all;
    font-size: var(--bjw-t3-size, var(--bj-type-body)); line-height: var(--bjw-t3-line, var(--bj-type-body-line)); font-weight: var(--bjw-w-body, 400);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common #pdp-detail .pdp-preserved-story-chapter {
    display: block;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common #pdp-detail .pdp-gift-intro {
    margin-top: 0; padding: 0; border: 0;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-intro .pdp-preserved-story-header > p:not(.pdp-preserved-story-eyebrow) {
    margin: 16px 0 0;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-hero {
    margin: 32px 0 0;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common :is(.pdp-gift-composition, .pdp-gift-registered-note) { margin-top: 24px; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-composition > h3 {
    margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--bj-line);
    font-size: var(--bjw-t2-size, var(--bj-type-subsection)); line-height: var(--bjw-t2-line, var(--bj-type-subsection-line)); font-weight: var(--bjw-w-strong, 600);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-composition > p {
    margin: 0; padding: 16px 0; border-bottom: 1px solid var(--bj-line);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-registered-note > h3 { margin: 0 0 16px; font-size: var(--bjw-t2-size, var(--bj-type-subsection)); }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-registered-note > p { margin: 0; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common #pdp-detail .pdp-gift-registered-photo { margin: 32px 0 0; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common #pdp-detail .pdp-gift-registered-photo + .pdp-gift-registered-photo { margin-top: 64px; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common :is(.pdp-gift-hero, .pdp-gift-registered-photo) img { width: 100%; height: auto; aspect-ratio: auto; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-group { margin-top: 32px; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-group + .pdp-gift-option-group {
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--bj-line);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common :is(.pdp-gift-option-group > h4, .pdp-gift-ingredients > h4) {
    margin: 0 0 16px; font-size: var(--bjw-t2-size, var(--bj-type-subsection)); line-height: var(--bjw-t2-line, var(--bj-type-subsection-line)); font-weight: var(--bjw-w-strong, 600);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-track {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible;
    padding: 0; margin: 0; scroll-behavior: auto;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common [data-gift-option-columns="4"] .pdp-gift-option-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-group figure { min-width: 0; margin: 0; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-photo { background: var(--bj-clean); }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common [data-gift-option-kind="sticker"] .pdp-gift-option-photo { background: var(--bj-soft-surface); }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-photo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-photo + figcaption { margin-top: 16px; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common figcaption { word-break: keep-all; overflow-wrap: anywhere; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common figcaption > h5 {
    margin: 0; font-size: var(--bjw-t3-size, var(--bj-type-body)); line-height: var(--bjw-t3-line, var(--bj-type-body-line)); font-weight: var(--bjw-w-strong, 600);
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common figcaption > p { margin: 8px 0 0; font-size: var(--bjw-t3-size, var(--bj-type-body)); line-height: var(--bjw-t3-line, var(--bj-type-body-line)); }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-price { color: var(--bj-muted); }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-text-option-list { display: grid; gap: 24px; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common :is(.pdp-gift-ingredients, .pdp-gift-notices > p) { margin-top: 32px; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-notices > p + p { margin-top: 16px; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-ingredients > p { margin: 16px 0 0; }
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-track:focus-visible { outline: 2px solid var(--bj-ink); outline-offset: 4px; }
@media (min-width: 768px) {
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-rail > .bj-rail__controls { display: none; }
}
@media (max-width: 767px) {
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-hero { margin-top: 24px; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common #pdp-detail .pdp-gift-registered-photo { margin-top: 24px; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common #pdp-detail .pdp-gift-registered-photo + .pdp-gift-registered-photo { margin-top: 48px; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-group + .pdp-gift-option-group { margin-top: 24px; padding-top: 8px; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-group .pdp-gift-option-track {
        display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(100% - 58px);
        gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-track > figure { scroll-snap-align: start; }
    body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-rail > .bj-rail__controls { margin-top: 24px; }
}

/* QA2904 R5B: gift-only source-preserving specification, type and boundary rhythm. */
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-intro > .pdp-preserved-story-header { gap: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-intro .pdp-preserved-story-eyebrow {
    --pdp-type-body-size: var(--bj-type-body);
    --pdp-type-body-line: var(--bj-type-body-line);
    --pdp-type-body-weight: var(--bj-type-body-weight);
    margin: 0 0 12px; letter-spacing: 0;
}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-intro > .pdp-preserved-story-header > h3 { margin: 0 0 16px; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-intro .pdp-preserved-story-header > p:not(.pdp-preserved-story-eyebrow) { margin: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-intro .pdp-preserved-story-header > p:not(.pdp-preserved-story-eyebrow) + p:not(.pdp-preserved-story-eyebrow) { margin-top: 16px; }

body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0; padding: 0; gap: 0; border: 0; border-top: 1px solid var(--bj-line);
}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs[data-gift-fact-columns="1"] { grid-template-columns: minmax(0, 1fr); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs[data-gift-fact-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs > .pdp-gift-fact {
    min-width: 0; margin: 0; padding: 20px 24px 20px 0; border: 0; border-bottom: 1px solid var(--bj-line);
}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs > .pdp-gift-fact--full { grid-column: 1 / -1; padding-inline: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs dt {
    --pdp-type-body-size: var(--bj-type-body);
    --pdp-type-body-line: var(--bj-type-body-line);
    --pdp-type-body-weight: var(--bj-type-body-weight);
    margin: 0; color: var(--bj-muted);
}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs dd {
    margin: 8px 0 0; color: var(--bj-ink); font-weight: var(--bj-type-subsection-weight);
}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs .pdp-gift-fact--prose dd { font-weight: var(--bj-type-body-weight); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs--composition { border-block: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs--composition > .pdp-gift-fact { padding-top: 0; border-bottom: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-detail .pdp-gift-information-body > .pdp-preserved-story-chapter { margin: 0; padding: 0; border: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information-body > .pdp-preserved-story-chapter > .pdp-preserved-story-header { margin-bottom: 24px; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information .pdp-gift-ingredients { margin-top: 24px; }

/* R5D: upper group headings share the existing R5C production heading spacing. */
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information > .pdp-section-heading,
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production > .pdp-section-heading { padding-top: 48px; padding-bottom: 0; border-top: 1px solid var(--bj-line); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information-body,
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production > .pdp-preserved-editorial { margin-top: 24px; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production > .pdp-preserved-editorial > .pdp-preserved-story-chapter {
    margin: 0; padding: 0; gap: 24px; border: 0;
}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-detail .pdp-gift-information-body > .pdp-preserved-story-chapter + .pdp-preserved-story-chapter,
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production > .pdp-preserved-editorial > .pdp-preserved-story-chapter + .pdp-preserved-story-chapter { margin-top: 48px; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production .pdp-preserved-story-header { gap: 16px; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production .pdp-preserved-facts--rows { border-block: 1px solid var(--bj-line); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production .pdp-preserved-facts--rows > div { padding-block: 16px; border-left: 0; border-top: 1px solid var(--bj-line); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production .pdp-preserved-facts--rows > div:first-child { border-top: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production .pdp-preserved-facts--rows dt { --pdp-type-body-weight: var(--bjw-w-body, 500); color: var(--bj-muted); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production .pdp-preserved-facts--rows dd { color: var(--bj-ink); font-weight: var(--bjw-w-body, 400); }

/* Expose the approved soft photo stage around an unchanged opaque source image. */
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common [data-gift-option-kind="sticker"] .pdp-gift-option-photo {
    padding: 16px; box-sizing: border-box; background: var(--bj-soft-surface);
}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common [data-gift-option-kind="sticker"] .pdp-gift-option-photo img { object-fit: contain; }
/* (2026-11-16 윤희 57021 «이미지 사이즈도 다르고 베이지박스 기본이랑 +리본이랑 크기도 다르잖아») 사진 칸은 모든 답례품 같은 정사각.
   업체 원본 비율이 제각각(460×520 · 407×720 · 1000×1200)이라 칸 높이가 사진마다 달랐다(251×283 · 251×419 등).
   포장·쇼핑백 사진은 칸을 꽉 채움(cover · 가장자리가 조금 잘려도 됨) · 스티커·태그는 위 규칙대로 글자가 잘리지 않게 칸 안에 다 보임(contain). */
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-option-photo {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden;
}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-option-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs { grid-template-columns: minmax(0, 1fr); }
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs[data-gift-fact-columns] { grid-template-columns: minmax(0, 1fr); }
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs > .pdp-gift-fact { padding-inline: 0; }
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information > .pdp-section-heading,
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production > .pdp-section-heading { padding-top: 32px; }
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-detail .pdp-gift-information-body > .pdp-preserved-story-chapter + .pdp-preserved-story-chapter,
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production > .pdp-preserved-editorial > .pdp-preserved-story-chapter + .pdp-preserved-story-chapter { margin-top: 32px; }
}

/* QA #2904 R5C — consistent gift chapter boundaries and source-field typography. */
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-intro .pdp-preserved-story-header > p[data-gift-source="theme_txt1"] + p[data-gift-source="msg_detail"] { margin-top: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-specs--composition dd { font-weight: var(--bj-type-body-weight); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-detail [data-pdp-detail-toggle] { margin-bottom: 32px; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production { padding-bottom: 64px; }
@media (max-width: 767px) {
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-detail [data-pdp-detail-toggle] { margin-bottom: 24px; }
    body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common #pdp-production { padding-bottom: 48px; }
}

/* QA #2904 R5D: one upper information group; rows retain their own table lines. */
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information { padding-bottom: var(--bj-space-3); }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information > .pdp-section-heading { width: 100%; max-width: none; margin-inline: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-notices > .pdp-gift-text:first-of-type { margin-top: 0; }
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information .pdp-gift-ingredients > h4 {
    --pdp-type-subsection-size: var(--bj-type-body);
    --pdp-type-subsection-weight: var(--bj-type-nav-weight);
    --pdp-type-subsection-line: var(--bj-type-body-line);
}

/* QA #2904: approved R4 proposal19e3c8, production scope only; no prototype body flag. */
/* One local proposal. H2/H3 and registered text/field hooks remain; ingredient H4 becomes a dt/dd row. */
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common :is(.pdp-gift-information .pdp-gift-specs,.pdp-gift-shipping-summary .pdp-preserved-facts--rows){display:block!important;margin:0!important;padding:0!important;border:0!important;border-top:1px solid var(--bj-line)!important}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common :is(.pdp-gift-information .pdp-gift-specs,.pdp-gift-shipping-summary .pdp-preserved-facts--rows)>div{display:grid!important;grid-template-columns:var(--bj-description-label-width,94px) minmax(0,1fr)!important;gap:12px!important;min-height:70px;margin:0!important;padding:20px 0!important;border:0!important;border-bottom:1px solid var(--bj-line)!important}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common :is(.pdp-gift-information .pdp-gift-specs,.pdp-gift-shipping-summary .pdp-preserved-facts--rows) dt{--pdp-type-body-size:var(--bj-type-body);--pdp-type-body-line:var(--bj-type-body-line);--pdp-type-body-weight: var(--bjw-w-body, 400);font-size: var(--bjw-t3-size, var(--bj-type-body)) !important;line-height: var(--bjw-t3-line, var(--bj-type-body-line)) !important;font-weight: var(--bjw-w-body, 400) !important;color:var(--bj-muted)!important;margin:0!important}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common :is(.pdp-gift-information .pdp-gift-specs,.pdp-gift-shipping-summary .pdp-preserved-facts--rows) dd{font-size: var(--bjw-t3-size, var(--bj-type-body)) !important;line-height: var(--bjw-t3-line, var(--bj-type-body-line)) !important;font-weight: var(--bjw-w-body, 400) !important;color:var(--bj-ink)!important;margin:0!important;white-space:pre-line;overflow-wrap:anywhere}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information{display:flow-root;padding-bottom:var(--bj-space-3)!important}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information-body{display:flow-root}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-notices>.pdp-gift-text{margin-bottom:0!important}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information-body>.pdp-preserved-story-chapter>.pdp-preserved-story-header{margin-bottom:24px!important}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-ingredients>p{margin-top:var(--bj-space-2)!important}
@media(max-width:767px){body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common :is(.pdp-gift-information .pdp-gift-specs,.pdp-gift-shipping-summary .pdp-preserved-facts--rows)>div{grid-template-columns:minmax(0,1fr)!important;gap:var(--bj-space-1)!important}}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-information-body>.pdp-preserved-story-chapter:last-child>.pdp-gift-ingredients:last-child>p:last-child{margin-bottom:0!important}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common :is(.pdp-gift-information .pdp-gift-specs,.pdp-gift-shipping-summary .pdp-preserved-facts--rows)>div{box-sizing:border-box}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-ingredient-value>.pdp-gift-text{margin:0!important;font-size: var(--bjw-t3-size, var(--bj-type-body)) !important;font-weight: var(--bjw-w-body, 400) !important;line-height: var(--bjw-t3-line, var(--bj-type-body-line)) !important;white-space:pre-line}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-shipping-summary .pdp-preserved-facts--rows dd{white-space:normal}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-notice-table{box-sizing:border-box;border-top:1px solid var(--bj-line);border-bottom:1px solid var(--bj-line);padding:20px 0;font-size: var(--bjw-t3-size, var(--bj-type-body));font-weight: var(--bjw-w-body, 400);line-height: var(--bjw-t3-line, var(--bj-type-body-line))}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-notice-table>.pdp-gift-text{margin:0!important;border:0!important;padding:0!important;font-size: var(--bjw-t3-size, var(--bj-type-body)) !important;font-weight: var(--bjw-w-body, 400) !important;line-height: var(--bjw-t3-line, var(--bj-type-body-line)) !important}
body.pdp-modern-page.pdp-unified-product-detail .pdp-gift-common .pdp-gift-notice-table>.pdp-gift-text+.pdp-gift-text{margin-top:var(--bj-space-2)!important}
/* The required notice-cell bottom line owns this transition; no parallel H2 line. */
body.pdp-modern-page.pdp-unified-product-detail:has(.pdp-gift-notice-table) .pdp-gift-common #pdp-production>.pdp-section-heading{border-top:0!important}
body.pdp-modern-page.pdp-unified-product-detail:has(.pdp-gift-notice-table) .pdp-gift-common .pdp-gift-information{padding-bottom:0!important}

/* QA #2904 F1-111C approved option controls; scoped gift exception on mobile. */
/* Same common controls/SVG presentation as card/main-renewal.php. */
.pdp-gift-option-rail .bj-rail__button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
body.pdp-modern-page.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-rail>.bj-rail__controls{margin-top:var(--bj-space-2)}
body.pdp-modern-page.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-track{scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;cursor:grab}
body.pdp-modern-page.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-track.is-dragging{cursor:grabbing}
body.pdp-modern-page.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-track::-webkit-scrollbar{display:none}
@media(max-width:767px){body.pdp-modern-page.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-rail>.bj-rail__controls{margin-top:var(--bj-space-2)}}
/* User-directed local option-rail exception: the actual main mobile rail hides arrows. */
@media(max-width:767px){
 body.pdp-modern-page.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-rail .bj-rail__button--touch{display:inline-flex;flex-shrink:0}
}

/* Preserve current TEST square cells and wrapper/addbag cover / sticker contain rules. */
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-photo {
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;aspect-ratio:1;background:var(--bj-soft-surface);min-width:0;width:100%;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-photo img {max-height:100%}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-photo img[hidden] {display:none!important}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-image-error {
 padding:var(--bj-space-2);color:var(--bj-muted);font-size: var(--bjw-t3-size, var(--bj-type-body));line-height: var(--bjw-t3-line, var(--bj-type-body-line));text-align:center;
}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common [data-gift-image-state="failed"]>.pdp-gift-image-error {display:block}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-option-track {align-items:start}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-text-option-list {display:block}
body.pdp-unified-product-detail [data-pdp-family-tabs="gift"].pdp-gift-common .pdp-gift-text-option-list>figure+figure {margin-top:var(--bj-space-2)}
/* ── B 틀 구매 칸 글 3단(김 부장 70277 2) · 대표님 70058 규칙을 청첩장 밖 통합 상세에도) ─────────────────────────────
   대상: 통합 상세 중 값 셈이 공용 가격 조각(m/product_detail_price.php)인 모듈 A·B·C(감사장·초대장·순서지·연하장·식권·봉투·스티커·리본·소품 op·봉투내지).
   답례품(gift)·액자(F)·스탬프(G)·사진 보정(E)은 C 틀이라 뺀다. 값은 common/bojagi-design-system.css :root 의 변수만 쓴다.
   ① 돈: 총 주문금액 = --pdp-tx-total-* (16/700) · 줄마다 붙는 +N원·혜택 금액은 그대로
   ② 고르는 칸·받는 것: 수량 고르기 = --pdp-tx-pick-* (16/600) · 다른 고르기 상자 고른 값 = 14/--pdp-tx-select-weight · 받는 것 줄 값(상품 구성 · 문구 수정·검수) = --pdp-tx-value-* (14/400 진한 색)
   ③ 참고(고르지 않는 줄 · 김 부장 11-22 «규칙은 하나로 — 청첩장과 같게»): 사이즈·호환성·배송비·배송 기간·제작 기간·가공 방법의 값도 이름표와 같은 --pdp-tx-meta-* (13/400 회색) — 청첩장 «크기·종이 · 소요» 줄과 같은 꼴.
   ③ 참고: 줄 이름표·보조 글(영업일 기준·총액 포함…) = --pdp-tx-meta-* (13/400 회색). 줄 배치(이름 | 값 두 칸)는 그대로. */
html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) :is(.orderQtyRow, .productPartsRow, .productSizeRow, .compatibleRow, .freeDeliveryRow, .etaPrintDeliveryRow, .etaPrintMakingRow, .processingMethodRow, .productDeliveryRow, .totalPriceRow, .productSpecRow, .productMaterialRow, .productPaperRow) > ul > li:first-child:not(:only-child), html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .optionTitle > li, html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .pdp-price-adjustment__field-label { font-size: var(--pdp-tx-meta-size) !important; font-weight: var(--pdp-tx-weight) !important; color: var(--pdp-tx-meta-color) !important; line-height: 20px !important; }
html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) :is(.productPartsRow) > ul > li:nth-child(2):not(.productViewMore):not(.freeTaxPlanToggleRow):not(.pdp-quantity-block__body), html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) :is(.productPartsRow) > ul > li:nth-child(2):not(.productViewMore):not(.freeTaxPlanToggleRow):not(.pdp-quantity-block__body) > :is(span, strong):not(.fontHighligh), html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .pdp-price-adjustment__copy > strong { font-size: var(--pdp-tx-value-size) !important; font-weight: var(--pdp-tx-weight) !important; color: var(--pdp-tx-value-color) !important; line-height: var(--bjw-t3-line, 20px) !important; }
html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) :is(.productSizeRow, .compatibleRow, .freeDeliveryRow, .etaPrintDeliveryRow, .etaPrintMakingRow, .processingMethodRow, .productSpecRow, .productMaterialRow, .productPaperRow) > ul > li:nth-child(2):not(.productViewMore):not(.freeTaxPlanToggleRow):not(.pdp-quantity-block__body), html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) :is(.productSizeRow, .compatibleRow, .freeDeliveryRow, .etaPrintDeliveryRow, .etaPrintMakingRow, .processingMethodRow, .productSpecRow, .productMaterialRow, .productPaperRow) > ul > li:nth-child(2):not(.productViewMore):not(.freeTaxPlanToggleRow):not(.pdp-quantity-block__body) > :is(span, strong):not(.fontHighligh), html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .pdp-process-list__item, html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .pdp-eta-summary > .pdp-inline-guide-button__value { font-size: var(--pdp-tx-meta-size) !important; font-weight: var(--pdp-tx-weight) !important; color: var(--pdp-tx-meta-color) !important; line-height: var(--bjw-t4-line, 20px) !important; }
html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .pdp-eta-summary > .pdp-eta-summary__hint, html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .pdp-price-adjustment__copy > small { font-size: var(--pdp-tx-meta-size) !important; font-weight: var(--pdp-tx-weight) !important; color: var(--pdp-tx-meta-color) !important; line-height: var(--bjw-t4-line, 20px) !important; }
html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .orderQtyRow .productQtySelect { font-size: var(--pdp-tx-pick-size) !important; font-weight: var(--pdp-tx-pick-weight) !important; color: var(--pdp-tx-value-color) !important; height: var(--pdp-pick-boxh) !important; min-height: var(--pdp-pick-boxh) !important; border-color: var(--pdp-pick-border) !important; }
html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) .ompChoice > .ompChoice1 { font-size: var(--pdp-tx-value-size) !important; font-weight: var(--pdp-tx-select-weight) !important; color: var(--pdp-tx-value-color) !important; }
html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) :is(.ompPriceTotal.priceDiscountedAmt, .pdp-total-price-amount), html body.pdp-unified-product-detail:is([data-pdp-module="A"], [data-pdp-module="B"], [data-pdp-module="C"]):not([data-pdp-business-group="gift"]) #productDetailOptions:not(#_b1):not(#_b2):not(#_b3):not(#_b4):not(#_b5):not(#_b6):not(#_b7):not(#_b8):not(#_b9):not(#_b10):not(#_b11):not(#_b12):not(#_b13):not(#_b14):not(#_b15):not(#_b16):not(#_b17):not(#_b18):not(#_b19):not(#_b20) :is(.ompPriceTotal.priceDiscountedAmt + .priceWonRow, .pdp-total-price-amount + .pdp-total-price-unit) { font-size: var(--pdp-tx-total-size) !important; font-weight: var(--pdp-tx-total-weight) !important; line-height: var(--bjw-t2-line, var(--pdp-tx-total-line)) !important; color: var(--pdp-tx-value-color) !important; }
