/* 상세페이지 접기, 더보기 */
.ui-prd-theme-wrapper {
    position: relative;
}
.pdp-editorial-detail[data-pdp-collapse-initialized="false"] {
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.pdp-editorial-detail[data-pdp-collapse-initialized="false"] + .ui-prd-theme-btn-wrap {
    visibility: hidden;
}
.ui-prd-theme-wrapper[data-pdp-collapse-clean="true"]::after { display: none !important; content: none !important; }   /* (11-19 4판 흠 ①) 깔끔히 끊은 접힘엔 흐림 띠 없음 */
[data-pdp-head-moved="schedule"] { display: none !important; }   /* (11-19 4판 흠 ①) 일정 문장을 «제작·배송 안내»로 옮겨 몸글이 빈 장 머리 */
.ui-prd-theme-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
    display: none;
}
.ui-prd-theme-wrapper.show:after {
    display: block;
}
/* (11-18 3차 점검 N7) 접힌 동안 늦춰 싣는 그림(src 를 data-pdp-deferred-src 로 옮겨 둔 것)은 자리만 지키고 그리지 않는다 —
   src 없는 그림은 브라우저가 깨진 그림 아이콘과 빈 테두리로 그려, 접힘 높이 안에 들어오면 «그림이 깨진 페이지»로 보였다.
   펼치면(loadDeferredMedia) 표지가 지워져 그대로 보인다. 자리(높이)는 그대로라 접힘 높이 계산은 바뀌지 않는다. */
.ui-prd-theme-wrapper img[data-pdp-deferred-media] {
    visibility: hidden;
}
.ui-prd-theme-btn-wrap {
    padding: 14px 0 0;
}
.ui-prd-theme-btn {
    height: 52px;
    width: 100%;
    border: 1px solid #26323c;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(38, 50, 60, 0.16);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    appearance: none;
    -webkit-appearance: none;
}
/* Block surface focus: the full-width toggle underlines its label instead of adding an outer box. */
.ui-prd-theme-btn:focus-visible {
    outline: none;
}
.ui-prd-theme-btn:focus-visible > span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.ui-prd-theme-btn > span {
    font-family: 'Pretendard';
    color: var(--bjw-c-ink, #26323c);
    font-size: var(--bjw-t4-size, 14px);
    font-weight: var(--bjw-w-strong, 700);
}
.ui-prd-theme-btn .ui-prd-view-more-arrow {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(90deg);
}
.ui-prd-theme-btn.active .ui-prd-view-more-arrow {
    transform: rotate(-90deg);
}
.pdp-editorial-detail {
    display: flex;
    width: 100%;
    flex-direction: column;
    color: var(--pdp-ink);
    font-family: var(--pdp-font-family);
}
.pdp-editorial-detail,
.pdp-editorial-detail * {
    box-sizing: border-box;
}
.pdp-editorial-detail.ui-prd-theme-wrapper.pdp-editorial-expanded {
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
}
.pdp-editorial-detail.ui-prd-theme-wrapper.pdp-editorial-expanded + .ui-prd-theme-btn-wrap {
    display: none !important;
}
.pdp-editorial-detail > * {
    flex-shrink: 0;
}
.pdp-editorial-detail .pdp-editorial-admin-banner { order: 5; }
.pdp-editorial-detail .pdp-editorial-overview { order: 10; }
.pdp-editorial-detail .product_detail_theme_block2 { order: 20; }
.pdp-editorial-detail .product_detail_theme_block2_bottom { order: 20; }
.pdp-editorial-detail .pdp-editorial-spec-summary { order: 25; }
.pdp-editorial-detail #pdc_area { order: 30; }
.pdp-editorial-detail .pdp-editorial-fallback-spec { order: 30; }
/* (2026-11-21 대표님 «깔끔하게 편집이 돼야» · «추천대로 해» · 11f000c3) 차례 — 감성 그림 → 영상(22 · 접힌 칸 안) → 기본 사양(25 · 접힘 끝) → 종이·봉투(27) → 상품 설명 장(30 · 등록 차례 그대로).
   종전: 영상 40 · 종이·봉투 50(장 뒤). 장 안 차례는 상품마다 등록한 글 블록이라 코드로 옮기지 않는다(제목 글자 판정 금지). */
.pdp-editorial-detail .pd_area_video { order: 22; }
.pdp-editorial-detail #product_detail_theme_all_area { order: 27; }
.pdp-editorial-detail .pdp-editorial-printing { order: 60; }
/* (2026-11-21 대표님 «깔끔하게 편집이 돼야» · «추천대로 해» · 11f000c3) 본문 그림·영상 모서리 8px(위 갤러리 칸과 같은 값) · 구획 사이 1px #ECE9E6 선(기본 사양 표·후기 목록과 같은 선) ·
   «기본 사양» = 연한 상자(#f8f7f4 · 8px · 언어 고르기 판과 같은 바탕 · 대표님 고른 안 2). 아래 구역(후기·Q&A·제작·배송·이벤트)도 같은 선. */
#product-detail-description img, #product-detail-description video, #product-detail-description iframe { border-radius: 8px; }
/* (2026-11-21 대표님 «이미지 상단에 R값이 빠졌고») 첫 장 큰 사진 위 그라데이션 덮개(::before)가 직각이라 사진 위 두 귀를 덮었다 — 덮개도 같은 R */
#product-detail-description .product_detail_theme_block2::before { border-radius: 8px 8px 0 0; }
#product-detail-description .pdp-editorial-spec-summary { padding-top: 40px !important; }
/* (2026-11-21 대표님 «기본 사양 있는 배경을 회색 배경으로 통일 · 봉투 인쇄 회색 배경으로» · 11f000c3) 바탕 = 사진 칸 회색 토큰(--bj-template-media-surface #f1f1f1) —
   봉투 인쇄 그림 칸·인쇄 과정 영상 칸·비슷한 상품 칸·목록 썸네일 칸과 같은 한 회색(종전 #f8f7f4 따뜻한 베이지는 본문에서 혼자 달랐다). */
#product-detail-description .pd_info_cubes { border-top: 0 !important; border-bottom: 0 !important; background: var(--bj-template-media-surface, #f1f1f1) !important; border-radius: 8px !important; padding: 24px 20px !important; }
html body.pdp-modern-page .pdp-wedding-editorial #product-detail-description .pdp-editorial-spec-summary .pd_info_cubes:not(#_):not(#_) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pdp-space-12, 12px) var(--bj-space-3);
    padding: calc(var(--bj-space-2) + var(--bj-space-1) / 2) 0 !important;
    border-block: 1px solid var(--bj-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.pdp-wedding-editorial #product-detail-description .pd_info_cubes > ul li:last-of-type {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, calc(7.25 * var(--bj-type-body))) minmax(0, 1fr);
    align-items: baseline;
    gap: var(--pdp-space-12, 12px);
}
.pdp-wedding-editorial #product-detail-description .pd_info_cubes > ul li:last-of-type > span {
    font-size: var(--bjw-t3-size, var(--bj-type-body));
    line-height: var(--bjw-t3-line, 1.6);
    overflow-wrap: anywhere;
    word-break: keep-all;
}
.pdp-wedding-editorial #product-detail-description .pd_info_cubes > ul li:last-of-type > span:first-child {
    font-weight: var(--bjw-w-body, 400);
}
.pdp-wedding-editorial #product-detail-description .pd_info_cubes > ul li:last-of-type > span:last-child {
    font-weight: var(--bjw-w-body, 500);
}
@media (min-width: 768px) {
    .pdp-wedding-editorial #product-detail-description > .pdp-editorial-spec-summary {
        padding-block-start: var(--bj-space-1) !important;
    }
}
.pdp-wedding-editorial #product-detail-description > .pdp-editorial-spec-summary {
    border-block-start: 0 !important;
}
@media (max-width: 767px) {
    .pdp-wedding-editorial #product-detail-description > .pdp-editorial-spec-summary {
        padding-block-start: var(--pdp-space-12) !important;
    }
    html body.pdp-modern-page .pdp-wedding-editorial #product-detail-description .pdp-editorial-spec-summary .pd_info_cubes:not(#_):not(#_) {
        grid-template-columns: minmax(0, 1fr);
    }
}
#product-detail-description .pdp-editorial-spec-summary,
#product-detail-description .pdp-editorial-detail-body,
#pdp-reviews, #pdp-qna, #pdp-production, #pdp-events { border-top: var(--pdp-section-rule, 1px solid #ECE9E6) !important; margin-top: 32px !important; } /* (11-23 4단 토큰) 40 → 32 · 폰과 같은 값 · (11-24 대표님 «관련 Q&A 가 있다면 제작 배송 안내 위 구분선 없어도») Q&A 뒤 제작·배송은 Q&A 끝 줄로 나눔 */
#pdp-qna ~ #pdp-production { --pdp-section-rule: 0; }
.pdp-upper-rows--after-detail { border-top: 0 !important; } /* (11-24 대표님 «함께하면 좋은 상품 위에 구분 라인은 빼줘도») */
#product-detail-description .pd_area_video { border-top: 0 !important; margin-top: 40px !important; }
@media (max-width: 767px) {
    #product-detail-description .pdp-editorial-spec-summary,
    #product-detail-description .pdp-editorial-detail-body,
    #pdp-reviews, #pdp-qna, #pdp-production, #pdp-events { margin-top: 32px !important; }
}
.pdp-editorial-detail > .pdp-media-wide,
.pdp-editorial-detail > .pdp-editorial-admin-banner {
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}
.pdp-editorial-detail .pdp-editorial-fallback-spec {
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}
.pdp-editorial-detail .pdp-editorial-fallback-spec #pd_info_area,
.pdp-editorial-detail .pdp-editorial-fallback-spec #diy_tmp_download_area {
    width: 100%;
    max-width: 100%;
}
.pdp-editorial-overview {
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: var(--pdp-space-32, 32px) 0 var(--pdp-space-24, 24px);
}
.pdp-editorial-kicker {
    margin: 0 0 var(--pdp-space-8);
    color: var(--pdp-accent);
    font-size: var(--pdp-type-label-size);
    font-weight: var(--bjw-w-amount, 700);
    line-height: var(--bjw-t3-line, var(--pdp-type-label-line));
    letter-spacing: .08em;
}
.pdp-editorial-overview .pdp-editorial-title {
    margin: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-subsection-size);
    font-weight: var(--bjw-w-strong, 700);
    line-height: var(--bjw-t2-line, var(--pdp-type-subsection-line));
    letter-spacing: -.03em;
}
.pdp-editorial-overview .pdp-prose {
    max-width: 100%;
    margin: var(--pdp-space-12, 12px) 0 0;
}
.pdp-editorial-facts {
    display: grid;
    margin: var(--pdp-space-24, 24px) 0 0;
    padding: var(--pdp-space-16) 0;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    border-top: 1px solid var(--pdp-line);
    border-bottom: 1px solid var(--pdp-line);
}
.pdp-editorial-facts > div {
    min-width: 0;
    padding: 0 var(--pdp-space-16);
    border-left: 1px solid var(--pdp-line);
}
.pdp-editorial-facts > div:first-child {
    padding-left: 0;
    border-left: 0;
}
.pdp-editorial-facts dt,
.pdp-editorial-facts dd {
    margin: 0;
}
.pdp-editorial-facts dt {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-label-size);
    font-weight: var(--bjw-w-strong, 600);
    line-height: var(--bjw-t3-line, var(--pdp-type-label-line));
}
.pdp-editorial-facts dd {
    margin-top: 4px;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--bjw-w-strong, 600);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line));
}
.pdp-editorial-detail .product_detail_theme_block2 {
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    background: transparent;
}
.pdp-editorial-detail .product_detail_theme_block2::before {
    inset: 0 0 auto;
    z-index: 1;
    pointer-events: none;
}
.pdp-editorial-detail .product_detail_theme_block2_el_card_initial {
    top: 0;
    left: 0;
    z-index: 2;
    width: var(--pdp-theme-overlay-width, auto);
    margin: 7% 0 0 7%;
    opacity: 0;
    pointer-events: none;
}
.pdp-editorial-detail .product_detail_theme_block2[data-pdp-theme-overlay-ready="true"] .product_detail_theme_block2_el_card_initial {
    opacity: 1;
}
.pdp-editorial-detail .product_detail_theme_block2_el_card_initial img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}
.pdp-editorial-detail .product_detail_theme_block2_photo {
    width: 100%;
}
.pdp-editorial-detail .product_detail_theme_block2_photo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.pdp-editorial-detail .pd_theme_el1_bottom {
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    height: auto;
    margin: var(--pdp-space-48, 48px) auto 0;
}
.pdp-editorial-detail .pd_theme_el1_bottom > div {
    display: block;
    height: auto;
}
.pdp-editorial-detail .pd_theme_msg_box {
    padding: clamp(28px, 6vw, 56px);
    background: #f7f1ed;
}
.pdp-editorial-detail .pd_theme_msg {
    min-height: 132px;
    gap: var(--pdp-space-24, 24px);
}
.pdp-editorial-detail .pd_theme_designer_comment_row span {
    color: var(--pdp-ink, #17232f);
    font-size: var(--pdp-type-body-size, 15px);
    line-height: var(--bjw-t3-line, 1.75);
}
.pdp-editorial-detail .pd_theme_designer_row {
    height: 28px;
}
.pdp-editorial-detail .pd_theme_msg_side {
    display: none;
}
.pdp-editorial-detail .pd_area_video {
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: var(--pdp-space-40, 40px) 0 0;
}
.pdp-editorial-detail-body {
    display: flex;
    width: 100%;
    padding: 0;
    overflow: visible !important;
    flex-direction: column;
    align-items: stretch;
}
.pdp-editorial-detail-body > .pdp-editorial-chapter,
.pdp-editorial-detail #product_detail_theme_all_area > .pdp-editorial-chapter {
    display: flex;
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: var(--pdp-space-32, 32px) 0;
    border-top: 1px solid var(--pdp-line);
    flex-direction: column;
    gap: var(--pdp-space-24, 24px);
}
.pdp-editorial-detail-body > .pdp-editorial-chapter:first-child {
    border-top: 0;
}
.pdp-editorial-chapter-header {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: var(--pdp-space-12, 12px);
}
.pdp-editorial-title {
    margin: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-subsection-size);
    font-weight: var(--bjw-w-strong, 700);
    line-height: var(--bjw-t2-line, var(--pdp-type-subsection-line));
    letter-spacing: -.025em;
}
.pdp-prose {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line));
    word-break: keep-all;
}
.pdp-editorial-detail .layout_area .pdp-editorial-title,
.pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:first-child,
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec_photo .desc_box strong {
    color: var(--pdp-ink);
}
.pdp-editorial-detail .layout_area .pdp-prose,
.pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:not(:first-child),
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec_photo .desc_box span {
    color: var(--pdp-muted);
}
.pdp-media-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--pdp-space-12);
}
.pdp-media-grid.pdp-media-grid--single {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}
.pdp-media-grid.pdp-media-grid--single .pdp-media {
    width: 100%;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
}
.pdp-media-grid.pdp-media-grid--multiple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pdp-media {
    min-width: 0;
    margin: 0;
}
.pdp-media .img_box,
.pdp-media img {
    display: block;
    width: 100%;
}
.pdp-media .img_box {
    display: block;
    overflow: visible;
    background: transparent;
}
.pdp-media img {
    max-width: 100%;
    height: auto;
}
.pdp-media figcaption {
    display: flex;
    margin-top: var(--pdp-space-12);
    flex-direction: column;
    gap: var(--pdp-space-4);
}
.pdp-media figcaption strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--bjw-w-amount, 700);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line));
}
.pdp-media figcaption span {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line));
}
.pdp-editorial-detail .pdc_row_img {
    width: 100%;
    margin: var(--pdp-media-row-gap, 0) 0 0 !important;   /* 위 = 바로 앞 사진 줄과의 간격(product-detail-modern.css · 가로 간격과 한 값) · 나머지 0 */
    padding: 0;
}
.pdp-editorial-detail .pdp-editorial-divider {
    display: none;
}
.pdp-editorial-detail #product_detail_theme_all_area {
    width: 100%;
    margin: 0;
}
.pdp-editorial-detail #product_detail_theme_all_area article.pdt_spec {
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: var(--pdp-space-32, 32px) 0;
    border-bottom: 0;
    border-top: 1px solid var(--pdp-line);
}
.pdp-editorial-detail #product_detail_theme_all_area .article_content {
    display: flex;
    width: 100%;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--pdp-space-24, 24px);
}
.pdp-editorial-detail #product_detail_theme_all_area .article_content > ul {
    display: flex;
    margin: 0;
    flex-direction: column;
    gap: var(--pdp-space-12, 12px);
}
.pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li,
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec_photo .desc_box span {
    font-size: var(--pdp-type-body-size);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line));
}
.pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:first-child {
    font-size: var(--pdp-type-subsection-size);
    font-weight: var(--bjw-w-strong, 700);
    line-height: var(--bjw-t2-line, var(--pdp-type-subsection-line));
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] figure.pdt_spec_photo_wrapper {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    column-gap: var(--pdp-space-16);
    row-gap: 0;
    align-items: stretch;
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] figure.pdt_spec_photo_wrapper:first-of-type .pdt_spec_photo {
    display: grid;
    min-width: 0;
    grid-row: span 2;
    grid-template-rows: subgrid;
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] figure.pdt_spec_photo_wrapper:first-of-type .pdt_spec_photo .img_box {
    align-self: end;
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] .pdt_spec_photo .img_box {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    background: transparent;
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] .pdt_spec_photo .img_box img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] .pdt_spec_photo .desc_box {
    display: flex;
    margin: 0;
    padding-top: var(--pdp-space-16);
    flex-direction: column;
    gap: var(--pdp-space-4);
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] .pdt_spec_photo .desc_box span:first-child {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--bjw-w-strong, 600);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line));
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] .pdt_spec_photo .desc_box span:nth-child(2) {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line));
}
.pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] figure.pdt_spec_photo_wrapper:nth-of-type(2) {
    display: block;
    width: 100%;
    margin: var(--pdp-space-48) auto 0;
}
.pdp-editorial-detail .pdp-editorial-printing {
    width: var(--pdp-reading-width, 760px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    border-top: 1px solid var(--pdp-line);
}
.pdp-editorial-detail .pdp-editorial-printing #section_prd_print_proc {
    width: 100%;
}

