/* 청첩장 상세 — 폰에서만 생기는 흠 정돈 (11-18 · 대표님 «60점 → 100점» · 11f000c3 «폰 390 구역»)
   싣는 곳: common/wedding_fullset_presentation.php wedding_fullset_assets() — <link media="(max-width: 767px)"> 로만 싣는다.
   그래서 이 파일은 PC 에 0 이다(PC 1440·1312 사진 대조로 확인). 새 숫자를 짓지 않고 화면이 이미 쓰는 값·토큰만 쓴다.
   (안쪽에도 같은 폭 조건을 한 번 더 둔다 — 누가 media 없이 싣더라도 PC 에 닿지 않게.)
   아래 구역 제목·이벤트 줄 16 맞춤은 product-detail-lower-calm.css(#41348) · 사은품·종이 창 꼴은 그 창 주인(3b08c989) 몫 — 여기선 그 밖만. */
@media (max-width: 767px) {

    /* ① 오른쪽 끝 한 줄 — «주문에서 출고까지»·«주문 전 유의사항» 줄은 왼쪽 16 인데 오른쪽 끝이 366(최대 폭 100% − 40)이라
       위 구역(374)보다 8 짧았다. 폭 1000 규칙이 밑에 깔려 있어 폭도 auto 로 함께 푼다. */
    html body.pdp-modern-page .pdp-production-surface {
        width: auto;
        max-width: none;
        margin-left: var(--pdp-page-gutter, 16px);
        margin-right: var(--pdp-page-gutter, 16px);
    }
    /* 디자이너 상세 안 영상 칸 — 20 여백(읽기 폭 100% − 40) → 페이지 여백 */
    html body.pdp-modern-page .pdp-editorial-detail .pd_area_video {
        width: auto;
        max-width: none;
        margin-left: var(--pdp-page-gutter, 16px);
        margin-right: var(--pdp-page-gutter, 16px);
    }

    /* ② 손가락 단추 — 이벤트 넘김 «← →» 38 → 44(이 화면 닫기 단추와 같은 크기) */
    html body.pdp-modern-page #pdp-events .pdp-event-rail__button {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
    /* 글자 단추 «리뷰 전체보기»·«전체 디자인»·«블로그·SNS 후기 이벤트 안내» — 높이 32 → 누르는 칸 44.
       보이는 자리는 그대로(늘린 12 를 위아래 바깥 여백에서 6씩 덜어 냄 — 위 구역 사진 픽셀 대조 0 으로 확인). */
    html body.pdp-modern-page .pdp-upper-rows a.pdp-upper-row__all,
    html body.pdp-modern-page .pdp-wedding-editorial #pdp-reviews > .pdp-review-secondary a.pdp-review-secondary__event {
        min-height: 44px;
        margin-top: -6px;
        margin-bottom: -6px;
    }
    html body.pdp-modern-page .pdp-related-products__all {
        min-height: 44px;
        margin-top: 6px;
        margin-bottom: -6px;
    }

    /* ③ 구성(세트 | 카드만 셀프) — 폰에서만 테두리 상자 둘(고른 쪽 검은 굵은 테두리)이라, 바로 위 «형태»(회색 통 + 고른 쪽 흰 칸)와
       PC 의 같은 단추(회색 통 + 흰 칸)와 꼴이 달랐다(흠목록 §9). 폰 «형태» 통·칸 값을 그대로 옮겨 한 꼴로 — 글·값·두 줄 배치는 그대로.
       기존 규칙이 #productDetailOptions 아이디 + !important 라 아이디 세 번으로 이긴다(PC buy-calm 과 같은 방식). */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__tog {
        gap: 4px !important;
        padding: 4px !important;
        border: 0 !important;
        border-radius: 10px !important;
        background-color: var(--bj-header-surface, #fdfdfc) !important;   /* (11-18) 구매 칸 상자 바탕 = 헤더 바탕 — 아래 ⑤ */
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__tog .pdp-one__tog-item {
        border: 0 !important;
        border-radius: 7px !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__tog .pdp-one__tog-item[aria-pressed="true"] {
        background-color: #fff !important;
        box-shadow: 0 1px 2px rgba(26, 26, 24, .16) !important;
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__tog .pdp-one__tog-item[aria-pressed="false"] > strong {
        font-weight: 400 !important;   /* (11-18 2차 채점 D ③) 500 → 400 — 안 고른 쪽 = 400(PC 와 같은 2굵기 · 아래 ⑥) */
        color: #55524c !important;
    }

    /* ④ 위에 붙는 탭 줄 «←» — 칸 44 라 화살표와 «상세»가 바짝 붙어 보였다 → PC 와 같은 칸 54(탭 다섯 칸은 남은 폭을 고르게 나눔) */
    html body.pdp-modern-page [data-pdp-section-nav] .pdp-section-nav__back {
        width: 54px;
        flex-basis: 54px;
        min-width: 54px;
    }

    /* ⑤ 구매 칸 상자 바탕 = 헤더 바탕(--bj-header-surface #fdfdfc) — 2026-11-18 대표님 직접 «셀렉트 박스 바탕을 fdfdfc 헤더 부분의 바탕과 똑같이 하라니까, 왜 여기 틀리냐?»
       PC(product-detail-buy-calm.css --pdp-buy-surface)와 같은 토큰. 폰은 형태 통(#f1efe9 · wedding-fullset.css)·구성 통(위 ③)이 회색이고
       수량·종이·사은품·추가 구성품 상자는 흰 바탕이라 두 가지였다 → 바탕색만 한 톤. 폰 테두리·고른 칸 흰색·화살표 그림은 그대로. */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__shape .pdp-one__pill,
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions :is(.pdp-one__field, .pdp-one__qtywrap) select,
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__giftbox,
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-fold {
        background-color: var(--bj-header-surface, #fdfdfc) !important;
    }

    /* ── 고르는 칸 한 규칙(2026-11-18 대표님 «헤더와 같은 색으로 하니까 너무 안 보이는데 1px 테두리?» → «네 추천대로 해봐») ──
       · 고르는 칸(모서리·수량·크기·종이 셀렉트 · 사은품 · 추가 구성품 · 형태·구성 단추 한 칸 한 칸) = 헤더 바탕 #fdfdfc + 1px 옅은 선(구분선과 같은 --bj-line)
       · 고른 칸 = 흰 바탕 + 1px 진한 선(--bj-ink) · 안 고른 칸 = 옅은 선 · 그림자 없음 — 종전엔 «엽서형»은 떠 있는 흰 칸, 셀렉트는 선 없음/진한 회색 선으로 제각각.
       · 형태·구성 통은 칸마다 선이 생기므로 통 자체 바탕·안쪽 여백은 걷고 칸 사이 8.
       · 글 크기·굵기는 아래 ⑥. PC(product-detail-buy-calm.css)와 폰(product-detail-mobile-polish.css)에 같은 값. */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one :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 #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one :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-header-surface, #fdfdfc) !important; box-shadow: none !important;
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__pill-item { min-height: 48px !important; }   /* 셀렉트 칸(48)과 같은 높이 — 통 안쪽 여백을 걷은 만큼 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one :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;
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions :is(.pdp-one__field, .pdp-one__qtywrap) select,
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__giftbox,
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-fold {
        border-color: var(--bj-line, #ece9e6) !important;   /* 종전 진한 회색 선(--bj-line-strong) → PC 와 같은 옅은 선 */
    }
    /* 모든 고르는 칸 글 시작 = 안쪽 16(셀렉트·사은품 12 · 구성·추가 구성품 16 으로 섞여 글이 줄마다 4 어긋났다) · 둥글기 = --bj-control-radius 하나 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions :is(.pdp-one__field, .pdp-one__qtywrap) select,   /* 수량 셀렉트는 .pdp-one 밖(.pdp-quantity-block)에 있다 */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one :is(.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; }
    /* 구성 두 칸 높이 같게 — 고른 칸 64 · 안 고른 칸 68 로 어긋났다(단추는 그리드 늘이기가 안 먹음) */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__tog .pdp-one__tog-item { height: 100% !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-header-surface, #fdfdfc) !important; box-shadow: none !important;
    }

    /* ⑥ 글 단계 = PC 와 같은 4단계·2굵기(2026-11-18 상세 2차 채점 D ③ «폰 구매 칸 글 조합 9~10가지 → 5개 이하» · 11f000c3)
       PC(product-detail-buy-calm.css «글» 블록)와 같은 토큰: 제목·총액 24/600 · 값 16/400 · 강조(고른 쪽·사은품 제목) 16/600 · 이름·풀이·작은 값 14/400 · 딱지만 14/500(PC 와 같음).
       종전 폰: 24/700 · 16/700 · 16/500 · 15/700 · 15/500 · 15/400 · 13/500 이 섞여 같은 뜻의 글이 줄마다 크기·굵기가 달랐다.
       크기·굵기만 정한다(색·상자·간격은 위 규칙 그대로). 제목·상품코드·셀픽 탭은 #productDetailOptions 밖이라 위 칸(.pdp-hero-purchase)으로 잡는다. */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) h1.pdp-product-title { font-size: 24px !important; font-weight: 600 !important; line-height: 32px !important; }   /* (11-18 디자인 팀장 구매 칸 위 #3) 줄 높이 PC 와 같은 32(종전 공통 1.4 = 33.6) */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) :is(.pdp-product-code, .pdp-one__face-label, .pdp-offer-fold__title, .pdp-one__gifttxt > i, .pdp-one__add, .pdp-one__tog-item > span, .pdp-one__tog-item > span > b, .pdp-one__total > span, .pdp-one__setpaper > span:first-child) { font-size: 14px !important; font-weight: 400 !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) :is(.pdp-total-section-start, .totalPriceRow) > ul > li:first-child { font-size: 14px !important; font-weight: 400 !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) :is(.pdp-one__face-name, .pdp-one__face-value, .pdp-one__setpaper > b, .pdp-participation-benefits__action > span) { font-size: 16px !important; font-weight: 400 !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) .ui-tab-menu-btn:not(.active):not(.on) .ui-tab-menu-label { font-size: 16px !important; font-weight: 400 !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) :is(.ui-tab-menu-btn.active, .ui-tab-menu-btn.on) .ui-tab-menu-label,
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) .pdp-one__gifttxt > b { font-size: 16px !important; font-weight: 600 !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) :is(.pdp-one__tog-item > strong, .pdp-one__pill-item > b) { font-size: 16px !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) :is(.pdp-one__tog-item[aria-pressed="true"] > strong, .pdp-one__pill-item[aria-pressed="true"] > b) { font-weight: 600 !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) :is(.pdp-one__tog-item[aria-pressed="false"] > strong, .pdp-one__pill-item[aria-pressed="false"] > b) { font-weight: 400 !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) :is(.ompPriceTotal, .pdp-one__total strong > [data-one-out-num], .pdp-one__total strong) { font-size: 24px !important; font-weight: 600 !important; }
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) .pdp-one__total strong > small { font-size: 16px !important; font-weight: 600 !important; }
    /* (2026-11-18 dcfaf6e0 · 11f000c3) 카드만 줄 값 단추(+5,000원 · 꾸미면 +5,000원)와 «식권 50장»의 «50장» — 같은 줄 이름이 16 이라 14 로 남으면 줄 안에서 글 크기가 갈린다.
       PC 와 같은 길(product-detail-buy-calm.css · #41560 · 같은 선택자)로 값 16 · 굵기·색은 그대로. 위 «작은 값 14» 묶음의 다른 칸(딱지·구성 칸 값 글 등)은 그대로. */
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) .pdp-one__rows > .pdp-one__row > .pdp-one__add,
    html body.pdp-modern-page :is(#productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions, .pdp-hero-purchase.pdp-hero-purchase.pdp-hero-purchase) .pdp-one__rows > .pdp-one__row > .pdp-one__name > .pdp-one__sheets { font-size: 16px !important; }
    /* (2026-11-18 11f000c3 «폰 디자인 눈 재검» 흠 ①②) 칸 사이 간격을 토큰(--bj-space-1 8 · --bj-space-2 16)으로 — 모양·글은 그대로.
       ① 풀세트: «크기·종이» 줄 → «포함» 목록, 포함 목록 → 사은품 줄이 12(위 고르는 칸 사이는 8) → 8.
       ② 카드만: «추가 구성품» → «총 주문금액» 줄이 22(한 상자 위 여백 14 + 총액 줄 위 여백 8 · 위 칸 사이는 16) → 상자 위 여백 8 로 16. 풀세트 쪽 상자 위 여백은 그대로. */
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__items { margin-top: var(--bj-space-1, 8px) !important; padding-top: var(--bj-space-1, 8px) !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions .pdp-one .pdp-one__items > .pdp-one__item--gift { padding-top: var(--bj-space-1, 8px) !important; }
    html body.pdp-modern-page.pdp-one-out #productDetailOptions#productDetailOptions#productDetailOptions#productDetailOptions .pdp-offer-box { margin-top: var(--bj-space-1, 8px) !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 (max-width: 767px) {
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__hint {
        background: var(--bj-header-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: 16px !important; font-weight: 400 !important; line-height: 24px !important; box-shadow: none !important;
    }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__hint :is(.pdp-one__hint-text, .pdp-one__hint-text > span) { font-size: 16px !important; font-weight: 400 !important; line-height: 24px !important; color: var(--bj-ink, #181817) !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__hint .pdp-one__hint-amount { font-weight: 600 !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .pdp-one__hint small { font-size: 14px !important; font-weight: 400 !important; line-height: 21px !important; color: var(--bj-muted, #66635e) !important; }
    html body.pdp-modern-page #productDetailOptions#productDetailOptions#productDetailOptions .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: 16px !important; font-weight: 600 !important; line-height: 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 (max-width: 767px) {
    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: var(--bj-space-1, 8px) !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; }   /* 선은 봉투 위 한 줄만 — 봉투와 사은품 사이엔 선 없음 */
    /* (2026-11-18 지킴이 12바퀴 · 11f000c3) 폰 «봉투 흰색 · 기본» → 사은품 24 · 사은품 → 추가 구성품 16 — 같은 고르는 칸 사이가 들쭉날쭉.
       까닭: 봉투 줄 바깥(.orderOptionContent) 최소 높이 --pdp-control-height(폰 52) > 안의 칸 48 → 아래 4 남음 + 사은품 줄 위 8(위 «포함 → 사은품» 4중 ID 규칙).
       → 바깥 최소 높이 0(안의 칸 48 그대로) · 봉투 바로 뒤 사은품 줄 위 여백 space-1 ÷ 2 → 봉투 → 사은품 16(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:not([hidden]) #ompEnvelopeRow .orderOptionContent { min-height: 0 !important; }
    html body.pdp-modern-page #productDetailOptions#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 { padding-top: calc(var(--bj-space-1, 8px) / 2) !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-header-surface, #fdfdfc) !important; box-shadow: none !important;
        color: var(--bj-ink, #181817) !important; font-size: 16px !important; font-weight: 400 !important; line-height: 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: 14px; font-weight: 400; line-height: 21px; }
}

/* «포함» 목록 이름 두 줄 허락 (2026-11-18 김 부장 · #41895 뒤 «모바일 청첩장 5개 · 1개 영구 보관»이 칸(171~200px)보다 길어 오른쪽에서 잘림)
   목록 이름이 nowrap 이라 모든 폭에서 넘쳤다 → 낱말 단위로 둘째 줄로 꺾는다(글·크기·간격 그대로). */
@media (max-width: 767px) {
    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 (max-width: 767px) {
    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 (max-width: 767px) {
    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; min-width: 0; 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: 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: 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 (max-width: 767px) {
    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: 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; }
}

/* 아래 고정 막대 «50부 · 풀세트» (2026-11-18 김 부장 채점 2차 ② «폰 첫 화면에 값·구성이 없다») — 부수 글 뒤에 지금 구성 이름(data-care · 화면 스크립트)
   종전 세로 배치·칸 폭 그대로(가로로 바꾸면 칸이 넓어져 단추 줄을 밀었다) · 부수·구성 줄만 12px 로 줄여 한 줄에 */
@media (max-width: 767px) {
    /* (11-18 디자인 팀장 구매 칸 위 #1) 12 → 14/20 — 390 에서 한 줄 · 단추 자리 그대로(실측). 360 처럼 좁으면 가운뎃점을 빼 단추를 덜 민다(«50부 풀세트») */
    html body.pdp-modern-page .pdp-purchase-dock [data-pdp-dock-quantity-text][data-care] { font-size: 14px !important; line-height: 20px; white-space: nowrap; }
    html body.pdp-modern-page .pdp-purchase-dock [data-pdp-dock-quantity-text][data-care]::after { content: ' · ' attr(data-care); }
    @media (max-width: 374px) {
        /* (11-19 11f000c3 정리 4 ⑨ · dbdf «360 에서만 점이 빠져 같은 글 꼴이 폭마다 바뀜») 점은 남기고 양옆을 가는 칸(2009)으로 — 폭은 종전 빈칸 하나와 비슷 */
        html body.pdp-modern-page .pdp-purchase-dock [data-pdp-dock-quantity-text][data-care]::after { content: '\2009\00B7\2009' attr(data-care); }
    }
}   /* (11-18) 이 @media 를 닫는 괄호가 빠져 있었다(뒤 블록이 모두 폰 미디어라 동작 차이 없음 · 괄호 수 맞춤) */

/* ══ 고르기 창 pdp-pick-modal (2026-11-18 대표님 «차라리 모달로 띄워주는 게 낫지» · 11f000c3) — 폰 아래에서 올라오는 시트 ══
   봉투(풀세트·카드만)를 누르면 구매 칸 아래로 펼치지 않고 이 창에 실제 사진 격자 · 고르면 바로 닫힘. 안쪽 스크롤 막대는 보이지 않게(넘치면 안에서만 밀림).
   부품 이름·구조는 셀프 전용 상세(515e1ab4)와 같다. 사진 칸·고른 표시·글 크기 = 실링 격자(#42166)와 같은 꼴. */
@media (max-width: 767px) {
    html.pdp-pick-modal-open, html.pdp-pick-modal-open body { 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: flex-end; justify-content: center; padding: 0; background: rgba(24, 24, 23, .44); }
    html body .pdp-pick-modal .pdp-pick-modal__box { display: flex; flex-direction: column; width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0; background: #fff; overflow: hidden; }
    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: 16px; font-weight: 600; line-height: 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(4, 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: 14px; line-height: 1.4; }
    html body .pdp-pick-modal .pdp-pick-modal__price { display: block; color: var(--bj-muted, #66635e); font-size: 14px; line-height: 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) — 폰 아래 시트 ══
   추가 구성품 창이 같은 창에 탭 줄(__tabs · __tab · 고른 개수 __tab-badge) · 칸 위 한 줄(__cap · 같은 단위·값 한 번) · 고른 칸 개수 줄(__qty: 이름 · − 개수 + · 줄 값)
   · 아래 줄(__foot: 추가 구성품 합계 · «담기» __done)을 더한다. 봉투 창(탭·개수·담기 없음)은 이 줄들이 숨어 지금 꼴 그대로. 머리·탭·개수·아래 줄은 줄지 않고 칸 몸통만 안에서 밀린다. */
@media (max-width: 767px) {
    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 16px; 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: 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: 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: 14px; font-weight: 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: 14px; line-height: 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 16px; 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: 16px; font-weight: 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: 16px; line-height: 1; cursor: pointer; }
    html body .pdp-pick-modal .pdp-pick-modal__qty-ctl output { text-align: center; font-size: 16px; font-weight: 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: 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: 16px; font-weight: 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 16px 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: 14px; line-height: 1.4; }
    html body .pdp-pick-modal .pdp-pick-modal__note b { color: var(--bj-ink, #181817); font-size: 16px; font-weight: 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: 16px; font-weight: 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: #a39d96; text-decoration: line-through; }
    html body .pdp-pick-modal .pdp-pick-modal__cap b { color: var(--bj-ink, #181817); font-weight: 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 515e1ab4 · 지킴이 #42371 조건) 고르기 창 몸통에 내려 볼 칸이 남으면 아래 32px 흐림 — 막대가 없어 맨 아래 칸이 잘린 듯 보이던 것(셀프 상세 공용 창과 같은 규칙) */
@media (max-width: 767px) {
    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); }
}

/* ══ (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);
}
