/*
 * 청첩장 상세 PC 구매 칸 — 글 단계·상자·선 줄이기 (2026-11-18 대표님 «글씨 크기·간격 … 너무 복잡해 보인다»)
 *   김 부장 판정 «글 + 칸·선»: 글 크기 4단계(14·16·20·24) · 굵기 2단계(400·600) · 글 색 2가지(진한·옅은)
 *   · 테두리 상자는 단추(장바구니·무료샘플)만 — 고르는 칸은 옅은 바탕 · 줄 선 없앰
 *   · 토글(형태·모서리·구성)은 고른 쪽 = 흰 칸 + 진한 600 검정, 안 고른 쪽 = 회색 400 (흰 칸·옅은 회색만으로는 약함)
 *   폰(767 이하)은 손대지 않는다. 폭·자리(328 등)는 이 파일이 아니라 따라오는 칸 쪽 CSS 가 정한다.
 *   기존 규칙이 #productDetailOptions 아이디까지 붙은 !important 라 같은 자리를 아이디 세 번으로 이긴다(기존 «:not(.pdp-follow__panel #productDetailOptions)» 규칙이 아이디 둘).
 */
@media (min-width: 768px) {
    /* ── 바탕 한 톤(2026-11-17 대표님 «오른쪽 패널 컬러 두 가지 톤 → 상단 헤더 바탕 색깔 정도로 통일») ──
       형태·구성 통 · 모서리·수량 상자 · 사은품·추가 구성품 상자가 #f1efe9(통)와 #f4f1f0(상자) 두 톤이었다 → 이 토큰 하나.
       헤더 바탕(--bj-header-surface #fdfdfc)은 흰 바닥과 1단계 차이라 상자가 사라진다 → 같은 따뜻한 결의 가장 옅은 정본 토큰(안내 면 #f8f7f4).
       고른 칸(흰 바탕)은 그대로 흰색이라 고른 것이 구분된다. 값을 바꿀 때는 여기 한 곳만. */
    /* (2026-11-18 대표님 직접 «셀렉트 박스 바탕을 fdfdfc 헤더 부분의 바탕과 똑같이 하라니까, 왜 여기 틀리냐?») 위 «상자가 사라진다» 판단으로 안내 면(#f8f7f4)을 썼던 것 →
       대표님 말씀대로 헤더 바탕 토큰 그대로. 고른 칸(흰 바탕)·진한 글은 그대로라 고른 것은 계속 구분된다. */
    html body.pdp-modern-page { --pdp-buy-surface: var(--bj-calm-surface, #fdfdfc); }

    /* (11-18 대표님 «이 베스트 맞춤 이거 색깔을 왜 바꿔 놨어?») 11-17 «딱지 한 톤»(NEW·맞춤·디자이너 추천 딱지를 중립 회색으로 덮던 규칙)은
       대표님이 시킨 적 없는 것이라 걷었다 — 딱지는 원래 색. 대표님 지시는 «고르는 칸 바탕 = 헤더 바탕» 하나. */

    /* ── 붙은 단추 줄 위 흐림 띠(«N부 · 총액» 줄이 나온 동안) 16 → 32 · 위 40% 만 흐림, 아래 60% 불투명 ──
       카드만에서 칸 안 큰 총액(24px 글)이 띠 위로 반쯤 걸쳐 «N부 · 총액»과 두 번 보였다 — 글 한 줄 높이(32)를 덮어 윗부분도 안 비치게. (11-18 «안 됨 ⑤») 총액 줄이 32 보다 더 걸치면 m/product_detail_price.php 가 잰 --pdp-stick-fade 만큼(둘 중 큰 값) — 거울 총액이 흐린 반쪽으로 비치지 않게. */
    html body.pdp-modern-page.pdp-one-on .pdp-purchase-actions.pdp-one__stick:has(> .pdp-one__stickline:not([hidden]))::before {
        top: calc(-1 * max(32px, var(--pdp-stick-fade, 32px))) !important; height: max(32px, var(--pdp-stick-fade, 32px)) !important; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 13px) !important;   /* (11-18 디자인 팀장 #14) 위 13px 만 흐림·아래 불투명 — 32 일 때는 종전(40% ≈ 13)과 같고, 띠가 반쪽 줄을 덮으려 늘어나면(--pdp-stick-fade = 조각 + 12) 그 줄이 흐린 반쪽으로 비치지 않고 다 덮인다(첫 화면 끝이 줄 사이) */
    }
    /* (11-18 디자인 팀장 #14) 첫 화면 끝이 줄 중간에 걸리지 않게 — m/product_detail_price.php stickOver 가 덩이가 가로지른 줄을 보고 정한다.
       cover: 그 줄 조각(72px 이하)을 불투명으로 다 덮고 위 13px 만 흐림 — 32px 바닥 없이 조각 + 13(윗줄은 안 덮음).  soft: 조각이 더 크면 띠 위 24px 부드러운 흐림. */
    html body.pdp-modern-page.pdp-one-on .pdp-purchase-actions.pdp-one__stick[data-stick-cut="cover"]:has(> .pdp-one__stickline:not([hidden]))::before { top: calc(-1 * var(--pdp-stick-fade, 32px)) !important; height: var(--pdp-stick-fade, 32px) !important; }
    /* (11-19 K1 · 디자인 팀장 작은 것 ①) 덮기(cover) 흐림 길이 = 마지막 보이는 줄 아래 6px 뒤부터 덮을 곳까지(0~13 · stickOver 의 --pdp-stick-fadein) — 붙은 총액 줄이 있든 없든 */
    html body.pdp-modern-page.pdp-one-on .pdp-purchase-actions.pdp-one__stick[data-stick-cut="cover"]::before,
    html body.pdp-modern-page.pdp-one-on .pdp-purchase-actions.pdp-one__stick[data-stick-cut="cover"]:has(> .pdp-one__stickline:not([hidden]))::before { background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff var(--pdp-stick-fadein, 13px)) !important; }
    html body.pdp-modern-page.pdp-one-on .pdp-purchase-actions.pdp-one__stick[data-stick-cut="soft"]:has(> .pdp-one__stickline:not([hidden]))::before { background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 24px) !important; }

    /* ── 같은 금액 세 번 → 낼 돈은 한 곳만 크게(11-17 «60→100» 흠목록 4번 · 금액 숫자·계산 변화 없음 · 보이는 자리만) ──
       풀세트 첫 화면에 32,500원이 수량 줄 · 구성 단추 · 바닥 총액 세 곳에 같은 크기로 나와 «낼 돈»을 3초 안에 못 골랐다.
       · 수량 줄 오른쪽 금액은 그대로 둔다 — 대표님 지시로 생긴 칸(«빼자» 안이 대표님 말씀으로 취소됨 58204→58218 · 김 부장 #41362 판정).
       · 구성 단추 값은 견주기용이라 남기되 14 · 보통 굵기(고른 쪽 진한 글 · 안 고른 쪽 옅은 글은 위 토글 규칙 그대로). */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__tog .pdp-one__tog-item[aria-pressed] > span > b {
        font-size: var(--bjw-t4-size, 14px) !important; font-weight: var(--bjw-w-body, 400) !important;
    }

    /* ── 붙은 «N부 · 총액» 줄의 총액 15 → 24/600(11-17 네이버 숫자 비교 ① · 네이버 «총 금액» 약 27 굵게 한 곳) ──
       칸 안 총 주문금액(24/600)과 같은 크기·굵기 — 어느 쪽이 보여도 «낼 돈»이 한 크기로 가장 크다. 색은 대표님 «한 톤»이라 진한 글 그대로. */
    html body.pdp-modern-page.pdp-one-on :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__stickline > strong {
        font-size: var(--bjw-t2-size, 24px) !important; font-weight: var(--bjw-w-strong, 600) !important; line-height: var(--bjw-t2-line, 28px) !important;
    }
    /* 글이 커진 만큼 붙은 덩이가 높아져 구성 줄을 더 덮지 않게 — 줄 아래 띄움 8 → 4(덩이 높이 종전과 같게 · 1312×800 실측) */
    html body.pdp-modern-page.pdp-one-on :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__stickline { align-items: baseline !important; margin-bottom: 4px !important; }

    /* ── 글 ── */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) h1.pdp-product-title { font-size: var(--bjw-t1-size, 24px) !important; font-weight: var(--bjw-w-amount, 600) !important; line-height: var(--bjw-t1-line, 32px) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-product-code { font-size: var(--bjw-t4-size, 14px) !important; font-weight: var(--bjw-w-body, 400) !important; color: var(--bj-muted, #66635e) !important; }

    /* 줄 이름(형태·모서리·수량·구성·크기·종이·사은품·추가 구성품): 14 · 400 · 옅은 글 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__rowlabel, .pdp-one__label, .pdp-one__item--gift > .pdp-one__name, .pdp-offer-fold__title),
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__setpaper > span:first-child {
        font-size: var(--bjw-t4-size, 14px) !important; font-weight: var(--bjw-w-body, 400) !important; color: var(--bj-muted, #66635e) !important; line-height: var(--bjw-t4-line, 21px) !important;
    }
    /* 값: 16 · 400 · 진한 글 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__face-name, .pdp-one__face-value, .pdp-one__items > .pdp-one__item:not(.pdp-one__item--gift) .pdp-one__name, .pdp-offer-fold__now),
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__rows > .pdp-one__row > .pdp-one__name,   /* (11-18 상세 디자인 지킴이 2차 D①) 카드만 줄 이름 — 풀세트 «포함» 이름(16)과 같게 · 빠져 있어 15(--pdp-type-body-size)로 떨어졌다 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__setpaper > b,
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-purchase-actions__promise span {
        font-size: var(--bjw-t3-size, 16px) !important; font-weight: var(--bjw-w-body, 400) !important; color: var(--bj-ink, #181817) !important; line-height: var(--bjw-t3-line, 24px) !important;
    }
    /* 카드만 줄 값 단추(+5,000원 · 꾸미면 +5,000원) — 같은 줄 이름이 16 이 되어 15 로 남으면 줄 안에서 글 크기가 갈린다 → 16(색·굵기 그대로) */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__rows > .pdp-one__row > .pdp-one__add,
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__rows > .pdp-one__row > .pdp-one__name > .pdp-one__sheets { font-size: var(--bjw-t3-size, 16px) !important; }   /* «식권 50장»의 «50장»도 이름과 같게 */
    /* 사은품 상자 글: 제목 16·600 · 풀이 14·400 옅은 글 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__gifttxt > b { font-size: var(--bjw-t3-size, 16px) !important; font-weight: var(--bjw-w-strong, 600) !important; color: var(--bj-ink, #181817) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__gifttxt > i { font-size: var(--bjw-t4-size, 14px) !important; font-weight: var(--bjw-w-body, 400) !important; color: var(--bj-muted, #66635e) !important; }
    /* 단추 글: 16·600 · 풀이 14·400 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-purchase-action__label { font-size: var(--bjw-t3-size, 16px) !important; font-weight: var(--bjw-w-strong, 600) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-purchase-action__hint { font-size: var(--bjw-t4-size, 14px) !important; font-weight: var(--bjw-w-body, 400) !important; }
    /* 총 주문금액: 이름 14·400 옅은 글 · 값 24·600 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .ompPriceTotal,
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__stickline > strong { font-size: var(--bjw-t2-size, 24px) !important; font-weight: var(--bjw-w-amount, 600) !important; }   /* (11-18 · 2차 N4) 붙은 «총 주문금액» 줄도 같은 꼴 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .totalPrice .fontHighligh:not(.ompPriceTotal),
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__stickline .pdp-one__stickunit { font-size: var(--bjw-t3-size, 16px) !important; font-weight: var(--bjw-w-strong, 600) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .totalPrice .fontHighligh.ompPriceTotal { font-size: var(--bjw-t2-size, 24px) !important; font-weight: var(--bjw-w-amount, 600) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-total-section-start > ul > li:first-child,
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__stickline > span:first-child { font-size: var(--bjw-t4-size, 14px) !important; font-weight: var(--bjw-w-body, 400) !important; color: var(--bj-muted, #66635e) !important; }

    /* ── 토글: 고른 쪽 흰 칸 + 진한 600 · 안 고른 쪽 회색 400 ── */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__tog {
        gap: 4px !important; padding: 4px !important; border: 0 !important; border-radius: 10px !important; background-color: var(--pdp-buy-surface) !important;
    }
    /* 형태 통(.pdp-one__pill — wedding-fullset.css 가 #f1efe9 로 칠함)도 같은 톤 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__shape .pdp-one__pill { background-color: var(--pdp-buy-surface) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__tog .pdp-one__tog-item, .pdp-one__pill-item) {
        border-color: transparent !important; background-color: transparent !important; box-shadow: none !important;
    }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__tog .pdp-one__tog-item, .pdp-one__pill-item)[aria-pressed="true"] {
        background-color: #fff !important; box-shadow: 0 1px 3px rgba(24, 24, 23, .10) !important;
    }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__tog-item, .pdp-one__pill-item)[aria-pressed="true"] :is(strong, b, span) {
        font-weight: var(--bjw-w-strong, 600) !important; color: var(--bj-ink, #181817) !important;
    }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__tog-item, .pdp-one__pill-item)[aria-pressed="false"] :is(strong, b, span) {
        font-weight: var(--bjw-w-body, 400) !important; color: var(--bj-muted, #66635e) !important;
    }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__tog-item, .pdp-one__pill-item) :is(strong, b) { font-size: var(--bjw-t3-size, 16px) !important; }

    /* ── 상자: 고르는 칸은 옅은 바탕(테두리 없음) · 단추만 테두리 ── */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__face { border-color: transparent !important; background-color: transparent !important; box-shadow: none !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__field, .pdp-one__qtywrap) select,
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__giftbox,
    /* 추가 구성품: 위 칸(이름 칸이 왼쪽)은 값 상자만 칠하고, 따라오는 칸(이름이 상자 안)은 줄 전체를 칠한다 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions:not(.pdp-follow__panel *) .pdp-offer-fold__now,
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-fold {
        border-color: var(--bj-line, #ece9e6) !important; background-color: var(--pdp-buy-surface) !important; box-shadow: none !important;   /* (11-18) 1px 옅은 선 — 맨 아래 «고르는 칸 한 규칙» */
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions:not(.pdp-follow__panel *) .pdp-offer-fold { background-color: transparent !important; }
    /* 카드만 «추가 구성품» 펼친 안쪽 고르는 칸(실링 왁스 스티커·청첩장 리본 · .ompChoice1)이 흰 바탕 + 회색 테두리라
       같은 칸 안 다른 상자(옅은 면 · 테두리 없음)와 두 꼴이었다 → 같은 면(11-17 «60→100» 흠목록 1절) */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .ompProductRow button.ompChoice1 {
        border-color: var(--bj-line, #ece9e6) !important; background-color: var(--pdp-buy-surface) !important; box-shadow: none !important;   /* (11-18) 1px 옅은 선 — 맨 아래 «고르는 칸 한 규칙» */
    }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-fold__now { border-color: transparent !important; background-color: transparent !important; }

    /* (11-18 대표님 «구분선은 일부러 뺐어?» → 되살림 · 김 부장 판정) 11-17 «줄 선 없앰»(포함 위·사은품 위·총 주문금액 위 선을 투명으로)을 걷었다 — 원래 옅은 선 그대로. */
}

/* 768~1099 한 단 창(1024 등)은 위 칸도 이름이 상자 안에 들어간 꼴 → 추가 구성품은 따라오는 칸처럼 줄 전체를 칠한다
   (1100 이상 위 칸은 이름이 왼쪽 칸이라 값 상자만 칠함 — 위 규칙). 경계 1100 은 따라오는 칸 틀(product-detail-follow-buy.css)과 같다. */
@media (min-width: 768px) and (max-width: 1099px) {
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions:not(.pdp-follow__panel *) .pdp-offer-fold {
        border-color: var(--bj-line, #ece9e6) !important; background-color: var(--pdp-buy-surface) !important; box-shadow: none !important;   /* (11-18) 1px 옅은 선 — 맨 아래 «고르는 칸 한 규칙» */
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions:not(.pdp-follow__panel *) .pdp-offer-fold__now {
        border-color: transparent !important; background-color: transparent !important;
    }
}

/* ── 고르는 칸 한 규칙(2026-11-18 대표님 «헤더와 같은 색으로 하니까 너무 안 보이는데 1px 테두리?» → «네 추천대로 해봐») ──
   · 고르는 칸(모서리·수량·크기·종이 셀렉트 · 사은품 · 추가 구성품 · 형태·구성 단추 한 칸 한 칸) = 헤더 바탕 #fdfdfc + 1px 옅은 선(구분선과 같은 --bj-line)
   · 고른 칸 = 흰 바탕 + 1px 진한 선(--bj-ink) · 안 고른 칸 = 옅은 선 · 그림자 없음 — 종전엔 «엽서형»은 떠 있는 흰 칸, 셀렉트는 선 없음/진한 회색 선으로 제각각.
   · 형태·구성 통은 칸마다 선이 생기므로 통 자체 바탕·안쪽 여백은 걷고 칸 사이 8.
   · 글 크기·굵기 규칙은 그대로. PC(product-detail-buy-calm.css)와 폰(product-detail-mobile-polish.css)에 같은 값. */
@media (min-width: 768px) {
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__tog, .pdp-one__shape .pdp-one__pill) {
        gap: var(--bj-space-1, 8px) !important; padding: 0 !important; border: 0 !important; background-color: transparent !important; align-items: stretch !important;
    }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__tog .pdp-one__tog-item, .pdp-one__pill-item) {
        border: 1px solid var(--bj-line, #ece9e6) !important; border-radius: var(--bj-control-radius, 8px) !important; background-color: var(--bj-calm-surface, #fdfdfc) !important; box-shadow: none !important;
    }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__pill-item { min-height: 48px !important; }   /* 셀렉트 칸(48)과 같은 높이 — 통 안쪽 여백을 걷은 만큼 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(.pdp-one__tog .pdp-one__tog-item, .pdp-one__pill-item)[aria-pressed="true"] {
        border-color: var(--bj-ink, #181817) !important; background-color: #fff !important; box-shadow: none !important;
    }
    /* 모든 고르는 칸 글 시작 = 안쪽 16(셀렉트·사은품 12 · 구성·추가 구성품 16 으로 섞여 글이 줄마다 4 어긋났다) · 둥글기 = --bj-control-radius 하나 */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) :is(:is(.pdp-one__field, .pdp-one__qtywrap) select, .pdp-one__giftbox, .pdp-one__tog .pdp-one__tog-item) { padding-left: var(--bj-space-2, 16px) !important; border-radius: var(--bj-control-radius, 8px) !important; }
    /* 추가 구성품 펼침 안 고르는 칸(실링 왁스 스티커·청첩장 리본 · [id^="opm_"] .ompChoice1) — wedding-fullset.css 규칙(아이디 셋)이
       PC 선을 투명으로, 폰 선을 진한 회색·바탕을 흰색으로 덮어 위 «고르는 칸 한 규칙»과 달랐다(11-18 점검) → 아이디 넷으로 같은 토큰. */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions [id^="opm_"] .ompChoice1 {
        border: 1px solid var(--bj-line, #ece9e6) !important; border-radius: var(--bj-control-radius, 8px) !important;
        background-color: var(--bj-calm-surface, #fdfdfc) !important; box-shadow: none !important;
    }
}

/* (2026-11-18 상세 2차 채점 D③ «바탕 베이지 8가지») 상세 바탕을 두 색 + 선 하나로.
   사진·그림이 들어가는 칸 = 사진 칸 회색(--bj-template-media-surface #f1f1f1 · 비슷한 무드 카드 사진 칸과 같은 값),
   글이 들어가는 펼침 칸 = 헤더 바탕(--bj-header-surface #fdfdfc · 구매 칸과 같은 값), 선 = --bj-line #ece9e6(그대로).
   종전: #f4f2ee 함께 볼 상품 · #f3f1ed 제작 영상 · #f7f6f3 봉투 그림 · #f3f1ee 사은품 동그라미 · #fbfaf7 문의 답.
   이벤트 꼬리표(#f1efe9)·종이 비교 표 머리(#f9f7f7/#f5f5f3)는 따뜻한 색 그대로 둠(김 부장 판정 · 대표님이 짚은 자리 아님). */
html body.pdp-modern-page { --pdp-media-surface: var(--bj-template-media-surface, #f1f1f1); }
html body.pdp-modern-page .pdp-upper-companions__media,
html body.pdp-modern-page .section_prd_print_proc .prd_print_proc_video_box,
html body.pdp-modern-page #product_detail_theme_all_area .pdp-envelope-options .img_box,
html body.pdp-modern-page #product_detail_theme_all_area .pdp-envelope-palette .img_box,
html body.pdp-modern-page #productDetailOptions .pdp-one .pdp-one__giftthumbs > img {
    background-color: var(--pdp-media-surface) !important;
}
html body.pdp-modern-page .pdp-qna__body { background-color: var(--bj-calm-surface, #fdfdfc) !important; }

/* ══ 따라오는 칸(PC 1100 이상 · 폭 328) 글·간격 한 규칙 — pdp-follow-rhythm ══
   (2026-11-18 대표님 직접 · pb182 «‹100부부터 무료 / 사은품·식전 영상 등 5종 중 선택› 2열로 꺾이고 글씨 크기·간격 다 검증한 거니?»)
   ① 사은품 풀이 한 줄 — 왼쪽 이름표가 없어 «사은품 · »가 붙은 풀이(182px)가 글 칸(180px)보다 2px 길어 꺾였다(11:04 #41597 «두 줄 허락»).
      글은 그대로 두고 사진–글 사이 12 → 8(--bj-space-1) · 화살표 자리 44 → 40(화살표 16 + 오른쪽 16 + 8) → 글 칸 188 · 줄바꿈 안 함.
   ② 글 크기 단계 = 위 구매 칸과 같은 14·16·24 — «수량» 이름표만 15 였다 → 14.
   ③ 줄 높이 하나 = 글 크기 × 1.5(16 → 24 · 14 → 21) — 종전 16 글이 20·22·24·25.6, 14 글이 16·18·21·22 로 섞였다.
   ④ 덩이 사이 = 16 하나(대표님 «뽁짝뽁짝» 16 기준) — 종전 8·16·8·12·16·(16+8) 섞임. 선 자리는 선 앞뒤 16.
   첫 화면 구매 칸·폰·태블릿(1100 미만엔 따라오는 칸 없음)은 손대지 않는다. 글·값·동작 그대로. */
@media (min-width: 1100px) {
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--gift > .pdp-one__giftbox { column-gap: var(--bj-space-1, 8px) !important; padding-right: calc(var(--bj-space-2, 16px) * 2 + var(--bj-space-1, 8px)) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--gift > .pdp-one__giftbox > .pdp-one__gifttxt > i { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions :is(.pdp-one__rowlabel, .pdp-one__face-label) { font-size: var(--bjw-t4-size, 14px) !important; }
    /* 칸 머리(이름 16/600 · 상품코드)도 같은 단계 — 상품코드는 위 구매 칸처럼 14 옅은 글 */
    html body.pdp-modern-page .pdp-follow__panel .pdp-follow__head :is(.pdp-follow__head-name, .pdp-follow__head-code) { line-height: 1.5 !important; }
    html body.pdp-modern-page .pdp-follow__panel .pdp-follow__head .pdp-follow__head-code { font-size: var(--bjw-t4-size, 14px) !important; color: var(--bj-muted, #66635e) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions *:not(.pdp-purchase-action, .pdp-purchase-action *), html body.pdp-modern-page .pdp-follow__panel .pdp-purchase-actions > .pdp-purchase-actions__promise * { line-height: 1.5 !important; }   /* 단추 안 글(두 줄 단추)은 단추 틀 값 그대로 */
    /* ④ 리듬 16 하나 — 11:0x 대표님 «글씨 뽁짝뽁짝» 으로 넓힌 16(#41468 · 수량↔구성 · 사은품↔추가 구성품)을 기준으로 나머지(8·12·24)도 16. 선 자리는 선 앞뒤 16.
       칸이 화면보다 길면 칸 안에서 내려 보며 줄 경계에서 자른다(ffbd8e2e #41713). */
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__state { margin-top: var(--bj-space-2, 16px) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__state .pdp-one__setpaper:not([hidden]) { margin-top: var(--bj-space-2, 16px) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__state > .pdp-one__items--plain { margin-top: var(--bj-space-2, 16px) !important; padding-top: var(--bj-space-2, 16px) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--gift { padding-top: var(--bj-space-2, 16px) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-fold { margin-top: var(--bj-space-2, 16px) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions #productSpecArea { padding-top: var(--bj-space-2, 16px) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-total-section-start > ul { margin-top: 0 !important; padding-top: var(--bj-space-2, 16px) !important; padding-bottom: var(--bj-space-2, 16px) !important; }
    html body.pdp-modern-page .pdp-follow__panel .pdp-purchase-actions > .pdp-purchase-actions__promise { margin-top: 0 !important; margin-bottom: var(--bj-space-2, 16px) !important; }
    /* (2026-11-19 4e96 2판 흠 F1 · pb177 1280 «모두 무료» 아래 «크기·종이»·«후가공»·«봉투» 줄 사이가 32·16·44 로 제각각 — 칸 높이를 채우려 늘어난 꼴)
       ⑤ 같은 묶음 안 줄(크기·종이 ↔ 후가공 · 둘 다 .pdp-one__setpaper)은 위 첫 화면 칸과 같은 8 — 묶음 사이 16 과 갈라 보이게.
       ⑥ 포함 목록 다음 상자 줄(.pdp-one__items--plain)의 위 안쪽 16 과 봉투 줄 위 안쪽 12 는 그 위 선 몫이었는데 선은 11-18 에 뺐다(product-detail-follow-buy.css) —
          선 없는 자리에 16+16+12 가 남아 «후가공» ↔ 봉투 상자가 44 → 덩이 사이 16 하나로(바깥 16 만 남김). */
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__state .pdp-one__setpaper:not([hidden]) + .pdp-one__setpaper:not([hidden]) { margin-top: var(--bj-space-1, 8px) !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__state > .pdp-one__items--plain { padding-top: 0 !important; }
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope:first-child { padding-top: 0 !important; }
    /* ⑦ 포함 목록(.pdp-one__rows--grid) 아래 안쪽 12 — 목록 끝 «모두 무료 · …에 들어 있어요»(목록 ::after) 아래에 12 가 더 붙어 그다음 줄(크기·종이 · 형태)까지 34 → 덩이 사이 16 하나로 */
    html body.pdp-modern-page .pdp-follow__panel #productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__rows--grid { padding-bottom: 0 !important; }
}

/* ══ «세트는 N원 덜 내요» 상자 = 구매 칸 고르는 칸과 같은 꼴 (2026-11-18 대표님 «세트 안내, 바탕, 컬러, 테두리 이런 거 적용해 줘야지») ══
   종전: 옛 안내 면 #f8f7f4 · 테두리 없음 · 글 15 · 단추 진한 회색 선 높이 40. → 바탕 --bj-header-surface + 1px --bj-line · 둥글기 --bj-control-radius
   · 글 16/400 진한 글(작은 줄 14 옅은 글) · 금액만 600(m/product_detail_price.php 가 금액을 <b.pdp-one__hint-amount> 로 감쌈)
   · «세트로» 단추 = 칸과 같은 높이 --bj-control-height · 둥글기 --bj-control-radius · 흰 바탕 + 1px --bj-line-strong · 16/600. 글·값·동작 그대로. */
@media (min-width: 768px) {
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__hint {
        background: var(--bj-calm-surface, #fdfdfc) !important; border: 1px solid var(--bj-line, #ece9e6) !important; border-radius: var(--bj-control-radius, 8px) !important;
        color: var(--bj-ink, #181817) !important; font-size: var(--bjw-t3-size, 16px) !important; font-weight: var(--bjw-w-body, 400) !important; line-height: var(--bjw-t3-line, 24px) !important; box-shadow: none !important;
    }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__hint :is(.pdp-one__hint-text, .pdp-one__hint-text > span) { font-size: var(--bjw-t3-size, 16px) !important; font-weight: var(--bjw-w-body, 400) !important; line-height: var(--bjw-t3-line, 24px) !important; color: var(--bj-ink, #181817) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__hint .pdp-one__hint-amount { font-weight: var(--bjw-w-strong, 600) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__hint small { font-size: var(--bjw-t4-size, 14px) !important; font-weight: var(--bjw-w-body, 400) !important; line-height: var(--bjw-t4-line, 21px) !important; color: var(--bj-muted, #66635e) !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase) .pdp-one__hint .pdp-one__back {
        min-height: var(--bj-control-height, 48px) !important; height: auto !important; border: 1px solid var(--bj-line-strong, #938d86) !important; border-radius: var(--bj-control-radius, 8px) !important;
        background: #fff !important; color: var(--bj-ink, #181817) !important; font-size: var(--bjw-t3-size, 16px) !important; font-weight: var(--bjw-w-strong, 600) !important; line-height: var(--bjw-t3-line, 24px) !important; box-shadow: none !important;
    }
}

/* ══ 봉투 고르기 한 줄 — 사은품 바로 위 (2026-11-18 대표님 직접 · JEINA101 «봉투는 여기서 셀렉트 할 수 있게끔 사은품 위에다가 하나 넣어 줘야 되지 않나?») ══
   줄은 서버가 이미 그리던 세트 봉투 줄(#ompEnvelopeRow · 그 디자인의 주문 가능한 봉투 · 사진·차액)을 화면 스크립트가 사은품 위로 옮긴 것(m/product_detail_price.php).
   값·총액·장바구니는 그 줄의 종전 흐름 그대로(새 셈 0). 꼴 = 구매 칸 고르는 칸(#fdfdfc + 1px --bj-line · 48 · 8 · 글 16) · 이름표는 사은품 줄과 같은 자리.
   «세트»일 때만 — 카드만은 봉투 담당 규칙(기본 봉투로 계산)이라 숨긴다. */
@media (min-width: 768px) {
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope[hidden] { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope:not([hidden]) { grid-column: 1 / -1; display: block !important; margin-top: 0 !important; padding-top: calc(var(--bj-space-1, 8px) * 1.5) !important; border-top: 1px solid var(--bj-line, #ece9e6) !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope:not([hidden]) + .pdp-one__item--gift { border-top: 0 !important; padding-top: var(--bj-space-1, 8px) !important; }   /* 선은 봉투 위 한 줄만 — 봉투와 사은품 사이엔 선 없음 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope > .pdp-one__name { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow > ul { display: block !important; margin: 0 !important; padding: 0 !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow > ul > li:first-child, html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow :is(.optionTitle, .optionDesc, .ompQtyPadRow) { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow > ul > li, html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .orderOptionContent, html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .optionSelectBox { display: block !important; margin: 0 !important; padding: 0 !important; width: 100% !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice { position: relative; width: 100%; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 li { width: 100% !important; font-weight: inherit; }   /* 사은품 위로 옮기면 수량 칸(.orderQtyRow) 안이 되어 옛 «li:first-of-type 30%» 규칙에 걸린다 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice1 {
        display: flex !important; align-items: center; width: 100% !important; min-height: var(--bj-control-height, 48px) !important; height: auto !important; box-sizing: border-box;
        padding: 0 calc(var(--bj-space-2, 16px) * 2 + var(--bj-space-1, 8px)) 0 var(--bj-space-2, 16px) !important;
        border: 1px solid var(--bj-line, #ece9e6) !important; border-radius: var(--bj-control-radius, 8px) !important; background-color: var(--bj-calm-surface, #fdfdfc) !important; box-shadow: none !important;
        color: var(--bj-ink, #181817) !important; font-size: var(--bjw-t3-size, 16px) !important; font-weight: var(--bjw-w-body, 400) !important; line-height: var(--bjw-t3-line, 24px) !important; text-align: left !important;
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice1::before { content: var(--bj-l-envelope, '봉투'); flex: none; margin-right: var(--bj-space-2, 16px); color: var(--bj-muted, #66635e); font-size: var(--bjw-t4-size, 14px); font-weight: var(--bjw-w-body, 400); line-height: var(--bjw-t4-line, 21px); }
}
@media (min-width: 1100px) {
    /* 1100 이상 첫 화면 칸 = 사은품 줄과 같은 꼴(왼쪽 이름표 칸 --pdp-one-lab + 상자) */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions:not(.pdp-follow__panel *) .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope:not([hidden]) {
        display: grid !important; grid-template-columns: var(--pdp-one-lab) minmax(0, 1fr); gap: 0 !important; align-items: start !important; margin: 0 0 0 calc(-1 * var(--pdp-one-lab)) !important;   /* (11-18 사진 격자) 펼치면 줄이 길어져도 이름표는 닫힌 칸 높이에 — center 면 격자 가운데로 내려갔다 */
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions:not(.pdp-follow__panel *) .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope > .pdp-one__name {
        display: block !important; color: var(--bj-muted, #66635e) !important; font-size: var(--bjw-t4-size, 14px) !important; font-weight: var(--bjw-w-body, 400) !important; line-height: var(--bj-control-height, 48px) !important;   /* 닫힌 칸(48)과 같은 줄 높이 — 한 줄 이름표가 칸 가운데에 */
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions:not(.pdp-follow__panel *) .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope:not([hidden]) + .pdp-one__item--gift { margin-top: 0 !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions:not(.pdp-follow__panel *) .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice1::before { content: none; }
}

/* «포함» 목록 이름 두 줄 허락 (2026-11-18 김 부장 · #41895 뒤 «모바일 청첩장 5개 · 1개 영구 보관»이 칸(171~200px)보다 길어 오른쪽에서 잘림)
   목록 이름이 nowrap 이라 모든 폭에서 넘쳤다 → 낱말 단위로 둘째 줄로 꺾는다(글·크기·간격 그대로). */
@media (min-width: 768px) {
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__items--plain > .pdp-one__item:not(.pdp-one__item--gift):not(.pdp-one__item--envelope) > .pdp-one__name {
        white-space: normal !important; word-break: keep-all; overflow-wrap: anywhere;
    }
}

/* 셀프 카드만 «봉투 종류» 고르기 (2026-11-18 11f000c3 · e4c5d495) — «봉투» 체크 바로 아래 한 줄 · 봉투를 넣었을 때만(화면 스크립트 hidden).
   칸은 크기·종이와 같은 부품(.pdp-one__field) — 여기서는 줄 껍데기(위 선 없음 · 칸 폭 가득)와, 왼쪽 이름 칸이 없는 자리라 칸 안 이름표(겉 글 이름표)를 보이게만. */
@media (min-width: 768px) {
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__rows > .pdp-one__row--env-pick[hidden] { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__rows > .pdp-one__row--env-pick:not([hidden]) { display: block !important; padding: 0 0 var(--bj-space-1, 8px); border-top: 0; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick > .pdp-one__field { width: 100%; margin: 0; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick > .pdp-one__field > select { height: var(--bj-control-height, 48px) !important; min-height: 0 !important; }   /* 다른 고르는 칸과 같은 48 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-one__face-label { display: inline !important; }
    /* (11-18 대표님 «봉투 추가했을 때 구분선 빼야 되는 거») 칸이 열리면 «봉투» 줄과 한 덩어리 — 그 사이 선 없음 · 칸 아래 선(다음 줄과의 경계)만 남김 · 봉투를 빼면 원래대로 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__rows > .pdp-one__row[data-one-item="envelope"]:has(+ .pdp-one__row--env-pick:not([hidden])) { border-bottom: 0 !important; }
}

/* ══ 봉투 고르기 — 실제 봉투 사진 격자 (2026-11-18 대표님 «봉투는 이게 뭐야? 왜 이런 게 나와? … 봉투 이미지?» · 11f000c3) ══
   ① 그린 아이콘 대신 등록된 실제 봉투 상품 사진(화면 스크립트가 같은 줄의 data-product-src 로 바꿈) ② 펼쳐도 닫힌 칸은 고른 봉투 이름·값 + 사진
   ③ 떠 있는 300px 스크롤 상자 대신 칸 아래로 펼쳐지는 사진 격자(스크롤 막대 없음) · 값이 다른 것과 «기본»만 적음. 고르기·값·주문은 옛 주문 부품 그대로.
   (11-18 3cad269a #42166 실링·리본·프리저브드 격자와 같은 부품 꼴: 정사각 사진 상자(1px 선·둥글기·바탕) · 고른 표시 = 사진 테두리 · 이름 가운데 utility×.875 · 값 utility×.8 회색 · PC 5칸·폰 4칸 · gap space-1) */
@media (min-width: 768px) {
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice1 { gap: var(--bj-space-1, 8px); }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice1 .pdp-env-face__photo { pointer-events: none; flex: none; width: 40px; height: 28px; padding: 2px; box-sizing: border-box; object-fit: contain; object-position: 50% 50%; border-radius: 4px; background: #f0f0f0; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice1 .pdp-env-face__name { pointer-events: none; font-size: var(--bjw-t3-size, 16px) !important; line-height: var(--bjw-t3-line, 24px) !important; min-width: 0;   /* (11-18 디자인 팀장) 옛 부품 15px 대신 구매 칸 다른 값(.pdp-one__face-name 16/24)과 같게 */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 { position: static !important; inset: auto !important; width: 100% !important; margin: var(--bj-space-1, 8px) 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 > ul { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bj-space-1, 8px); max-height: none !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn { display: flex !important; flex-direction: column; align-items: stretch; gap: calc(var(--bj-space-1, 8px) / 2); min-height: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; cursor: pointer; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn::after, html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn::before { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn[aria-selected="true"] { border: 0 !important; box-shadow: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn > div:first-child { flex: none !important; width: 100% !important; aspect-ratio: 1 / 1; height: auto !important; margin: 0 !important; overflow: hidden; border: 1px solid var(--bj-line, #ece9e6); border-radius: var(--bj-control-radius, 8px); background: var(--bj-template-media-surface, #f1f1f1); box-sizing: border-box; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn[aria-selected="true"] > div:first-child { border-color: var(--bj-ink, #1f1f1f); box-shadow: inset 0 0 0 1px var(--bj-ink, #1f1f1f); }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn > div:first-child img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transform: scale(1.7); }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn > div:last-child { display: block !important; align-self: stretch !important; width: 100% !important; box-sizing: border-box; max-width: 100% !important; min-width: 0; padding: 0 !important; text-align: center; }   /* 글 상자 = 칸 폭(넘치면 이름이 칸마다 쏠려 보임) */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn > div:last-child > div { display: block !important; margin: 0 !important; padding: 0 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bj-ink, #181817); font-size: calc(var(--pdp-type-utility-size, 15px) * .875) !important; line-height: 1.35 !important; font-weight: var(--bjw-w-body, 400) !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn > div:last-child > div + div { color: var(--bj-muted, #66635e); font-size: calc(var(--pdp-type-utility-size, 15px) * .8) !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn .ompPickBtnQtyTxt, html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn .ompPickBtnPriceTxt:empty { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn:not([data-env-price=""]) .ompPickBtnPriceTxt { display: inline !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn > div:last-child *, html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn > div:last-child { text-align: center !important; justify-content: center !important; margin-left: 0 !important; padding-left: 0 !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn > div:last-child > div { width: 100% !important; max-width: 100% !important; box-sizing: border-box; flex: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn .ompPickBtnPriceTxt { font-size: calc(var(--pdp-type-utility-size, 15px) * .8) !important; line-height: 1.35 !important; font-weight: var(--bjw-w-body, 400) !important; color: var(--bj-muted, #66635e) !important; letter-spacing: 0 !important; }   /* 옛 부품 값 글의 크기(15~16)를 칸 글 크기로 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 .omp_pick_btn[data-env-dup] { display: none !important; }   /* 서버 목록에 같은 봉투가 두 번(기본 표시 + 일반) — 사진 격자에선 하나만 · 고른 줄이면 숨기지 않음(화면 스크립트) */
}

/* ══ 카드만 «봉투 종류» — 실제 봉투 사진 격자 (2026-11-18 대표님 «봉투 이미지?» · 11f000c3) — 풀세트 봉투 칸과 같은 모양 ══
   닫힌 칸 = 고른 봉투 사진 + 이름·값 · 누르면 칸 아래로 사진 격자(한 줄 4 · 스크롤 막대 없음 · 기기 고르기 창 안 씀). 고르기 줄(select)은 값의 원천으로 숨겨 둔다. */
@media (min-width: 768px) {
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick > .pdp-one__field { position: relative; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick > .pdp-one__field > select { pointer-events: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-toggle { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: var(--bj-control-radius, 8px); background: transparent; cursor: pointer; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-toggle:focus-visible { outline: 2px solid var(--bj-ink, #181817); outline-offset: 2px; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-one__face { display: flex; align-items: center; gap: var(--bj-space-1, 8px); min-width: 0; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-face__photo { flex: none; width: 40px; height: 28px; padding: 2px; box-sizing: border-box; object-fit: contain; border-radius: 4px; background: #f0f0f0; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-face__photo[hidden] { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-grid[hidden] { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bj-space-1, 8px); margin: var(--bj-space-1, 8px) 0 0; padding: 0; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-tile { display: flex; flex-direction: column; align-items: stretch; gap: calc(var(--bj-space-1, 8px) / 2); min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--bj-ink, #181817); font: inherit; text-align: center; cursor: pointer; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-tile:focus-visible { outline: 2px solid var(--bj-ink, #181817); outline-offset: 2px; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-tile__photo { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--bj-line, #ece9e6); border-radius: var(--bj-control-radius, 8px); background: var(--bj-template-media-surface, #f1f1f1); box-sizing: border-box; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-tile[aria-selected="true"] .pdp-env-tile__photo { border-color: var(--bj-ink, #1f1f1f); box-shadow: inset 0 0 0 1px var(--bj-ink, #1f1f1f); }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-tile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-tile__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(var(--pdp-type-utility-size, 15px) * .875) !important; line-height: 1.35 !important; font-weight: var(--bjw-w-body, 400) !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-tile__price { display: block; color: var(--bj-muted, #66635e); font-size: calc(var(--pdp-type-utility-size, 15px) * .8) !important; line-height: 1.35 !important; }
    /* 칸 열둘 넘으면 한 줄 + «봉투 N개 더 보기»(실링·리본 격자와 같은 클래스·버튼 꼴 · 3cad269a) */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow.is-addon-folded .ompChoice2 .omp_pick_btn.is-addon-extra { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 > .pdp-addon-more { display: block; width: 100%; margin: var(--bj-space-1, 8px) 0 0; padding: var(--bj-space-1, 8px); border: 1px solid var(--bj-line, #ece9e6); border-radius: var(--bj-control-radius, 8px); background: transparent; color: var(--bj-ink, #1f1f1f); font: inherit; font-size: calc(var(--pdp-type-utility-size, 15px) * .875); line-height: 1.4; cursor: pointer; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 > .pdp-addon-more[hidden] { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick.is-addon-folded .pdp-env-tile.is-addon-extra { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-grid > .pdp-addon-more { grid-column: 1 / -1; margin: 0; display: block; width: 100%; padding: var(--bj-space-1, 8px); border: 1px solid var(--bj-line, #ece9e6); border-radius: var(--bj-control-radius, 8px); background: transparent; color: var(--bj-ink, #1f1f1f); font: inherit; font-size: calc(var(--pdp-type-utility-size, 15px) * .875); line-height: 1.4; cursor: pointer; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-grid > .pdp-addon-more[hidden] { display: none !important; }
}

/* ══ 고르기 창 pdp-pick-modal (2026-11-18 대표님 «차라리 모달로 띄워주는 게 낫지» · 11f000c3) — PC 가운데 창 ══
   봉투(풀세트·카드만)를 누르면 구매 칸 아래로 펼치지 않고 이 창에 실제 사진 격자 · 고르면 바로 닫힘. 안쪽 스크롤 막대는 보이지 않게(넘치면 안에서만 밀림).
   부품 이름·구조는 셀프 전용 상세(515e1ab4)와 같다. 사진 칸·고른 표시·글 크기 = 실링 격자(#42166)와 같은 꼴. */
@media (min-width: 768px) {
    /* 문서만 잠근다. body도 잠그면 별도 스크롤 컨테이너가 되어 구매 패널이 뷰포트를 따라오지 않는다. */
    html.pdp-pick-modal-open { overflow: hidden !important; }
    html body .pdp-pick-modal[hidden] { display: none !important; }
    html body .pdp-pick-modal { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: var(--bj-space-3, 24px); background: rgba(24, 24, 23, .44); }
    html body .pdp-pick-modal .pdp-pick-modal__box { display: flex; flex-direction: column; width: min(720px, calc(150vh - 470px), 100%); min-width: min(480px, 100%); max-height: calc(100vh - 48px);   /* 키 낮은 PC(1440×768)도 봉투 23종(한 줄 6 · 넉 줄)이 창 높이 안에 — 높이에 맞춰 폭(= 칸 크기)을 줄임 · 안쪽 스크롤 없음 */ border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 12px 40px rgba(24, 24, 23, .18); }
    html body .pdp-pick-modal .pdp-pick-modal__head { align-self: stretch !important; width: 100% !important; box-sizing: border-box; text-align: left; display: flex; align-items: center; justify-content: space-between !important; gap: var(--bj-space-1, 8px); padding: var(--bj-space-2, 16px) var(--bj-space-2, 16px) var(--bj-space-2, 16px) calc(var(--bj-space-2, 16px) + 4px); border-bottom: 1px solid var(--bj-line, #ece9e6); }
    html body .pdp-pick-modal .pdp-pick-modal__title { color: var(--bj-ink, #181817); font-size: var(--bjw-t3-size, 16px); font-weight: var(--bjw-w-strong, 600); line-height: var(--bjw-t3-line, 1.4); }
    html body .pdp-pick-modal .pdp-pick-modal__close { position: relative; flex: none; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
    html body .pdp-pick-modal .pdp-pick-modal__close::before, html body .pdp-pick-modal .pdp-pick-modal__close::after { content: ''; position: absolute; top: 50%; left: 50%; width: 18px; height: 1.5px; background: var(--bj-ink, #181817); }
    html body .pdp-pick-modal .pdp-pick-modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
    html body .pdp-pick-modal .pdp-pick-modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
    html body .pdp-pick-modal .pdp-pick-modal__body { align-self: stretch !important; width: 100% !important; box-sizing: border-box; padding: var(--bj-space-2, 16px) calc(var(--bj-space-2, 16px) + 4px) calc(var(--bj-space-2, 16px) + 4px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
    html body .pdp-pick-modal .pdp-pick-modal__body::-webkit-scrollbar { display: none; width: 0; height: 0; }
    html body .pdp-pick-modal .pdp-pick-modal__tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--bj-space-1, 8px) var(--bj-space-1, 8px); }
    html body .pdp-pick-modal .pdp-pick-modal__tile { display: flex; flex-direction: column; align-items: stretch; gap: calc(var(--bj-space-1, 8px) / 2); min-width: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--bj-ink, #181817); font: inherit; text-align: center; cursor: pointer; }
    html body .pdp-pick-modal .pdp-pick-modal__tile:focus-visible { outline: 2px solid var(--bj-ink, #181817); outline-offset: 2px; border-radius: var(--bj-control-radius, 8px); }
    html body .pdp-pick-modal .pdp-pick-modal__photo { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--bj-line, #ece9e6); border-radius: var(--bj-control-radius, 8px); background: var(--bj-template-media-surface, #f1f1f1); box-sizing: border-box; }
    html body .pdp-pick-modal .pdp-pick-modal__tile[aria-selected="true"] .pdp-pick-modal__photo { border-color: var(--bj-ink, #1f1f1f); box-shadow: inset 0 0 0 1px var(--bj-ink, #1f1f1f); }
    html body .pdp-pick-modal .pdp-pick-modal__photo img { display: block; width: 100%; height: 100%; padding: 0; box-sizing: border-box; object-fit: contain; transform: none; }   /* (11-18 대표님 «썸네일에 여백도 없이») 사진 통째로 · 잘림 0 — 상품 사진 자체에 연한 바탕 여백이 있어 그 여백이 칸 여백(덧붙이면 봉투가 너무 작아짐) */
    html body .pdp-pick-modal .pdp-pick-modal__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--bjw-t4-size, 14px); line-height: var(--bjw-t4-line, 1.4); }
    html body .pdp-pick-modal .pdp-pick-modal__price { display: block; color: var(--bj-muted, #66635e); font-size: var(--bjw-t4-size, 14px); line-height: var(--bjw-t4-line, 1.4); }
    /* 구매 칸 안의 봉투 목록·격자는 더 펼치지 않는다(고르기 줄은 숨긴 채 값·주문의 원천으로만) */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice2 { display: none !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-grid { display: none !important; }
}

/* ══ 고르기 창 pdp-pick-modal 넓힘 (2026-11-18 대표님 «추가 구성도 모달로 만들었어?» · 18c8273f) — PC 가운데 창 ══
   추가 구성품 창이 같은 창에 탭 줄(__tabs · __tab · 고른 개수 __tab-badge) · 칸 위 한 줄(__cap · 같은 단위·값 한 번) · 고른 칸 개수 줄(__qty: 이름 · − 개수 + · 줄 값)
   · 아래 줄(__foot: 추가 구성품 합계 · «담기» __done)을 더한다. 봉투 창(탭·개수·담기 없음)은 이 줄들이 숨어 지금 꼴 그대로. 머리·탭·개수·아래 줄은 줄지 않고 칸 몸통만 안에서 밀린다. */
@media (min-width: 768px) {
    html body .pdp-pick-modal .pdp-pick-modal__head, html body .pdp-pick-modal .pdp-pick-modal__tabs, html body .pdp-pick-modal .pdp-pick-modal__qty, html body .pdp-pick-modal .pdp-pick-modal__foot { flex: none !important; }
    html body .pdp-pick-modal .pdp-pick-modal__body { flex: 1 1 auto; min-height: 0; }
    html body .pdp-pick-modal .pdp-pick-modal__tabs { align-self: stretch !important; width: 100% !important; box-sizing: border-box; display: flex; gap: 4px; margin: 0; padding: 0 20px; border-bottom: 1px solid var(--bj-line, #ece9e6); overflow-x: auto; scrollbar-width: none; }
    html body .pdp-pick-modal .pdp-pick-modal__tabs::-webkit-scrollbar { display: none; }
    html body .pdp-pick-modal .pdp-pick-modal__tabs[hidden], html body .pdp-pick-modal .pdp-pick-modal__qty[hidden], html body .pdp-pick-modal .pdp-pick-modal__foot[hidden], html body .pdp-pick-modal .pdp-pick-modal__cap[hidden] { display: none !important; }
    html body .pdp-pick-modal .pdp-pick-modal__tab { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; margin: 0; padding: 0 12px; border: 0; background: none; color: var(--bj-muted, #66635e); font: inherit; font-size: var(--bjw-t4-size, 14px); white-space: nowrap; cursor: pointer; }
    html body .pdp-pick-modal .pdp-pick-modal__tab[aria-selected="true"] { color: var(--bj-ink, #181817); font-weight: var(--bjw-w-strong, 600); }
    html body .pdp-pick-modal .pdp-pick-modal__tab[aria-selected="true"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--bj-ink, #181817); }
    html body .pdp-pick-modal .pdp-pick-modal__tab:focus-visible { outline: 2px solid var(--bj-ink, #181817); outline-offset: -2px; border-radius: 6px; }
    html body .pdp-pick-modal .pdp-pick-modal__tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bj-ink, #181817); color: #fff; font-size: var(--bjw-t4-size, 14px); font-weight: var(--bjw-w-strong, 600); line-height: 1; }
    html body .pdp-pick-modal .pdp-pick-modal__cap { margin: 0 0 var(--bj-space-1, 8px); color: var(--bj-muted, #66635e); font-size: var(--bjw-t4-size, 14px); line-height: var(--bjw-t4-line, 1.4); }
    html body .pdp-pick-modal .pdp-pick-modal__qty { align-self: stretch !important; width: 100% !important; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; margin: 0; padding: 10px 20px; border-top: 1px solid var(--bj-line, #ece9e6); background: #faf9f7; }
    html body .pdp-pick-modal .pdp-pick-modal__qty-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bj-ink, #181817); font-size: var(--bjw-t3-size, 16px); font-weight: var(--bjw-w-strong, 600); }
    html body .pdp-pick-modal .pdp-pick-modal__qty-ctl { display: inline-grid; grid-template-columns: 36px 40px 36px; align-items: center; height: 36px; border: 1px solid #d9d4ce; border-radius: 8px; overflow: hidden; background: #fff; }
    html body .pdp-pick-modal .pdp-pick-modal__qty-ctl button { height: 100%; margin: 0; padding: 0; border: 0; background: none; color: var(--bj-ink, #181817); font: inherit; font-size: var(--bjw-t3-size, 16px); line-height: 1; cursor: pointer; }
    html body .pdp-pick-modal .pdp-pick-modal__qty-ctl output { text-align: center; font-size: var(--bjw-t3-size, 16px); font-weight: var(--bjw-w-strong, 600); }
    html body .pdp-pick-modal .pdp-pick-modal__qty-ctl.is-fixed { grid-template-columns: auto auto; gap: 10px; height: auto; border: 0; background: none; overflow: visible; }
    html body .pdp-pick-modal .pdp-pick-modal__qty-ctl.is-fixed output::before { content: '×'; }
    html body .pdp-pick-modal .pdp-pick-modal__qty-ctl .pdp-pick-modal__qty-drop { height: auto; padding: 4px 0; font-size: var(--bjw-t4-size, 14px); color: var(--bj-muted, #66635e); text-decoration: underline; text-underline-offset: 3px; }
    html body .pdp-pick-modal .pdp-pick-modal__qty-sum { min-width: 72px; text-align: right; color: var(--bj-ink, #181817); font-size: var(--bjw-t3-size, 16px); font-weight: var(--bjw-w-strong, 600); white-space: nowrap; }
    html body .pdp-pick-modal .pdp-pick-modal__foot { align-self: stretch !important; width: 100% !important; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between !important; gap: 16px; margin: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--bj-line, #ece9e6); background: #fff; }
    html body .pdp-pick-modal .pdp-pick-modal__note { margin: 0; min-width: 0; color: var(--bj-muted, #66635e); font-size: var(--bjw-t4-size, 14px); line-height: var(--bjw-t4-line, 1.4); }
    html body .pdp-pick-modal .pdp-pick-modal__note b { color: var(--bj-ink, #181817); font-size: var(--bjw-t3-size, 16px); font-weight: var(--bjw-w-strong, 600); }
    html body .pdp-pick-modal .pdp-pick-modal__done { flex: none; min-width: 120px; min-height: 48px; margin: 0; padding: 0 24px; border: 0; border-radius: var(--bj-control-radius, 8px); background: var(--bj-ink, #181817); color: #fff; font: inherit; font-size: var(--bjw-t3-size, 16px); font-weight: var(--bjw-w-strong, 600); cursor: pointer; }
    html body .pdp-pick-modal .pdp-pick-modal__done:focus-visible, html body .pdp-pick-modal .pdp-pick-modal__qty-ctl button:focus-visible { outline: 2px solid var(--bj-ink, #181817); outline-offset: 2px; }
    html body .pdp-pick-modal .pdp-pick-modal__price { white-space: pre-line; }   /* 넘긴 글의 줄바꿈(단위 «\n»  값)만 줄을 나눈다 — 봉투 값은 한 줄 그대로 */
    html body .pdp-pick-modal .pdp-pick-modal__cap del { color: var(--bjw-c-muted, #a39d96); text-decoration: line-through; }
    html body .pdp-pick-modal .pdp-pick-modal__cap b { color: var(--bj-ink, #181817); font-weight: var(--bjw-w-strong, 600); }
    /* 닫힌 «추가 구성품» 줄 — 고른 이름은 남는 폭만 쓰고 한 줄 말줄임(…), «+합계»는 늘 오른쪽에 온전히(▾ 와 안 겹침 · 지킴이 #42316) */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-fold .pdp-offer-fold__now { overflow: hidden !important; text-overflow: clip !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-fold .pdp-offer-fold__now > .pdp-offer-fold__names { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-fold .pdp-offer-fold__now[data-sum]::after { flex: none !important; white-space: nowrap !important; }
}
/* (11-18 디자인 팀장 · 글 14 미만 없음) 고르기 창 안 이름 없는 글 조각(탭 글 span · 정가 del · 값 b)은 옛 공용 «* { font-size: var(--bjw-t4-size, 12px)}»를 받아 12 였다 → 부모 크기를 따른다 */
html body .pdp-pick-modal :is(.pdp-pick-modal__tab, .pdp-pick-modal__cap, .pdp-pick-modal__unit, .pdp-pick-modal__note, .pdp-pick-modal__price) :is(span, b, del, s, em, i, strong):not([class]) { font-size: inherit; line-height: inherit; }

/* (11-18 515e1ab4 · 지킴이 #42371 조건) 고르기 창 몸통에 내려 볼 칸이 남으면 아래 32px 흐림 — 막대가 없어 맨 아래 칸이 잘린 듯 보이던 것(셀프 상세 공용 창과 같은 규칙) */
@media (min-width: 768px) {
    html body .pdp-pick-modal .pdp-pick-modal__body.is-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); }
}

/* (2026-11-19 4e96 늦게 받기 점검 L3 · 11f000c3) PC 에서 아래로 내리다 단추 덩이가 바닥에서 떨어지는 순간(그리고 다시 붙는 순간) 아래 본문이 38~42 튀었다.
   까닭: 붙어 있는 동안만 «N부 · 총액» 줄(.pdp-one__stickline)이 덩이 «안»에 들어오고 위아래 여백도 바뀌어(8/10 ↔ 0/14),
   흐름 속 덩이 높이가 103.6 ↔ 66 으로 오갔다 — 덩이는 바닥에 붙어 있어도 제자리 높이만큼 본문을 민다.
   고침: 그 줄을 덩이 위쪽 바깥(bottom:100%)에 겹쳐 그리고 덩이 여백은 두 상태 같게(0/14) — 흐름 높이가 늘 같다.
   보이는 모양은 그대로(줄·흰 바탕·위 흐림 띠 · 띠는 줄 위로 옮김). 따라오는 칸(.pdp-follow__slot)에선 이 줄을 쓰지 않으므로 뺀다. 폰(767 이하)은 줄이 없다. */
@media (min-width: 768px) {
    html body.pdp-modern-page.pdp-one-on .pdp-hero-purchase:not(.pdp-follow__slot) .pdp-purchase-actions.pdp-one__stick:has(> .pdp-one__stickline:not([hidden])) {
        padding-top: 0 !important; padding-bottom: 14px !important;   /* 떨어진 때와 같은 0/14 — 붙은 동안 단추가 종전보다 4 위(아래 여백 10→14) */
    }
    html body.pdp-modern-page.pdp-one-on .pdp-hero-purchase:not(.pdp-follow__slot) .pdp-purchase-actions.pdp-one__stick:has(> .pdp-one__stickline:not([hidden]))::before {
        content: none !important;
    }
    /* :not(#_) 넷 = 위 «줄 아래 띄움 4»(:is(#productDetailOptions×3 …) · !important)보다 세게 — 겹쳐 그린 줄은 바깥 여백 0(안 그러면 4 떠서 덩이 윗변이 4 올라가 띠가 윗줄을 덮음) */
    html body.pdp-modern-page.pdp-one-on .pdp-hero-purchase:not(.pdp-follow__slot) .pdp-purchase-actions.pdp-one__stick > .pdp-one__stickline:not([hidden]):not(#_):not(#_):not(#_):not(#_) {
        position: absolute !important; right: 0; bottom: 100%; left: 0; z-index: 1;
        margin: 0 !important; padding: 4px 0 4px; background: #fff;   /* 위 4 = 종전 덩이 위 여백 8 − 아래 여백이 4 커진 몫 → 보이는 덩이 높이·윗변이 종전과 같다(띠가 윗줄을 더 덮지 않게 · 디자인 팀장 11-19 03:48) */
    }
    html body.pdp-modern-page.pdp-one-on .pdp-hero-purchase:not(.pdp-follow__slot) .pdp-purchase-actions.pdp-one__stick > .pdp-one__stickline:not([hidden])::before {
        content: ''; position: absolute; right: 0; bottom: 100%; left: 0;
        height: max(32px, var(--pdp-stick-fade, 32px));
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 13px); pointer-events: none;
    }
    /* 띠 높이·흐림은 위 덩이 ::before 규칙(디자인 팀장 #14 · data-stick-cut)과 같은 뜻 — 높이를 재는 기준(보이는 윗변 = 이 줄 윗변)은 m/product_detail_price.php stickTopY */
    html body.pdp-modern-page.pdp-one-on .pdp-hero-purchase:not(.pdp-follow__slot) .pdp-purchase-actions.pdp-one__stick[data-stick-cut="cover"] > .pdp-one__stickline:not([hidden])::before {
        height: var(--pdp-stick-fade, 32px);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff var(--pdp-stick-fadein, 13px));   /* (11-19 K1) 흐림 길이 = 마지막 보이는 줄 아래 6px 뒤부터 덮을 곳까지(0~13 · stickOver) — 띠가 이 줄 위로 옮겨 온 뒤에도 같게 */
    }
    html body.pdp-modern-page.pdp-one-on .pdp-hero-purchase:not(.pdp-follow__slot) .pdp-purchase-actions.pdp-one__stick[data-stick-cut="soft"] > .pdp-one__stickline:not([hidden])::before {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 24px);
    }
}

/* ══ (11-19 11f000c3 · 사용자 «닫힌 칸 봉투가 빈 봉투 아이콘처럼 보임») 닫힌 «봉투 종류» 칸의 고른 봉투 사진 ══
   사진은 그대로 등록 봉투 사진(data-product-src · bp*_a_1.jpg)이지만 사진 바탕 여백이 커서(봉투 = 사진 폭의 47~59%) 40×28 칸에 통째로 넣으면
   봉투가 13px 쯤으로 줄어 «빈 봉투 아이콘»처럼 보였다. 고르기 격자(scale 1.7)처럼 사진 바깥 여백만 잘라 봉투를 크게 — 48×36 칸 ·
   사진은 53×59 로 그려 둘레 여백만 clip-path 로 가림(가로형 bp000 봉투 폭 13 → 31px · 세로형 bp004 도 위아래 안 잘림). 풀세트·카드 단품 · PC·폰 같은 꼴. */
html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box .pdp-one .pdp-one__state > .pdp-one__items--plain > .pdp-one__item--envelope #ompEnvelopeRow .ompChoice1 .pdp-env-face__photo,
html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__row--env-pick .pdp-env-face__photo {
    width: 53px; height: 59px; margin: -11.5px -2.5px; padding: 0; object-fit: fill; background: none;
    clip-path: inset(11.5px 2.5px round 4px);
}
html body .pdp-pick-modal .pdp-pick-modal__tag { display: block; width: fit-content; margin: 2px auto 0; padding: 0 6px; border-radius: 999px; background: var(--pdp-color-badge-neutral-bg, #f2f0ed); color: var(--pdp-color-badge-neutral-ink, #66635e); font-size: var(--pdp-type-badge-size, 11px); font-weight: var(--bjw-w-body, 500); line-height: var(--bjw-t4-line, var(--pdp-type-badge-line, 18px)); white-space: nowrap; }   /* (11-19) 프리미엄 봉투 표지 — 상세 배지(.pdp-product-badge)와 같은 토큰 */
html body .pdp-pick-modal .pdp-pick-modal__photo { position: relative; } html body .pdp-pick-modal .pdp-pick-modal__photo .pdp-pick-modal__tag { position: absolute; top: 6px; left: 6px; margin: 0; }   /* (11-19 디자인 팀장 14:27 ⓐ) 표지 = 사진 칸 왼쪽 위 알약 — 이름·값 두 줄은 모든 칸 같은 높이(종전: 표지가 이름과 값 사이 한 줄로 끼어 값 줄이 어긋남) */

/* (2026-11-20 대표님 pb2194 «추가 구성품도 수량만 선택하게» · 11f000c3 ③) 카드 단품 추가 구성품 창 rows 꼴 — 품목마다 한 줄 «사진 · 이름·단위 · − 수량 +»(0 = 안 담김 · 여러 종).
 *   셀프 상세 공용 창(common/pdp-pick-modal.css rows 절)과 같은 값 · −·+ 칸은 아래 개수 줄과 같은 부품(.pdp-pick-modal__qty-ctl) · 폰·PC 같음 */
html body .pdp-pick-modal .pdp-pick-modal__tiles.is-rows { display: block; }
html body .pdp-pick-modal .pdp-pick-modal__row { display: grid; grid-template-columns: calc(var(--bj-space-2, 16px) * 3) minmax(0, 1fr) auto; align-items: center; gap: calc(var(--bj-space-1, 8px) * 1.5); padding: calc(var(--bj-space-1, 8px) * 1.25) 0; border-bottom: 1px solid var(--bj-line, #ece9e6); }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__photo { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--bj-line, #ece9e6); border-radius: var(--bj-control-radius, 8px); background: #fff; }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__photo img { display: block; width: 100%; height: 100%; object-fit: contain; transform: none; }
html body .pdp-pick-modal .pdp-pick-modal__row-text { display: flex; flex-direction: column; min-width: 0; text-align: left; }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--bjw-t3-size, 15px); line-height: var(--bjw-t3-line, 20px); }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__price { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bj-muted, #66635e); font-size: var(--bjw-t4-size, 14px); line-height: var(--bjw-t4-line, 20px); }
html body .pdp-pick-modal .pdp-pick-modal__row.is-on .pdp-pick-modal__name { font-weight: var(--bjw-w-strong, 600); }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__qty-ctl { display: inline-grid; grid-template-columns: var(--bj-control-height, 48px) 40px var(--bj-control-height, 48px); align-items: center; height: var(--bj-control-height, 48px); border: 1px solid #d9d4ce; border-radius: 8px; overflow: hidden; background: #fff; }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__qty-ctl button { height: 100%; margin: 0; padding: 0; border: 0; background: none; color: var(--bj-ink, #181817); font: inherit; font-size: var(--bjw-t2-size, 18px); line-height: 1; cursor: pointer; }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__qty-ctl button:disabled { color: var(--bjw-c-muted, #b3ada6); cursor: default; }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__qty-ctl output { text-align: center; font-size: var(--bjw-t3-size, 15px); font-weight: var(--bjw-w-strong, 600); }
html body .pdp-pick-modal .pdp-pick-modal__row:not(.is-on) .pdp-pick-modal__qty-ctl output { color: var(--bj-muted, #66635e); font-weight: var(--bjw-w-body, 400); }
html body .pdp-pick-modal .pdp-pick-modal__row .pdp-pick-modal__qty-ctl button:focus-visible { outline: 2px solid var(--bj-ink, #181817); outline-offset: 2px; }
