/* (2026-11-19 11f000c3 · 18c8273f) 셀프 상세(card/self_detail.php · .slf-sec)의 공용 이용후기 칸도 청첩장 상세와 같은 규칙 —
   :is() 는 가장 센 인자의 세기를 쓰므로 청첩장 상세(body.pdp-modern-page .pdp-wedding-editorial …)의 세기는 그대로다. */
/* Shared review surface --------------------------------------------------- */
.pdp-review-surface {
    width: 100%;
    padding: 0 0 80px;
    box-sizing: border-box;
}

body.pdp-unified-product-detail #pdp-reviews.pdp-review-surface {
    --pdp-type-section-size: var(--bj-type-section, 28px);
    --pdp-type-section-line: calc(var(--bj-type-section, 28px) * 1.35);
    --pdp-type-section-weight: var(--bj-type-section-weight, 600);
    --pdp-type-body-size: var(--bj-type-body, 16px);
    --pdp-type-body-line: calc(var(--bj-type-body, 16px) * 1.6);
    padding-bottom: 0;
}

body #pdp-reviews.pdp-review-surface > :is(
    .pdp-review-heading-row,
    .prd_review_gallery,
    .after_list_write_group,
    .pdp-global-review-preview
) {
    width: min(var(--pdp-rail-wide, 1000px), 100%) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box;
}

.pdp-review-heading-row {
    display: grid;
    padding: 72px 0 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    border-bottom: 1px solid var(--pdp-lower-line, #ddd9d2);
}

.pdp-review-heading-row__copy {
    display: grid;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    justify-self: stretch;
    text-align: left;
    box-sizing: border-box;
}

.pdp-review-heading-row .pdp-section-heading {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    justify-self: stretch;
    border: 0;
    color: var(--pdp-lower-ink, #181817);
    text-align: left;
    font-size: var(--pdp-type-section-size, 24px);
    font-weight: var(--pdp-type-section-weight, 650);
    line-height: var(--bjw-t2-line, var(--pdp-type-section-line, 34px));
    letter-spacing: -.025em;
}

.pdp-review-heading-row__description {
    margin: 8px 0 0;
    color: var(--pdp-lower-muted, #686f78);
    font-size: var(--pdp-type-body-size, 15px);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line, 24px));
    letter-spacing: -.015em;
    text-wrap: balance;   /* (2026-11-19 11f000c3 · 18c8273f) «새로 출시된 상품이라 아직 후기가 / 없습니다.» 끝줄 한 낱말 — 줄 길이를 고르게(글 그대로 · 제작·배송 #43590 과 같은 규칙) */
}

.pdp-review-heading-row__summary {
    display: flex;
    min-width: 0;
    margin: 18px 0 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: var(--pdp-lower-muted, #686f78);
    font-size: var(--pdp-type-body-size, 15px);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line, 24px));
}

.pdp-review-heading-row__summary > strong {
    color: var(--pdp-lower-ink, #181817);
    font-size: inherit;
    font-weight: var(--bjw-w-strong, 600);
    line-height: inherit;
}

.pdp-review-heading-row__rating,
.pdp-review-heading-row__all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pdp-review-heading-row__rating {
    color: var(--pdp-lower-ink, #181817);
    font-weight: var(--bjw-w-strong, 650);
}

.pdp-review-heading-row__rating svg {
    width: 14px;
    height: 14px;
    fill: var(--pdp-lower-accent, #745a7a);
}

.pdp-review-heading-row__all-link {
    color: var(--pdp-lower-muted, #686f78);
    font-weight: var(--bjw-w-body, 500);
    text-decoration: none;
}

.pdp-review-heading-row__all-link strong {
    color: var(--pdp-lower-ink, #181817);
    font-weight: var(--bjw-w-strong, 650);
}

.pdp-review-heading-row__all-link:hover {
    color: var(--pdp-lower-ink, #181817);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Block surface focus: the full-width text link underlines like hover; no box. */
.pdp-review-heading-row__all-link:focus-visible {
    color: var(--pdp-lower-ink, #181817);
    outline: none;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.pdp-review-overview__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.pdp-review-overview__benefit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pdp-lower-muted, #686f78);
    font-size: var(--pdp-type-body-size, 15px);
    font-weight: var(--bjw-w-body, 500);
    line-height: var(--bjw-t3-line, var(--pdp-type-body-line, 24px));
    text-decoration: none;
    white-space: nowrap;
}

.pdp-review-overview__benefit svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pdp-review-overview__action {
    display: inline-flex;
    min-width: 96px;
    min-height: 42px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pdp-lower-ink, #181817);
    border-radius: 6px;
    color: var(--pdp-lower-ink, #181817);
    background: #fff;
    font-size: var(--pdp-type-action-size, 15px);
    font-weight: var(--pdp-type-action-weight, 650);
    line-height: var(--bjw-t3-line, var(--pdp-type-action-line, 24px));
    text-decoration: none;
    box-sizing: border-box;
}

.pdp-review-surface > .prd_review_gallery {
    margin-top: 28px;
}

.pdp-review-surface > .after_list_write_group {
    display: block;
    margin-top: 20px;
}

.pdp-review-surface #after_iframe {
    display: block;
    width: 100%;
    border: 0;
}

.pdp-review-surface > .pdp-global-review-preview {
    margin-top: 32px;
}

@media (max-width: 1023px) {
    body.pdp-unified-product-detail #pdp-reviews.pdp-review-surface {
        --pdp-type-section-size: var(--bj-type-product-name, 24px);
        --pdp-type-section-line: calc(var(--bj-type-product-name, 24px) * 1.4);
    }
}

@media (max-width: 767px) {
    .pdp-review-surface {
        padding-bottom: 56px;
    }

    body #pdp-reviews.pdp-review-surface > :is(
        .pdp-review-heading-row,
        .prd_review_gallery,
        .after_list_write_group,
        .pdp-global-review-preview
    ) {
        width: calc(100% - 32px) !important;
    }

    .pdp-review-heading-row {
        padding: 48px 0 20px;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 16px;
    }

    .pdp-review-heading-row__summary {
        margin-top: 16px;
        gap: 6px 14px;
    }

    .pdp-review-heading-row__all-link {
        flex-basis: 100%;
    }

    .pdp-review-overview__actions {
        width: 100%;
        min-height: 52px;
        padding: 0 14px;
        justify-content: space-between;
        border: 1px solid var(--pdp-lower-line, #ddd9d2);
        border-radius: 8px;
        box-sizing: border-box;
    }

    .pdp-review-surface[data-review-cap-reward="0"] .pdp-review-heading-row.is-empty .pdp-review-overview__actions {
        width: auto;
        min-height: 0;
        padding: 0;
        border: 0;
    }

    .pdp-review-overview__benefit {
        min-width: 0;
        white-space: normal;
    }

    .pdp-review-overview__action {
        min-width: 84px;
        min-height: 40px;
        flex: 0 0 auto;
    }

    .pdp-review-surface > .pdp-global-review-preview {
        margin-top: 28px;
    }
}

/* (11-17 대표님 «상세 페이지 100점») 청첩장 이용후기 — 머리(평점)·작성 단추·아래 링크·다른 상품 후기 카드를 목록 줄과 같은 꼴로.
   청첩장 상세(.pdp-wedding-editorial)에서만 · 겹친 옛 규칙(wedding-fullset·tabs)보다 한 단계 좁혀 이긴다. */
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-review-heading-row__rating {
    gap: 4px;
    color: var(--bj-ink, #181817);
    font-size: var(--bjw-t2-size, 20px);
    font-weight: var(--bjw-w-strong, 700);
    line-height: var(--bjw-t2-line, 28px);
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-review-heading-row__rating svg {
    width: 20px;
    height: 20px;
    fill: var(--bj-ink, #181817);
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-review-heading-row__summary > strong {
    color: var(--bj-muted, #66635e);
    font-size: var(--bjw-t3-size, 15px);
    font-weight: var(--bjw-w-strong, 500);
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-review-heading-row .pdp-review-overview__action {
    min-width: 0;
    min-height: 40px;
    padding: 0 12px 0 14px;
    border: 1px solid var(--bj-line-strong, #d6d1cb);
    border-radius: 6px;
    background: #fff;
    color: var(--bj-ink, #181817);
    font-size: var(--bjw-t4-size, 14px);
    font-weight: var(--bjw-w-strong, 600);
    line-height: var(--bjw-t4-line, 20px);
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-review-heading-row .pdp-review-overview__action::after {
    margin-left: 6px;
    content: '\203A';
    font-size: var(--bjw-t3-size, 16px);
    font-weight: var(--bjw-w-body, 400);
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-review-heading-row .pdp-review-overview__action:hover {
    border-color: var(--bj-ink, #181817);
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface > .pdp-review-secondary a {
    color: var(--bj-muted, #66635e);
    font-size: var(--bjw-t4-size, 14px) !important;
    font-weight: var(--bjw-w-body, 500);
    text-decoration: none;
}
/* (11-17 «100점» 흠 §5) 두 링크를 한 줄 왼쪽 · 같은 꼴(PC 양 끝 흩어짐 · 폰 두 줄 꽉 찬 폭을 풀어 한 줄) */
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface > .pdp-review-secondary {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 24px;
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface > .pdp-review-secondary a {
    width: auto;
    min-height: 40px;
    margin: 0;
    color: var(--bj-ink, #181817);
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface > .pdp-review-secondary a:hover,
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface > .pdp-review-secondary a:focus-visible {
    color: var(--bj-ink, #181817);
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* 아직 후기가 없는 상품: 아래 «다른 상품 후기»가 전체 보기 단추를 갖고 있으니 같은 링크를 위에 두 번 두지 않는다 */
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface:has(> .pdp-global-review-preview) > .pdp-review-secondary .pdp-review-secondary__all {
    display: none;
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-global-review-preview__item {
    align-items: stretch;
    text-align: left;
    border: 0;   /* (2026-11-19 11f000c3 · 3cad · 18c8273f) 카드 테두리 없음 — 맞춤 상세는 아래 구역 «선 한 규칙»(lower-calm ③ · 대표님 «구분선 많음»)으로 이미 0, 셀프(.slf-sec)만 1px 상자가 남아 있었다. 모서리·안쪽 20·흰 바탕은 그대로 */
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-global-review-preview__meta,
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-global-review-preview__byline {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    gap: 8px;
}
/* (11-19 지킴이 · D11) 이름·날짜 줄은 카드 맨 아래 — 위 margin:0 이 미리보기 파일의 margin-top:auto 를 지워, 제목이 두 줄인 카드만 아래 줄이 내려가 세 카드 끝이 어긋났다 */
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-global-review-preview__byline {
    margin-top: auto;
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-global-review-preview__rating {
    order: -1;
    color: var(--bj-ink, #181817);
    font-size: var(--bjw-t3-size, 16px);      /* (2026-11-19 11f000c3 · c923 다시 채점 · 18c8273f) 별점 «★ 5» = 강조 단계(lower-calm D1 본문 16 · 강조 600) — 셀프만 14/600·18 로 남아 맞춤(16/600·25.6)과 달랐다. 같은 줄 상품 이름·이름·날짜(16/25.6)와 한 높이 */
    line-height: var(--bjw-t3-line, 25.6px);
    font-weight: var(--bjw-w-strong, 600);
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-global-review-preview__product {
    color: var(--bj-muted, #66635e);
    font-size: var(--bjw-t4-size, 13px);
    font-weight: var(--bjw-w-body, 400);   /* (11-19 D12) 400·600 두 단계 — 500 은 체계 밖 */
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-global-review-preview__item > p {
    color: var(--bj-muted, #66635e);   /* (11-19 D12) 본문 회색은 #66635e 하나 — #45423e 는 체계 밖 */
}
:is(body.pdp-modern-page .pdp-wedding-editorial, body .slf-sec) #pdp-reviews.pdp-review-surface .pdp-global-review-preview__heading strong {
    font-size: var(--bjw-t3-size, 16px);
}
/* (2026-11-19 11f000c3 · 18c8273f) 셀프 상세(.slf-sec)의 공용 이용후기 칸 글자·간격 = 청첩장 상세(pb177)에서 잰 값 그대로
   — 청첩장 상세는 product-detail-modern.css 의 글자 단계(--pdp-type-*)로 이 값이 되지만 셀프 상세엔 그 파일이 없어, 같은 값을 여기서 준다. 셀프 상세에만 닿는다. */
body .slf-sec #pdp-reviews.pdp-review-surface #pdp-reviews-heading {
    margin: 0;
    color: var(--bjw-c-ink, #181817);
    font-size: var(--bjw-t2-size, 22px);
    font-weight: var(--bjw-w-strong, 600);
    line-height: var(--bjw-t2-line, 30px);
    letter-spacing: normal;
}
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-review-heading-row__description,
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-global-review-preview__heading p {
    color: var(--bjw-c-muted, #66635e);
    font-size: var(--bjw-t3-size, 16px);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, 25.6px);
}
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-review-overview__action {
    font-size: var(--bjw-t3-size, 16px);
    line-height: var(--bjw-t3-line, 24px);
}
body .slf-sec #pdp-reviews.pdp-review-surface > .pdp-review-secondary a {
    line-height: 22.4px;
}
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-global-review-preview__heading strong {
    color: var(--bjw-c-ink, #181817);
    font-size: var(--bjw-t3-size, 16px);
    line-height: var(--bjw-t3-line, 25.6px);
}
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-global-review-preview__item h3 {
    color: var(--bjw-c-ink, #181817);
}
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-global-review-preview__product,
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-global-review-preview__byline,
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-global-review-preview__byline span {
    color: var(--bjw-c-muted, #66635e);
    font-size: var(--bjw-t3-size, 16px);
    font-weight: var(--bjw-w-body, 400);
    line-height: var(--bjw-t3-line, 25.6px);
}
body .slf-sec #pdp-reviews.pdp-review-surface .pdp-global-review-preview__all {
    color: var(--bjw-c-ink, #181817);
    font-size: var(--bjw-t3-size, 16px);
    line-height: var(--bjw-t3-line, 25.6px);
}
body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section .pdp-review-heading-row .pdp-review-overview__action {
    font-size: var(--bjw-t3-size, 16px);
    line-height: var(--bjw-t3-line, 24px);
}
body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section .pdp-global-review-preview__product {
    font-size: var(--bjw-t3-size, 16px);
    line-height: var(--bjw-t3-line, 25.6px);
}
/* 머리줄·둘째줄 간격 = 청첩장 상세(wedding-fullset.css)와 같은 짜임 — 칸 위 여백은 셀프 상세의 다른 칸들처럼 칸(.slf-sec) 사이 간격이 맡는다 */
body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section > .pdp-review-heading-row {
    padding: 0;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 0;
}
body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section > .pdp-review-secondary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    margin-top: 16px;
}
@media (max-width: 767px) {
    body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section > .pdp-review-heading-row {
        gap: 10px 8px;
        align-items: start;
    }
    body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section > .pdp-review-secondary {
        gap: 0;
        margin-top: 12px;
    }
    /* 폰: 이벤트 링크 높이 32px — 청첩장 상세(wedding-fullset.css)와 같은 둘째줄 높이 */
    body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section > .pdp-review-secondary .pdp-review-secondary__event {
        min-height: 32px;
    }
}
/* 왼쪽 끝 = 셀프 상세의 다른 칸 제목과 같은 선 — 공용 칸의 머리줄·미리보기는 화면 전체 폭을 가정해 1000px 가운데·폰 16px 안쪽으로 들이는데, 셀프 상세 칸(.slf-sec)은 이미 그 폭·여백 안이다 */
body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section > .pdp-review-heading-row,
body .slf-sec #pdp-reviews.pdp-review-surface.pdp-unified-review-section > .pdp-global-review-preview {
    width: 100% !important;      /* 위 공용 «레일» 규칙(1000px · 폰 100%-32px)이 !important 라 같은 무게로 · 세기는 이쪽이 더 높다 */
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#pdp-reviews#pdp-reviews.pdp-review-surface--wedding .pdp-review-heading-row__copy {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--bj-space-1);
}

#pdp-reviews#pdp-reviews.pdp-review-surface--wedding .pdp-review-heading-row__summary {
    margin: 0 !important;
}

#pdp-reviews.pdp-review-surface--wedding .pdp-review-heading-row:not(.is-empty) .pdp-section-heading {
    width: auto !important;
}

body #pdp-reviews.pdp-review-surface--wedding .pdp-review-heading-row__rating {
    font-size: var(--bjw-t3-size, var(--bj-type-body));
    line-height: var(--bjw-t3-line, var(--bj-type-body-line));
}

body #pdp-reviews.pdp-review-surface--wedding .pdp-review-heading-row__rating svg {
    width: 1em;
    height: 1em;
}

body #pdp-reviews#pdp-reviews.pdp-review-surface--wedding .pdp-review-heading-row .pdp-review-overview__action {
    min-height: 44px;
}

body #pdp-reviews#pdp-reviews.pdp-review-surface--wedding .pdp-review-heading-row .pdp-review-overview__action::after {
    content: none;
}

body #pdp-reviews.pdp-review-surface--wedding > .pdp-review-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: var(--bj-space-1) !important;
}

body #pdp-reviews.pdp-review-surface--wedding > .pdp-review-secondary > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    padding: var(--bj-space-2);
    border-radius: var(--pdp-radius-card, 8px);
    background: var(--bj-information-surface, #f5f5f3);
    box-sizing: border-box;
    gap: var(--bj-space-1);
    border: 1px solid var(--bj-line);
}

body #pdp-reviews.pdp-review-surface--wedding > .pdp-review-secondary > a:hover {
    background: var(--bj-stone);
}

#pdp-reviews.pdp-review-surface--wedding .prd_review_gallery .pdp-review-gallery__heading,
#pdp-reviews.pdp-review-surface--wedding .prd_review_gallery .pdp-review-gallery__meta {
    display: none;
}

#pdp-reviews.pdp-review-surface--wedding .prd_review_gallery {
    --pdp-photo-strip-tile: 81px;
}

#pdp-reviews.pdp-review-surface--wedding .prd_review_gallery .article_content {
    display: flex;
    gap: var(--bj-space-1);
    padding-inline: 0;
    overflow: auto hidden;
}

#pdp-reviews.pdp-review-surface--wedding .prd_review_gallery .article_content > [data-gallery-after-id] {
    position: relative;
    flex: 0 0 var(--pdp-photo-strip-tile);
    width: var(--pdp-photo-strip-tile);
    min-width: 0;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--pdp-radius-card, 8px);
}

#pdp-reviews.pdp-review-surface--wedding .pdp-review-gallery__extra {
    position: absolute;
    inset-inline-end: calc(var(--bj-space-1) / 2);
    inset-block-end: calc(var(--bj-space-1) / 2);
    padding-inline: calc(var(--bj-space-1) / 2);
    border-radius: calc(var(--bj-space-1) / 2);
    background: var(--bj-ink);
    color: var(--bj-clean);
    font: 600 var(--bj-type-caption)/1.5 var(--bj-font-family);
}

#pdp-reviews.pdp-review-surface--wedding .prd_review_gallery .pdp-review-gallery__image {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    #pdp-reviews.pdp-review-surface--wedding .prd_review_gallery .pdp-review-gallery__image {
        transition: transform 160ms ease-out;
    }

    #pdp-reviews.pdp-review-surface--wedding .prd_review_gallery [data-gallery-after-id]:hover .pdp-review-gallery__image {
        transform: scale(1.09);
    }
}

@media (max-width: 767px) {
    #pdp-reviews.pdp-review-surface--wedding .prd_review_gallery {
        --pdp-photo-strip-tile: min(72px, calc((100vw - 7 * var(--bj-space-1)) / 4));
    }

    #pdp-reviews.pdp-review-surface--wedding .prd_review_gallery .article_content > [data-gallery-after-id]:nth-child(n + 5) {
        display: none;
    }

    body #pdp-reviews.pdp-review-surface--wedding > .pdp-review-secondary {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px !important;
    }

    body #pdp-reviews.pdp-review-surface--wedding > .pdp-review-secondary > a {
        min-height: 48px;
        padding: 10px var(--pdp-space-12, 12px);
    }
}

/* (2026-11-24 대표님 «블로그 SNS 후기 이벤트 안내 · 전체 고객 후기도 똑같은 회색으로 통일감 있게») 두 단추 = 정보 회색(--bj-info-gray) · 아주 옅은 테두리(--bj-info-gray-line).
   단추 규칙이 바탕·선을 변수(--bj-information-surface · --bj-line)로 그리므로 이 줄 안에서만 바꾼다. */
#pdp-reviews > .pdp-review-secondary { --bj-information-surface: var(--bj-info-gray, #fafafa); --bj-line: var(--bj-info-gray-line, #f2f2f2); }
