/* 상품 상세 전용: 기존 cream 배경과 브랜드 색을 유지하고 카드 대신 구분선을 사용합니다. */
.pd-page { padding: 12px 16px 28px; }
.pd-page [hidden] { display: none !important; }
.pd-page a, .pd-page button, .pd-page summary { -webkit-tap-highlight-color: transparent; }
.pd-page :is(a, button, summary):focus-visible { outline: 2px solid #315bff; outline-offset: 4px; }
.pd-breadcrumb { margin-bottom: 12px; min-height: 32px; }
.pd-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.pd-hero { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 16px; min-width: 0; }
.pd-gallery, .pd-summary { min-width: 0; }
.pd-summary { display: contents; }
.pd-heading { align-self: center; min-width: 0; }
.pd-image-stage { height: 144px; border-radius: 12px; isolation: isolate; }
.pd-product-image { position: relative; z-index: 1; background: white; padding: 8px; }
.pd-image-fallback { position: absolute; display: grid; justify-items: center; gap: 6px; color: #64748b; font-size: 12px; }
.pd-image-fallback span:first-child { font-size: 32px; }
.pd-thumbnails { max-width: 100%; }
.pd-thumbnails [data-product-gallery-status] { font-size: 12px; }
.pd-category { font-size: 12px; color: #315bff; font-weight: 700; line-height: 1.6; }
.pd-category span { color: #64748b; font-weight: 500; }
.pd-title { margin-top: 6px; font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: -.045em; overflow-wrap: anywhere; }
.pd-status { margin-top: 8px; font-size: 13px; color: #9a3412; }
.pd-buy { grid-column: 1 / -1; margin-top: 4px; min-width: 0; }
.pd-eyebrow { color: #315bff; font-size: 11px; letter-spacing: .1em; font-weight: 800; line-height: 1.5; }
.pd-option-picker { margin-top: 12px; }
.pd-option-picker > p { margin-bottom: 8px; }
.pd-option-picker > p span { color: #315bff; font-weight: 700; }
.pd-option-list { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.pd-option { display: flex; flex: 0 0 auto; flex-direction: column; justify-content: center; gap: 4px; text-align: left; max-width: 230px; min-height: 60px; padding: 10px 14px; border: 1px solid #d6d9df; border-radius: 10px; background: #fff; scroll-snap-align: start; }
.pd-option > span { font-size: 13px; font-weight: 700; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-option small { font-size: 11px; color: #64748b; }
.pd-option[aria-pressed="true"] { border-color: #315bff; box-shadow: inset 0 0 0 1px #315bff; }
.pd-option[aria-pressed="true"] > span { color: #315bff; }
.pd-option:hover { border-color: #315bff; }
.pd-offer { margin-top: 16px; scroll-margin-top: 150px; }
.pd-offer + .pd-offer { border-top: 1px solid #dfe1e5; padding-top: 20px; }
[data-detail-offers][data-options-ready] .pd-offer { border: 0; padding-top: 0; }
.pd-offer-name { font-size: 13px; line-height: 1.7; color: #475569; overflow-wrap: anywhere; }
.pd-offer-name > span { font-weight: 700; color: #172033; }
.pd-price-label { font-size: 12px; margin-top: 12px; color: #475569; }
.pd-price { font-size: 34px; line-height: 1.25; font-weight: 800; letter-spacing: -.045em; margin: 3px 0 5px; font-variant-numeric: tabular-nums; }
.pd-price-unconfirmed { font-size: 24px; margin-top: 12px; }
.pd-unit-price { font-weight: 700; font-size: 15px; color: #315bff; }
.pd-unit-price span { margin-left: 5px; font-size: 11px; color: #64748b; font-weight: 400; }
.pd-shipping { margin-top: 9px; font-size: 13px; font-weight: 600; color: #475569; }
.pd-meta, .pd-checked { color: #64748b; font-size: 12px; line-height: 1.8; }
.pd-notice .pd-meta { display: block; }
.pd-checked { margin-top: 5px; }
.pd-checked > span { color: #315bff; margin-right: 3px; }
.pd-condition { margin-top: 8px; font-size: 12px; color: #7c4a18; line-height: 1.8; overflow-wrap: anywhere; }
.pd-purchase { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-top: 18px; padding: 12px 20px; color: #fff; background: #315bff; border-radius: 10px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.pd-purchase:hover { background: #2548d6; }
.pd-purchase > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.pd-purchase > span:last-child { flex-shrink: 0; font-size: 20px; }
.pd-price-history { border-bottom: 1px solid #dddfe4; margin-top: 10px; }
.pd-price-history summary { display: flex; gap: 10px; align-items: center; cursor: pointer; min-height: 48px; font-size: 12px; }
.pd-price-history summary strong { margin-left: auto; }
.pd-price-history summary > span:last-child { margin-left: auto; }
.pd-price-history dl { padding: 0 0 8px; }
.pd-price-history dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; padding: 5px 0; }
.pd-price-history > p { margin-bottom: 12px; }
.pd-increase { color: #be123c; }
.pd-decrease { color: #047857; }
.pd-disclosure { margin-top: 12px; color: #64748b; font-size: 11px; line-height: 1.8; }
.pd-save { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.pd-save > span { color: #64748b; font-size: 12px; }
.pd-notice { margin-top: 12px; padding: 12px 0; color: #92400e; font-size: 14px; line-height: 1.8; }
.pd-section-nav { display: flex; gap: 20px; overflow-x: auto; margin-top: 32px; border-top: 1px solid #d9dce2; border-bottom: 1px solid #d9dce2; }
.pd-section-nav a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 52px; font-size: 13px; font-weight: 700; }
.pd-section-nav a:hover { color: #315bff; }
.pd-section { padding: 32px 0; border-bottom: 1px solid #d9dce2; scroll-margin-top: 150px; }
.pd-section-heading h2, .pd-review-summary h2 { margin-top: 7px; font-size: 22px; font-weight: 800; letter-spacing: -.04em; line-height: 1.45; }
.pd-section-heading h2 { scroll-margin-top: 150px; }
.pd-section-intro { font-size: 13px; line-height: 1.9; color: #64748b; margin-top: 10px; }
.pd-compare-list { margin-top: 20px; border-top: 1px solid #d9dce2; }
.pd-compare-row { display: grid; grid-template-columns: minmax(0,1fr) auto 12px; gap: 10px; align-items: center; padding: 18px 0; border-bottom: 1px solid #e0e2e6; }
.pd-compare-row:hover .pd-compare-option strong { color: #315bff; }
.pd-compare-option, .pd-compare-price { display: grid; gap: 5px; min-width: 0; }
.pd-compare-option strong { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.pd-compare-row span { font-size: 11px; color: #64748b; }
.pd-compare-price { text-align: right; max-width: 135px; }
.pd-compare-price strong { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pd-compare-price .pd-unit { color: #315bff; font-size: 12px; }
.pd-comparison-note { margin-top: 12px; }
.pd-comparison-note span { display: block; }
.pd-decision-grid { display: grid; gap: 26px; margin-top: 22px; }
.pd-decision-grid h3 { font-size: 14px; font-weight: 800; }
.pd-decision-grid ul { margin-top: 12px; display: grid; gap: 12px; }
.pd-decision-grid li { display: flex; gap: 10px; font-size: 14px; color: #475569; line-height: 1.9; }
.pd-decision-grid li > span:first-child { color: #315bff; font-weight: 700; flex-shrink: 0; }
.pd-product-facts { margin-top: 24px; font-size: 13px; line-height: 1.8; }
.pd-product-facts > div { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 10px; padding: 12px 0; border-top: 1px solid #e0e2e6; }
.pd-product-facts dt { color: #64748b; }
.pd-product-facts dd { overflow-wrap: anywhere; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; }
.pd-tags :is(a,button) { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; color: #315bff; font-weight: 600; }
.pd-review-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; }
.pd-review-summary h2 span { color: #315bff; }
.pd-review-summary p { font-size: 12px; line-height: 1.8; color: #64748b; margin-top: 8px; }
.pd-review-expand { font-size: 24px; color: #64748b; flex-shrink: 0; }
.pd-reviews details[open] > summary .pd-review-expand { transform: rotate(45deg); }
.pd-page summary::-webkit-details-marker { display: none; }
.pd-page summary { list-style: none; }
.pd-related { border-bottom: 0; }
.pd-related .product-view-grid { margin-top: 24px; }
@media (min-width: 640px) {
    .pd-page { padding: 24px 24px 48px; }
    .pd-image-stage { height: 250px; }
    .pd-hero { grid-template-columns: 250px minmax(0,1fr); gap: 24px; }
    .pd-title { font-size: 30px; }
    .pd-decision-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
    .pd-section { padding: 40px 0; }
    .pd-section-nav { gap: 32px; }
    .pd-compare-row { gap: 24px; }
    .pd-compare-price { max-width: none; }
}
@media (min-width: 1024px) {
    .pd-page { padding: 24px 32px 56px; }
    .pd-hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: start; }
    .pd-image-stage { height: auto; aspect-ratio: 1; border-radius: 16px; }
    .pd-product-image { padding: 24px; }
    .pd-summary { display: block; padding-top: 12px; }
    .pd-title { font-size: 32px; }
    .pd-price { font-size: 40px; }
    .pd-price-unconfirmed { font-size: 28px; }
    .pd-buy { margin-top: 26px; }
    .pd-section-nav { margin-top: 48px; }
    .pd-body { max-width: 940px; margin: 0 auto; }
    .pd-section { padding: 44px 0; }
    .pd-section-heading h2, .pd-review-summary h2 { font-size: 26px; }
}
